iis

Forwarding http://mydomain.com/ctrlr/act/val to http://WWW.mydomain.com/ctrlr/act/val

I have an application written on ASP.NET MVC (V 1.0). The application runs on IIS7 and the DNS is provided by GoDaddy. I would like to forward any request that comes from http://mydomain.com/ctrlr/act/value to a URL of this form: http://WWW.mydomain.com/ctrlr/act/value Basically, I want to add WWW to the Host-name if someone tries to r...

Why does wcf web service hosted in iis over ssl. result in "403 forbidden"? Jquery $.post sends OPTIONS verb?

I have a WCF Webservice hosted in IIS. It uses a webHttpBinding. There are WebInvoke attributes on the methods so that they can be access REST style. I can successfully use them like so: http://mydomain.com/MyService.svc/some/rest/style/thing and POST to that the arguments to the web service. Now I want to change this to HTTPS over a...

IIS Keep-Alive between web and app server

Hi everyone! We have been having some performance issues with our application for the past couple of weeks. I've come close to posting a couple of times but due to some of our interesting architecture and implementation details, I thought it would be too difficult to try to post enough information for anyone to provide any sense. Part o...

ASP.NET - Reading and writing to the file-system, outside the application

Is there a way to access the file-system outside of the current ASP.NET application, without going around giving IIS_IUSRS permissions? For example, if I wanted this line to work: logStream = File.Open("C:\logs\app.log", FileMode.Append, FileAccess.Write, FileShare.ReadWrite); ... I'd have to normally grant read/write permission to C:...

Parse php then parse asp.net

Is it possible with IIS to serve a .php page, but that can also host asp.net control? Like a two-pass parsing, the first pass parse the php, then the asp.net parser transform the controls. The variable declared on each layer do not need to be shared. Is it possible or is it a sin? ...

Extending SSL services to subdomain

Dear Experts, I am encountered with a special requirement. I really dont know weather this is possible or not. But any suggestions or alternative solutions are greatly appreciated. I have a main domain say www.example.com written in asp.net with a collection of static pages with no much functionality in it and have a regular SSL on it. E...

How to config IIS in Windows XP SP2

Hi everyone, new to IIS. I have two questions: After installing IIS, I straightly wen to my browser and typed in http://127.0.0.1. But a user name and password dialog box pops up and I have no idea what to type in. Why IIS asks this information? How can I remove this asking. I want to put a web service under IIS. The web service is wri...

Why is IsInRole throwing an error?

I have an MVC application that is using a mix of windows and forms. The database is on a hosted server and I'm using my local IIS (5.1). Everything works fine until I try using IsInRolw("role") - I get: The trust relationship between this workstation and the primary domain failed. I suspect this may be OK when the application is depl...

VS2008 & Local IIS Web Server - all components installed, doesn't work

In VS2008, when checking the local server option in the web tab in the project window, the error message reads: To access local IIS Web sites, you must install the following IIS components: IIS 6 Metabase and IIS 6 Configuration Compatibilty ASP.NET Windows Authentication In addition you must run Visual Studio in the context of an a...

How do I programatically add a wildcard filter for IIS?

I'm going to use System.DirectoryServices to programatically add a wildcard filter for IIS (Version 5.0 and IIS 6.0). Anyone have some food for thought? Thanks in advance! ...

WCF service unable to load referenced assemblies from the GAC

I've got a WCF service, hosted in IIS, which is built in Visual Studio. The WCF service library references a few other assemblies, which are part of the same Visual Studio solution. I deploy all the assemblies to the GAC, then start a service client, and see it fail trying to resolve one of the referenced client assemblies. I've added ...

Downloading MDB (Access) file from IIS

This question might be better asked over on ServerFault, but since this is related to a programming project, I'll ask here. Simply put, how do I configure IIS to let me download an Access (.MDB) file the same way it lets me download .HTML, .EXE, etc. files? I've tried taking MDB out of the mime types, changing the extension to .DAT, te...

Adding ASP.Net form to an existing deployed ASP.Net Web Application

I have an ASP.Net web application that is deployed to a number of different customer's servers and hosted within IIS (6 or 7 depending on the site). The system is based around a set of fairly complex ASP.Net (aspx) pages. Due to rapidly changing requirements we often have to add forms to the system. At the moment we use a fairly clumsy a...

Running a classic ASP page as under IIS account when Windows auth is enabled

I've got windows authentication enabled on an ASP page so that I can grab the current user's username. This forces the ASP page to run as that user. I want to lock some files down that are currently being accessed by that page. Is there a way to have Windows Authentication enabled and still run the page under the account that IIS is runn...

How to connection to an IIS website using Kerberos

Hi there, When i connect to one of our internal website and i look in the event viewer security tab I can see that the Authentication Package is NTLM What do i need to do so that the Authentication Package is kerberos? The website is an ASP.NET website with IIS 6 and uses windows authentication ...

GZIP without using IIS ?

Hi Guys, I was wondering whether anyone knew of any ASP.NET compression modules that can use GZIP without relying on the IIS dynamic compression module ? We have some content which we want serve up as GZIPPED but we dont want to rely on IIS compression. Anyone have any ideas? ...

Visual Studio Web Application, IIS and Team foundation server.

Hi, I'm trying to make it easy for other developer's to pull a project from TFS, as part of the pull is it possible to automatically setup the website in IIS. I'm trying to prevent extra steps, using the inbuilt server for hosting is not an option as we have requirements that surpass it's functionality. Thanks ...

PHP MySQL Backup script on IIS Server

Hi Chaps, Bit of a newbie, so please excuse the lack of terminology. . . . I have a PHP script to backup a MySQL database "dbjobs". I've tried nearly everything I can but can't get it to work. It works if I run the $command directly from the Command Prompt on the server, but everytime I try to run the PHP version, I get an HTTP 500 err...

POSTing a complex JSON object using Prototype

I'm using Prototype 1.6.1 to create an application under IIS, using ASP and Python. The python is generating a complex JSON object. I want to pass this object to another page via an AJAX request, but the Prototype documentation is a little too cunning for me. Can someone show me an example of how to create an Prototype AJAX.Request th...

Silverlight 3 + WCF and IIS basic authentication

Hi all, I have the following problem. On my machine I have a SL 3 application, which basically consists of: * Client app (SL) * Web app (.Net 3.5) * Communication with the database handled by WCF The site is hosted on my IIS, with the following authentication set up: * Anonymous access: off * Basic authentication: on * Integrated Wi...