473,663 Members | 2,705 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1282
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******** ********@TK2MSF TNGP11.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******** ********@TK2MSF TNGP11.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
17472
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 request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.IO.IOException: The directory name is invalid.
2
1755
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 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...
0
2087
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 http://support.microsoft.com/default.aspx?scid=kb;EN-US;31795 FIX: "Failed to Start Monitoring Directory Changes" Error Message When You Browse to an ASP.NET Pag View products that this article applies to This article was previously...
7
2388
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 this folder as virtual directory in IIS. I know in ASP how to do it. Set objIIS = GetObject("IIS://localhost/W3SVC/1/Root") objIIS.Create("IISWebVirtualDir", strVirtualDirectoryName)
1
1499
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 directory. All of this works fine. But when I try to browse the new directory through IE, it does not see it. The error message is: HTTP 403.1 Forbidden: Execute Access Forbidden Internet Information Services The code to create the directory is:
16
11775
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 allow people to upload to a virtual directory. The directory may or may not exist on the same server as the Web site. I can't seem to figure out how to do this. If I pass the virtual
27
2549
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: Mensaje de error del analizador: We can't load the type 'JULIAN.Global'.
1
4471
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 of the Everyone user to Deny, execute my process, and restore the permission to Allow. There is the NET SHARE command, but it's to create or delete a share.
0
1262
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 directory below htdocs (using Apache 2.2 on Fedora Linux) /usr/local/apache2/htdocs/portfolios and /usr/local/apache2/htdocs/ portfolios/setup
0
8857
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8768
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8547
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8633
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6186
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4181
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2763
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1999
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1754
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.