![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Error "The type initializer for ... threw an exception" Hello, I have developed an WindowsForm-application with .NET-Framework 2.0. There are no problems when the application is running on my local drive. But when I copy it to a network drive, I get the error "The type initializer for ... threw an exception" (when starting the application). By the way: the operating-system is WindowsXP professional SP2. Thank you |
My System Specs![]() |
| | #2 (permalink) |
| | Re: Error "The type initializer for ... threw an exception" You may have run into the network security code access issue - you can't run ..NET 2.0 managed code from a share unless the share is trusted (caspol.exe etc). Type initializer probably means a constructor. -- Phil Wilson "Purzel" <Purzel@xxxxxx> wrote in message news:41E2BEAB-33BC-4266-AC28-2E73ECB29359@xxxxxx Quote: > Hello, > > I have developed an WindowsForm-application with .NET-Framework 2.0. There > are no problems when the application is running on my local drive. > But when I copy it to a network drive, I get the error "The type > initializer > for ... threw an exception" (when starting the application). > By the way: the operating-system is WindowsXP professional SP2. > > Thank you |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| error code 39 on all device type: "Modems" & "Ports (COM & LPT)" | Vista hardware & devices | |||
| Exception calling "CreateInstance" with "2" argument(s): for Microsoft.Update.UpdateColl | PowerShell | |||
| Exception calling "Send" with "1" argument(s) error using PING | PowerShell | |||
| "File and Printer sharing" firewall exception scope in Vista ? | Vista networking & sharing | |||
| get-wmiobject -credential threw an exception | PowerShell | |||