473,394 Members | 1,750 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,394 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 17 '05 #1
2 1745
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 17 '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 17 '05 #3

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

Similar topics

0
by: Tracy Tripp | last post by:
I'm working on a program that takes files by path and moves them into new locations, and then back again if the user intends. Everything is great so far except I cannot figure out how to keep...
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: 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:
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: 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
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
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.