iis7

Best practices for copying file(s) from web app to another server

I have an internal ASP.NET MVC 2.0 web application that employees can upload documents to. I am then copying these files to another server for processing. Currently the web application (IIS 7 .NET 4.0) is running under an application account we set up (i.e. WebApp => Basic Settings => Connect as..). This application account has read/writ...

Parser Error : Could not load type "x" from appdomain from within virtual directory in IIS7

So my scenarios a little funny but theres a reason for it. I have a parent web application, called Parent, and a second web application called Child. Child is a virtual directory in IIS7 under Parent which is an application in IIS. Child is not a child directory of parent in the file system, only in IIS as a virtual directory. On appli...

MapRequestHandler issue in IIS for .net websites

I get the following error when I try and serve css or javascript via my local iis. I am running windows 7 and iis7. The resource you are looking for does not have a handler associated with it. Module IIS Web Core Notification MapRequestHandler Handler Not yet determined Error Code 0x80070002 Requested URL http://secure.XXXXXX:80/ols/cs...

Create a Global IIS 7 rewrite rule

I have wildcard A records (* and *.*) for my domain pointing to my dev machine. Basically, any subdomain that is not www is pointed to my dev machine (except the root). I never want my dev machine to be index or "followed" by search engines. What I would like to do is simple set up a global URL Rewrite rule like so: <rule name="Global...

PsExec & Windows Server 2008: Privileges & authentication issues

Hey guys, I'm writing an application that helps me auto-deploy my applications to my Windows Server 2008 machines. As apart of this process, I need remotely start and stop IIS websites on my 2008 servers from my test machine. From the scope of my 2008 machine, I'm using: C:\Windows\System32\inetsrv\appcmd.exe stop site "MyWebsite" T...

Why is IIS 7 showing me a default 403 page?

I have setup an asp.net 4.0 site where if someone tries to access an authorized area they get redirected to a SignIn page and the status is set to 403. On my local machine it redirects to the SignIn page with the 403 status. On IIS 7 I get a nasty 403 Forbidden page instead of the SignIn page. How can I get it to work on IIS 7 like it...

Any simple tool to simulate server load?

I have an IIS server to test for load. But I don't need the tool to give me any performance data. I only want a simple tool/script that would flood my server with requests. I know about wcat, Jmeter, httperf etc. but those have too many extra features. I don't want all that functionality. Just a simple script would do that would send, ...

ASP.NET Website seems to Periodically (each hour) Freeze/Halt/Pause/hang

Hi, I have a website hosted under IIS 7 on Window 2008 x64. IIS is running in 64 bit mode and the site has its own Application Pool 64 bit etc. The website appears to run fine most of the time and then all of a sudden each hour it freezes the users request. They don't get a timeout message, it just hangs and appears to wait for about 2-...

IIS 7 on Win 2008 R2 does not display images by default.

I have some images hosted on the Default Web Site on IIS 7 but when i attempt to browse them IIS blocks the images. Help me please! )) ...

How to MapPath in an IIS7 Rewrite Provider?

Hi, I am using the rather excellent IIS7 Rewrite module (V2), and want to create a custom RewriteProvider that rewrites differently depeneding on whether the physical file exists. I have successfully created a provider, as in this tutorial: http://learn.iis.net/page.aspx/804/developing-a-custom-rewrite-provider-for-url-rewrite-module/ ...

IIS7 and 32bit Application Pool

Hi Is there a performance compromise if the Application pool in IIS7 is set to 32bit enabled. Any blog or aritcle on this or any one has experienced this. Regards ...

Session Isolation Issue with local SQL Anywhere Database

I am migrating an existing set of applications from Win XP to Win 7. We have a 3rd party application which is launched by and runs in the user’s session which accesses a local SQL Anywhere 9 database via ODBC (launched on demand using dbeng9). On the same machine we have an ASP.NET website which also accesses the local SQL Anywhere dat...

Inexplicable Assembly Load in WCF Service (IIS 7)

I'm working on a new WCF web service that's to be hosted within an existing ASP.NET web application. When I attempt to run the .svc file for the service, I'm getting an exception that it can't find the file for an assembly. Could not load file or assembly 'System.IdentityModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c5...

SMTP email not working in ASP.NET7 + II7, but working in Telnet

Hello, Basically, we bought a new server with Windows Server 2008 R2, IIS 7.5 and have set up an SMTP server. There are no special settings. The code used was working fine in Windows Server 2003, IIS6. Here is a summary of the settings port 25, all unassigned Anonymous Access 127.0.0.1 is granted to relay access Anonymous Access set ...

Do external references slow down my ASP.NET application? (VS: Add Reference dialog)

I've noticed as my website gets bigger and bigger, the time my laptop takes to display my page is much longer then say a new projects with minimal references. I think there are two variables at play that affect ASP.NET warm-up time: The quantity of external references The time it takes for a worker process to new() up each instance pe...

How to apply output rules to script tag's content in IIS7 rewrite module v2?

Hi, I want to specify that my output rule should only apply to the contents of a tag... the predefined tags allow me to change the url of the src attribute of the script tag, but I want to change any URLs specified within any snippets of javascript embedded in my page. I've looked at using custom tags for this, but it still seems to b...

ASP.NET application in virtual folder uses web.config of application in root folder of website

Hello, I have several ASP.NET applications in virtual folders (already configured as applications, and with different application pools), but I want to install another ASP.NET application that will redirect to one of the virtual folders according to some criteria (from database and cookies). All the applications in the virtual folders ...

How does Http.sys URL Prefix Registration translate into IIS bindings config?

Windows HTTP Server API provides mechanisms for URL Registration and Reservation so that request queues can be setup by processes: http://msdn.microsoft.com/en-us/library/aa364483(v=VS.85).aspx. And the URL matching is done by longest matching URL Prefix. With support for strong wild cards '+' and weak wild cards '*'. I get that IIS do...

Simple web load testing app with GUI

I am looking for a simple web load testing app that has a GUI. I need to run lots of small and simple tests (like hit page x 100 time and let me know how long it took) I do not want to have to script every test as I would have to using WCAT or AB also free would be nice If it matters I am using IIS7 ...

ServiceReference not updating at IIS 7

At server I have web.config to my application: <?xml version="1.0" encoding="utf-8"?> <configuration> <appSettings> </appSettings> <connectionStrings> </connectionStrings> <system.serviceModel> <bindings> <basicHttpBinding> <binding name="BasicHttpBinding_IService" closeTimeout="00:01:00" openTimeout...