Forum  General Visual ...  Install It!  Deployment error - get_ModifierKeys
Previous Previous
 
Next Next
New Post 4/19/2012 4:31 AM
  osmosis311
406 posts
2nd Level Poster


Re: Deployment error - get_ModifierKeys 

 I don't know how I got it working, but after recycling the app pool and restarting IIS it suddenly started working.

 
New Post 4/19/2012 7:43 AM
  johnh@amcoex.com
25 posts
No Ranking


Re: Deployment error - get_ModifierKeys 

 Osmosis,

Thanks. After I tried what you said, mine is now working on the development computer.

I also tried it on my server, but I'm still getting the error from before:

Method not found: 'Void Gizmox.WebGUI.Common.Interfaces.IContextParams.set_ScreenHeight(Int32)'.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.MissingMethodException: Method not found: 'Void Gizmox.WebGUI.Common.Interfaces.IContextParams.set_ScreenHeight(Int32)'.

 
New Post 4/22/2012 10:13 AM
  palli
14295 posts
1st Level Poster




Re: Deployment error - get_ModifierKeys 

Hi John,

Danny's observation concurs with our suspicion that this is most likely caused by some kind of caching. Restarting IIS does clear parts of the cache, and may help, but it does not clear all the possible places that can be cached.

I suggest that you follow the clear caching procedure. I suggest that you first follow the procedure for your development machine and that you include in that process both uppering of privateversion, as well as the deletion of both obj and bin folders of your project. When you build, those two folders will be recreated and it makes sure that the most recent versions of the Gizmox assemblies are copied.  After that, go to your server and delete the bin folder your application's virtual folder. Then deploy your application, edit the server's web.config and upper the privateversion there.

It goes without mention that in case of disaster, please make sure you have proper backups of all the folders you are updating.

Please let us know if this works for you.

Palli

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
New Post 4/27/2012 7:58 AM
  johnh@amcoex.com
25 posts
No Ranking


Re: Deployment error - get_ModifierKeys 

 Palli,

I did everything instructed in the "clear caching" but it did not help.

The program runs on the development computer and I can access it from other computers.

But, on the webserver computer, I still get the error:

Method not found: 'Void Gizmox.WebGUI.Common.Interfaces.IContextParams.set_ScreenHeight(Int32)'.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.MissingMethodException: Method not found: 'Void Gizmox.WebGUI.Common.Interfaces.IContextParams.set_ScreenHeight(Int32)'.

Thanks for your help but I am very frustrated.

John

 
New Post 4/29/2012 8:49 AM
  johnh@amcoex.com
25 posts
No Ranking


Re: Deployment error - get_ModifierKeys 

 In case anyone is following this post, Palli solved my problem.

I had forgotten that I had installed an older trial version of VGW on my webserver a while back. Since the trial had expired on that computer I forgot about it. That was causing a caching issue from the GAC which resulted in the errors.

Palli told me to remove the VWG and restart the IIS. That was all it took. The problem went away.

Thanks Palli.

 

 
Previous Previous
 
Next Next
  Forum  General Visual ...  Install It!  Deployment error - get_ModifierKeys
.NET HTML5 Web, Cloud and Mobile application delivery | Sitemap | Terms of Use | Privacy Statement | Copyright © 2005-2012 Visual WebGui®       Visual WebGui weblog on ASP.NET Gizmox Blog Visual WebGui Group on LinkedIn Visual WebGui updates on Twitter Visual WebGui Page on Facebook Visual WebGui YouTube Channel Visual WebGui Platform News RSS