Groups | Blog | Home
all groups > asp.net > february 2006 >

asp.net : Error when creating a SQLDataSource


BobLaughland
2/21/2006 11:19:29 PM
Hi There,

I have created an ASP .NET web site. Whenever I try to create an
SQLDataSource I get the following message,

'Following error occured while getting connection string information
from configuration. "Cannot get web application service" '

I have the following line in my web.config file, so I don't understand
it,

<connectionStrings>
<add name="ConnectionString" connectionString="Data
Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\ASPNETDB.MDF;Integrated
Security=True;User Instance=True"
providerName="System.Data.SqlClient" />
</connectionStrings>
BobLaughland
2/22/2006 12:41:16 PM
No worries, this problem has gone away!
maguirej160 NO[at]SPAM gmail.com
2/27/2006 3:03:22 PM

[quoted text, click to view]



hey - how did you resolve this ???

cheers
BobLaughland
2/27/2006 6:06:28 PM
Can't quite remember, but I think I recreated the connection using an
SQLDatasource.

I think I did something dodgy when I was mucking around and the
settings probably went a bit funny.
AddThis Social Bookmark Button