473,385 Members | 1,312 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,385 software developers and data experts.

Can't run project on shared drive.

I have an app that works with MS Access. In Access, I select a record from
a drop down. This creates a temp table and calls the VB.NET app. The app
then takes the data in the temp table, writes it to a CSV file and uploads
that to a FORM POST. This works fine locally.

I have a mapping to a network shared folder. Such as J:\folder1\sub1. I
put the MS Access DB and VB.NET app in there. All paths are updated to
reflect the new path. I start the MS Access DB off of the network share.
Everything seems to run fine. However, nothing is uploaded. I also have a
progress bar that updates during processing. I don't see it update.

I've put the project in the shared folder and get this error when I try to
run the app in the debugger:

An unhandled exception of type 'System.Security.SecurityException' occured
in mscorlib.dll.
Additional information: Request for the permission of type
System.Security.Permissions.FileIOPermission, mscorlib, Version=1.0.5000.0,
Culture=-neutral, PublickKeyToken=b77a5c56193e089 failed.

Any ideas how I fix the above permission issue?

Thanks,
Brett
Nov 21 '05 #1
1 1277
Hi,

http://msdn.microsoft.com/library/de...sctortopic.asp

Ken
-------------------
"Brett" <no@spam.com> wrote in message
news:Og**************@TK2MSFTNGP09.phx.gbl...
I have an app that works with MS Access. In Access, I select a record from
a drop down. This creates a temp table and calls the VB.NET app. The app
then takes the data in the temp table, writes it to a CSV file and uploads
that to a FORM POST. This works fine locally.

I have a mapping to a network shared folder. Such as J:\folder1\sub1. I
put the MS Access DB and VB.NET app in there. All paths are updated to
reflect the new path. I start the MS Access DB off of the network share.
Everything seems to run fine. However, nothing is uploaded. I also have a
progress bar that updates during processing. I don't see it update.

I've put the project in the shared folder and get this error when I try to
run the app in the debugger:

An unhandled exception of type 'System.Security.SecurityException' occured
in mscorlib.dll.
Additional information: Request for the permission of type
System.Security.Permissions.FileIOPermission, mscorlib, Version=1.0.5000.0,
Culture=-neutral, PublickKeyToken=b77a5c56193e089 failed.

Any ideas how I fix the above permission issue?

Thanks,
Brett

Nov 21 '05 #2

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

Similar topics

1
by: clusardi2k | last post by:
Hello, I have a shared drive on SGI, Linux, and Windows. The fact that I'm using a shared drive may be mute information. The problem is within the same program a second call to fopen does not...
0
by: besaar | last post by:
i got the current project that got the serial no.of a hard disk for software protection but i got an error,if u solve it send me,thanx alllllll. 1.file1 Option Strict On Option Explicit On...
1
by: Subeer Sinha | last post by:
I am currently enrolled in a C# class and we have to download project to modify. After downloading to my hard drive, when I try to open the project it warns me that I might not be able to output...
11
by: Brett | last post by:
I have an assembly on a shared LAN drive. On my developer machine, I give that assembly full trust from the .NET wizard. It works fine. I go to a user machine on the LAN, map to the shared...
0
by: JeffW | last post by:
Researched this, but none of the proposed solutions are working for me. Am hoping for some insight. Am trying to open a binary file that exists on a shared drive for reading. Code lives inside...
2
by: yxq | last post by:
Hello I want to create and delete the folder share, i found that it is ok for generic folder, but it does not work for Root directory(i.e c:\, d:\) The code...
27
by: HKSHK | last post by:
Hello, I have this problem: I wrote some DLLs with VB.Net 2003 which I use with my programs. But I want to avoid that I have to go down to "DLL hell" and to copy all used dlls into each program...
2
by: Daniel Knöpfel | last post by:
Hi In my application i need to do the following things concerning shared folders: - check if a folder is shared - share a folder - unshare a folder It seems to me that .net does not...
5
atljpe
by: atljpe | last post by:
In Excel: My query can only be refreshed if your using z: as your drive header. I want to change it so anyone can refresh this query wether they're using x, y, or z for their drive header: The...
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...
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
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,...
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: 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$) { } ...
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
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
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...

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.