Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Microsoft .net framework Permissions Issue?

Status
Not open for further replies.

bsan2008

IS-IT--Management
Nov 3, 2008
12
I've one Server 2003 DC + some XP Prof. Clients.

One database application is installed on server and on all clients. Clients use database from server. This application needs .NET Framework 2.0

On server this application runs fine if logged on as administrator, but if logged on by any other user it creates error.

On all other pcs it gives error even if logged on by administrator.

Error is as-

"Application is attemted to perform an operation not allowed by the security policy. To grant this application the required permission, contact your system administrator or use the microsoft .NET Framwork Configuration Tool.
Request for the permission of Type
'System.Security.Permissions.FileOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' Failed."

How to apply FULL TRUST Permission to this specific software or group of users?

Regards,
 

Got to Start->Setings->Control Panel->Administrative Tools->Microsoft .NET Framework 2.0 Configuration

In the dialog that opens, click the link titled "Configure Code Access Security Policy". In there you can either set the security policy for the specific assemble (i.e., your program), or for "zones", in which you can have the machine accept all .NET assemblies in your domain.



I used to rock and roll every night and party every day. Then it was every other day. Now I'm lucky if I can find 30 minutes a week in which to get funky. - Homer Simpson

Arrrr, mateys! Ye needs ta be preparin' yerselves fer Talk Like a Pirate Day!
 
Hi Jebenson,

No such option available in administrative tools however .NET 2.0 in installed.

On some pcs where .NET 1.1 was installed before 2.0, .NET 1.1 configuration tool is available.

Our software vendor suggested to apply FULL TRUST permission to solve this problem, but he don't know how >:-<
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top