-Original Message-
From: Pano Voudouris [mailto:pvoudou...@gaiocorp.com]
Sent: Thursday, July 09, 2009 11:48 AM
To: Suman Chatterjee
Cc: mapserver-users@lists.osgeo.org
Subject: RE: [mapserver-users] Object reference not set to an instance
of an object
Hi Suman,
Check your
To: Suman Chatterjee
Cc: mapserver-users@lists.osgeo.org
Subject: RE: [mapserver-users] Object reference not set to an instance
of an object
Hi Suman,
Check your web.config file- You probably have an entry similar to:
appSettings
add key=mapfile
value=C:\ms4w\Apache\htdocs
-users] Object reference not set to an instance
of an object
Hi Suman,
I suspect
System.Configuration.ConfigurationManager.AppSettings[C:/ms4w/Apache/ht
docs/mapservertest/Addison.map] evaluates to null in your case, and
therefore the ToString() operation on the null reference is failing
which
2009/7/9 Suman Chatterjee schatter...@addisontx.gov
The line
System.Configuration.ConfigurationManager.AppSettings[“C:/ms4w/Apache/htdocs/mapservertest/Addison.map”]
Is throwing error. No idea what it is trying to do.
You probably have to give the variable name of the application
-users-boun...@lists.osgeo.org] On Behalf Of Suman
Chatterjee
Sent: 09 July 2009 17:50
To: Tamas Szekeres
Cc: mapserver-users@lists.osgeo.org
Subject: RE: [mapserver-users] Object reference not set to an instance of an
object
Hi,
I corrected my problem. Actually, I changed the code a little bit
Hi Suman,
I suspect
System.Configuration.ConfigurationManager.AppSettings[“C:/ms4w/Apache/htdocs/mapservertest/Addison.map”]
evaluates to null in your case, and therefore the ToString() operation on
the null reference is failing which problem is not related to the MapScript
library itself.
Best