browse: forums | FAQ
Connecting Tech Pros Worldwide

Hey there! Do you need ASP.NET help?

Get answers from our community of ASP.NET experts on BYTES! It's free.

Web Config and query string parameters

johnpremi
Guest
 
Posts: n/a
#1: Jan 16 '06
Hi there,
I have to pass a query string parameter in my Web Config for loading a URL.
We have two environments (production and devlopment) and MonitorURL needs to
be changed when the deployment is done. In production this variable will be
http://servername:8080/MONITOR?query...d&query2=adsas
In this we need to get two strings by parsing the variable. But when I try
to give this variable I get a run time error. Is there any work around to
accomplish this. In development I have only one variable (there is no need to
split the string)
and that also is failing.

Thanks
John




Julie Lerman
Guest
 
Posts: n/a
#2: Jan 16 '06

re: Web Config and query string parameters


At what point in your process are you getting an error? Retrieving the
variable from config? Parsing the variable? What is your error?


"johnpremi" <johnpremi@discussions.microsoft.com> wrote in message
news:E4641EB8-36E3-425D-A27E-D810F75590C8@microsoft.com...[color=blue]
> Hi there,
> I have to pass a query string parameter in my Web Config for loading a
> URL.
> We have two environments (production and devlopment) and MonitorURL needs
> to
> be changed when the deployment is done. In production this variable will
> be
> http://servername:8080/MONITOR?query...d&query2=adsas
> In this we need to get two strings by parsing the variable. But when I try
> to give this variable I get a run time error. Is there any work around to
> accomplish this. In development I have only one variable (there is no need
> to
> split the string)
> and that also is failing.
>
> Thanks
> John
>[/color]


Closed Thread