iis7

Prevent IIS7 rewrite from adding "index.php" to path on redirect?

Hi, I am trying to configure rewrite rules for a Wordpress MU 2.7 on IIS7 with PHP5 (fastcgi). At the moment I only have the following rewrite rule in Web.config: <rule name="Canonical Host Name" stopProcessing="true"> <match url="(.*)" /> <conditions logicalGrouping="MatchAll"> <add...

remove IIS 7 redirects

Hello, I am trying to debug an IIS server that keeps redirecting *.html files to *.aspx... it sends the following html in response to url.html: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; <html xmlns="http://www.w3.org/1999/xhtml"&gt; <head> <meta htt...

How can I duplicate a website's settings in IIS7?

I'm going mad trying to get an ASP.NET application running on IIS7 (Server2008). I have one web site set up in IIS7 which works fine. I'm trying to create another one now but I only get 404s for all .aspx files. The Handling Mappers are all different from the working site's. Is there any way I can duplicate the working site's settings s...

IIS 7, ASP.NET: AccessViolationException

What can be the reason of the following exception in ASP.NET application under IIS 7? It is an unhandled exception that restarts the whole application. Exception: System.AccessViolationException Message: Attempted to read or write protected memory. This is often an indication that other memory has been corrupted. StackTrace: in Sy...

IIS 7 compression

I know that IIS allows you to compress the files being server. Any idea what the compression ratio is? Thanks! ...

IIS7 automatically redirect to null (in IE).

I'm developing an ASP.NET web site with VB. My web site is work perfectly with Firefox. But, with IE, it's redirect automatically to null. When I try http://localhost/mysite/Default.aspx IE6/IE7 automatically redirect to http://localhost/mysite/null But, there is no problem with pages inside sub folders. When I try with ...

Application pool error

Hi, Am getting this error on my IIS 7 application server. "A process serving application pool '%1' suffered a fatal communication error with the Windows Process Activation Service" How do i resolve this? Thanks for reading. ...

IIS7 deployed MVC doesn't redirect despite WWWfilter

I have a WWW filter on all my actions public class WwwFilter : ActionFilterAttribute, IActionFilter { #region IActionFilter Members void IActionFilter.OnActionExecuted(ActionExecutedContext filterContext) { } void IActionFilter.OnActionExecuting(ActionExecutingContext filterContext) { var request = filterCon...

IIS throws 404 errors outside from my ASP.NET MVC application

I've replaced an old PHP web site with a new ASP.NET MVC web site. The old page addresses no longer work. I want each to 301 (Moved Permanently) redirect to specific new addresses. But, IIS 7 seems to intercept many such requests before they get to my application. I want to handle the error logging and redirections in the Applicatio...

GoDaddy Unlimited Account Problem

When I assign multiple domains to directories in my GoDaddy hosting account management it creates a virtual directory for these domains. It also makes those domains go to that directory. For some reason, sometimes it forwards back to the full path of the hosting account. ie., I have domain abc.com in folder /_sites/abc.com/, and if I ...

Http modules integrated into IIS 7 processing pipeline

Hello, Q1 -IIS7 by default automatically registers FormsAuthenticationModule ( which is defined in root web.config file ), but does the term “Http module being integrated into IIS 7 processing pipeline refers” only to cases where this registered module is also configured to work with non-Asp.Net applications? In my opinion if modul...

How does IIS7 decide when to invoke…?

Hello, Q1) Assuming Http module is registered with IIS7 to be used for non-Asp.Net application ( say some Java app ) , when in the request’s life cycle will IIS7 invoke this module? Thus, how will IIS7 decide when to invoke it? Q2) In order to register Http module with IIS7, we need to put it in GAC. Is it possible to register H...

Asp.net Routing, WebServices, and IIS7 Classic

I have a web forms app running on IIS7 Classic. It utilizes .asmx style web services for a client side heavy portion of the site. We have been tasked with layering in "friendly urls" and decided to use the new Asp.net routing. We have a rule in IIS to map all requests to the aspnet_isapi.dll, which yields this declaration in our web.c...

Stop ASP.NET from handling 404 errors for files with extensions (not IIS)

I'm using IIS7 and ASP.NET. Basically building a simple CMS and need to handle .htm and .html file extensions (served by dynamic asp.net pages). I have it setup so IIS7 passes the page to asp.net (not the static handler); however, ASP.NET knows the file doesn't exist and redirects to its 404 (404.aspx?aspxerrorpath=xx) before I can do w...

Unable to open the Web site: http://.. Forbidden

Hello. Maybe somebody has already encountered with next problem: When I try to open Remove Web Site using Visual Studio 2008 TS (File -> Open -> Web Site -> Remote) located on Windows Server 2008 SP2 Enterprise x64 (IIS 7.0) I'm getting next error: I have access to the server. I added user 'Everyone' with Full Permissions for that ...

ASP Access Database web site on Windows 2008 Server running IIS 7

Hello, I am upgrading my server to Windows 2008 Server from IIS 6 running Windows 2003. I am not sure what permissions and what account is needed to access the Access database. In Windows 2003 I had given Write permission to the IUSR account, what it the equivalent in Windows 2008? The database is not in the web site folder. I am ge...

SqlException: Login failed for user 'NT AUTHORITY\NETWORK SERVICE

Hello, When I run web application via VS 2008, the application is able to log onto Sql server and check credentials ( user name and password ) entered by the user, but when I browse to this application via IIS 7 and try to postback user name and password, the application reports an exception: System.Data.SqlClient.SqlException: Logi...

What is the proper way to map .html to the ASP.NET pipeline in IIS7

I have a .net application I want to respond to .htm and .html requests (in addition to .aspx). I know how to do this in IIS6, but not in IIS7. Someone please enlighten me! Thanks, Kyle ...

Forwarding based on Host Headers

Hello, I am trying to get around ISP limitations of 1 IP address. Here is what I am trying to do. I have two web servers running internally on my network. One is my main IIS box that runs 4 or 5 sites and I just added a windows home server. I have created a dns entry for it called home.mydomain.com and the other server reponds to ww...

Limit number of HTTP connections from a single source in IIS7?

Hello, Is there a way in IIS7 to limit the number of HTTP connections allowed from a single source? We occasionaly get mild denial of service attacks that we could prevent with some limitations on the number of connections allowed from any single IP. I understand this could impact some legitimate requests, but we'd set the threshold f...