Hello,
I am having the problem with accessing database.
It works fine on my development machine.But When i deployed it to a production server which is in DMZ,I am getting the following
error.
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).
My web.config file is
<configuration>
<appSettings>
<add key="ConnectionString" value="server=vvvv;database=DBTest;uid=sa;password=yyyyy;"/>
</appSettings>
<connectionStrings/>
<authentication mode="None">
</authentication>
<authorization>
<allow users="*"/>
</authorization>
vvvv is an intranet server where i kept the database.
My question is what do i need to change in the web.config inorder to access the application even though it is in DMZ.