473,326 Members | 2,134 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,326 software developers and data experts.

Permissions on Share Drives

Hi

I've an application, that access the file system. This works fine on my
local machine. When I copy it to the share, it does not work anymore, and
throws my a fileIOPermissionException.

Question

a) Is there a way, when I start my application, to request that permissions?
if yes, how?
b) Is there a way to trust to all applications on our intranet?

Thanks
Patrick
Jul 19 '05 #1
1 1930
Hi Patrick,
Here's the way that you trust an assembly. I've gotten it to work this way,
but I'm sorry that I don't know your answers on how to trust entire
intranets. Perhaps someone else can answer that for you.

Go to Start-->Control Panel-->Administrative Tools-->Microsoft .NET
Framework Wizards
*NOTE there is a Microsoft .NET Framework Wizards for v1.0 and v1.1 of the
framework. They are completely separate.

Click on the "Trust an Assembly" Wizard and run through the steps to give
your computer access to the executable on the network.

Hope this helps!
Mike

"Patrick" <pa********@bluemail.ch> wrote in message
news:10***************@fuchs.cyberlink.ch...
Hi

I've an application, that access the file system. This works fine on my
local machine. When I copy it to the share, it does not work anymore, and
throws my a fileIOPermissionException.

Question

a) Is there a way, when I start my application, to request that permissions? if yes, how?
b) Is there a way to trust to all applications on our intranet?

Thanks
Patrick

Jul 19 '05 #2

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

Similar topics

1
by: Patrick | last post by:
Hi I've an application, that access the file system. This works fine on my local machine. When I copy it to the share, it does not work anymore, and throws my a fileIOPermissionException. ...
6
by: Default User | last post by:
Hi How can i look for network share folders and copy a text file to it? I've been looking into how i can do this in the documention but with no luck. I found a little on of the web but i dont...
3
by: Chris | last post by:
Is the following assumption correct? -ASP.NET user does not see the local drives I have mapped If so how can I get it to notice the mapped drives? Do I need to change the user in the...
5
by: JR | last post by:
Here's the scenerio: HAD: Entire Windows 2000 domain multiple servers Internal Web Server - Windows 2000 NAS Server - Windows 2000 Internal Web Application (On Web server) utilizing .ASP...
0
by: JR | last post by:
Here's the scenerio: HAD: Entire Windows 2000 domain multiple servers Internal Web Server - Windows 2000 NAS Server - Windows 2000 Internal Web Application (On Web server) utilizing .ASP...
2
by: mail | last post by:
Hi guys, So far I've spent about a week hacking away at this code, and I just can't get it to add an ACE to a the DACL for a network share using WMI. Just to set the scene, I'm trying to add...
1
by: Jerome | last post by:
Hi everybody, I need to remove access to a shared directory before to execute a process on the directory. And put back the access on it after the execution. So I wanted to set the permission...
12
by: =?Utf-8?B?R2VyaGFyZA==?= | last post by:
I am using .Net 2.0, writing a directory on a network share using My.Computer.FileSystem.CreateDirectory. This works fine as long a USERS have full share permissions on that directory. My...
8
by: jporter188 | last post by:
Hello, I am working on a project to manipulate XML files. All of the files, the code, and the output are on network drives. When I run my program I get an exception (see below). I tried giving...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.