 | SearchForum Home |  |
 | |  |
 | |  |
 | |  |
 | |  |
 |
|
|
| 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 |
|
|
|
 |  |
|
|
| 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
|
|
|
|
 |  |
|
|
| 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 |
|
|
|
 |  |
|
|
| 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 |
|
|
|
 |  |
|
|
| Re: TabControl - MissingMethodException |
|
|
Hello Bernhard,
Please reply with the conclusions when you have them.
Regards,
Ori Cohen
Support Manager, the Visual WebGui team |
|
|
|
|  |
 | |  |
 | |  |
 | |  |
|
|