iis

Subscription website architecture questions + SQL Server & .NET

Hey Guys, I have a few questions about the architecture of a subscription service I am about to embark on and I am looking for some feedback on how best to set it up. I won’t have a large amount of customers as Basecamp, maybe a few hundred and was wondering what would be a solid architecture for setting up the customer sites. I’m runn...

Is ASP.NET MVC just installed on Visual Studio or is installed on IIS too?

I'm going to deploy an ASP.NET MVC project on IIS (6.0 & 7.5) but don't now is it necessary to install anything on IIS? ...

Using Active Directory to authenticate users in a WWW facing website

Hi, I'm looking at starting a new web app which needs to be secure (if for no other reason than that we'll need PCI (Payment Card Industry) accreditation at some point). From previous experience working with PCI (on a domain), the preferred method is to use integrated windows authentication which is then passed all the way through the ...

The whole site is blocked while one page is waiting for blocking operation (PHP, ASP.NET). Why?

Good day! I've found interesting behaviour for both LAMP stack and ASP.NET. The scenario: There is page performing task in 2-3 minutes (making HttpWebRequest for ASP.NET and curl for PHP). While this page is processed all other requests to this virtual host from the same browser are not processed (even if I use different browsers from...

PHP not working under IIS on WIndows 7

I recently installed PHP on IIS/Windows 7, but it isn't working. I am getting the entire source file in the browser window. FastCGI Settings shows c:\Program Files (x86)\PHP\php-cgi.exe Handler Mappings has Request Path: *.php Modue: FastCgiModule Executable: C:\Program Files (x86)\PHP\php-cgi.exe Request Restrictions: File or Folder,...

ASp.Net Mvc 1.0 Dynamic Images Returned from Controller taking 154 seconds+ to display in IE8, firefox and all other browsers fast and easy.

I have a curious problem with IE, IIS 6.0 dynamic PNG files and I am baffled as to how to fix.. Snippet from Helper (this returns the URL to the view for requesting the images from my Controller. string url = LinkBuilder.BuildUrlFromExpression(helper.ViewContext.RequestContext, helper.RouteCollection, c => c.FixHeight(ir.Filename, ir.A...

ASP.NET forgets dlls in bin directory

We have a plugin system on a WCF service that checks libraries placed in the bin folder for certain assembly level attributes and loads them. This allows customization of certain service calls based on which client is making the call. This works great most of the time. However, sometimes it seems to lose the dll, which causes the service...

How to configure FTPS in IIS 7 & IIS 7.5 using Active Directory enabled One-to-One Client Certificate mapping.

FTPS in IIS 7.5 is cool. Do you know how to configure it? ...

iis 6 native compression not working on ssl

Hello guys, i have a problem where my ASP.NET web application files (.js, .css, .aspx) doesn't get compress when i access it from https. However the files get compressed when i accessed it from http. Any idea what causing this problem?. It over a week and i cannot find any solution from the net. I have ask my network administrator to che...

Server side caching doesn't work with HttpHandler

If we use an aspx page with a Caching Profile, the server caches images that are loaded with the aspx page. So if ten clients load the same image through the aspx page (same url), for one client the image is gotten out of the db, for the nine others it is cached. When we use a HttpHandler, this doesn't happen. The image is always fetche...

IIS log analysis - how to retrieve referer information

As per this MSDN article: W3C Extended Log File Format (IIS 6.0) It says cs(Referrer) contains the REFERER information that can be read from the IIS log files. I am trying to display the log information using an ASP.NET Repeater control: <asp:Repeater ID="rptlIISLogEntries" runat="server"> ... ... <ItemTemplate> <tr> ...

Caching static files delivered over https to IE in IIS?

I have a website that uses SSL to allow users to enter sensitive data, but there is a large amount of static content that I do not want to be served up with each page request - several Javascript libraries combine to make up almost 1MB for example, which is a serious overhead with each request! Everything I've read suggests that there i...

How to deploy ASP.NET MVC application in a shared hosting without losing the beautiful uri?

I am trying to upload an ASP.NET MVC application in a shared server running on IIS 6 and Windows 2003. I don't have access to IIS. I've changed the global.asax.cs file as follows: routes.IgnoreRoute("{resource}.axd/{*pathInfo}"); routes.MapRoute( "Default", "{controller}.aspx/{action}/{id}", ...

Forms authentication ignored in virtual application

I have an admin site set up as a virtual applcation inside of another website. I would like visitors to the sub directory (the virtual application) to be promtped for credentials using the same Forms authentication set up on the main parent site Have tried all sorts of things but can't get it to work, including Removing all <authentic...

How can I determine file encodings on Windows / IIS ?

From the answers to this question it appears there's a file somewhere on our server that's been saved with the wrong encoding. I've seen this happen before - most often when pasting from Word into Visual Studio, when "smart quotes" can interfere with Visual Studio's encoding settings when saving the file. Thing is - the problem I'm hav...

Regular expressions in URL Rewrite Module for IIS7

I have following rewrite rule to append .aspx extension if url has no extension. <rule name="SimpleRewrite" stopProcessing="true"> <match url="^(.*(?&lt;=/)([^/.]*))$" /> <action type="Rewrite" url="{R:1}.aspx" /> </rule> However the rule is not working: Error HTTP 500.52 - URL Rewrite Module Error. The ex...

How to generate a report of IIS settings for easy perusal?

Hello, I'm looking for a way to (hopefully) create a text file which lists all the settings in IIS for.. Virtual Directories Web sites Which framework is used on a certain website/directory directory of hosted files etc. Basically I want to do some investigation on some of our servers to figure out where certain projects are loca...

Web SITE publishing, dynamic compilation, smoke & mirrors

When you publish a web SITE in Visual Studio, in the dialog box that follows, you are given an option to "Allow this precompiled site to be updatable". According to MSDN, checking this option "specifies that all program code is compiled into assemblies, but that .aspx files (including single-file ASP.NET Web pages) are copied as-is to th...

Best way to migrate from IIS6 to IIS6

Hi, I need to move all my sites on a server with IIS 6 to another one, that has same OS (Windows Server 20003) and same IIS version. I'm trying to understand which is the best way to do it. Searching on Google I've found that there are at least 2 methods, one uses IIS Migration Tool, and another Web Deployment Tool. I don't know which ...

What does ~ in the beginning of an URL in asp.net exactly do ?

I am editing a certain website which before used the port 80 (default) that was not required at the url (because it's default..) But the port had (for technical reasons) to be changed, and now it has to be informed. I can access the main page through ip:port\page like this: 1.2.3.4:81\page.aspx Every link in the website is composed ...