iis

Can I set a <probing> privatePath in ~/subdir/web.config without access to the root application .config?

Can I set <probing> privatePath in the web.config located in a subdir of the root webapp? The subdir is not a virtual directory. In other words, can a webapp in ~/subdir reference a private assembly in the ~/subdir/bin folder? According to the Microsoft documentation, it seems like this is possible in my environment, but I can't get i...

Maintaining ISAPI Rewrite Path with the ASP.NET tilde (~)

My team is upgrading from ASP.NET 3.5 to ASP.NET 4.0. We are currently using Helicon ISAPI Rewrite to map http://localhost/&lt;account-name&gt;/default.aspx to http://localhost/&lt;virtual-directory&gt;/default.aspx?AccountName=&lt;account-name&gt; where <account-name> is a query string variable and <virtual-directory> is a virtual direc...

index.html vs default.html

I've used both index.html and default.html in the past for home pages on sites I've built. These days I mostly use index.html, but I'm not sure why... consistency I suppose. I'm pretty sure IIS handle them the same, but I am wondering, though, if there's any benefit or pitfall in using one over the other, or are they treated the same in...

How can I configure IIS to serve a site when it is asked by ip?

I have a site www.example.com and example.com configured at x.x.x.190 At the moment, foo.example.com is also configured at the same ip. In the DNS server www is a CNAME alias for example.com How can I make it so that when a request like http://x.x.x.190 is made, the server serves the content of www.example.com, just like if the request ...

Forcing intranet users to view webpage in IE8 mode, not compatibility mode

Although I'm specifying <meta http-equiv="X-UA-Compatible" content="IE=8" /> But due to IE's "Display intranet sites in Compatibility View" setting, my app isn't being viewed in IE8, but in compatibility mode. Anyone know if there is a way round this??? ...

System.ComponentModel.Win32Exception Message: Not enough storage is available to process this command

short of restarting our server, is there anyway we can get this memory released and our website up and running. Below is a trace from the event viewer An unhandled exception occurred and the process was terminated. Application ID: /LM/W3SVC/17/ROOT Process ID: 14352 Exception: System.ComponentModel.Win32Exception Message: Not enough sto...

WCF REST Service not working - not showing anything

I've been scratching my head for the past 20 hrs or so trying to figure out what is wrong with my rudimentary WCF app but with absolutely no luck :( I was following this tutorial: http://www.c-sharpcorner.com/UploadFile/dhananjaycoder/RESTEnabledService05122009034907AM/RESTEnabledService.aspx and for some reason the WCF is showing a bl...

Conditionally install feature not working in Wix

Hi, I have a setup which I need to support on IIS6 and IIS7. For now Im using the built in IIS extensions for IIS6 like so: <Component Id="C_IISApplication" Guid="{9099909C-B770-4df2-BE08-E069A718B938}" > <iis:WebSite Id='TSIWSWebSite' Description='TSWeb' SiteId='*' Directory='INSTALLDIR'>...

How do I register multiple paths for a HttpHandler in IIS7?

I have a HttpHandler that resizes images based on the querystring, so requesting something like: http://server/image.jpg?width=320&amp;height=240 will give you a resized image that's 320x240. In the IIS Manager, under Handler Mappings, I mapped my handler's path as *.jpg,*.gif,*.bmp,*.png. However, this doesn't activate the handle...

stub webserver for integration testing

I have some integration tests where I want to verify certain requires are made against a third-[arty webserver. I was thinking I would replace the third-party server with a stub server that simply logs calls made to it. The calls do not need to succeed, but I do need a record of the requests made (mainly just the path+querystring). I ...

close dialogs with ASP.NET under Network Service account

Hello, My asp.net application execute WebPageManipulation.exe console app which do web page manipulation. WebPageManipulation.exe use WebBrowser .NET control which sometimes display some JS Alerts or Print Dialogs. Because my ASP.NET and WebPageManipulation.exe applications runs under Network Service account, they stop working when WebB...

IIS 7 Can't read data from ASP.Net application services tables

Hi, I'm working on deploying a web application written in C# with ASP.Net Application services databases. The application runs fine on the development machine. Windows Server 2003 has been built to test the application. The database has been scripted across using MS SQL Server GUI. ASP.Net application services tables were created u...

Implications of not forwarding http:// to http://www.

Hi, my company is running IIS and DNN (I'm not a server guy, so color me ignorant), and I've read previous that you should either redirect your .http://www.mydomain to .http://mydomain or Vice Versa. Can anyone give me reasons to do this? (periods "prepended" to remove href) From what I understand, it's because search engines see those ...

How to get an error message out of my webpage

I have a web page that when I run it on a remote computer I get the message saying that remote errors cannot be viewed When I go to view it on my web server machine, I get a message saying: Internet Explorer cannot display the webpage • Most likely causes: • You are not connected to the Internet. • The website is encountering ...

DotNetOpenAuth OpenID on ISA 2006 Reverse Proxy problem

I am trying to host my site that uses DotNetOpenAuth (OpenID) behind ISA 2006 (reverse proxy), and after it authenticated with a provider (such as Google), and it returns with a URL with %253A in the URL. However, ISA HTTP filter rejects the request. What I need to do is, on ISA web publishing rule, right click > config HTTP policy pro...

WCF, ASMX Basic HTTP binding and IIS

Hello, I have been doing a lot of work with WCF "self" hosted applications. I recently was requested to write a web service where the calling client was a Linux based program named "WGET". I would like to use WCF instead of a traditional ASMX web service. The web service is returning a standard XML response. I am not sure of the underli...

Is it possible to modify the content of HttpRequest POST in an IIS HttpModule?

Hi, I need to modify the content of certain HttpRequests (SSAS connection strings) in IIS. Basically, I need to add an element to the SOAP contained in the request. My approach so far has been to add a Filter to the HttpRequest, and perform the change in the filter's Read method. As far as I can tell, though, Read is never being execut...

Prompts for windows authentication when viewing a page in Web site

Hello All, When i try to view a PARTICULAR page in my web site, it prompts for user name and password. Irrespective of providing proper user name/password and clicking OK or directly clicking Cancel button, the page is getting loaded properly. I am not sure why the authentication screen appears!!! It happens only for that particular pag...

IIS7 - 401.3 Error

I'm trying to get a site working on IIS7 with classic ASP and having problems. I've created a directory and added both Network Service and IIS_IUSRS with full control. I've also changed the anonymous authentication to the application pool identity, but still no joy. I really have no idea what to try next. ...

How do I create a virtual directory underneath existing folder in IIS using iisvdir.vbs?

I am using the following command: iisvdir /create "mywebsite.local"/Manager Images C:\inetpub\sysdata\mywebsite\Images The http://mywebsite.local/Manager folder already exists, but I want the virtual folder underneath it. If I do this in the IIS Management UI I can do it successfully. However from the command line it just doesn't want...