Avatar of sarahjackel
sarahjackel

asked on 

Mapguide Map 6.5 Method cannot be invoked at this time

Hello,
I'm using mapguide 6.5 inside a ClickOnce windows application and have had no problems until just this week. Here's what's going on:

3 test computers are working fine, but 2 test computers are unable to access any methods associated with the map.

All of the following will throw an error "Method 'zoomInMode' cannot be invoked at this time":

this.MGMap1.isBusy();
this.MGMap1.panMode();
this.MGMap1.se lectMode();
this.MGMap1.zoomInMode();
this.MGMap1.zoomOutMode();

Th e map is not null. Any suggestions?!?

thanks!
Sarah
SoftwareProgramming

Avatar of undefined
Last Comment
sarahjackel
ASKER CERTIFIED SOLUTION
Avatar of scrathcyboy
scrathcyboy
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of sarahjackel
sarahjackel

ASKER

One of the non-working computers was fine until a week ago (when IE was upgraded to version 7).

More information on the active X MapGuide Map Control:
The built in toolbar with zooming and panning buttons works fine on the map.  I have been hiding this toolbar because it is ugly and using my own buttons by calling the methods described above.  Accessing the methods of the map programmatically is what is causing the error.

I've read a few articles describing how a IE update has been causing problems for active X controls.  However, the control is in a windows ClickOnce app and not a web app so their fix won't work for me.  I'm not sure if this is truly the cause but it's an idea...  any suggestions?

http://usa.autodesk.com/adsk/servlet/ps/item?siteID=123112&id=7123558&linkID=9242098 
http://support.microsoft.com/kb/912945 

Avatar of sarahjackel
sarahjackel

ASKER

Oh... and I am connecting to an Oracle Database and this connection has been tested & working properly.
Avatar of scrathcyboy
scrathcyboy
Flag of United States of America image

As long as all the ODBC drivers are the same on all systems, your DB connectivity will be fine.  Yes, IE7 upgrades have caused MANY MANY incompatibilities, especially with niche programs that use particular calls that average browsers don't.  One of the ways you can test this is to go into INternet Settings in control panel and DECREASE the security level to "average" which was the way IE6 was set.  IE7 puts it up to high or maximum, and that breaks a lot of apps, especially ones connecting to servers like Oracle.

While in the Internet options, go through ALL checkboxes to enable or disable features of IE, comparing a working install of IE6 with how the IE7 system is now set.  More than likely, you will find the problem there.
Avatar of sarahjackel
sarahjackel

ASKER

I fixed the problem.  The the Isolated property on the dll had been set to False.  Once it was changed, the control behaved correctly.  

Thanks for your help!
Avatar of scrathcyboy
scrathcyboy
Flag of United States of America image

then close the question by awarding points to your answer or my input, or both, whatever you want.  Glad you fixed it.
Avatar of sarahjackel
sarahjackel

ASKER

Thanks for your help
Programming
Programming

Programming includes both the specifics of the language you’re using, like Visual Basic, .NET, Java and others, but also the best practices in user experience and interfaces and the management of projects, version control and development. Other programming topics are related to web and cloud development and system and hardware programming.

55K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo