0

Hi all,
Recently i have upgraded my system from XP to windows7.The application was working fine in XP but when i tried to run the same application in windows7 following mentioned exception has occured

System.TypeInitializationException was unhandled
  Message="The type initializer for 'RimageClient.MainForm' threw an exception."
  Source="RimageClient"
  TypeName="RimageClient.MainForm"
  StackTrace:
       at RimageClient.MainForm.Main(String[] args)
       at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
       at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()

Any help is appreciated.


Regards
Naykodi

Edited by __avd: Added [code] tags. Encase your code in: [code] and [/code] tags.

2
Contributors
1
Reply
2
Views
7 Years
Discussion Span
Last Post by sknake
0

Please use code tags when posting code/stack traces to daniweb:

[code]

...code here...

[/code]

[code=text] ...exception here...

[/code]

Upload your application. Its hard to tell whats going wrong without seeing code. Hit "Go Advanced" then "Manage Attachments" and it will let you upload a zip.

Edited by sknake: n/a

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.