How to access .Net Assembly from another Workstation?

  • Thread starter Thread starter IMRAN SAROIA
  • Start date Start date
I

IMRAN SAROIA

Hi!

I have developed a simple database (using oledb and Access ) application in
VB.Net. I have placed the Assembly (EXE) on server computer and want to
access the application from other workstations. When ever databound form is
going to be displayed security exception about access denied is thrown.

Please advise.

This never happened with unmanaged code.

Regards

Imran
 
The problem is that by default, .NET security running across the network
does not allow File I/O. So, you need to give the assembly trust (by using
the .NET Framework Wizards in Administrative Tools). There are other ways
to do this too, such as using CASPOL.EXE to modify the security policy.

Here is a couple articles that might help:
http://support.microsoft.com/default.aspx?scid=kb;en-us;832742
http://support.microsoft.com/default.aspx?scid=kb;EN-US;815164
http://support.microsoft.com/default.aspx?scid=kb;en-us;837909
 
Back
Top