Security Exception - Request Failed

  • Thread starter Thread starter Vishal Dattani
  • Start date Start date
V

Vishal Dattani

hi everybody,
i am developing a project which is made up of three projects.
1) main project (presentation layer)
2) data access layer
3) business logic layer

the main project references these other project 2 and 3 shown above.
I have added these projects in a solution and this solution is added to
source safe.
the problem is that when i run the project on the machine on which the
source safe server is created , it runs fine. but when i run it from any
other machine ( source safe client) then it generates this error:

"An unhandled exception of type 'SYSTEM.SECURITY.SECURITYEXCEPTION' occured
in mscorlib.dll

Additional Information : REQUEST FAILED"

since the additional information is not that informative :-), i am stuck up
with this problem.

This error is generated only when my class tries to invoke a method of
ACTIVATOR.CreateInstance (tConn)
If i access other members of my other classes then it runs without any
error.

Has this got anything to be done with some permissions, as i dont have much
idea about how to set these permissions (code access security etc ....) ???

Please help me out with this.

thanks and regards,
Vishal Dattani.
 
* "Vishal Dattani said:
hi everybody,
i am developing a project which is made up of three projects.
1) main project (presentation layer)
2) data access layer
3) business logic layer

the main project references these other project 2 and 3 shown above.
I have added these projects in a solution and this solution is added to
source safe.
the problem is that when i run the project on the machine on which the
source safe server is created , it runs fine. but when i run it from any
other machine ( source safe client) then it generates this error:

"An unhandled exception of type 'SYSTEM.SECURITY.SECURITYEXCEPTION' occured
in mscorlib.dll

Additional Information : REQUEST FAILED"

since the additional information is not that informative :-), i am stuck up
with this problem.

This error is generated only when my class tries to invoke a method of
ACTIVATOR.CreateInstance (tConn)
If i access other members of my other classes then it runs without any
error.

Is one of the referenced assemblies placed on a network drive?

..NET Framework Enterprise Security Policy Administration and Deployment
<URL:http://msdn.microsoft.com/library/en-us/dnnetsec/html/entsecpoladmin.asp>
 
Yes Anand , U R Right. that was the exact problem. as soon as i made a
working folder on the client machines everything started working fine.

thanks once again,
i knew i could count on you people ;)
regards
Vishal
 
Thanks Anand & Herfried,
U Both R Right. that was the exact problem. as soon as i made a working
folder for source safe on the client machines everything started working
fine. Prior to this i was ascessing the files from the server itself whcih
was causing these problems.

thanks once again,
i knew i could count on you people ;-)
regards
Vishal
 
Back
Top