Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB.NET 1.0 > Pro VB.NET 2002/2003
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old March 31st, 2005, 04:54 AM
Authorized User
Join Date: Dec 2004
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to eelisMX
Default Deployment issue - TypeInitializationException


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!

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

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.