I'm using VS2003 and SQL2000. I created a database name "myDatabase" in SQL Server 2000 and built a website that
connet to this database. When I'm running this website in VS2003 IDE (press F5 or Ctrl-F5), everything is OK.
It was my localhost. Then I tried to install again on my server after installing .NET framework 2.0.But when my application
is trying to connect sql server, it is giving error like this:
"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: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 2)"
My connection string was: Server:XYZ;uid=sa;password=hello;Database=NewProje ct.
Now, I don't know how to fix it. Pls help me as soon as possible.