Much easier to use MessageBox.Show then to print connection string.
I figured it out, it was a security issue with .net. I ran caspol.exe and
it fixed it.
"Kevin Yu [MSFT]" wrote:
> Hi Cadel,
>
> From the error mesage, there must be a connection whose connection string
> was not set. When opening, the exception is throw. In this case I suggest
> you write some code to print out all the connection strings before opening
> a connection. This may help you to find which connection string was not
> initialized. When you see an empty connection string, it is the problem.
>
> Kevin Yu
> =======
> "This posting is provided "AS IS" with no warranties, and confers no
> rights."
>
>
|