PDA

View Full Version : Server Error in '/' Application.


huseyin3056
11-14-2007, 08:50 AM
Server Error in '/' Application.


An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)








I only use aspnetdb.mdf database for membership.


I dont use any other database.





Thank you.

vvsharma
11-14-2007, 10:55 AM
The error is due to your connection string in your applications web.config file.Make sure,its not pointing to your local SQL express database.

See: http://kb.discountasp.net/article.aspx?id=10413 for further details.

Vikram

DiscountASP.NET
www.DiscountASP.NET (http://www.discountasp.net/)