Running an VB .net application off the network

  • Thread starter Thread starter Sebastian Santacroce
  • Start date Start date
S

Sebastian Santacroce

Running an VB .net application off the network, is this
possible?

I try running the executable on a network and it gives me
an exception error:
An unhandled exception of
type 'System.TypeInitializationException' occurred in
Unknown Module.

Additional information: The type initializer
for "WoodbridgeDataSystem.ModWoodbridge" threw an
exception.

However, if I run the exe off a local drive it works fine.
Is there a way to fix this?

Sebastian
 
* "Sebastian Santacroce said:
Running an VB .net application off the network, is this
possible?

I try running the executable on a network and it gives me
an exception error:
An unhandled exception of
type 'System.TypeInitializationException' occurred in
Unknown Module.

Additional information: The type initializer
for "WoodbridgeDataSystem.ModWoodbridge" threw an
exception.

However, if I run the exe off a local drive it works fine.
Is there a way to fix this?

Are you sure you adapted the framework security settings for this
application in the .NET Framework Configuration?
 
Hi Sebastian,

Herfried's probably correct - you need to set up .net security to allow the
exe to run from a server drive.

I have a write up on it, but I can't remember where I got it (I think at
msdn.microsoft.com). In any event, it's really easy - go to control
panel/admin tools; select microsoft .net framework wizards and click 'adjust
..net security' - next; select 'make changes to this computer' - next;select
local intranet - next; click finish and you'r done.

HTH,

Bernie Yaeger
 
Hello,
I gave silly thing.
Beginer's thing.
Scale is different from VB6 for VB.NET.

Thank you.
Morpheu
 
Back
Top