problem with loading a dll file from a network

problem with loading a dll file from a network

Anonymous
Not applicable
1,472 Views
7 Replies
Message 1 of 8

problem with loading a dll file from a network

Anonymous
Not applicable

Dear friends:-

I deveolped a dll file and I put it on the network in my company, the problem is when the user netload this dll file from his PC a error message shows securitry policy ---etc, I searched the internet and I found this batch file:  

c:\windows\microsoft.net\framework\v2.0.50727\Caspol.exe -m -ag 1.2 -url \\ZFPCFS\ZFP-IS\ZFP-IDS\CAD\L\LAB6.dll FullTrust but its still not working I don't know what I shall do, Kindly help me

0 Likes
1,473 Views
7 Replies
Replies (7)
Message 2 of 8

michael_robertson
Collaborator
Collaborator

If you trust everything running on local servers you can use:

 

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CasPol.exe -m -cg LocalIntranet_Zone FullTrust

 

This way you don't have to create an entry for every application you load on your server.

Mike Robertson
FL. Dept. of Transportation
CADD Applications Developer
0 Likes
Message 3 of 8

michael_robertson
Collaborator
Collaborator

Just to confirm, when you run the Caspol commands, you are running the command on the workstation accessing the server (not the server itself), correct?

Mike Robertson
FL. Dept. of Transportation
CADD Applications Developer
0 Likes
Message 4 of 8

Anonymous
Not applicable

No Sir I run it from the user Local PC

0 Likes
Message 5 of 8

Anonymous
Not applicable

Dear Michael:-

thank you for reply I tryed your idea but its still not working i don't know why!!
0 Likes
Message 6 of 8

michael_robertson
Collaborator
Collaborator

Could you post the entire error message?

Mike Robertson
FL. Dept. of Transportation
CADD Applications Developer
0 Likes
Message 7 of 8

Anonymous
Not applicable

Here is the error message, but I just found some thing, when I press on the the continue buttom try fire the command befor exit autocad its working I don't know what happend ?? 

0 Likes
Message 8 of 8

Anonymous
Not applicable

Sorry michael the application appear put its still not working.

0 Likes