iis

Cannot debug in VS2008 with Windows 7

Since installing Windows 7, I cannot debug a website. I am an administrator on the machine, but when I try to debug, it says: Unable to start debugging on the web server. YOu do not have permissions to debug the web server process. You need to either be running as the same user account as the web ser, or have administrator privlege." I ...

Forwarding all mail to a single dev box on IIS via virtual SMTP

I am trying to set up a development environment for our web server. I would like all emails that are relayed by the server go to a specific mailbox, regardless of who they were sent to. For example, some application on the server sends an email to [email protected]. I want that email to go to [email protected]. Is that possible to do wit...

IIS 6 caches static image

Even if the image is changed, overwritten, modified, IIS still serves the cached copy. I am trying to upload an image from a webcam taken every 15 seconds. The image makes it onto the server but when I refresh the browser with the image FROM the server it does not refresh. IIS caches the file apparently for more than 2 minutes. I want t...

How to find relative path to C:\Inetpub\AdminScripts\ADSUTIL.VBS?

IIS 6 and older ships with a utility script called ADSUTIL.VBS: Adsutil.vbs is an IIS administration utility that uses Microsoft Visual Basic Scripting Edition (VBScript) with Active Directory Service Interfaces (ADSI) to manipulate the IIS configuration. This script should be run using CScript, which is installed with...

WINDOWS/system32/LogFiles in use. How can I discover what program is using it? If it's the server, how can I use it too?

opening a file in WINDOWS/system32/LogFiles with using (StreamReader r = new StreamReader(fileName)) generates exception "because the file is in use by another process". How can I figure out what the other process is? Could it be the server updating the logs? If it is, how can I ensure that my associated scheduled task can also ha...

aspxerrorpath NULL On IIS 6

I'm trying to do a URL rewrite based off a 404. My logic checks for the "aspxerrorpath", but it always shows up as null. My code works perfectly fine on the dev server. I have customerrors turned on. I also have customerrors in the IIS control panel pointing to my handler. Ideas on why it is not passing the 404 url??? public class ...

What are the issues with native code in an ASP.NET app?

Is there a summary somewhere of the issues around calling an unmanaged DLL from ASP.NET? I know how to do p-invoke, but does IIS need extra configuration? Is it likely to be a performance or scalability problem? Is it necessary to use COM interop or a mixed-mode assembly? Context: early planning stages of migrating a Windows app to an AS...

Retrieving IIS 6.0 certificate information in .NET

How to get information about certificate installed on iis 6.0 server under C# in winforms application. ...

What service is hosting the IISCrashHangAgent

The IIS Debug Diagnostics Tool installs the IISCrashHangAgent. What service is hosting the agent? ...

ASP.NET Updating without full publish?

I'm not sure if this has been asked before, I tried searching. Anyhow, is it possible to update a publised site without the need to do a full publish. Say for example you fixed a bug in one single file, is this possible? any work arounds, advice etc? ...

Connecting to a Web Service using CoGetObject from a CGI application fails

We have a browser based application, a thin client, which was developed many years ago but is still in production and is still being moved forward. This thin client application is a CGI application and we have run into a critical issue that has stopped us in our tracks. We have a need to have the CGI application talk to a Web Service a...

IIS hosted web service method call randomly dies

We have an IIS hosted web method which is randomly dying on us about 10% of the time. In trying to debug this we've added Log.Debug() messages in front of every real code line and it appears to be dying on random lines. Has anyone seen this or have an idea on how to debug this? [Additional Details] We've spent a lot of time looki...

Can you run an ASP.NET MVC application from its project folder?

In IIS 5.1, I have setup a website to point to my ASP.NET MVC project directory, and I get a "Service Unavailable" error when I try to access it after building the project. It seems I have to publish the site to a separate directory and point IIS to the published version to get it to work. I have already tried "aspnet_regiis" but that d...

How to force an IIS hosted WCF or ASMX [webservice] to use session object readonly?

Hi ! While making my first ajax attempts, I decided also, to go to use IIS hosted WCF now. The strange thing is, that the WCF cannot process several requests parallel for the same user/session, if sessionmode is enabled! If sessionmode is disabled on asp.net, the requests are processed parallel. The broser/client may execute several dif...

Recompile ASP.NET web project without giving it a virtual directory

In my line of work I'm often retrieving very specific versions of crusty ASP.NET web apps from their long-forgotten repositories, making minor changes and then recompiling. A major annoyance in this process is having to create a virtual directory for every web project that I need to recompile. I don't have any problems with the process,...

Do you get an easy to use IIS Installer?

I have just finished the development of a web service application in visual studio. Is there an easy way to wrap it in an installer, so that I can just ship it off to technical support, and they can have a wizard based installer that will fully setup an IIS site for them, either in 6 or 7? ...

really annoying permissions problem with IIS

I've created a web site (virtual directory) in IIS7. Now for some reason 1 folder I create in the web site, has read only permissions... Doesn't matter what I do, I can't get rid of the read only flag. . I tried: deleting the folder, recreating it - read only!!! setting permissions to uncheck read only... again it resets itself auto...

Mime Headers and IIS 6 SMTP logging

Hi, Are there any Mime headers which will show up in the IIS 6 smtp logs? ...

How does IIS7 authorization work when setting up an application outside of wwwroot

I tried to add a new application in II7 and point it to another directory on my hard drive outside of wwwroot. I have it under the default app pool and connecting as an application user. The application contains simple static html pages not asp.net and this is my development server and will only be used for just that. When I try to acce...

Why does an authentication mode of "Forms" result in an empty LOGON_USER server variable?

Is it possible to: Disallow anonymous access in IIS AND Have... <authenticate mode="Forms"/> ...in the Web config? We need both access to the ASP.Net Membership provider and access to the Windows username in the LOGON_USER server variable. What we've found is that disallowing anonymous access in IIS will only populate LOGON_USER ...