This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hello, I have installed SQL Servr Express on my local machine (Sunil-PC) and am bale to connect to it from Management studio using windows authentication. I am attaching my config file. Now, I connect to the database using the following code: LightSpeedContext The code blows up at the above step and says that "The ConnectionString property has not been initialized." Any solutions? |
|
|
The config file doesn't seem to have arrived here but my guess would be that something in the names doesn't match up. Your config file should look something like this:
Note that the name in the lightSpeedContexts section must match the name in your C# code ("default" in this case) and the name in the connectionStrings section must match the connectionStringName in the lightSpeedContexts section ("dev" in this case). |
|