iis

IIS File Permissions

Hello all, I have an app which I'm trying to restrict permissions to while I'm doing maintenance. I use windows file permissions and remove access to the dll file the app runs from for all non admin accounts, ie: cacls "%DLL_LOC%" /E /R BUILTIN\Users and then I recycle the application pool (which was working on my dev environment to...

How do I prevent static member variables from being accessed by more than one request at a time in IIS?

I’m having some trouble with understanding how IIS is handling static variables on its threads. My understanding has always been that if IIS has 4 worker processes that it can handle 4 requests simultaneously and that it would be the same as having 4 separate threads running the website. Any static variables would persist in each indi...

What is the best method to construct a web interface to download large directories (not files)?

I'm not a web developer, but a senior developer has set me with the task of developing an internal web site that hosts licensed software for download by branch offices. The parameters for the project are: 1) It must have a web interface, to display meta information about the software. Use AD authentication, and log downloads. For these...

French IIS7 Custom Error Pages Language

IIS7 provides custom error pages under; C:\inetpub\custerr\en-US However I'd like some other European languages too as by default only English is provided. Has anyone seen an error page "language pack" for download anywhere. Do I have to install the full windows language pack, I'd rather not. http://www.microsoft.com/Downloads/details...

web.config locked by w3wp.exe

Hi all. I've got a weird problem. It looks like if my IIS6 locked an application's web.config. If I try to edit it, Windows complains that the web.config is used by another process. Using Process Explorer I can see that the file is owned by w3wp.exe. Removing the virtual directory and stopping the website wasn't useful at all. Any idea...

Seting up Python on IIS 5.1

Hello, I have this test python file import os print 'Content-type: text/html' print print '<HTML><HEAD><TITLE>Python Sample CGI</TITLE></HEAD>' print '<BODY>' print "<H1>This is A Sample Python CGI Script</H1>" print '<br>' if os.environ.has_key('REMOTE_HOST'): print "<p>You have accessed this site from IP: "+os.environ["REMOTE_H...

Integrated Windows Authentication with IIS, Firefox and SQL Server

Hi, I have a web site running on IIS on my localhost. This web site has directory security set to only allow Integrated Windows Authentication. It is part of an intranet and needs to authenticate by our domain accounts. I then connect to SQL Server with Integrated Security = SSPI in the connection string. This works fine with Microsof...

Do I need to change anything programmatically to leverage the integrated pipeline in IIS7?

Do I need to change anything programmatically to leverage the integrated pipeline in IIS7? If so, what's the best way to degrade gracefully and remain functional on IIS6? Thanks! ...

Permissions error accessing MSMQ from ASP .Net Web Service

I have written a web service that reads from a message queue. This works fine under Cassini. Now that I have deployed the service under IIS, I receive an error message when the service tries to access the queue: The queue does not exist or you do not have sufficient permissions to perform the operation. I have set the anonymous acces...

Delphi 7 ADO connection pooling outside of IIS

We have a Delphi 7 application that runs as an ISAPI extension in IIS6. The code use ADO to connect to a MS SQL 2000 database and performs many reads on the database (no writes). If I watch the audit login and logout events in SQL profiler I can see that numerous requests to the app result in only 1 audit login event. However, if I ru...

IIS website is sending multiple content-type headers for zip files

We have a problem with an IIS5 server. When certain users/browsers click to download .zip files, binary gibberish text sometimes renders in the browser window. The desired behavior is for the file to either download or open with the associated zip application. Initially, we suspected that the wrong content-type header was set on the fi...

Pointing a Domain to a IIS Site's Sub Folder

Hey All, Sorry for the possibly misleading title of this post. Couln't really think of anything better at the moment. Anyway, I have a site set up that allows users to search our customer database. I have a separate section of this site listed under a "reports" directory, which is used to generate billing reports, subscriber counts, ...

Running asp.net app on localhost

This might be a 'duh' question after all. Are there any caveats running an asp.net (3.5) application on a local host? Assuming I have all the required services installed, I am looking for pitfalls/ troubles in terms of database access reporting/ charting and other such features performance The main reason for this is that the app ...

"Administer Web Site" equivalent for IIS deployment

During development, i can easily manage my users/roles/smtp etc using the "Administer Web Site" or "ASP.net configuration "command in Visual Studio. Once the site is deployed to a IIS server, How can i get the same functionality (user and role management). I am using IIS 6 Edit 1 My Server doesnt have the web server executable mention...

IIS 6: Enabling Virtual Paths

Hi, I've developed a simple file browsing HTTP module which uses virtual paths (i.e. paths that do not actually exist on the disk). The app. runs fine on my IIS 7, but on Win 2003 the IIS does not forward the HTTP requests to my Web. application - instead it just returns "The page cannot be found" to the browser. How do I disable this ...

Ensure that ASP.NET 3.5 Framework is installed on Windows Server 2003 64-bit

I'm developing in 32-bit XP and deploying to a Win2k3 64-bit server set to run in 32-bit mode. How do I install 3.5 framework components on the Win2k3 server in this scenario? I see that there are new charting controls and an SP1 for ASP.NET 3.5 How do I get these on the server that is running in 32-bit mode in IIS? ...

How can I Create a Subdomain on an IIS Server Using ASP.Net (Or C#)?

I want to create a website where users who sign up are able to get a subdomain on my main domain a la blogspot.com (ex. user.mywebsite.com) I really don't know how to get about doing this. I guess this will involve DNS. Here is some more info about my requirement. Don't need to set up an IIS website either. I want an app that would ro...

How to tunnel multi-player game data over HTTP with IIS to minimize latency?

I would like to create a browser-based network game. To ensure it can be used by as many people as possible, I'd like to embed all the traffic in standard HTTP packages. Assuming I use IIS as my back end, how should I code this to minimize latency? Is it reasonable to start with an ASP application of some kind (ASP.NET MVC perhaps) ...

How do I set the ASP.NET version for a Virtual Directory using IIS Manager 7.0?

In the old version of IIS Manager, I could just right-click on a VD, hit properties, and then in the ASP.NET tab pick the version of ASP.NET I wanted to run. Does anyone know if that is still possible? I am running a localhost instance of IIS on my Vista box and I am not used to the new UI that IIS 7 comes with. ...

Many multiple files versus few larger files hosted by IIS7 + Windows Server 2008

Can you point me to best practices for file hosting in IIS 7. The number of files can be very high > 500,000, 2-10KB each. A possible concern is the performance with such a large number of files. We could have a smaller number of larger files and have a HTTP handler to process the requests or just have the smaller files and use IIS7 to ...