Unable to make a connection between SQL Server 2005 with asp.Net

rojoloco47

New Member
I am an Asp.Net beginner and I am trying to create an web based application. When I am connecting ASP.Net with SQL Server 2005 then it show this the following error on execution of application. \[quote\] 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)\[/quote\]Although I tried enough to sought this out but unable to get the solution, now I need your kind help to sought this problem.Thanks in advance.Update: here's my connection string from \[code\]web.config\[/code\]:\[code\]<add name="cn" connectionString="DataSource=PT-7DBE27DA8;InitialCatalog=Pages;IntegratedSecurity=True" providerName="System.Data.SqlClient"/>\[/code\]
 
Back
Top