Forum  General Visual ...  Visual WebGui v...  TabControl - MissingMethodException
Previous Previous
 
Next Next
New Post 5/30/2009 5:24 PM
  fisherman
163 posts
5th Level Poster


TabControl - MissingMethodException 

I created a small VWG application - a form containing several buttons and a tabcontrol. It runs fine in VS, but when I try to run it in IIS there is an exception:

Serverfehler in der Anwendung /.

Methode nicht gefunden: "Void Gizmox.WebGUI.Forms.TabControl.set_Alignment(Gizmox.WebGUI.Forms.TabAlignment)".

Beschreibung: Unbehandelte Ausnahme beim Ausführen der aktuellen Webanforderung. Überprüfen Sie die Stapelüberwachung, um weitere Informationen über diesen Fehler anzuzeigen und festzustellen, wo der Fehler im Code verursacht wurde.

Ausnahmedetails: System.MissingMethodException: Methode nicht gefunden: "Void Gizmox.WebGUI.Forms.TabControl.set_Alignment(Gizmox.WebGUI.Forms.TabAlignment)".

Quellfehler:

Beim Ausführen der aktuellen Webanforderung wurde einen unbehandelte Ausnahme generiert. Informationen über den Ursprung und die Position der Ausnahme können mit der Ausnahmestapelüberwachung angezeigt werden.

Stapelüberwachung:

[MissingMethodException: Methode nicht gefunden: "Void Gizmox.WebGUI.Forms.TabControl.set_Alignment(Gizmox.WebGUI.Forms.TabAlignment)".]
   lubeweb_webclient.start.InitializeComponent() in C:\Daten\Entwicklung\lubeweb\webapp\lubeweb_webclient\start.Designer.cs:154
   lubeweb_webclient.start..ctor() in C:\Daten\Entwicklung\lubeweb\webapp\lubeweb_webclient\start.cs:23

[TargetInvocationException: Ein Aufrufziel hat einen Ausnahmefehler verursacht.]
   System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck) +0
   System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache) +86
   System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache) +230
   System.Activator.CreateInstance(Type type, Boolean nonPublic) +67
   System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +1051
   System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +111
   Gizmox.WebGUI.Server.Context.91AA0(String 0AAAA, String 1AAAA, Object[] 2AAAA) +47
   Gizmox.WebGUI.Server.Context.CreateMainForm() +193
   Gizmox.WebGUI.Server.Content.GetMainForm() +302
   Gizmox.WebGUI.Server.Content.ProcessRequest(HttpContext objHttpContext) +583

[HttpException (0x80004005): Ein Aufrufziel hat einen Ausnahmefehler verursacht.]
   Gizmox.WebGUI.Server.Content.ProcessRequest(HttpContext objHttpContext) +4372
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +181
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75


Versionsinformationen: Microsoft .NET Framework-Version:2.0.50727.3082; WebGui-Version:2.0.50727.3082

 
New Post 5/31/2009 1:21 AM
  fisherman
163 posts
5th Level Poster


Re: TabControl - MissingMethodException 

more information: I can suppress this exception by manually commenting the designer-generated line

            //this.tabControl1.Alignment = Gizmox.WebGUI.Forms.TabAlignment.Top;

in the xxx.Designer.cs file. Not a permanent option, but a workaround 

 

Bernhard

 

 

 
New Post 5/31/2009 2:55 AM
  Guy
2346 posts
1st Level Poster




Re: TabControl - MissingMethodException 

 Hi Bernahard,

If the designer sees it and the runtime does not, this means that you are working with two diffrent assemblie versions. This is because the designer cannot generate code base on non exsisting properties.

I guess you have a previous version assembly that does not have the Alignment property along side a new one that has.

Cheers,
Guy

 
New Post 6/1/2009 1:25 AM
  fisherman
163 posts
5th Level Poster


Re: TabControl - MissingMethodException 

Guy,

thanks for the hint. I had removed all prevois Gizmox stuff from the GAC and all assembly files on the disk. I'll double check again.

Bernhard

 
New Post 6/4/2009 7:06 AM
  ori.cohen
4390 posts
1st Level Poster




Re: TabControl - MissingMethodException 

Hello Bernhard,

Please reply with the conclusions when you have them.

Regards,

Ori Cohen

Support Manager, the Visual WebGui team

 
Previous Previous
 
Next Next
  Forum  General Visual ...  Visual WebGui v...  TabControl - MissingMethodException
Azure banner
.NET Web, Cloud and Mobile application delivery platform | Sitemap | Terms of Use | Privacy Statement | Copyright © 2005-2011 Visual WebGui®       Visual WebGui weblog on ASP.NET Visual WebGui Group on LinkedIn Visual WebGui updates on Twitter Visual WebGui Page on Facebook Visual WebGui YouTube Channel Visual WebGui Platform News RSS