iis

Where's my URL parameter?

I have a legacy web page made with frames (yah, I know). One frame (letFrame) is trying to update another frame (rightFrame) with the following anchor: <a href="foo.asp?myVar=BAR" target=rightFrame> foo.asp is already loaded in rightFrame and looks something like this <%@ Language=VBScript %> <HTML> <HEAD> <META NAME="MYNAME" Content...

What limits WCF ServiceModelService.Instances?

I'm attempting to load test a WCF service with (IIS6/Server2003/BasicHttpBinding). The service is throttled as follows: <serviceThrottling maxConcurrentCalls="100" maxConcurrentSessions="100" maxConcurrentInstances="100"/> To assess the number of calls on the server I'm using the ServiceModelService 3.0.0.0 performance counters. If ...

ASP.NET web.config authorization settings ignored

I have an asp.net (dynamic data) website set up as an application in a subdirectory of another site. This site requires different security settings from the top level site. Something like: <authorization> <allow roles="ADMIN"/> <deny users="*"/> </authorization> These settings are ignored in the sub site. However...

WCF Contract Name 'IMyService' could not be found?

The contract name 'IMyService' could not be found in the list of contracts implemented by the service 'MyService'.. ---> System.InvalidOperationException: The contract name 'IMyService' could not be found in the list of contracts implemented by the service 'MyService'. This is driving me crazy. I have a WCF web service that works on my ...

How can I deploy my ready website?

I have well developed an ASP.NET website with SQL Server 2000. How can I drop it on a server? ...

Hints on PHP Problem diagnosis?

I am not an expert in PHP, still learning it. I'd like some hints on how to troubleshoot problems. Recently I installed PHP 5.2.9 on Vista+IIS7 (phpIsapi). I ran a script that did an opendir()/readdir(). This script ran just fine on 5.2.0. On v5.2.9, it failed but I got no indication of the source of the problem. I banged aroun...

Can’t access an aspx page via IIS

Hello, I’m running IIS 5 on Windows XP professional I created new Web project and configured VS 2008 to save this application to location c:\Inteput\wwwroot. Thus VS saved the project into directory: c:\Inteput\wwwroot\WebApplication1 I then transformed this WebApplication1 folder into virtual directory (this virtual directory ...

Can WordPress install on IIS and how?

Can wordpress install on a IIS hosting? If yes, which is better and more simple, on IIS6 or IIS7? And how to install it on IIS? ...

How can I allow a webproject to debug, without having to store server config in project?

I want to attach to process on my iis. I don't want to force my iis configuration to my colleagues. So how can I debug a web project, without storing its server config in the project meta data. The options are iis or developer server, I want neither. Is there a little known hack in the meta data, outside of the UI that will just work? ...

How to debug client certificate using IIS5.1 on XP and C#

Ola, I need to develop a website (in C#, asp.net 3.5) that will require client certificates. I'd like to debug this, using Visual Studio. I have setup IIS to use a self-signed certificate using the excellent tool SelfSSL I have also setup the default site to require SSL and to require client certificates. But I do not know how to create...

Parsing IIS configuration xml doc with linq to xml

Hi Guys, I am writing a small app that finds all the folders IIS is referencing. To do this I take the IIS config file and parse the xml looking for elements called IIsWebVirtualDir and look for the Path attribute. Here is my code XDocument doc = XDocument.Load(xmlPath); IEnumerable<XElement> elements = doc.Elements(...

Running a asp.net web application project on IIS7 throws exception

I just converted a website to a web application project and I am getting this error: System.Security.SecurityException: Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. Any ideas? Everything else runs fine on IIS7. The applicati...

How do I perform certain actions in InstallShield in all situations other than a repair?

I've configured an InstallShield setup to delete certain VDs from IIS right before the InstallFiles action. The code is being called within the "OnInstallFilesActionBefore" event. This works fine, except that I don't want the VDs to be removed if the setup is repairing. I've found this page which lists the possible events; however, it s...

iisadmpwd Utility on IIS

I need to make sure that users with expired passwords can change their password through this utility. Is there a way to make my password expire and test it? I have the virtual directory configured for anonymous access, so that anyone can access the page. ...

IIS7 Authentication problem

I have deployed a web site to a Win 2008 Web server with IIS7. The site works fine on a Win 2003 Standard server with IIS6. On the 2008 box, whenever I request a page (htm or aspx) from a folder named Reports, I get challenged with the Windows Authentication dialog box. I have Anonymous Authentication and Forms Authentication enabled ...

Why does Response.Redirect("") Return an Error in One Test Environment and Not Another?

We're trying to figure out how to fix a bug found in 3rd party IV&V testing, which we can't recreate in our internal test environment. We've determined that the bug is caused by a URL value being inadvertently set to an empty string ("") before attempting to redirect to it. Hence, we're trying to execute Response.Redirect(""). In the ...

Why isn't fiddler capturing request when invoking XMLRPC from iis?

I have a webapplication written in .NET, that utilizes CookComputing.XmlRpcV2 for xmlrpc-communication. When I invoke my unit-tests in Visual Studio 2008, fiddler2 captures the actual xmlrpc-requests successfully, but when I'm running the actual application under IIS7 it shows nothing. I have verified that it actually invokes the xmlrpc...

How to force a 20 minute time-out for sessions?

I'm very confused when it comes to what actually decides the session time-out. The web app needs to allow for a 20 minute "idle time" before logging (or throwing) users out. I've tried different setting on both sessionState and Recycle worker processes in IIS. The time-out remains too short and, as far as my quit-n-dirty, primitive tes...

Updating a Web Application in IIS - Best practices

What are the best practices for updating a web application in IIS? The first page you see when you visit our application is a login page. What I want to achieve is that visitors be redirected to a page stating that the application is being updated. And for users with an admin role being able to login successfully (to check whether ever...

trailing slashes on asp.net mvc urls with IIS 7

I'm using asp.net MVC on IIS 7 / windows 2008 server. The problem is that asp.net mvc generates urls with no slash at the end, like: http://site.com/category/asp. When this url is clicked, IIS 7 probably thinks its a directory and issues a 302 redirect to http://site.com/category/asp/ (with the end slash). How do i change this? I do no...