473,395 Members | 1,905 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.

Running application from share

dan
I get an error when I'm trying to run my application from a share on a
remote machine.
It seems that it generates an error any try my app is going to use an
library (even mscorlib)
It's falling on the line
Environment.GetCommandLineArgs()

with error:

"Request of the permission type
System.Security.Permissions.EnvironmentPermission, mscorlib,
version=1.0.5000.0, Culture=neutral, PublicToken=b77a5c561934e089 was
unsucessful"

I have administration privilages on that remote machine - any conceptions?
Nov 22 '05 #1
2 2074
This isn't about your privileges it is about the security settings that
..Net puts in place. You'll need to look at how to enable the security
settings on the machine accessing the share so that it will allow .Net
applications to be executed from the share. Here's a link that might help:

http://blogs.msdn.com/shawnfa/archiv.../20/57023.aspx

Have A Better One!

John M Deal, MCP
Necessity Software

dan wrote:
I get an error when I'm trying to run my application from a share on a
remote machine.
It seems that it generates an error any try my app is going to use an
library (even mscorlib)
It's falling on the line
Environment.GetCommandLineArgs()

with error:

"Request of the permission type
System.Security.Permissions.EnvironmentPermission, mscorlib,
version=1.0.5000.0, Culture=neutral, PublicToken=b77a5c561934e089 was
unsucessful"

I have administration privilages on that remote machine - any conceptions?

Nov 22 '05 #2
dan
Thanks - the right link can do miracles.
And I was changing the rights on the remote machine not on MY computer.

Once again - thank you

Uzytkownik "John M Deal" <jo******@necessitysoftware.com> napisal w
wiadomosci news:uV**************@TK2MSFTNGP11.phx.gbl...
This isn't about your privileges it is about the security settings that
.Net puts in place. You'll need to look at how to enable the security
settings on the machine accessing the share so that it will allow .Net
applications to be executed from the share. Here's a link that might help:
http://blogs.msdn.com/shawnfa/archiv.../20/57023.aspx

Have A Better One!

John M Deal, MCP
Necessity Software

dan wrote:
I get an error when I'm trying to run my application from a share on a
remote machine.
It seems that it generates an error any try my app is going to use an
library (even mscorlib)
It's falling on the line
Environment.GetCommandLineArgs()

with error:

"Request of the permission type
System.Security.Permissions.EnvironmentPermission, mscorlib,
version=1.0.5000.0, Culture=neutral, PublicToken=b77a5c561934e089 was
unsucessful"

I have administration privilages on that remote machine - any conceptions?

Nov 22 '05 #3

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

Similar topics

2
by: MF | last post by:
In visual basic 6 I can write an application and toss it up on a shared network drive for the company to access. Works like a champ. In .NET my C# application runs fine on anyones machine, but...
3
by: Chung Ley | last post by:
Hi I am having problem running an .net application on a Windows2000 Terminal Server. The application seems to work fine on user's desktop The issues that I have with running the application on...
7
by: Marek | last post by:
Whe i'm running my .net aplication from share on other server, i've got an error. Can someone explain what i must do? Unhandle exception:System.Security.SecurityException: Permission demand type...
2
by: David Olive | last post by:
Hi guys, I'm having a bit of a problem getting a VB .NET console app to run happily as a scheduled task. The app itself generates a bunch of word documents on a file share on another server by...
8
by: nickdu | last post by:
I'm trying to isolate "applications" into their own application domain within a single process. I've quoted applications because it's a logical representation of an application. Basically it...
8
by: JR | last post by:
I have a Web server running on Windows XP. On this Web server, I have a Web site configured with its home directory on a network share. In the Web site, there's a virtual folder pointing to a local...
2
by: flat_ross | last post by:
Hi, I am in a shop where developers are required to work off of a network share. This is so that code is backed up nightly. So I am testing running an ASP.NET Web application with a Class...
11
by: ASP.NET User | last post by:
Hi I am in a shop where developers are required to work off of a networ share. This is so that code and other documentation is backed up nightly. This is outside the realm of Visual SourceSafe...
4
by: Jeremy S. | last post by:
We're in the process of writing a new Windows Forms app and the desktop support folks want for it to be run from a network share. I know it's possible (i.e., just have the framework on the clients...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: 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...
0
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...
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
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.