iis7

HttpContext.Current.Server.GetLastError not working in IIS 7

I am simply trying to output the details of the application error on my error page. In global.asax I have some handling and then a server.transfer to my page with this code: Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load 'Get exception details Dim ex As Exception = HttpContext.Cu...

Error installing windows azure sdk for 64 bit OS - Windows 7

I tried installing Windows Azure SDK on Windows 7 Professional, with IIS 7.5, but failed. The system says,et "To use this software you should enable windows internet information services 7.0 with Asp.Net support.See the product release notes for details" I also got into framework 4.0 from the commmand prompt and ran aspnetregiis -i , ...

IIS7: URL Rewrite not working when debugging with Visual Studio

Hi, I have set up some User Friendly URL rules in IIS7 using the URL Rewrite module. This works perfectly on IIS7. However, when I try to debug the site, the webserver instance that Visual Studio creates doesn't seem to obey the rewrite rules. For example, http://localhost/friendly-url works on IIS7, but http://localhost:1800/fri...

Is it possible to slow down IIS ?

I have a local development webserver set up using Win7 and IIS7. I often have to test the applications and websites I develop on all browsers using "very slow" internet connections to determine how all the clients scripts execute and if the images and all linked resources load properly and in order on all browsers. Now, this involves ...

User is not available in this context - error generated after upgrading ASP.Net MVC app to .Net 4.0

I'm trying to move an ASP.Net MVC app from 3.5 to 4.0 but running into issues. The upgrade went smoothly enough and the application runs on the Cassini server but when run on IIS7 the following error is thrown: [HttpException (0x80004005): User is not available in this context.] System.Web.HttpApplication.get_User() +4640350 Syste...

ASP.NET: Parser error message with vbc.exe

Here's the scenario: We have an ASP.NET powered Content Management System running on a server, which is built by a third-party and so unfortunately has to be considered a 'black box' for the purposes of this question. I don't know much about how it works. Its Windows 2008 with IIS 7. For weeks it will work fine, and then suddenly it wi...

Getting IIS7 'one liner' error when using custom error settings in web.config

I have an ASP.NET MVC application which returns 404 and occasionally, 500 status codes at various, appropriate points. Response.StatusCode = (int)HttpStatusCode.NotFound; When I set one of these status codes, I also set the TrySkipIisCustomErrors property appropriately. Response.TrySkipIisCustomErrors = true What I would like to do...

Internet Explorer and IIS

I have a site on my IIS and everything works fine in FireFox but in IE i just get to startpage and when i try to login in nothing happens. I put in my userinformation and push a button then it suppose to get me to another page if the password etc was correct but nothing happens in IE but works in FireFox. Any ideas? ...

msxml3.dll error '800c0005'

Really weird problem, I have just moved all our sites to a new Win2008 64bit server with IIS7 (Was on a Win2003 IIS6) and have started having problems with PayPal Pro / PayFlow. A few of these websites are stores with SSL's and use PayPal Pro to process the payment - Since the move, intermittently I am getting errors like. msxml3.dl...

ASP.NET Custom Error Page Not Displayed for Abnormal URLs

A vulnerability scanning service regularly tests our site for PCI scan compliance. It has just started trying to access URLs with abnormal formatting, such as: http://www.mydomain.com/ShoppingCart.aspx//ErrorPage.aspx%3fid%3d2? We have a Custom Error Page set which works for everything except this. Is there any way to force IIS to disp...

Enabling net.tcp

Hi, How can I make IIS handle net.tcp connections? Thanks ...

Failed to create COM object 'name': Catastrophic failure in IIS7 PHP application

I have a PHP app running on IIS7 server 2008. It has a COM object that I'm not able to bind to. The error is... Failed to create COM object 'name': Catastrophic failure ... where 'name' is the name of my COM object. The COM object is designed to read/write registry settings, and I've given it permissions to function to the best of my...

asp.net web application startup time. how to optimize?

Hi everybody, we have this problem but can't find a solution. We have an application that references something like 24 dlls. When you invoke the application the very first time (after the application is for any reason reset) it takes 25-40 seconds to start loading contents. This is what we tried: 1. precompile and publish everything in ...

Reset IIS 7.5 from remote machine

How to reset IIS 7 on multiple Windows Server 2008 server machines from remote computer using a vbscript. ...

IIS 7 godaddy.com web.config file

Hello, I am new to the windows web server and have not the knowledge of syntax for web.config file. We have under Windows IIS7 an Wordpress installation and for that wordpres generated few lines for a web.config file. Here is the content of the web.config file: 1.with this content our /stats directory and Webstats is no more accessible...

How to make an asp.net mvc application to stay compiled

I have precompiled my application but every 10 - 30 min it unloads then when the page is hit it takes a long time to load. How do I make the application stay compiled forever? ...

IIS URL Rewriting - Friendly URL: Querystring variable is repeated

Hi, In my IIS 7 configuration, I have created friendly URLs to convert: http://mysite/restaurant.aspx?Name=SomeName to http://mysite/SomeName To do this, I have the following rules: <rule name="RedirectUserFriendlyURL1" enabled="true" stopProcessing="true"> <match url="^Restaurant\.aspx$" /> <conditions> <add input=...

How do I get Zend working with IIS 7.0 (rewrite module v2) and windows 2008?

My website seems to only load the index page regardless of what path it is given. Does anyone know of any known issues with getting Zend working correctly with IIS 7.0 (rewrite module v2) and windows 2008? I'm getting desperate with this and can't seen to find any suitable solutions? I can put a phpinfo() screen shot on if it helps? ...

Issue with File Download HTTP Headers in IE, when passed through nginx reverse proxy

Setup: IIS7 serving ASP classic VB script code which generates a dynamic VSC page/file with headers to download. Response.ContentType = "text/x-vCalendar" Response.Expires = -1 Response.Buffer = True Response.Clear Response.AddHeader "Content-Disposition", "filename=" & strFileName & ".vcs;" Response.Write strFileContent Our IIS7 ser...

IIS7 default document

Hi, I am new to IIS7. I got a problem with the default document for a website. I have the default document enabled and the default document was set to home.aspx but when I browse the site using only http://mysite.com, I got the 403 - Forbidden: Access is denied error. It works fine when I use the URL with the name of the file like th...