iis7

Referenced assembly won't load in new thread on IIS 7

I have a process in which a user uploads a file to a web site where the file is then processed and uploaded into the database. The process of validating the file could take several minutes so as soon as the file is uploaded I create a new thread and I do my processing on this second thread. This works great on my local machine but does...

IIS URL Rewriting: How can I reliably keep relative paths when serving multiple files?

My WebApp is part CMS, and when I serve up an HTML page to the user it typically contains relative paths in a.href and img.src attributes. I currently have them accessed by urls like: ~/get-data.aspx/instance/user/page.html -- where instance indicates the particular instance for the report and "user/page.html" is a path created by an ex...

404 error for pages using a master page in IIS7

Hello, I have developed my .net web app on XP using IIS6. It uses just plain old master pages, nothing fancy. No nested master page. When I deployed it to the server, which is IIS7, suddenly any page that implements a master page, will not be rendered. Gives a 404 error instead. Any ideas, about confguration that I need to specify i...

Classic ASP on IIS 7

Hi, I am having problems with my app running on IIS 7. The application is a mixture of classic ASP and ASP.NET MVC (don't ask how and why). Anyway, the application is up and running except for some problems that I am experiencing. For example, I have a button on my page and when I click it, javascript is opening a popup which needs to ...

How do I limit a directories security to specified IP Addresses in IIS 7.x like I can in IIS 6 on the Directory Security tab?

I am moving a site from IIS 6 (2003) to IIS 7.5 (2008R2). On the old site I have the administration folder of the web site locked down requiring a login/pw and also I only allowed specified IP Addresses to the folder which I specified on the Directory Security tab in IIS on that folder. Is this possible in IIS 7.x and if so, how? ...

Using Windows Authentication and Forms authentication on same site

Hi there Can anyone tell me if its possible to use both windows and forms authentication on my site without the 2 interfering with each other. Basically, I have a new site that I want only certain people to see for approval purposes. Therefore to stop any unauthenticated users from seeing ANY pages of the site I was using Windows authe...

404 error when running MVC app on IIS 7 classic pipeline

I have a MVC application that works on cassini, works on IIS 6, but I have issues with in IIS 7. I think my issue has to do with how IIS 7 handles threading in a integrated app pool. So to test my theory I'm trying to get my MVC app running in classic mode on IIS 7. I set my app pool to classic and I add a wildcard script for aspnet_i...

ASP.NET 4 UpdatePanel and IIS7 Problem

I have an ASP.NET 4 webpage that contains an update panel which just allows me to add a few items to a drop down list without reloading the entire page. The page works fine on the Visual Studio 2010 ASP.NET Development Server, performs the Async call and the page is properly laid out. However, when I deploy the page to IIS7, the Async ...

Problem using IIS 7 and SQL SERVER 2008

I have problem using IIS 7 and SQL Server 2008. When I trying to show my website using IIS as webserver I get the message "[SqlException (0x80131904): Login failed for user..." When I using the webserver included in Visual Studio 2010 to show same website there is no problem to access the database. Why is it working with VS2010 webserv...

Why IIS 6.0 metabase compatibility is required to be installed on IIS 7.0?

I recently encountered some harrowing time with our application's installer not able to run due to the non-availability of IIS 6.0 metabase compatibility on my Win2008 machine. I am curious to know why is this required, can anybody provide some insights? ...

Use of COM object in IIS 7

Hi all, I am currently moving an ASP.NET web-project from an IIS 6 to a IIS 7 hosting environment. Everything seems to be running OK, except my calls to a COM object. I can perfectly instantiate an object of the COM type, but when I call one of its methods, the IIS crashes. The event log reports an error code "0xc0000374", which indica...

Config trouble on first IIS7 setup on localhost

Hey. So I want to set up IIS7 for development on my local machine. I created a blank directory, added it to the host file, and created index.html with basic hello-world information. I browse to http:// blank/ and it works fine. However when I drop in the files for another .net site that is currently working fine in Visual Web Develop...

Custom 404 not found page in iis 7 for Classic ASP

Hello, I installed windows 2008 server integrated iis 7.0 1 day ago, i use windows 2003 and iis 6.0 with windows 2008 server, everything is alright except one thing. in 2003-iis6 i could use custom 404 pages to handle for url friendly sites. example i could set custom404.asp as custom 404 pages(execute url) in 2008, i can't do it. w...

How do I nicely manage many localhost web site URIs with IIS7

I'm having trouble setting up a clean development environment with all the web sites I'm working on. I'm working on up to 40 different web sites, and at least 5 of them simultaneously. I need them all to be in a site root, for URL management to work with all CMSes. My first attempt was to use increasing port numbers for them, beginning ...

NTLM Authentication fails ONLY with IE against 2k8 App server behind 2k8 IIS7 Reverse Proxy

I'm developing an ASP.NET application for an intranet site that is using Windows/NTLM/WIA/whatever authentication. The application is hosted on a Windows 2k8 server but is accessed through a Reverse Proxy using IIs7 on another 2k8 machine. Authentication works fine in FireFox, Chrome and Safari but fails in IE8. If I circumvent the Pr...

AjaxControlToolkit TabContainer with weird rendering behavior

I've built a web application that contains a page that uses the AjaxControlToolkit's TabContainer/TabPanel objects. I've developed a custom stylesheet, as well. I'm developing using Visual Studio 2010. The following is the behavior of my application: VS2010 Development Server (localhost:XXXXX): Works as expected with the custom styleshe...

Cannot access website using host headers on local windows 7 and iis 7

I have problem of accessing my website created using visual studio on my local pc. the pc using windows 7 with static ip address has been configured and i have added a hostname "192.168.0.1 hosts myweb.mylocal.com" on c:\windows\system32\driver\etc. on the IIS i have configured the binding myweb.mylocal.com with impersonation set enabled...

IIS Virtual Directory/Application & Forms authentication

I've setup and deployed a simple forms authentication website with membership using .NET 4. I've created a virtual directory (now converted to "Application") in IIS7 and setup the web.config file in the virtual directory as follows: <configuration> <system.web> <authorization> <deny users="?"> </authoriz...

Is it possible to determine the managed pipeline IIS7 is running under in ASP.NET?

Is it possible to determine the managed pipeline IIS7 is running under in ASP.NET? ...

How to add users in IIS Manager for an ASP.NET 4.0 application?

I have installed an ASP.NET 4.0 Web forms application in IIS 7.5. If I set the application pool to DefaultAppPool (.NET Framework 2.0) I get the icons for Providers, .NET-Roles and .NET-Users displayed on the configuration page for the application in IIS Manager and I can manage users and roles within IIS. (I'm using Forms authentication...