bin Directory has no Execute permissions

M

Mark MacRae

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
 
J

Jerry III

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
 
B

Brian Henry

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...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top