iis7

Preventing upload of large files in ASP.NET 4.0

We'd like to restrict the maximum upload file size in our web site. We've already set the appropriate limits in our web.config. The problem we're encountering is if a really large file (1 GB, for example) is uploaded, the entire file is uploaded before a server-side error is generated, and the type of the error is different whether the...

Need to restart IIS 7 after fuill web deployment

Hi, I would just like to find out which is the best practice when deploying to IIS 7 with ASP.Net 2 applications. We deploy around 7 WCF net.tcp consumed web services on IIS 7 and then also have a website running under IIS 7. When we deploy with TFS we copy over the released code to the specified folders under IIS. Would the best prac...

IIS 7 - Load user profile - To get certificate loading working correctly

We have had this issue where out WCF invokes antother WCF. We are using SSL for securing the transport and are using client certificates for authentication. We get: Could not establish secure channel for SSL/TLS with authority 'XXXXXX'. If we run Internet Explorer on that machine, with the service account that is dedicated to run the ap...

iis7 Challenge-based and login redirect-based authentication cannot be used simultaneously

I have an asp.net web site, earlier version of the application need to run in classic mode, the latest version can run in integrated mode. Generally the application is configured to use Forms Authentication but it can be configured to used Windows Authentication. There is a business requirement that even when running IIS in Windows Aut...

Is there something like IIS 6.0 Resource Kit Tools for IIS 7?

Is there something like IIS 6.0 Resource Kit Tools for IIS 7, specially the metabase explorer tool to be able to edit the IIS configurations without editing the .xml and .config files directly? ...

How to set the maxAllowedContentLength to 500MB while running on IIS7?

I changed the maxAllowedContentLength to <security> <requestFiltering> <requestLimits maxAllowedContentLength="5024000000" /> </requestFiltering> </security> In my web.config, but when running on IIS7 I get this error: The 'maxAllowedContentLength' attribute is invalid. Not a valid unsigned integer but when I ...

how to create web sites with Visual studio 2010 on a remote iis7

i have windows server 2008 running on my pc. i have been able to setup client/server network with a domain. i login on th e client pc and tried to create a website project with VS2010. but each time i choose iis7 of the server i get the following error : the web server does not appear to have any authentication methods enabled. It asked...

w3wp.exe has high cpu usage on every request

I'm running a Windows 2008 server (a VPS with 1GB of RAM), with SQL Server Express and IIS 7 installed. On it I'm hosting a NopCommerce 1.7 website, with a database of around 26 000 products. Right now I'm the only user of the website (it's in development) and I'm getting rather bad performance from it. To be more specific every time I...

Set Application Pool for Package using MSDEPLOY

I am deploying a website using MSDEPLOY so using something like the below code. "%ProgramFiles%\IIS\Microsoft Web Deploy\msdeploy.exe" -verb:sync -source:package=WebAppServer.zip -dest:Auto -setParamFile="was_params.xml" -verbose > webappserversync.log Is there anyway to set the application pool ? I want to do this from the com...

IIS 7 settings for directories without / at the end

i searched here, but i didn't find the solution to my problem So, basically, this is what i want. I moved a website to a server that has IIS 7 installed, and now when i put in the address bar a link like: domain.com/folder , it gives me a 404 error. folder is a directory that has inside a default.aspx file. but if i put domain.com/fold...

How to open different websites from same physical directory and different Default documents in iis7?

title says all..... ...

Error consuming WCF RestFull POST call, works on W2003 Server / IIS6 but cannot manage to make it work on W2008 IIS7

I have a WCF service that exposes some methods with WebInvoke and POST method, this has been working on a Windows 2003 server machine for some time now, the thing is that I have to migrate the service to a new windows 2008 server machine and this is where I'm getting the issue, I get error 400 Bad Request when I try to call from the clie...

How to not wait to load a page while another one is not loaded

Hi, there is two files on a site. domain.com/1.asp domain.com/2.asp 1.asp takes at least 5 minutes to load (because it does too much thing) while 1.asp is doing its job, i try to open 2.asp (it monitors how 1.asp is going) but 2.asp doesnt load unless 1.asp is loaded. so how can i connect multiple files on a site i think this is abo...

IIS Application Pools and Multi-threading

Will the automatic recycling of the application pool in IIS kill a working thread that was called from QueueUserWorkItem in ASP.NET? Since this happens at set intervals and I'm getting random errors it would appear, I am wondering if these two are running into each other? If so, how do I run an asynch task and not get killed by a recy...

Dealing with / in IIS URL rewrites

Hi All, I am using IIS7 URL rewriting with my website which is written in ASP.NET. I am not sure the best way to deal with / in the rewritten URL because currently, when one is present it breaks the parameters because the engine thinks it needs to split it at the wrong place. For example, a url like: www.test.com/myscript.aspx?code=dot...

ASP.NET App Exports to Excel (or not in this case)

Hi All, Exising .net 2 app migrated to .net 4 and moved to an IIS7 Windows 2008 R2 server. We used to be able to run some code on the web page to export some stuff to excel. Now, when we do... we get the following error: The machine-default permission settings do not grant Local Activation permission for the COM Server application wi...

How do I create websites on remote servers using appcmd?

I have used appcmd to create websites on my local computer. There doesn't appear to be a server parameter which means that i have to remote desktop on to each machine that i'm deploying to and run the appcmd command. Also, can i use appcmd to deploy to IIS 6.0? If not, how do i deploy to remote IIS 6.0 web servers? I've tried the iisweb...

Why does my ASP.Net site running under IIS7 take so long to load after a period of inactivity?

An ASP.NET webpage will take maybe 10 seconds or so the first time the page is loaded, which is understandable since stuff is getting JIT'ed and app domains being loaded, etc. The next requests take only half a second or so. However, if no one hits the site for a few hours, the first request after such a period of inactivity will take ...

Installing and Running SSRS Report Viewer

I have a simple .NET 4.0 web forms app that references the Microsoft.ReportViewer namespace: <%@ Register assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" namespace="Microsoft.Reporting.WebForms" tagprefix="rsweb" %> with a simple ReportViewer control on a page: <rsweb:Re...

Sharing authentication between two web applications

I have a base web site (Asp.net WebForms application) running under ie. http://localhost:90/ Then I created a new (this time Asp.net MVC) application and added it under http://localhost:90/mvc/ but not just as a simple virtual folder, but as an application folder by defining a different application pool to run it, compared to the p...