Groups | Blog | Home
all groups > asp.net > january 2006 >

asp.net : Web Config and query string parameters



johnpremi
1/15/2006 10:18:01 PM
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=asd&query2=adsas;http://servername:8080/MONITOR?query=asd&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
1/16/2006 8:39:28 AM
At what point in your process are you getting an error? Retrieving the
variable from config? Parsing the variable? What is your error?


[quoted text, click to view]

AddThis Social Bookmark Button