[mapguide-users] NameValueCollection problem in Hello_map sample application

padmini godavarthi godavarthi.padmini at gmail.com
Tue Nov 11 23:07:20 EST 2008


Hi iam using Mapguide opensource 2.0 ( with .Net 2.0 +IIS)
i have a problem while running the hello_map sample application  
  
  i got an error that 

Invalid argument(s):
	[0] = " "
The string cannot be empty.

 i got an error where it was happend .but i dont know the solution.

By debugging the hello_map application i found that
-------------------------------------------------------------------
    NameValueCollection serverVars = Request.ServerVariables;
    String platform = serverVars["SERVER_SOFTWARE"];
    String queryStr = serverVars["QUERY_STRING"];

    NameValueCollection requestParams = Request.HttpMethod == "GET" ?
Request.QueryString : Request.Form;


String mgSessionId = requestParams["SESSION"];
    String mgLocale = requestParams["LOCALE"];
    String mgMapName = requestParams["MAPNAME"];
-------------------------------------------------------------------------------------------------
in the above code i got platform as null, and queryStr as null and 
requestParams as also nulls coming.

plz tell me the  solution if anybody  Knows.



Regards,
Padmini.

-- 
View this message in context: http://www.nabble.com/NameValueCollection-problem-in-Hello_map-sample-application-tp20453835p20453835.html
Sent from the MapGuide Users mailing list archive at Nabble.com.



More information about the mapguide-users mailing list