473,326 Members | 2,104 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.

bin Directory has no Execute permissions

I've been trying to implement an online payment component into a web
application. Instructions are to put the DLL into the web application's bin
folder and everything is supposed to work.

Well I had been running into some problems with a weird exception being
thrown. I checked on the permissions of the bin folder (using IIS's control
panel), and found that they were set to "None". This seemed really wrong to
me, so I set it to "Scripts and Executables". I refreshed the page that was
giving me the exception and *poof* the execption was gone.

"Great!", I thought. Did some work to fix other errors on the page and then
re-ran the project. Same execption was back. Looked at the permissions and
they were set back to: "None" What gives? How am I supposed to use this
3rd party DLL if I cannot execute in the bin folder. And why would the
permissions keep getting reset (I assume that Visual Studio is doing
this...)

Help...
mark
Nov 15 '05 #1
2 1275
The permissions you're talking about are for your web users. They should
never be accessing the bin directory. That directory should be only used as
a depository for your code behind DLLs used by your project but never
directly accessed over the web (that's why there's no access set).

Jerry

"Mark MacRae" <no****@nospam.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
I've been trying to implement an online payment component into a web
application. Instructions are to put the DLL into the web application's bin folder and everything is supposed to work.

Well I had been running into some problems with a weird exception being
thrown. I checked on the permissions of the bin folder (using IIS's control panel), and found that they were set to "None". This seemed really wrong to me, so I set it to "Scripts and Executables". I refreshed the page that was giving me the exception and *poof* the execption was gone.

"Great!", I thought. Did some work to fix other errors on the page and then re-ran the project. Same execption was back. Looked at the permissions and they were set back to: "None" What gives? How am I supposed to use this
3rd party DLL if I cannot execute in the bin folder. And why would the
permissions keep getting reset (I assume that Visual Studio is doing
this...)

Help...
mark

Nov 15 '05 #2
add the user "aspnet" with full access to the bin folder and nothing else...
only the aspnet user needs access to this folder... if aspnet doesn't have
access, it will cause problems...
"Mark MacRae" <no****@nospam.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
I've been trying to implement an online payment component into a web
application. Instructions are to put the DLL into the web application's bin folder and everything is supposed to work.

Well I had been running into some problems with a weird exception being
thrown. I checked on the permissions of the bin folder (using IIS's control panel), and found that they were set to "None". This seemed really wrong to me, so I set it to "Scripts and Executables". I refreshed the page that was giving me the exception and *poof* the execption was gone.

"Great!", I thought. Did some work to fix other errors on the page and then re-ran the project. Same execption was back. Looked at the permissions and they were set back to: "None" What gives? How am I supposed to use this
3rd party DLL if I cannot execute in the bin folder. And why would the
permissions keep getting reset (I assume that Visual Studio is doing
this...)

Help...
mark

Nov 15 '05 #3

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

Similar topics

8
by: Glenn A. Harlan | last post by:
Why am I receiving the below error when calling - Path.GetTempFileName() The directory name is invalid. Description: An unhandled exception occurred during the execution of the current web...
2
by: Mark MacRae | last post by:
I've been trying to implement an online payment component into a web application. Instructions are to put the DLL into the web application's bin folder and everything is supposed to work. Well...
0
by: Jeff Reed | last post by:
I am experiencing the the problem outlined the below. Unfortunately, I am using WinXP and I not sure if I can apply the solution due to lack of security control Any feed back would be apreciated ...
7
by: Jaydeep | last post by:
Hi, Anybody knows how to create virtual directory programmatically under root directory ofcourse from code-behind. I am developing web-based application where I need to create a folder and making...
1
by: encapsul | last post by:
With XPpro, I am programmatically creating sub-folders within the virtual directory of my app. I programmatically set read/write permissions and then successfully write some files to the...
16
by: B Letts | last post by:
Hi - I'm currently using the FileUpload control to allow people to upload files to my website. This all works fine, as long as I'm going to a physical path on my server. However, I need to...
27
by: Javier Martinez | last post by:
Hi I have asp application in a machine with a virtual directory referring a shared directory in another machine When I try to load any aspx page of my portal I get the following error: ...
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...
0
by: eholz1 | last post by:
Hello PHP group, I have a question about file locations, and whether on not (in my case, not) a page will execute depending on the location of the php file. I have a web devel server, with a...
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...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
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...
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: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
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.