Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB.NET 1.0 > Pro VB.NET 2002/2003
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Pro VB.NET 2002/2003 For advanced Visual Basic coders working .NET version 2002/2003. Beginning-level questions will be redirected to other forums, including Beginning VB.NET.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB.NET 2002/2003 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old March 31st, 2005, 04:54 AM
Authorized User
 
Join Date: Dec 2004
Location: Salo, Loimaa, , Finland.
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to eelisMX
Default Deployment issue - TypeInitializationException

Hi

My application run perfectly using the .exe file or when running from vs.net.
I created a setup project (within the same solution) and its also running well without any build errors. Deployment seems to be fine as well - all required files are copied to their destination.

When I try to run the new installed program, i get the following error message: "An unhandled exception of type 'System.TypeInitializationException' has occured in AppRT12.exe".
The debugger writes also: "Additional information: The type initializer for "AppRT12.FModule" threw an exception."

FModule is a module where I have shared members and methods.

The application has a Sub Main() as a startup object. The debugger break on the first call to a method on FModule.
Does module has to be initialized ??? what's type initializer ?
Also, as I mentioned, no errors running it from vs.net

Any ideas.... Thanks!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SQL Server2000 Desktop Edition deployment issue RajaWaqas C# 2005 1 July 15th, 2008 03:37 AM
Deployment Issue REPicurus Access 1 May 28th, 2008 02:21 AM
TypeInitializationException fezi786 BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 1 February 5th, 2008 10:10 AM
Deployment Issue sbv002 BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 0 November 20th, 2007 03:56 PM
deployment issue p_gauri7 Crystal Reports 0 January 19th, 2005 11:32 PM



All times are GMT -4. The time now is 01:43 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.