468,727 Members | 1,638 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,727 developers. It's quick & easy.

appSettings key in web.config causes error

the second I add

<appSettings>

</appSettings>

to my web.config file (just after the <system.web>), my web application will
no longer run. I get an error that reads:

Error while tyring to run projectL Unable to start debugging on the web
server. Server side-error occurred on sending debug HTTP request...

any ideas?

Using the 2003 IDE on WXP Pro XP1.

Eric
Nov 18 '05 #1
5 1521
Hi Eric,

You'll want to put it *before* <system.web>

<configuration>
<appSettings>
<add key="Application Name" value="MyApplication" />
</appSettings>

<system.web>
.......
</configuration>

Ken

"Eric Sabine" <mopar41@hyotyt_mail_nounderscores.com> wrote in message
news:O3**************@TK2MSFTNGP09.phx.gbl...
the second I add

<appSettings>

</appSettings>

to my web.config file (just after the <system.web>), my web application
will
no longer run. I get an error that reads:

Error while tyring to run projectL Unable to start debugging on the web
server. Server side-error occurred on sending debug HTTP request...

any ideas?

Using the 2003 IDE on WXP Pro XP1.

Eric


Nov 18 '05 #2
<appSettings> goes outside of <system.web>, but inside <configuration>. Once
you move it here, you are golden.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

************************************************
Think Outside the Box!
************************************************
"Eric Sabine" <mopar41@hyotyt_mail_nounderscores.com> wrote in message
news:O3**************@TK2MSFTNGP09.phx.gbl...
the second I add

<appSettings>

</appSettings>

to my web.config file (just after the <system.web>), my web application will no longer run. I get an error that reads:

Error while tyring to run projectL Unable to start debugging on the web
server. Server side-error occurred on sending debug HTTP request...

any ideas?

Using the 2003 IDE on WXP Pro XP1.

Eric

Nov 18 '05 #3
The frigging answer was in my post. Aaah, the value of another pair of
eyes.

thanks!
Ken Cox [Microsoft MVP] wrote:
Hi Eric,

You'll want to put it *before* <system.web>

<configuration>
<appSettings>
<add key="Application Name" value="MyApplication" />
</appSettings>

<system.web>
......
</configuration>

Ken

"Eric Sabine" <mopar41@hyotyt_mail_nounderscores.com> wrote in message
news:O3**************@TK2MSFTNGP09.phx.gbl...
the second I add

<appSettings>

</appSettings>

to my web.config file (just after the <system.web>), my web
application will
no longer run. I get an error that reads:

Error while tyring to run projectL Unable to start debugging on the
web server. Server side-error occurred on sending debug HTTP
request...

any ideas?

Using the 2003 IDE on WXP Pro XP1.

Eric

Nov 18 '05 #4
Been there, done that! <grin>

"Eric Sabine" <mopar41@hyotyt_mail_nounderscores.com> wrote in message
news:ek***************@TK2MSFTNGP12.phx.gbl...
The frigging answer was in my post. Aaah, the value of another pair of
eyes.

thanks!


Nov 18 '05 #5
Hi Eric,

Do you have the <appSettings> element within a <configuration> element?

<configuration>
<appSettings>
<add key="KeyName" value="SomeValue" />
</appSettings>
</configuration>

Jim Cheshire [MSFT]
MCP+I, MCSE, MCSD, MCDBA
Microsoft Developer Support
ja******@online.microsoft.com

This post is provided "AS-IS" with no warranties and confers no rights.

--------------------
From: "Eric Sabine" <mopar41@hyotyt_mail_nounderscores.com>
Subject: appSettings key in web.config causes error
Date: Wed, 28 Jul 2004 10:28:18 -0400
Lines: 19
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
Message-ID: <O3**************@TK2MSFTNGP09.phx.gbl>
Newsgroups: microsoft.public.dotnet.framework.aspnet
NNTP-Posting-Host: vpn.ssimail.net 168.215.207.82
Path: cpmsftngxa10.phx.gbl!TK2MSFTFEED01.phx.gbl!TK2MSFT NGP08.phx.gbl!TK2MSFTNGP09
.phx.gblXref: cpmsftngxa10.phx.gbl microsoft.public.dotnet.framework.aspnet:251343
X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet

the second I add

<appSettings>

</appSettings>

to my web.config file (just after the <system.web>), my web application willno longer run. I get an error that reads:

Error while tyring to run projectL Unable to start debugging on the web
server. Server side-error occurred on sending debug HTTP request...

any ideas?

Using the 2003 IDE on WXP Pro XP1.

Eric


Nov 18 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Kenneth | last post: by
3 posts views Thread by Rudy | last post: by
9 posts views Thread by bryonone | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.