I am trying to implement an appsettings value in my web.config file to store my connectionstring value.
Everything works fine until I put the following code in my web.config file:
<appsettings>
<add key="strConnectionString" value="packet size=4096;integrated security=SSPI;persist security info=False;initial catalog=jobshop" />
</appsettings>
as soon as this code is added I get the follwing error message when I try to tun the page:
Error while trying to run project: Unable to start debugging on the server. Server side-error occurred on sending debug HTTP request.
Make sure the server is operating correctly. Verify there are no syntax errors in the web.config by doing a Debug.Start Without Debugging. You may also want to refer to the ASP.NET and ATL Server debugging topic in the online documentation.
I am putting this code in directly after the <configuration> tag and before <system.web>
I thought perhaps there was a problem with the value of the appsetting but the same error occurs even if I only put in:
<appsettings></appsettings>
Can anyone help?
Everything works fine until I put the following code in my web.config file:
<appsettings>
<add key="strConnectionString" value="packet size=4096;integrated security=SSPI;persist security info=False;initial catalog=jobshop" />
</appsettings>
as soon as this code is added I get the follwing error message when I try to tun the page:
Error while trying to run project: Unable to start debugging on the server. Server side-error occurred on sending debug HTTP request.
Make sure the server is operating correctly. Verify there are no syntax errors in the web.config by doing a Debug.Start Without Debugging. You may also want to refer to the ASP.NET and ATL Server debugging topic in the online documentation.
I am putting this code in directly after the <configuration> tag and before <system.web>
I thought perhaps there was a problem with the value of the appsetting but the same error occurs even if I only put in:
<appsettings></appsettings>
Can anyone help?