iis7

Simple Redirect using Rewrite Module

Hi all, I want add a rewrite rule to IIS 7 rewrite. I want to redirect a user from page http://localhost/myapp/register.html to http://localhost/myapp/register/register.html And similar for other pages. Any help? Can I do the same using a rewrite action? Using IIS7 and Windows Server 2008. Thanks. ...

SSRS Report remote connection timeout on IIS7

I have a set of SSRS05 reports being called through the 2005 web service from our site that runs on Win2k8 and IIS7. The reports are stored remotely on another server from the web server. In our QA environment, if we have a report that runs for longer than 2 minutes, I get the following error: Message : The underlying connection was c...

Debugging 32 bit asp.net app in on Windows 7 64 bit

On my development machine I am running IIS7 on Windows 7 64 bit and enabled "Enable 32-bit Applications" so i could use Ionic rewrite module. The problem is that under this configuration even though I attach to the right process my breakpoints will not get hit. Taking a closer look at the "Attach to Process" dialog I noticed that all oth...

IIS + PHP + MySQL returns 500 - Internal server error

We're building a new server and using IIS 7. PHP pages a served just fine and dandy, but the second we use any code to access a MySQL database, the page hangs for a good minute and serves the following error: Server Error 500 - Internal server error. There is a problem with the resource you are looking for, and it cannot be displayed. ...

ASP.NET MVC2: Can't find controller

I have an MVC 2.0 web site that is using Areas. When I go to the default page (localhost/mywebsite/default.aspx), it correctly routes to the correct action in the correct controller and renders the default view correctly. But on the page I have several Html.ActionLinks, and these do not seem to be able to find the Controller. When I c...

What is the scope order of .config files

Somehow I screwed with my IIS7 settings, and VS2010 doesn't want to start websites in debugging mode. I spent a few hours convulsively scavenging before I found a solution. It just needed to put into web.config <system.webServer> <validation validateIntegratedModeConfiguration="false" /> </system.webServer> Now, I'd like to put that...

IIS log files directory

Hi guys How to know IIS logfile directory using asp script file? ...

Best-practices asp.net site with two different sorts of authentication

We have a asp.net site where a part needs be authenticated with windows authentication and a part with anonymous authentication. Using location paths in IIS7 (integrated mode) seemed to work at first, but we are having a lot of problems in other infrastructures (of customers). Wouldn't it be better to split the site in two with a site f...

Moving ASP.NET website from http to https?

Hi, We are planning to move our website to https, which currently running on only http only. Web site is running on IIS7 in Windows 2008 server. Do I need to update/modify any configuration settings in the website to make it work on HTTPS? Is it fine just installing certifictes? Please tell if there are any setting needs to be updated/m...

How can I increase IIS default stack size ?

Hi, I'm testing a web service that uses xslt to manipulate XML input data. I'm getting a stack overflow exception for large input data and I would like to see if this problem would be solved by increasing the default IIS stack size. Can anyone advise how to increase the default IIS stack size ? Thanks ...

Debugging with VS 2010 in IIS 7 classic pipeline

I am trying to debug an ASP.NET website in VS 2010. The website is running in classic pipeline mode in IIS 7 on a Windows 7 64 bit machine. For some reason my breakpoints are never hit. I use the attach to process method to attach to the w3wp.exe process. I do not have enable 32 bit application enabled on the app pool. If i use the integ...

Strange problem with nvarchar(max) fields and Classic ASP

I'm working on a Classic ASP (VBScript) site that's running on a Windows 2008 server with IIS7 and hitting a SQL Server 2008 database and I'm seeing some strange behavior that seems to be specific to fields that are of type nvarchar(max). I have this simple bit of code that loops over some query results and tries to print out the title ...

IIS7 Manager doesn't maintain configSource reference

I use ConfigSource=localfile to keep my connectionstrings in a separate file on the productiton server. This works great. But if you use IIS7 Manager to edit connectionstrings on the server, the strings end up back in the web.config. Subsequent deployments then trash those edits when the new web.config arrives. II7, if it edits your ...

Diagnostic Trace Logging Not Working when Deployed to IIS 7

I am working on migrating a site from IIS 6 to IIS 7 and I am not able to see all of my logs. My system.diagnostics configuration is as follows: <system.diagnostics> <trace autoflush="true"></trace> <sources> <source name="Assembly1" switchValue="All"> <listeners> <add name="DiagnosticMessageTraceListener" ...

Which certificate to use to connect to a secured IIS7 website ?

I have binded my IIS7 with a third party 'Server certificate' (Not issued by my server). I have deployed a secured WCF service on this server with Transport security. When i try to consume this service, it only accepts those client certificates which are issued by my server (made using makecert). The third party client certificates just ...

IHttpHandler null session (on some servers)

Hello, I have an IHttpHandler that implements IRequiresSessionState. Everything works fine on most servers but there are 2 servers (one IIS 7.0 and one IIS 7.5) that give me null sessions. Aspx pages are fine on every server. I've searched for hours and failed to find anything that is not related to IRequiresSessionState. ...

How can you get mod_rewrite compatible redirects to work with IIS/PHP?

I'd like to be able to get some websites currently hosted in linux moved across to Windows-based hosting where we already have a reasonable number of sites hosted (not looking to switch to Apache since majority of sites are relying upon IIS), and have tried a few different mod_rewrite variants for IIS but not had any success getting any ...

ReportViewer 9.0 on IIS 7 not rendering

Hello, I have a reportviewer control that works fine locally and on a iis 6.0 box, but when deployed to the IIS 7 webserver, the control has broken images. The report does return data but the top bar has broken images and buttons. Using Fiddler I see that the images requests are returning a 404 or 500 error. I got the 500 after cha...

Features View, directory browsing hide and seek

In Microsoft Windows 7, IIS, features view tab, I don't see "directory browsing". How do I make this view visible? ...

Restricting number of PDA's connecting to the webservice on win Server 2008 box

Hi Is there any setting in IIS 7.0 or Win 2008 server box or Webservice.asmx itself to restrict number of the PDA's accessing at any time? Example i want only 60 PDA's to access the server consuming the webservice at any time. Gauls ...