iis

Is there an easyier way to publish silverlight & wcf services from localhost to IIS?

Hello, Is there a simpler way to deploy/publish silverlight & wcf projects from localhost enviroment to a IIS server? I have a web project with a self host wcf service which my silverlight application references. When I work locally I set the reference address to htt://localhost:8080/MyService.svc -and when I want to put it on the IIS...

WCF service stop sending web requests once it's hosted in IIS

I have a WCF service that receive query from a silverlight client and send the query to a Search API (Bing, or Google), process the search results to return those back to the silverlight client. Everything works find in Visual Studio. Once I publish the service in IIS, I can access the service endpoint and the silverlight client to ta...

Facebook Connect on Coldfusion 8

Hi, I am trying to get ColdFusion 8 work with FB Connect I am running CF8 on IIS, Windows Server 2003. I use this FB Connect wrapper for ColdFusion written by James Constable, http://jamesconstable.co.uk/web-development/facebook-connect-library-for-coldfusion The library is written for Railo server, I managed to port it (or i thin...

What is the best way to create a website in IIS through coding

What is the best way to create a website in IIS 6.0 programmatically? like if i want my application to take a name of a website and create it in IIS, what would i need to do in ASP.Net? ...

How to redirect to application root using the IIS7 URL Rewrite Module?

I have tried: 1) I tried empty string first: <action type="Redirect" url="" redirectType="Permanent" appendQueryString="false" /> Result: HTTP 500.52 - URL Rewrite Module Error. The substitution URL for the current action cannot be empty. 2) Maybe I should omit the url attribute: <action type="Redirect" redirectType="Permanent" ...

Comet and Simultaneous Ajax request

Hi , I am trying to use a COMET solution using ASP.NET . Trouble is i want to implement sending and notification part in the same page. On IE7, whenever i try to send a request ,it just gets queued up. After reading on internet and stackoverflow pages i found that i can only do 2 simultaneous asyn ajax requests per page. So until i ...

Caching the response of an ASP.NET HTTP Handler server and client side

Is it possible to cache the response of a http handler on the server and on the client? This doesn't seem to be doing the trick: _context.Response.Cache.SetCacheability(HttpCacheability.Public); _context.Response.Cache.SetExpires(DateTime.Now.AddDays(7)); The _context is the HTTPContext passed as an argument to the ProcessRequest met...

IIS, Redirecting and HTTPS

I have an interesting issue with HTTPS ports not being handled properly. It is a relatively small issue and I bet it is pretty simple to solve, I am just not thinking of it. We have a website served with IIS 6, www.mylongdomainname.com. We have a secure portal which is handled via https://www.mylongdomainname.com. Now we have several...

ASP.NET Request.ServerVariables["SERVER_PORT_SECURE"] and proxy SSL by load balancer

We have some legacy ASP.NET code that detects if a request is secure, and redirects to the https version of the page if required. This code uses Request.ServerVariables["SERVER_PORT_SECURE"] to detect if SSL is needed. Our operations team has suggested doing proxy SSL at the load balancer (F5 Big-IP) instead of on the web servers (assu...

IIS Browser caching not working

Hi, I have enabled caching in IIS 6 for all our static images and CSS(by right clicking on those folders in IIS and enabled Content Expiration after 30 days under HTTP Headers). When I run Google PageSpeed, and look at the resources tab, the status of those images and css shows up as 200, but I was expecting a 304(not modified). When...

Cannot execute a program. The command being executed "dqiitg0c.cmdline"

i have used impersonation in this application. whenever this error occurs i required to restart the IIS.. please guide me to solve this issue. Error: Cannot execute a program. The command being executed was "C:\Windows\Microsoft.NET\Framework64\v2.0.50727\csc.exe" /noconfig /fullpaths @"C:\Windows\Microsoft.NET\Framework64\v2.0.50727\T...

Redeploying an ASP.NET site in IIS7 without files in use interfering

Hey, We've got a process currently which causes ASP.NET websites to be redeployed. The code is itself an ASP.NET application. The current method, which has worked for quite a while, is simply to loop over all the files in one folder and copy them over the top of the files in the webroot. The problem that's arisen is that occasionally f...

How to modify IIS handler mapping permissions via Wix or a Custom Action

Hi, I'm using Wix to create an installer for a Silverlight application. When I install the application the virtual directory that has been created has the execute permission checked for the *.dll handler mapping (IIS 7 > Web site > VDir > Handler Mappings > *.dll > Edit Feature Permissions > Execute). When I browse to the applicatio...

WSS Web application and IIS Website differences

Can somebody explain briefly the differences between a "WSS Web Application" and a normal "IIS Website"? I have read that a WSS web application is a "special" IIS Website with WSS featured. I also know that the content of a web application is stored in an SQL Server Website(called the content database) whereas an IIS Website stores it on...

double authentication issue on IIS / Report Server (SQL server 2008)

Hi, On a 2003 server box, with SQL server 2008 installed (ReportServer deployed in IIS mode), I've got a virtual directory within IIS with it's security set to 'windows authentication', with the following html code: <body> <h1>test</h1> <iframe src="/reportserver" witdh="50%" height="50%" /> </body> From the outside, I've got a first...

Hosting WCF on IIS5/6

I have developed a Web service using WCF Service Application. This service application is a part of multiple projects. we have data access , services(business logic) , testing(to test class) and WCF Service application.Where WCF Service application is just like an infterface and all the request are sent to the services project. so all t...

WF4 workflow versioning using WorkflowServiceHost

Related to this question. I understand how to implement versioning of workflows using WorkflowApplication. If you keep the original XAML definition for older versions of your workflow around, you can load them using the right WorkflowApplication constructor. How could you ensure that WorkflowServiceHost uses the correct workflow defini...

When programatically creating a new IIS web site, how can I add it to an existing application pool?

I have successfully automated the process of creating a new IIS website, however the code I've written doesn't care about application pools, it just gets added to DefaultAppPool. However I'd like to add this newly created site to an existing application pool. Here is the code I'm using to create the new website. var w3Svc = new...

ASP.NET ascx.cs via GET

Say I have this url: http://site.example/dir/ In this folder I have these files: test.ascx.cs and test.ascx Just to be clear, I am not a .NET developer. From a security point of view - why can't I access http://site.example/dir/test.ascx.cs and how secure is it to keep those files there? I assume IIS filters out request that query t...

How to use URL Rewrite on IIS for a single code base for multiple sites in PHP.

I have used the Apache Mod Rewrite for PHP but not in IIS. BACKGROUND: I have inherited over 400 sites on IIS with PHP all with a copy of the identical code base. The current code base has a unique connection string per client and that is why it was copied over and over again. Each being a subdomain pointing an individual site in IIS:...