PC Review


Reply
Thread Tools Rate Thread

How to access .Net Assembly from another Workstation?

 
 
IMRAN SAROIA
Guest
Posts: n/a
 
      20th May 2004
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



 
Reply With Quote
 
 
 
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      20th May 2004
* "IMRAN SAROIA" <(E-Mail Removed)> scripsit:
> 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.


<URL:http://msdn.microsoft.com/library/en-us/dnnetsec/html/entsecpoladmin.asp>

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
 
Reply With Quote
 
Marc Butenko
Guest
Posts: n/a
 
      20th May 2004
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...b;en-us;832742
http://support.microsoft.com/default...b;EN-US;815164
http://support.microsoft.com/default...b;en-us;837909

--
Marc Butenko
(E-Mail Removed)



"IMRAN SAROIA" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> 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
>
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Access 2003 and Access 2007 on same workstation Marcus Smaby Microsoft Access 2 25th Jul 2007 11:24 AM
Access .Net Assembly from Workstation IMRAN SAROIA Microsoft Dot NET 0 19th May 2004 07:24 AM
Can't access URL from the workstation osliva Microsoft Windows 2000 Networking 1 11th Jan 2004 09:08 PM
Can't access URL from the workstation =?Utf-8?B?b3NsaXZh?= Windows XP Internet Explorer 1 8th Jan 2004 02:20 PM
Restricting access to Assembly.LoadFrom call within an assembly based on strong names Nicholas Paldino [.NET/C# MVP] Microsoft C# .NET 3 9th Dec 2003 08:32 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:34 PM.