iis7

Authentication settings in IIS 7.5 and ASP.Net, what is difference?

Hi, I just start to learn web programming using IIS 7.5 in windows 2008 R2, and ASP.Net 4. I notice that both IIS and ASP.Net can define Authentication rules. In IIS, there is a form authentication setting where I can redirect user to specified page for authentication, like below: And then, in ASP web.config file, I find similar sett...

How can I redirect my wb site visitors to an m.mydomain.com version when started from a mobile phone ?

How can I (or would you) redirect visitors visiting your web pages when they are viewing your site from a mobile phone ? I want to set up a site with the (standard?) m. prefix. Idially I would my visitors to be redirected to these pages when they visit my site using a mobile phone ? I am using Windows IIS6 and IIS7. ...

SQL server Timeout – only happens very occasionally

Hello, I have a web application that occasionally will throw this error…. Exception message: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. When I does I am unable to connect to SQL server, even through management studio, it’s says the server timed out and c...

how to upload System.Web.MVC.dll from bin in iis7?

working with iis7. project is in Integrated Pipelinemodus Application Pool is : DefaultAppPool have System.Web.Mvc.dll, System.Web.Routing.dll, System.Web.Abstraction.dll in bin folder of project. i cant run aspx pages, becouse i need to configurate something in iis7 to use dll from bin folder. please help p.s. seems like it has to ...

How to prevent/extend idleTimeout in IIS 7?

In IIS7, the processModel.idleTimeout property can be set in an application pool. A worker process will shut down after this specified period of inactivity. However, I use Application_Start to run a number of jobs. If there is no visitor to the website the jobs would be disposed and will not run on time. In IIS 7, the Regular Time Inte...

Why can't I get the MvcHttpHandler to handle my .mvc requests?

I have a project using Asp.Net 3.5 and MVC 1. Everything runs perfectly on my local IIS, but not after I deployed it to the hosted server. The web server is IIS7 with integrated pipeline activated (according to the hosting company). When I go to the root of the web site, www.site.com, the default.aspx makes a redirect to a controller ...

HTTP Error 401.1 - Unauthorized from Local IIS

Hi Everyone, I have created site on my local machine that works fine on debug mode but when i put the site on local iis (7.5) of my machine i get HTTP Error 401.1 - Unauthorized You do not have permission to view this directory or page using the credentials that you supplied. Authentication Settings I have windows impersonation and ...

MVC.NET 404 outside of Domain

I am trying to get a demo site for a client setup. This is the 1st application my company is doing in MVC.NET, so I get to experience all the new things to find out (and all the headaches it'll cause). Anyway, the site works fine locally (localhost) and on the server inside our domain. External users not on the domain however, only ge...

What privileges do I need to use the DSACryptoServiceProvider class on IIS ?

I just noticed that when I use DSACryptoServiceProvider class on IIS it triggers a CryptographicException saying it can't load a file. It doesn't specify the file. After hours I found that this exception is not triggered when the IIS Application Pool Identity is set to Local System which is the most privileged account available. This me...

How to install Wildcard SSL Cert on IIS 7.5

I have a GoDaddy WildCard Certificate Installed in my Windows 2008 R2 Box. I'm running IIS 7.5 My cert is for *.MyDomain.com I plan to use it on 50-100 sub domains. Each one will have a unique IP. I have the cert installed the on server. for some reason it only works on the 1st site i installed, and not other sites. Those other sites ...

How many user that IIS can sopport?

Can IIS suppost multiuser about 1000 user? IF it can,How I do it with asp.net. ...

URL Rewriting Domain Root to Subfolder

I'm trying to figure out how to write an IIS URL rewrite rule that will take my domain (mysite.com) and rewrite it as (mysite.com/cms). I would also like www.mysite.com to rewrite to mysite.com/cms. I'm using a Windows shared hosting account with GoDaddy. ...

IIS 7.0 large file transfer : Unable to read data from the transport connection: The connection was closed.

Assume an ASP.NET page with these lines of code: while (true) { byte[BUFFER_SIZE] buffer; // Fill buffer with pseudo data Response.OutputStream.Write(buffer, 0, buffer.Length); Response.Flush(); } And a test application for above page with these lines of code: while (readBytes != 0) { byte[BUFFER_SIZE] buffer; readB...

IIS 7.5 Child Application getting new ASP SessionID, need to Share ASP SessionID from parent to child

We have some old Classic ASP pages that require that the application pool that the run in has the no-managed code value set. So we have: Site (Application pool - ASP.NET v4.0 Integrated Mode) uses forms based authentication -- Application (Application pool no managed code integrated or classic) We have processes in the authentication...

How do I configure IIS 7 to allow a remote database connection from within an ISAPI Web Server

I have a native Web service application (ISAPI) that I have built with Delphi 2010. At this time, it only exposes two methods. The first one, EchoString, is designed to give me feedback that the Web service is functioning properly, and it adds a couple characters to the string that I send to it from my Delphi Web service client. This alw...

How do I query the Windows 2008 x64 Index Service from 32-bit ASP applications?

Recently I stumbled upon a problem that involves moving asp classic sites from a w2k3 server to a w2k8 64 environment. It involved getting indexing services to work with asp classic. I searched every where tried many solutions and they all failed. The problem: running a 64bit indexing service on a 32bit application pool (for asp classi...

Need help setting up ASP.net 3.5 (Screenshots)

This is driving me crazy, and has been bugging me for weeks, I'm trying to sort it all out today but am having real difficulty, if anyone could help it would be a HUGE benefit to me! I'm trying to get a website I've developed on one computer, to work on my home computer. The old computer was running ASP.net 3.5. On my new computer, af...

Internet explorer sending cookies even though they are blocked?

I have a strange problem with an ASP.net website whereby we perform a cookie check to see if cookies are enabled and if not redirect users to a page on enabling cookies etc. This is working fine in all browsers except for Internet explorer, whereby I get past the page that performs the cookie check without this redirection. I attached th...

IIS 7.5 doesn't run *.inc as ASP Classic

Hi, I'm setting up an ASP Classic website on Win7 x64, I have done the usual trick (Add site as Application to enable global.asa, use Classic pipeline App Pool, Enable 32-bit Applications: True, Load User Profile: False, Enable Parent Paths: True, give Everyone full access to site files, use odbc 32), and the site is up and running for...

Does it make sense to set Http Cache Headers on a 404 response?

I have a database that stores images which can be access via a primary key ID (vomit, I know, but it's out of my control). I have a pretty standard Asp .net Mvc Controller that reads the database and if a row is found in the database it returns the image bytes as a FileResult. If a row is not found, I have a custom action result that se...