Re: VB.NET app cannot deploy on any client machine! Exception couldn't be handled!!!

From: Ajay Bhola (ajay_bhola_at_iprimus.com.au)
Date: 09/25/03


Date: Thu, 25 Sep 2003 22:08:14 +1000


I have similar problem in my application. My application has 1 exe and
couple of dlls. This application works well when I run from C: drive but
when I try to run from Network drive it produce error like yours i.e.
> Common Language Runtime Debugging Services:
> Application has generated an exception that could not be handled.
>
> Process id=0x248 (584), Thread id=0xe68 (3688).
>
> Click OK to terminate the application.
> Click CANCEL to debug the application.

I think it is related to security policy. I am able to run from C: drive (on
the same PC) as it full trust to all the assemblies. I am also about to try
caspol.exe and give full access to all assemblies in the package. If you
have dependent dlls then do caspol -af for them first and then to exe. You
can read about caspol.exe more before doing.

cheers,
Ajay

"Bill Nguyen" <billn@jaco.com> wrote in message
news:eUfjqKkfDHA.2152@tk2msftngp13.phx.gbl...
> Forgive me for cross-posting, I'm desperated.
> -------------
> Client machine: Win2K server SP4 with both .NET framework 1.0 & 1.1
> installed. VB.NET app developed using an XP Pro with VS.NET 2003 / .NET
> framework 1.1
> You help is greatly appreciated.
> Bill
>
>
> --------------------------
>
> Common Language Runtime Debugging Services:
> Application has generated an exception that could not be handled.
>
> Process id=0x248 (584), Thread id=0xe68 (3688).
>
> Click OK to terminate the application.
> Click CANCEL to debug the application.
>
>



Relevant Pages

  • Re: HELP!! Im having "DLL Hell" in .NET
    ... huge known bug if you don't do this (and your dlls are larger than ... It is a client server application with 1 exe as the ... > all the supporting assemblies in directories in the root. ... > true for each reference in these assemblies. ...
    (microsoft.public.dotnet.general)
  • Re: Appl. Security Problems
    ... Back up your compiled assemblies (the EXE and both DLLs) and your CAS ... the key is only used to sign the assembly at compile time. ...
    (microsoft.public.dotnet.security)
  • Re: Creating extensible applications with dotnet
    ... I want to create an exe program that will be the pre-existing piece. ... It's functionality can then be extended (using new dlls) without ... What it sounds like your looking for is a plug-in architecture. ... to load the plug-in assemblies into their own AppDomain. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: No Symbols Loaded - reasons
    ... The assemblies with "no symbols loaded" are not debug builds (for instance, ... not a part of your project, or they are OS or third-party DLLs) and have no symbols. ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: VB.NET app cannot deploy on any client machine! Exception couldnt be handled!!!
    ... > Click CANCEL to debug the application. ... caspol.exe and give full access to all assemblies in the package. ... have dependent dlls then do caspol -af for them first and then to exe. ...
    (microsoft.public.dotnet.framework.aspnet.security)

Quantcast