473,395 Members | 1,502 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

System.Security.SecurityExeption

Hi.

I have developed a small c# winforms app, which uses sql.

I deployed the app, by just 'copy & paste' on a shared folder
on my server.
Now, when I try to run the app, from a computer other than the
server, I get an exeption:

System.Security.SecurityExeption

System.Security.Permissions.FileIOPermisson
mscorlib
Version 1.0.50000.0, Culture=neutral
PublicKey Token = B77A5AC561934E089
If I copy the folder, into the clients computer, it runs ok,
but I wanted to have a single copy on the app, on the server...
Someone told me I have to grant runing permission on every
client computer. Is this so??? How do I do that?
Thanks in advance....
Nov 17 '05 #1
2 1156
As far as I know, we cannot run the application through a shared folder.
Instead login to server remotely and try to run

Regards,
Dhanushka

"Raul Cortes" <rc*****@nowhere.com> wrote in message
news:eL*************@TK2MSFTNGP12.phx.gbl...
Hi.

I have developed a small c# winforms app, which uses sql.

I deployed the app, by just 'copy & paste' on a shared folder
on my server.
Now, when I try to run the app, from a computer other than the
server, I get an exeption:

System.Security.SecurityExeption

System.Security.Permissions.FileIOPermisson
mscorlib
Version 1.0.50000.0, Culture=neutral
PublicKey Token = B77A5AC561934E089
If I copy the folder, into the clients computer, it runs ok,
but I wanted to have a single copy on the app, on the server...
Someone told me I have to grant runing permission on every
client computer. Is this so??? How do I do that?
Thanks in advance....

Nov 17 '05 #2
See http://blogs.msdn.com/shawnfa/archiv.../20/57023.aspx for
instructions on how to modify the CAS policy for this scenario. See
http://msdn.microsoft.com/library/en...ritypolicy.asp
for some deployment options.
"Raul Cortes" <rc*****@nowhere.com> wrote in message
news:eL*************@TK2MSFTNGP12.phx.gbl...
Hi.

I have developed a small c# winforms app, which uses sql.

I deployed the app, by just 'copy & paste' on a shared folder
on my server.
Now, when I try to run the app, from a computer other than the
server, I get an exeption:

System.Security.SecurityExeption

System.Security.Permissions.FileIOPermisson
mscorlib
Version 1.0.50000.0, Culture=neutral
PublicKey Token = B77A5AC561934E089
If I copy the folder, into the clients computer, it runs ok,
but I wanted to have a single copy on the app, on the server...
Someone told me I have to grant runing permission on every
client computer. Is this so??? How do I do that?
Thanks in advance....

Nov 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

22
by: Zeng | last post by:
Hi, I'm running ClrProfiler for the first time to profile my web app, and it keeps getting stuck at this msg box: "Waiting for Asp.net to start common language runtime - this is the time to load...
0
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...
3
by: nick | last post by:
The program runs well on Local harddisk. But it always popup the exception if I run it on Netware mapping disk. After debugger say there is no source code on the exception. Also the following error...
3
by: Carl | last post by:
Hi. I have my program written as a console application in C# .NET 2005. I run it from a server on the local intranet and I got this message: An unhandled exception of type...
6
by: alex | last post by:
Hi, this always works: private ConsoleToTextbox myConsole; Console.SetOut(myConsole); But now (a few weeks later i started this project again) i get a non handeld security exception from...
3
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...
2
by: =?Utf-8?B?c2FtMDFt?= | last post by:
I have a remoting application that was developed on a Windows XP SP2 machine with VS2005 SP1. I finally got everything deployed using Wix 3.0, and it works great. Problem is, when I install the msi...
4
by: confused1234 | last post by:
I get the error at the bottom of this post when i click on a linkbutton, javascript:__doPostBack('ctl00$Main$btnchangeemail','') The problem is intermitant, sometimes it works and sometimes...
5
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...
0
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...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.