iis7

debugging asp.net mvc app in iis7.

When I debugging in VS development server all works ok, but on IIS7.5 in Application_Start none of my brakepoint hit. The first brakepoint which work is in default controller. This asp.net mvc2 is on .net3.5 and application pooling in iis is set to DefaultAppPool in integration mode. Where to looking for solution? ...

Is there a benefit of turning ViewState Encryption Off (asp.net IIS7)?

I understand how to turn off ViewState encryption for asp.net web applications. I want to know if I should. My question is more from a performance stand point than a security one (All of our traffic is on a private network and we do not store any sensitive data in the viewstate). Before I dedicate hours of setting up tests scenarios...

Web config size limit exceeded under IIS7 0x80070032

I have a web.config file which is quite large in my current solution running on IIS7. It's working perfect on my dev server however I encounter the error 0x80070032 "Config Error Cannot read configuration file because it exceeds the maximum file size" My current solution uses a very large web.config file. The architecture of my CMS ap...

Silverlight cross domain confusion

I have a Silverlight application that does two things: 1) connects to a WCF server (hosted inside a WPF app on a different PC) and sends small packets of info (using PollingDuplexHttpBinding if it matters) 2) sends a web request for get an XML file from a different remote server for parsing At dev time, its all running locally, but in...

How to use IIS 7 custom logging module and ETW tracing module

Hi, I notice that IIS 7 has a custom logging module logcust.dll. It is said this module helps load your own custom logging module. But I can't find any information about how to use it. I opened this DLL and notice that it implements IHttpModule and register to all events but does nothing in event handlers. Same question for another IIS ...

Set up https on local iis7

I am running IIS 7 on my local windows 7 machine. I have a website running off it and want to setup IIS to support https. How can I do this? ...

IIS7 The maximum amount of time for a script to execute was exceeded

When i refresh the ASPX webpage the page takes more time after repeated refresh and displays an error : Active server pages Error 'ASP 0113' Sought of : The maximum amount of time for a script to execute was exceeded. What I have done is Set Enable Buffering[bufferOn] property to false. The above resolution makes the working of that pa...

timeout and auto logout in asp.net 2.0 with IIS 7 even after doing all the possible settings

Hello, I have an ASP.NET 2.0 web site hosted on Windows Server 2008 with IIS 7. I am using InProc session mode (specified in web.config). My client wants the timeout to be of 3 hours, meaning if the web site is idle, session should remain alive for 3 hours. Currently, what is happening is that if the web site is idle for 20-30 min. and ...

Deploy odp.net 11g application in a 10g IIS server enviroment

I have developed a C# 3.5 Mvc 1.0 application using oracle 11gR2 client which uses odp .net 2.112.1.0. I want to deploy it in my IIS7 server which has oracle client 10g which uses odp.net 2.102.2.20 . I am getting the following error Could not load file or assembly 'Oracle.DataAccess, Version=2.112.1.0, Culture=neutral, PublicK...

System.PlatformNotSupportedException: Speech Recognition is not available on this system. SAPI and Speech Recognition engines cannot be found

I am running Windows 7 Professional 64-bit with visual Studio 2010. I have installed the Microsoft Speech Platform - Server Runtime v10.2 and the en-US language packages. I created a Web Service (Web Application) using Microsoft.Speech. In my test the Web Service receives a string and simulates the recognition based on some grammar ru...

IIS7 overwriting defined HTTP header values

I am attempting to set the content-type of an asp.net .ashx file to text/plain. When I run this through the ASP.NET Development Server, the content-type is properly set. When I serve it through IIS7, however, the content-type (and any other header values I set) don't come through (it came through as text/html). The only value set in ...

How to know the original url after url rewrite?

I have url rewrite rules which redirect www.domain2.com to a subfolder under the root of a domain1.com (let's call this folder subproject). In my controller, I need to construct a URL to the original non modified path but the Request.Url properties (like AbsoluteUri or LocalPath) always contain the subproject subfolder. In other words, ...

How to run IIS7 Application Pool under domain account?

What are the steps to be made to run an IIS7 Application Pool under a domain account? I know how to create a domain account and how to set the identity of the Application Pool. My question is rather what rights does this Domain Account need to have? (logon right to the server? read rights to the files of the web sites running under appl...

IIS 7.0 lost form request data on refresh

Hello, I have a ASP page that passes a hidden input field value to another ASP page, but on refreshing the page the form value is empty. I am using IIS 7.0 , do i have to configure the IIS server to remember the form request value on refresh. ...

Considerations for ASP.NET application with long running synchronous requests

Under windows server 2008 64bit, IIS 7.0 and .NET 4.0 if an ASP.NET application (using ASP.NET thread pool, synchronous request processing) is long running (> 30 minutes). Web application has no page and main purpose is reading huge files ( > 1 GB) in chunks (~5 MB) and transfer them to the clients. Code: while (reading) { Response....

Download server with ASP.NET how to accomplish long running synchronous requests ?

My ASP.NET application is a download application (no pages) which reads huge binary files (1-2 GB -> over 1 hours download time with resume support) from local network and stream them to web clients (each request -> one large binary response, so there's no text/html response at all). I use a HTTP Handler (.ashx) instead of a (.aspx) page...

Long polling with IIS 7.5

Hi, I have a ASP.NET 3.5 web application that uses long polling for chat. It long polls an asynchronous handler for new messages. Each request can last a maximum of 15 seconds before being closed and reconnected. The application runs fine using Visual Studio Built-in web server but once deployed to the IIS (i.e. IIS 7.5 ) the long poll...

StackoverflowException in IIS7 but not in Cassini

I have some C# code that is giving a StackOverflowException when running under IIS7 but when it is run under Cassini in VS2008 then the code runs fine. Is this a known issue whereby Cassini handles these kinds of exceptions differently? ...

ASP.net MVC deployment to IIS7

I'm trying to deploy a MVC application to a news Server, I have .net framework 4 and ASP.net MVC2 installed. My app pool is assigned to .net 4, integrated mode. But for some reason, the routing is not happening properly. I am getting a 404 error on links and not properly routed to the controller. What am i missing here? Is it might be or...

My application hangs up randomly when contacting the IIS server: What's going on?

I wrote a WPF application that utilizes WebService calls to a server running IIS to get data. The problem is that sometimes the application throws an exception (or crashes) because it can't establish a connection. This continues to happen until I restart the IIS service and I'm not sure what is going on. Background Info: - The applicat...