Click here to Skip to main content
15,887,267 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
i have project in c#2.0,source code kept in another machine,but i want to open the project from another machine to here.while run the source code in my system. raise error like
C++
Request for the permission of type 'System.Security.Permissions.RegistryPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
Posted
Updated 25-Feb-10 3:26am
v7

Why can't you copy it to your machine, or put it on a decent source server.
 
Share this answer
 
If you want to execute your project over a network shared folder, you have to add your assembly as a FullTrust application.
 
Share this answer
 
Are you trying to read / access a resource on your local machine?
You may not have access to this local resource.
 
Share this answer
 
I am not sure why you are trying to do so.

I think it is better to copy the entire code to your local machine and then try it.

Every assembly when compiles requires trustlevel to be set appropriately. Generally network resources are not fully trusted. So you see this Permission issue.

:(
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900