BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

System.TypeInitializationException on customer PC

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Deployment
View previous topic :: View next topic  
Author Message
Dick Walker
Guest





PostPosted: Thu Apr 07, 2005 3:45 am    Post subject: System.TypeInitializationException on customer PC Reply with quote



I am trying to deploy an app to a customers computer. The app won't start,
it has an exception message and then closes when we click OK. The splash
screen never shows. I have deployed cordbg and files and then when the user
presses 'cancel' on the exception we can get trace.

The contents are:
_typeName='HireSolutions.Units.HireSolutions'
_message=The type initializer for 'HireSolutions.Units.HireSolutions' threw
an exception
_innerException=System.TypeInitializationException

I have tried installing the app on a clean install of Windows 2000, my
development PC is XP Pro SP2, the client is running XP Pro SP2. The install
was performed by InstallShield, the .NET Framework v1.1. is installed,
because another utility app deployed by the install runs.

The application is called "HireSolutions.exe". It is a Delphi2005 WinForms
application. All the required .DLL files are being deployed (copying into
the target folder). This exact same CD and install was used successfully on
my clean test PC.

My guesses are that it is:
1/ a security issue (not running XP firewall, and closed Nortons down)
2/ missing a .dll (they are all on the test PC)
3/ the framework didn't install correctly (unlikely as the utility app
runs)

Any ideas?

cheers, Dick
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Deployment All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.