Subgurim click event not firing on IIS7 but does work in development environment

All works fine in my development environment but in IIS7 Integrated mode I get the following script error when I click on the map.
Microsoft JScript runtime error: Syntax error on line eval(xmlHttp.responseText);
I also want to note that the rest of the control seems to be working fine on the production server ie: scrollzoom , search ,doubleclick zoom,etc.
function () { 
if (xmlHttp.readyState == 4 && xmlHttp.status == 200)  
{ 
eval(xmlHttp.responseText);
if (updateProgressMessage)  
{ 
gmap_Id.removeControl(myControl); 
} 
} 
};

Open in new window

qz2rg4Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

leakim971PluritechnicianCommented:
function () {
if (xmlHttp.readyState == 4 && xmlHttp.status == 200)  
{
alert( xmlHttp.responseText );
eval(xmlHttp.responseText);
if (updateProgressMessage)  
{
gmap_Id.removeControl(myControl);
}
}
};

what do you get in the alert? undefined?
are you doing a cross domain ajax call?
you're not allowed to do a call to page which have not the same domain or protocol than your page
0
qz2rg4Author Commented:
Ok. Thanks.

This is the error message in response.Text

System.NotSupportedException: Collection is read-only.

[NotSupportedException: Collection is read-only.]\r\n   System.Collections.Specialized.NameObjectCollectionBase.BaseSet(String name, Object value) +7951630\r\n   System.Web.HttpServerVarsCollection.SynchronizeServerVariable(String name, String value) +237\r\n   System.Web.Hosting.IIS7WorkerRequest.GetServerVarChanges(HttpContext ctx) +531\r\n   System.Web.Hosting.IIS7WorkerRequest.SynchronizeVariables(HttpContext context) +77\r\n   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +671\r\n
0
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

qz2rg4Author Commented:
Hi it does look like a AJAX problem for there is a property in Subgurem.net control where you can set serverEventType to AspNetPostback or GMapAjax. AspNetPostback works but when I choose GMapAjax I receive the error. Sure it might be in the code behind but I don't have access to the Subgurim.net control source.

So the question remains what is the difference between my Development Box and my server.
0
qz2rg4Author Commented:
Could not resolve problem. Had no support from the Subgurim Guys. Desided to use a different 3rd party control.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
qz2rg4Author Commented:
No Support
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ASP.NET

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.