Forum  General Visual ...  Install It!  Deployment error - get_ModifierKeys
Previous Previous
 
Next Next
New Post 3/27/2012 2:26 PM
  johnh@amcoex.com
25 posts
No Ranking


Deployment error - get_ModifierKeys 

 I have tried many times to open my very simple form in IIS 7.5.

I think I followed the directions for deployment precisely. However, I keep getting the following error:

Server Error in '/target' Application.

--------------------------------------------------------------------------------

Method 'get_ModifierKeys' in type 'Gizmox.WebGUI.Server.Context' from assembly 'Gizmox.WebGUI.Server, Version=3.0.5701.0, Culture=neutral, PublicKeyToken=3de6eb684226c24d' does not have an implementation. 

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.TypeLoadException: Method 'get_ModifierKeys' in type 'Gizmox.WebGUI.Server.Context' from assembly 'Gizmox.WebGUI.Server, Version=3.0.5701.0, Culture=neutral, PublicKeyToken=3de6eb684226c24d' does not have an implementation.

Can anyone tell me what I have done wrong?

 

Thanks.

 
New Post 3/31/2012 4:29 AM
  palli
14295 posts
1st Level Poster




Re: Deployment error - get_ModifierKeys 

Hi John,

Welcome to Visual WebGui

I have seen this error occur once or twice in the past, but I don't remember the specifics of the scenario at the moment.

Please tell us a bit more on your environment. You seem to be using VS2008 and Gizmox NET3.5 which you are deploying to your IIS, but we need more information.

What is the exact version of Visual WebGui you are using (like WinWeb or .NETHTML5, Version 6.4.0 Release c etc...).

Do you build your application on a 32bit or 64bit platform (where you have VS2008 installed).

Is the IIS on a 32bit or 64bit platform ?

Are all gizmox assemblies referenced in your project set with Copy Local = True ?

Have you compared the bin folders of your project to the bin folder of your deployed application and made sure that all Gizmox asselbly binaries did make it to the server during deployment ?

Please view this article here for further information on deployment procedures.

Palli

 


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


Re: Deployment error - get_ModifierKeys 

 I am using VS2008. The installer I received from Gil Mor is VWG_Professional_Studio_6.4.0_Release_d_QA5_NET3.5.msi. (We were working on a special project.)

I am compiling on a 64bit Win7 Pro computer. The Target CPU is set to x86 and .NET Framework 2.0.

The app works fine on my 64bit computer (after I set the Enable 32bit applications to True). I created this folder using VS Publish and I copied the Web.Config manually. When I then move the folder from the wwwroot folder on my development computer to the wwwroot folder on the computer I want to be my server (32bit Win 7 Pro), I get the error. 

I noticed some differences in the configuration of IIS on the two machines that I did not know how to change. So, I uninstalled and reinstalled IIS on the server. Now the configurations seem to be the same. I registered the *.wgx extension as instructed and re-copied the folder. But I still get the Method 'get_ModifierKeys' error.

All gizmox assemblies are set to Copy Local = True and the bin folders are identical because I copied the folder directly from one wwwroot to the other.

BTW, I read the article you referenced many times while trying to troubleshoot this issue.

I appreciate any help.

 
New Post 4/7/2012 4:31 PM
  palli
14295 posts
1st Level Poster




Re: Deployment error - get_ModifierKeys 

Hi,

Just a quick thought... you say that you are compiling with Target framework set to .NET Framework 2.0, which I assume means that you set that via the application tab in your project's properties, right ?

As you are using VS2008 and Visual WebGui NET3.5, this should be set to .NET Framework 3.5. Please make a backup of your project before you change the target framework.

Palli

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
New Post 4/8/2012 2:21 PM
  johnh@amcoex.com
25 posts
No Ranking


Re: Deployment error - get_ModifierKeys 

 I tried changing the target (yes, under the application tab in project properties) to .NET 3.5 but I get the same error.

I also tried to change the Handler Mapping but I don't see any aspnet_isapi.dll for 3.5. I assume that stays as 2.0.

Thanks.

 
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