hello guys,
Just wanted to know if there is any difference between 2 ways of accessing database:
1) when DW is accessing it's database by using GlobalSettings
2) if I would make a custom user control with my new database connection object etc...
Because we have an issue here. there is a DW website hosted remotely, I made a small user control that gathers some data and some logic, nothing special... user control is called inside a design template.
as a result:
DW site is working Perfectly :) it connects to the same database all is great.
But my user control complains that "the network path was not found" [Win32Exception (0x80004005): The network path was not found]
So I just wanted to know if there is any difference how DW establishes and manages it's connections and how I do it.
I include a text file with C# code and example of connection string
Database server and server instance, dbuser and dbpass is the same I am using in GlobalSettings
As a last option, maybe there is a way to access DW SQL connection through API and perform SQL operations through it?
Dmitrij