"Bigal" <(E-Mail Removed)> wrote in message
news:846F8CC0-884D-4BC8-9EF7-(E-Mail Removed)...
>I just added the SQL connection string to my web.config:
>
> ________________________________________
> <configuration>
> <system.web>
> <customErrors mode="Off"/>
> compilation debug="true"/>
> </system.web>
> <appSettings>
> <add key="ConnectionString"
> value="server=localhost;database=testdb;uid=sa;password=!@#ddi386;"/>
> </appSettings>
> </configuration>
> __________________________________________
>
> Now I am getting a runtime error telling me to turn <customErrors
> mode="Off"/>
> but I already have that set. The page I am trying to access is in the same
> directory my web.config I just post. Can anyone help me out?
You're missing an "<" on the fourth line. Fourth line in your config should
read:
<compilation debug="true"/>
My guess is that you missed this part as you set customErrors off, the
server is no longer able to read the config and is still going with the
previous config.
--
IT-RÃ¥dgiver Ulf Kristiansen
http://www.it-radgiver.no