iis7

Is it safe to run a pool under NT AUTHORITY\NETWORK SERVICE?

I normally would create a limited rights user and run the process under that but the fact that pools automatically created under IIS7 in 2008 use this account makes me think that this is perfectly safe, and possibly more so than something I create? The whole Secure By Default push from Redmond would lead me to believe this is the case. ...

How can I copy files with ASP.Net using Vista and IIS7?

I have a button on a website that creates a directory and copys a file. I developed it using Visual Studio 2008, ASP.Net 3.5. I am running Vista as my OS. The website uses identiy impersonation. The functionality doesn't work ("Access to Path XYZ is denied") when: I run the website via IE hitting the local webserver The functiona...

TCP communication on Vista

Hi all, I have a very simple app I'm trying to get to run under TCP using WCF 3.5 on Vista Enterpise. The error I'm getting when trying to hit a WCF service at http://localhost:8080 (or any other port not reserved by http) is: TCP error code 10061: No connection could be made because the target machine actively refused it 127.0.0.1:808...

how to do iis 7.0 CLEAN reinstall on vista?

Hello, I need to reinstall IIS 7.0 on Vista due to some unsolved configuration issues. I thought it was easy: I uninstalled all IIS-related stuff in Programs/Features, restarted system, installed all IIS modules again (installation cd wasn't needed) and hmm.. everything looks the same - I mean wrong. I see all configured websites, modul...

What permissions does Network Service require on Vista / IIS7?

Doing some more tinkering with development on VS2008/Vista/IIS7, I'm wondering at a few things regarding the Network Service account. It had no issues running my website until I attempted to set up the Sql Role Membership Provider, which creates a local database in the App_Data folder. Somewhere in there, Network Service ran out of the p...

Troubleshooting Intermittent Failures on Web Applications (ASP.NET)

Got reports of a web app going down twice in three weeks. Need to do some root cause analysis. works fine after a reboot. I'm not really an expert in this field. It is hosted on IIS and Windows 2003. There is nothing interesting in the event viewer, and IIS logs just show lots of successful GET operations. There is nothing interesting ...

SubText and IIS 7's Integrated Pipeline Mode

Out of the box, SubText is unable to run under IIS7's Integrated Pipeline Mode. Unfortunately, it goes beyond "migrating" the web.config to match the required format. For example, moving httpModules and httpHandlers to their new location within . As it turns out, Request is not available at Application_Start when running in Integrated mo...

Configuring IIS7 for PHP on multiple sites

I have PHP5.2.8 installed on IIS7, and it works fine for my default site (at C:\Inetpub\wwwroot). Now, I need to run local copies of my company's sites on my machine, and each of those are directores in wwwroot. I have set each up on a separate port so I can just go to http://localhost:[portnum] to get to each. If I try accessing a fi...

How do I deny access to .dll files in a web site (on both IIS 6 and 7)

If I use an URL like http://mysite/myfolder/myfile.dll, I get a dialog "Do you want to open or save this file". Of course, I don't want people to be able to download and disassembly our dll's. How can I deny people accessing such files directly ? ...

URL Rewriting under IIS at GoDaddy

I'm trying to get URL rewriting to work under IIS 7 at GoDaddy. I have wordpress installed and would like to use the "pretty" permalinks. After searching I found a few articles at learn.iis.net (general info and specific info for wordpress) but nothing from those articles helped me. I tried adding a web.config with the following config...

asp.net site default document in subfolder

My default document is in subfolder not in root how can i make it default in asp.net 2.0 website. Tried iis7 default document setting to '/pages/default.aspx' '~/pages/default.aspx' but it didn't work. ...

project publishing to windows web server 2008

I am working with a Visual Studio 2008 (C#) project on Windows XP Pro. I am trying to publish that application using "Publish Web" wizard to a remote server which is Windows Web Server 2008 OS. But the publishing fails every time with following error: Connecting to http://XX.XXX.XXX.XX/... Unable to create the Web site 'http://XX.X...

IIS7 - what does MaxProcesses do?

Does anyone know what this value is for? If it is set to 1, then it seems that you can only have one request going to the server at once. For example, we have a classic ASP file that loads fine, but also has images in it (which come from the same script on the server). The page will load, but the images will never load in... the page ...

How can I consume IIS7's FREB programatically

IIS 7 has a very useful feature called Failed Request Tracing (FREB for short). It has a very nice visualization feature, involving an extremely complex XSL stylsheet that parses the results into a useful treeview. I, however, want to consume FREB programatically, and be able to present the results on my smart client (without waiting fo...

IIS7 Overrides customErrors when setting Response.StatusCode?

Having a weird problem here. Everybody knows that if you use web.config's customErrors section to make a custom error page, that you should set your Response.StatusCode to whatever is appropriate. For example, if I make a custom 404 page and name it 404.aspx, I could put <% Response.StatusCode = 404 %> in the contents in order to make it...

IIS7: Setup Integrated Windows Authentication like in IIS6

This is for IIS 7 on a Windows Server 2008 that is not part of an AD domain. I would like to password protect a website, where people have to enter a username/password (a windows account for example) to view the website. The website would then use its own authentication method (forms) to handle user accounts and decide whether or not t...

How can I recursively browse all content of IIS?

I have the following program to browse all virtual directories and their sub directories and files (recursively): static void Main(string[] args) { string serverName = Environment.MachineName; DirectoryEntry dir = new DirectoryEntry("IIS://" + serverName + "/W3SVC/1/ROOT", @"adminusername", @"password"); ...

Can I host two separate web servers on a LAN to the outside world through 1 IP address?

I am a web programmer with a home web dev operation. I have multiple web servers in my house on a FIOS connection. I have my own domain pointed to my router through dyndns.org's custom domain service. My ISP gives me ONE static IP address, which at the moment allows me to configure my router to direct outbound web traffic from one serve...

MVC View Problem

Hi, I have an mvc application running on IIS 7.0 on windows vista.The appication is redirecting to the proper controller and action.But i am getting an error saying view is not found in the path, when the view is present at the particular path. Route is as shown below. routes.MapRoute( "Default", ...

MS Access + IIS + Impersonation = 'Unspecified Error'?

I have an ASP .NET (2.0) app that connects to an Access database over a network share using impersonation and basic authentication in IIS. Everything was working fine up until today, when I started getting weird 'Unspecified Error' error messages. I ended up doing an IIS reset to resolve the problem, but I'm trying to figure out why it m...