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. 5 2737
You can get a security exception is you are running code from a network share.
Rgds,
Anand
VB.NET MVP http://www.dotnetindia.com
"Vishal Dattani" wrote: 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.
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
"Anand[MVP]" <An******@discussions.microsoft.com> wrote in message
news:1B**********************************@microsof t.com... You can get a security exception is you are running code from a network
share. Rgds, Anand VB.NET MVP http://www.dotnetindia.com
"Vishal Dattani" wrote:
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.
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
"Vishal Dattani" <vi************@yahoo.com> wrote in message
news:Os*************@TK2MSFTNGP09.phx.gbl... 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.
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
"Anand[MVP]" <An******@discussions.microsoft.com> wrote in message
news:1B**********************************@microsof t.com... You can get a security exception is you are running code from a network
share. Rgds, Anand VB.NET MVP http://www.dotnetindia.com
"Vishal Dattani" wrote:
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.
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
"Vishal Dattani" <vi************@yahoo.com> wrote in message
news:Os*************@TK2MSFTNGP09.phx.gbl... 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. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: James B |
last post by:
OMA (Outlook Mobile Access) under Exchange is giving me a
System.Security.SecurityException error. From what I gather this is a
problem with the security level under which the OMA application is...
|
by: James B |
last post by:
OMA (Outlook Mobile Access) under Exchange is giving me a
System.Security.SecurityException error. From what I gather this is a
problem with the security level under which the OMA application is...
|
by: Dave |
last post by:
I have a ASP.net application that work fine with IIS 5.0. I'm trying to put
it on IIS 6.0.
And getting the following error.
ASP is enable
It is in a virtual directory - I also follow the...
|
by: Carl Gilbert |
last post by:
Hi
I am trying to get an online gallery to work (www.ngallery.org). I have
managed to get it all working on my local host but I can not get it to work
on my web space.
The site can be found...
|
by: CyberLotus |
last post by:
Hi,
I've created a web application and through this I want to import Excel data
to database.
Following is the code that I've written,
...
|
by: wenning |
last post by:
Hello,
I am struggling with a website on a W2K3 server which has the actual
content on a NAS server (also W2K3 based). The servers doesn't run in a
domain and arent intended to.
I did make...
|
by: alf |
last post by:
I have an app that was running in my local server using full trust, now I
moved it to hosting company wish run in Medium trust.
Then I get a Security exception (details below)
Then I configured...
|
by: Mike |
last post by:
Hi
I have problem as folow:
Caught Exception: System.Configuration.ConfigurationErrorsException:
An error occurred loading a configuration file: Request for the
permission of type...
|
by: Matt MacDonald |
last post by:
Hi all,
I've been debating for a while (basically since asp.net 2.0 came out) on
using the built in mebership classes to handle user management in my web
apps. I seem to keep coming upon...
|
by: Henry Stock |
last post by:
I am trying to understand the following error:
Any thing you can tell me about this is appreciated.
Security Exception
Description: The application attempted to perform an operation not allowed...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
| |