GoView/GoPalette Undefined

Hi, <?:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

I have just upgraded from 2.6.1.2 to 3.0.3.2 and now when I "click" on a GoPalette or GoView I receive a JavaScript error stating that the object is undefined.

The error occurs in GoWebImage.axd. Clicking/selecting either will display a message similar to "Microsoft JScript runtime error: 'goview_MyView' is undefined".

If I click/select on the GoView it breaks here:

goview_MyView.Cursors = new Array(0,549,357,4,4,'pointer',0,562,344,4,4,'pointer',0,441,357,4,4,'pointer',0,462,379,4,4,'pointer',0,484,357,4,4,'pointer',

0,462,336,4,4,'pointer',0,290,358,4,4,'pointer',0,313,381,4,4,'pointer',0,336,358,4,4,'pointer',0,313,335,4,4,'pointer',

0,486,207,4,4,'pointer',0,512,234,4,4,'pointer',0,539,207,4,4,'pointer',0,512,181,4,4,'pointer',0,391,157,4,4,'pointer',

0,412,179,4,4,'pointer',0,434,157,4,4,'pointer',0,412,136,4,4,'pointer',0,291,207,4,4,'pointer',0,312,229,4,4,'pointer',

0,334,207,4,4,'pointer',0,312,186,4,4,'pointer',0,197,359,4,4,'pointer',0,212,374,4,4,'pointer',0,227,359,4,4,'pointer',

0,212,344,4,4,'pointer',0,197,158,4,4,'pointer',0,211,173,4,4,'pointer',0,226,158,4,4,'pointer',0,211,144,4,4,'pointer',

0,80,59,4,4,'pointer',0,112,91,4,4,'pointer',0,144,59,4,4,'pointer',0,112,27,4,4,'pointer');

goview_MyView.ToolTips = new Array();

goview_MyView.ToolTipDefault = '';

goview_MyView.Menus = new Array(0,549,344,32,32,'0',0,441,336,48,48,'1',0,290,335,51,51,'1',0,486,181,58,58,'1',0,391,136,48,48,'1',0,291,186,48,48,'1',

0,197,342,37,37,'1',0,197,142,36,36,'1',0,80,25,71,71,'1');

go_=goview_MyView.MenuDefs = new Array();

go_[1]=new Array('',new Array('Create Link',11,'GSOShape.CreateLink_Command'),new Array('-',3,''),new Array('Delete',3,'DeleteSelectedShapes()'));

go_[0]=new Array('',new Array('Delete',3,'DeleteSelectedShapes()'));

go_=null;

goview_MyView.MenuDefault = '';

goview_MyView.Infos = new Array(0,384,209,56,16,'0',1,'0',338,209,148,1,4,0,6,0,338,209,348,209,412,209,412,209,476,209,486,209,0,513,359,10,16,'1',

1,'1',488,359,61,1,4,0,6,0,488,359,498,359,518,359,518,359,539,359,549,359,0,10,10,10,16,'2',1,'2',15,10,0,0,4,0,0,0,

0,385,360,10,16,'3',1,'3',340,359,101,1,4,0,6,0,340,360,350,360,390,360,390,359,431,359,441,359,0,255,360,10,16,'4',

1,'4',231,360,59,2,4,0,6,0,231,361,241,361,260,361,260,360,280,360,290,360,0,365,285,10,16,'5',1,'5',187,209,367,152,4,0,6,0,543,209,553,209,553,290,187,290,187,361,197,361,

0,457,184,10,16,'6',1,'6',438,159,48,50,4,0,6,0,438,159,448,159,462,159,462,209,476,209,486,209,0,353,184,23,16,'7',

1,'7',338,159,53,51,4,0,6,0,338,209,348,209,364,209,364,159,381,159,391,159,0,255,185,10,16,'8',1,'8',230,160,61,49,4,0,6,0,230,160,240,160,260,160,260,209,281,209,291,209,

0,167,111,10,16,'9',1,'9',148,61,49,100,4,0,6,0,148,61,158,61,172,61,172,160,187,160,197,160,0,549,344,32,32,'10',

0,441,336,48,48,'11',0,290,335,51,51,'12',0,486,181,58,58,'13',0,391,136,48,48,'14',0,291,186,48,48,'15',

0,197,342,37,37,'16',0,197,142,36,36,'17',0,80,25,71,71,'18');

go_=goview_MyView.InfoDefs = new Array();

go_[17]={"ID":"7","DoubleClick":"DisplayShapeDetail(\'Process\')"};

go_[5]={"ID":"46","DoubleClick":"DisplayShapeDetail(\'Response\')"};

go_[13]={"ID":"22","DoubleClick":"DisplayShapeDetail(\'Step\')"};

go_[15]={"ID":"12","DoubleClick":"DisplayShapeDetail(\'Step\')"};

go_[11]={"ID":"37","DoubleClick":"DisplayShapeDetail(\'Step\')"};

go_[4]={"ID":"47"};

go_[14]={"ID":"17","DoubleClick":"DisplayShapeDetail(\'Step\')"};

go_[10]={"ID":"70","DoubleClick":"DisplayShapeDetail(\'Terminator\')"};

go_[18]={"ID":"2","DoubleClick":"DisplayShapeDetail(\'NavPoint\')"};

go_[7]={"ID":"44","DoubleClick":"DisplayShapeDetail(\'Response\')"};

go_[2]={"ID":"69","DoubleClick":"DisplayShapeDetail(\'Response\')"};

go_[1]={"ID":"75","DoubleClick":"DisplayShapeDetail(\'Response\')"};

go_[12]={"ID":"32","DoubleClick":"DisplayShapeDetail(\'Step\')"};

go_[16]={"ID":"27","DoubleClick":"DisplayShapeDetail(\'Process\')"};

go_[6]={"ID":"45","DoubleClick":"DisplayShapeDetail(\'Response\')"};

go_[8]={"ID":"43"};

go_[3]={"ID":"48","DoubleClick":"DisplayShapeDetail(\'Response\')"};

go_[9]={"ID":"42"};

go_[0]={"ID":"89","DoubleClick":"DisplayShapeDetail(\'Response\')"};

go_=null;

goview_MyView.NoClick = null;

goview_MyView.SingleClickDefault = null;

goview_MyView.DoubleClickDefault = null;

goview_MyView.ContextClickDefault = null;

goAfterLoad('MyView',true);

If I select on the GoPalette is breaks here:

goview_MyPalette.Cursors = new Array();

goview_MyPalette.ToolTips = new Array(0,1,49,298,1,'Click to Scroll S; Shift-Click to Scroll by a Page');

goview_MyPalette.ToolTipDefault = '';

goview_MyPalette.Menus = new Array();

go_=goview_MyPalette.MenuDefs = new Array();

go_=null;

goview_MyPalette.MenuDefault = '';

goview_MyPalette.Infos = new Array();

go_=goview_MyPalette.InfoDefs = new Array();

go_=null;

goview_MyPalette.NoClick = null;

goview_MyPalette.SingleClickDefault = null;

goview_MyPalette.DoubleClickDefault = null;

goview_MyPalette.ContextClickDefault = null;

goAfterLoad('MyPalette',true);

Any help will be greatly appreciated.

Thanks....

Well, I don’t think you can get this far without the GoWeb.js, but make sure that’s a part of the project.

Are you using AJAX? Have you changed anything else about the project in moving to 3.0?

Yep, GoWeb.js is part of the project.

Yes, we are using AJAX. Nothing else was changed - simply uninstalled 2.6.1.2 and then installed 3.0.3.3. Updated the Web.config as instructed (adding the httphandler) and updated the GoWeb.js and GoWeb.css files. I've double checked to makes sure NoPost is set to true for the Palettes and View. I've also checked the ImagePage, ScriptFile and cssFile values for each.

Problem solved.

Both of my development machines had cached the previous vesion of GoWeb.js. I was debugging GoWeb.js and I noticed that the version being debugged was inconsistent with the version in the project. Cleared out the cache and everything is working fine.
Cheers....

thanks for the update.