iis6

WCF svcutil Error: Cannot obtain Metadata from locahost

I've been looking around the questions here to see if anything similar was addressed already. I've yet to find a solution so hopefully someone can help out and point me in the right direction. I have a service and I can successfully navigate to the svc page on my localhost. https://localhost/WebSite/UploadService/UploadService.svc Thi...

How do I get the Silverlight Pivot Server application to run on IIS 6?

How do I get the Pivot Server Application to run on IIS 6? The handlers for the cxml don't seem to be registering properly, because I get a 404 for requests to .cxml files. The closest solution I can see so far is on http://forums.silverlight.net/forums/p/192470/454278.aspx , but this doesn't seem to be the right way to do it. I see th...

How do I get HTTP Handlers in a .NET 4.0 application to work under IIS 6?

This is related to another question specific to getting the Silverlight Pivot Server application running on IIS 6. Do I have to manually add the handlers via IIS? ...

Rails 2.3.8 in IIS6

My server is running on IIS6, and i having trouble with setting up rails with IIS. 1st) is there any posible way to run Nginx on a domain:80 while therest:80 are running on IIS? 2nd) How should I make it work on IIS6 because despite follow the instruction here http://mvolo.com/blogs/serverside/archive/2007/02/18/10-steps-to-get-Ruby-on...

IIRF Multiple Reverse Proxy / Load balancing

http://cheeso.members.winisp.net/Iirf21Help/html/d9d3d4d7-7b3a-4418-b290-c297b041ff42.htm How can I do reverse proxy like mongrel in IIRF? I have 5 identical site but on different port. What I need is to proxy these to the main port 80 of the server. Is there anyway to do this? I am running IIS6 and WinServ 2003 Thank you ...

Forcing HTTPS using IIS and ISAPI Rewrite

Hello, I'm working to force HTTPS, and if the user is on HTTP, redirect the user. For some reason My rewrite rule works great on my prod env but not my dev, here it is: # Redirect HTTP to HTTPS# redirect all http requests to https RewriteCond %HTTPS (?!on).* RewriteCond Host: (.*) RewriteRule (.*) https\://$1$2 [I,RP] On Prod it w...

Should ASP.NET v2 IIS server extension be missing after .NET 4 is installed?

I'm having a ton of issues when my ASP.NET sites are using version 2. For example, all my SVC and ASPX files return "file not found". Also when I use IISMgr and navigate to: ServerName ..... Web Service Extensions I notice that ASP.NET v2 is not present. I tried aspnet_regiis but no luck. Does anyone have Windows 2003 with .NET 4 insta...

Error handling for ASP.NET MVC 2 and IIS 7.0

Good day! I've recently switched from IIS 6.0 to IIS 7.x and I'm in search of error handling technique of my dream for ASP.NET MVC 2. What I want to achive: Handle all unhandled exceptions in one place (preferable in Global.asax handler) Custom handlers for 404 and 403 errors (both for MVC controller\actions and static files). These ...

ASP.NET MVC 404 handling and IIS7 <httpErrors>

Good day! I use strategy to handle 404 errors like this: http://stackoverflow.com/questions/3545906/error-handling-for-asp-net-mvc-2-and-iis-7-0 or this: http://stackoverflow.com/questions/619895/how-can-i-properly-handle-404s-in-asp-net-mvc/620559#620559 In short: I handle 404 as exception in Global.asax without adding any routing ru...

Redirect *.domain.com & domain.com to www.domain.com

I've got an Search Engine Optimisation problem where users are able to access my site by specifying any sub-domain. This is causing duplicate page issues with SEO. For example if a user mis-types 'www' then posts a link on a forum, google is crawling 'wwww.domain.com'. Furthermore, google is also crawling 'domain.com'. I need a way of ...

Restrict page access in IIS 6.0

Hi I want to be able to restrict page access in a web application deployed in IIS 6.0. Say my web applications has these pages: a.aspx b.aspx c.aspx d.aspx The proper way to access is "http://mysite/a.aspx" From a.aspx the other aspx pages could be loaded. What I want to be prevent is someone typing in: "http://mysite/c.aspx" And ...

Any Classic ASP gotchas from Win2k3/IIS6 down to Win2k/IIS5?

I've got the undoubted joy of having to put a very simple 'classic ASP' internal website on to a Windows 2000 server (which I believe will be running IIS 5). I won't have access to this server until the weekend, and all of the original development & testing of this website was all done on IIS 6/Windows 2003. The website is incredibly ...

global.asa dosent work on iis 6

Hi, I copy a few web sites from iis 5 to iis 6, I declare an app pool for those sites , I copy also the global.asa file to the root folder but the iis ignore the global.asa functions . Any idea? ...

How to track & store email replies?

Currently on our system, when a user contacts us, we reply via our admin panel. The user is then sent an email containing our message and the other messages in the conversation. Then the user has to click on 'Reply to this message' which opens up our website, with a contact enquiry form, and submits the message to the conversation (usin...

How can I programmatically create new sites in IIS 6?

Currently whenever a new subdomain is created for the site, a new host header value needs to be added manually in IIS for it to work (needs to work with and without SSL). Is there a way to set host header value via API so that subdomains can be created without human intervention? ...

ASP.NET MVC - How to make it work with IIS6

I am having some issues with deploying my MVC 2 application on a IIS 6 server. I have the following project structure: / App/ Controllers/ Helpers/ Infrastructure/ Models/ Views/ Public/ # This folder contains CSS and JS files Global.asax Web.config I have a custom System.Web.Mvc.We...

How to set up OpenSSL so I can send mail with PHP vis Gmail SMTP?

Hey Guys, I have been sat solid looking for the answer to this question, I have tried many techniques and I just cannot get this to work. I am using the PHP Mailer libraries to send an email through Gmail SMTP server, I am using PHP 4 with iis6 on a windows 2003 box. This is the error I am given: Strict Standards: date() [function....

Getting all virtual directories for a IIS6 web site using WMI

I want to list all virtual directories that belong to a web site with a certain name using WMI and PowerShell. I know I can list all virtual directories on a server using the code below, but how can I filter out only those that belong to a specific site? Get-WmiObject IIsWebVirtualDir -namespace "ROOT\MicrosoftIISv2" ...

"Cache-Control: Max-age=0" in IIS 6.0

Hello, I've configured my IIS 6.0 load-balanced website to have empty ETag headers, per what YSlow recommends for load-balanced websites. Both before AND after I configued this empty ETag header, I got all images being cached on the client side, but with primed cache it was still checking for new versions on the server and returning a ...

C# HttpHandler Path and SSL

Hey All, I have an HttpHandler which resizes images and works great for JPG, GIF, and PNG. The issue I am having is two fold. 1) If I try to navigate to a page with an image on it via SSL (https://...) then the lock doesn't appear in the title bar in IE or FF. I have confirmed this is due to the image. If I remove the handler the lo...