iis7

IIS7/Win7 - App Pool is failing suddenly

After nearly 5 months with this configuration I am now getting a series of: "A process serving application pool 'Classic .NET AppPool' suffered a fatal communication error with the Windows Process Activation Service. The process id was '1640'." This leads to: Application pool 'Classic .NET AppPool' is being automatically disa...

How do I get Visual Studio 2008's test web server to perform like IIS 7 or vice versa?

I have a mixed MVC and Web Forms environment that works just fine in VS2008 when I debug. However when I deploy the code to my staging environment I have issues. Basically I'm using an old school URL Rewrite module for the old Web Forms app, so I have to run the App Pool in Classic Mode for the old URL Rewriter to work. However, when I ...

IIS appcmd on Windows Server 2003?

Hello everyone, For IIS 7.0 on Windows Server 2003, any tools like appcmd for IIS 7.0 with Windows Server 2008? I did not find such command on Windows Server 2003. thanks in advance, George ...

ASP.NET page will not start on IIS7 on Win7 x64

Hi, I try to run a simple "Hello World" ASP.NET web site on my system, but te page does not start (it is not accessible via "localhost/virt_dir/default.aspx"). I have reinstalled framework, run the aspnet_regiis.exe -i command, .... I don't know where is the problem ... :S I have been able to publish the same web page on winXP usin...

error occurred while communicating with the remote host. The error code is 0x80070001.

This is the error that we get when so many users go to the same page simultaneously? We are getting this error in the global.asax file. Is there a way to resolve this? ...

Deploy ASP.Net MVC solution to Windows 2008

We have a ASP.Net MVC project that runs fine on our developer machines. When we try and run it on a Windows 2008 machine we get the following error: Error This configuration section cannot be used at this path. This happens when the section is locked at a parent level. Locking is either by default (overrideModeDefault="Deny"), or set e...

ASP.Net MVC Application on Windows Server 2008 uses static file handler

I have just installed a ASP.Net Mvc application on a windows server 2008. When I try to use the application I see that IIS 7 tries to use the static file handler, I therefore get a 403 or 404 error. How do I get it to use the MVC handler? EDIT Have also tried asking this question on serverfault. It has a bounty here ...

Running/debugging SMTP Event Sinks under windows 2008

I have an SMTP Event Sink to process incoming SMTP email messages to perform special processing. Under IIS 6/SMTP, this event sink runs as expected. Under IIS 7/SMTP, it does not appear to run, even though it appears to register successfully, as shown below: c:\Program Files\Kryptiq Corporation\GW\Bin>regsvr32 SpoolFilter.dll c:\Progra...

404 with URL Rewrite Module in IIS7 on windows 7

I am trying to rewrite the URL through "Using URL Rewrite Module" on IIS7 (windows 7). URL: http://localhost/AIM/group-discussion/videos.aspx?id=4&amp;title=some-title Rewrite URL: http://localhost/AIM/group-discussion/videos/4/some-title Rewrite rule: <rewrite> <rules> <rule name="RewriteUserFriendlyURL1"...

ASP.NET MVC application when deployed to IIS 7 in integrated mode using NHibernate data will not load

We have built an ASP.NET MVC application which utilizes NHibernate, the MVCContrib version of StructureMap, and an onion architecture as outlined by Jeffery Palermo in ASP.NET MVC in Action. This application works well when running locally from Visual Studio 2008. The Index action on our Home controller loads a view which immediately pu...

Can't set HTTP Vary header in ASP.NET/IIS7 classic mode

First, a little background. I have written a custom HTTP compression module for ASP.NET. My development machine has Windows 7 Ultimate, which comes with IIS7. My production environment uses IIS6. The problem I'm having is, Resource Expert Droid (redbot.org) tells me that I need to add a header to my response to properly support compress...

InstallShield 2010 - 1603 Fatal Error [Windows Installer] (Windows 7 Only)

Hi all, I created an MSI InstalScript Project where i deploy a web based (ASP.NET) precompiled project copying the files during installation in the \inetpub\wwwroot\projectnamefolder, creating an AppPool and the virtual dir of course in the IIS. The setup works great in windows XP Pro (SP3 i used). But soon as i try in Windows 7 (tried ...

Why does Crystal Reports throw a LoadSaveReportException in IIS7 but works in Cassini / desktop application?

I have a method that loads a Crystal Reports file, sets the appropriate login information, and then generates a PDF. ReportDocument rep = new ReportDocument(); rep.Load(...); // Set table LogOnInfo rep.ExportToStream(ExportFormatType.PortableDocFormat); // Save the PDF to disk or return it as web request This exact code works in bo...

Is is possible to access HttpModule Session State for paths in the built-in Visual Studio Web Server?

Is it possible to allow access of session state for paths in the integrated web server in visual studio? In other words, on my local instance of IIS I am able to access session state for "~/path/". When I try to access the same when running under the local developer instance in visual studio for "~/path/" session is always null. Origin...

Unable to access my published web page from other computers

Hi, I have published ASP.NET web site, using IIS7 on Win7. I can access this web site on my localhost, but it is inaccessable from other computers via internet. I have tried to disable firewall and anti-virus program, but with no success. Does anyone know what may be causing this problem? It works fine if I publish it on winXP. ...

Having SQL injection like text in a texbox results in 401.1 on Submit

This is a follow up to my post back in August: http://stackoverflow.com/questions/1225042/asks-for-ad-credentials-connection-interrupted-on-postback The issue popped up again for a new record and I have determined that the offending text is "... Sharepoint site[semi-colon] update team schedule ...". Notice that "[semi-colon] update tea...

Problems when using IIS SMTP Pickup Service

In my ASP.NET website running on IIS7, I use the pickup directory delivery method (DeliveryMethod = SmtpDeliveryMethod.PickupDirectoryFromIis). And in the IIS SMTP Server I use the smart host setting to forward the emails sent from my website to a local mail server running on the same machine (XMail Server). This configuration works gre...

Include dynamic URL in my URL without using query string?

ASP.NET 3.5, IIS7 In my Global.asax's Application_BeginRequest, I need to extract from the request's URL an entirely seperate URL that's been embedded in it without using query string. The solution I came up with was to hex-encode the entire target URL as if it were a directory, as follows: http://localhost/687474703A...etc...732E6D70...

IIS7 Url Rewrite - Redirect from {any}.aspx to {any}

I am converting my website from Asp.Net Webforms to Asp.Net MVC. I want to redirect all my old .aspx files to drop the .aspx. I run IIS7 with the Url Rewrite module installed. Example: /about.aspx -> /about The user will go to http://www.site.com/about.aspx and I want them redirected to http://www.site.com/about. How do I do this u...

Remote login to SQL Server Express 2008

Hey. I am remotely accessing SQL Server Express 2008. I have turned on service "SQL Server Browser" I have turned on service "SQL Server (SQLExpress)" I have enabled TCP/IP and set dynamic ports to blank and tcp port to 1433 in properties I can connect localy(using ip) so my credentials are correct. I have a exceptions record in my wi...