Home > Archive > MS SQL Server > February 2006 > SQL Express Configuration problem!?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author SQL Express Configuration problem!?
Rabbit

2006-02-07, 3:23 am

Dear All,

I'm trying to setup my asp.net 2.0 web application on a new PC, which I have
installed DotNet 2.0 and SQL Express 2005, so far the application are tested
on other development PC and it works fine. It just happened on this PC with
following error, I guess its something to do with SQL Server configuration
problem. Can anyone tell me what I'm missing on setting it up?


----------------------------------------------
Server Error in '/WebApp' Application.

An error has occured while establishing a connnection 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)
....
....
----------------------------------------------


here is my connection string defined in my web.config, and I am now using
SQL Express 2005 edition[color=darkre
d]
data source=.\SQLEXPRESS;
AttachDBFilename=|Da
taDirectory|Northwin
d.mdf;Integrated Security=True;User
Instance=true[color=
darkred]


Thanks in advance
Rabbit


Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2009 droptable.com