Jason,
Try this instead:
<add key="Url" value="http://gisbox/mypage.htm?action=state&city="/>
Any URLs that you put here must be URL encoded.
Jim Cheshire, MCSE, MCSD [MSFT]
Developer Support
ASP.NET
ja******@online.microsoft.com
This post is provided as-is with no warranties and confers no rights.
--------------------
From: " Jason Shohet" <as****@hotmail.com>
Subject: can't put a url into the value of a key in appSettings
(web.config)Date: Tue, 23 Dec 2003 14:00:08 -0500
Lines: 11
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <#S**************@tk2msftngp13.phx.gbl>
Newsgroups: microsoft.public.dotnet.framework.aspnet
NNTP-Posting-Host: 222-234-234-66.cosmoweb.net 66.234.234.222
Path:
cpmsftngxa07.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTN GXA05.phx.gbl!TK2MSFTNGP08
phx.gbl!tk2msftngp13.phx.gblXref: cpmsftngxa07.phx.gbl microsoft.public.dotnet.framework.aspnet:198029
X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
in web.config, I want to have a key in appSettings:
<add key="Url" value="http://gisbox/mypage.htm?action=state&city="/>
But that value doesn't take... I get an error saying it expects a
semicolon.Any idea why? If I just put value = "abc" it works fine.
TY
Jason Shohet