Exception after deployment to Vista-Machine


Author
Message
Philipp Guntermann
Philipp Guntermann
StrataFrame User (249 reputation)StrataFrame User (249 reputation)StrataFrame User (249 reputation)StrataFrame User (249 reputation)StrataFrame User (249 reputation)StrataFrame User (249 reputation)StrataFrame User (249 reputation)StrataFrame User (249 reputation)StrataFrame User (249 reputation)
Group: Forum Members
Posts: 141, Visits: 263
Hi,

my Application raises the following Exception on a Vista Machine. It works with no Problems on my dev machine (XP):


The Typeinitializer for COTAS_Kuma.Business_Objekte.Basis.KundenBO has raised an Exception.

TypeInitializatzionException
 The Typeinitialisator for COTAS_Kuma.Business_Objekte.Basis.KundenbO has raised an Exception.
TypeLoadException
 The Type MicroFour.StrataFrame.Business.FieldPropertyDescriptor`1 in the Assembly MicroFour StrataFrame Business, Version=1.6.0.0, Culture=neutral, PublicKeyToken=99fe9917f71608a7 could not be loaded.

Source  : COTAS_Kuma

Strack Trace:

 at COTAS_Kuma.Business_Objekte.Basis.KundenBO..cctor()
 at COTAS_Kuma.Business_Objekte.Basis.KundenBO..cctor(IContainer container)
 at COTAS_Kuma.Präsentation.KundenverwaltungUI.KundenverwaltungFrm.InitializeComponent()
 at COTAS_Kuma.Präsentation.KundenverwaltungUI.KundenverwaltungFrm..ctor()
 at COTAS_Kuma.Präsentation.KundenverwaltungUI.KundenverwaltungFrm.getInstanz(TrayApplikation paParentController)
 at COTAS_Kuma.Controller.Applikation.TrayApplikation.starteKVKundenverwaltung()
 at COTAS_Kuma.Controller.Applikation.Traymenü.ClickEventHandler(Object Sender, Eventargs e)
 at System.Windows.Forms.ToolstripItem.RaiseEvent(Object key, EventArgs e)
 at System.Windows.Forms.ToolstripMenuItem.OnClick(EventArgs e)
 at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
 at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
 ...


Replies
Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
Yes.  If this was a pre-existing machine, then it is entirely possible that the permissions prevented the existing assemblies from being updated.  That is a common deployment issue that comes up.
Philipp Guntermann
Philipp Guntermann
StrataFrame User (249 reputation)StrataFrame User (249 reputation)StrataFrame User (249 reputation)StrataFrame User (249 reputation)StrataFrame User (249 reputation)StrataFrame User (249 reputation)StrataFrame User (249 reputation)StrataFrame User (249 reputation)StrataFrame User (249 reputation)
Group: Forum Members
Posts: 141, Visits: 263
Allright. i guess thats the isse then. The Application also threw an error when the trying to save something to the registry in the security editor.

Now, how would i go to enable the clickonce file to get the required permissions ?

Thanks.

Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
That is an question for someone who uses ClickOnce.  We do not use or support ClickOnce due to many issues (not unlike this one) that we ran into early on.  We use InstallAware for all of our distribution.  There are most likely a lot of blogs on the web that might be able to give you an idea here.
Philipp Guntermann
Philipp Guntermann
StrataFrame User (249 reputation)StrataFrame User (249 reputation)StrataFrame User (249 reputation)StrataFrame User (249 reputation)StrataFrame User (249 reputation)StrataFrame User (249 reputation)StrataFrame User (249 reputation)StrataFrame User (249 reputation)StrataFrame User (249 reputation)
Group: Forum Members
Posts: 141, Visits: 263
ok. thanks.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Philipp Guntermann - 16 Years Ago
Ivan George Borges - 16 Years Ago
Philipp Guntermann - 16 Years Ago
Trent L. Taylor - 16 Years Ago
Philipp Guntermann - 16 Years Ago
Trent L. Taylor - 16 Years Ago
Philipp Guntermann - 16 Years Ago
Trent L. Taylor - 16 Years Ago
Philipp Guntermann - 16 Years Ago
Trent L. Taylor - 16 Years Ago
Philipp Guntermann - 16 Years Ago
Trent L. Taylor - 16 Years Ago
                         ok. thanks.
Philipp Guntermann - 16 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search