I have removed all the references to the SqlExpress in the web.config but as soon as take it off line the application breaks, ie login errors out with sql error.
I have removed all the references to the SqlExpress in the web.config but as soon as take it off line the application breaks, ie login errors out with sql error.
May be they r using Sqldatasource in designer code?
May be they r using Sqldatasource in designer code?
Thaks for your reply. I have looked at all the datasource declarations in my project and all look like this:
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:ClubSiteDB %>".... where the connection string is pointing to the webconfig's property, which is like this:
EJM
Member
190 Points
415 Posts
Club site dependent on SQL Server?
Oct 10, 2011 04:21 PM|LINK
I have removed all the references to the SqlExpress in the web.config but as soon as take it off line the application breaks, ie login errors out with sql error.
Thank you,
EJM
Rajneesh Ver...
All-Star
38354 Points
6989 Posts
Re: Club site dependent on SQL Server?
Oct 10, 2011 04:24 PM|LINK
May be they r using Sqldatasource in designer code?
www.rajneeshverma.com
Keep Forums Clean || Use Alert Moderators.
EJM
Member
190 Points
415 Posts
Re: Club site dependent on SQL Server?
Oct 10, 2011 04:45 PM|LINK
Thaks for your reply. I have looked at all the datasource declarations in my project and all look like this:
EJM
Member
190 Points
415 Posts
Re: Club site dependent on SQL Server?
Oct 13, 2011 03:14 PM|LINK
No one has any other suggestions?
aabruzzese
Contributor
2806 Points
759 Posts
Re: Club site dependent on SQL Server?
Oct 24, 2011 04:07 PM|LINK
From what I remember you would have to change your Connection string so you would no longer point to SQL Express but to a full blown SQL server.
Should not be too difficult to tweak.
EJM
Member
190 Points
415 Posts
Re: Club site dependent on SQL Server?
Dec 29, 2011 06:26 PM|LINK
I forgot I had this posting. I figured out what was the issue. Missing this line in my web.confing.