iis

WCF service, APP Domains and web sites

Hi I have many WCF services (SVC files), and I want to host them in IIS. I was wondering: Is it better to create each one on its own web site? or have them all together live on the same web site? What is the difference? I read that each service will have its own APP domain? Is there any articles that describe relation between WCF service...

Finding out the physical path of an ISAPI dll

Hello, I'm converting a Delphi ISAPI dll to work better on IIS 7.0 and 7.5. The ISAPI used to read its configuration from the registry but I wanted to convert that to using the web.config file in the same folder. It worked fine with CGI but the ISAPI is another matter. I'm using GetModuleFileName to get the path of the module and, of c...

start batch job from IIS

What is the right approach when users (authenticated domain admins) should be able to start batch jobs (usually exe files) from an IIS (7.x) aspx (c#) page? This is an intranet site. The batch jobs have to run on the web server as Domain Admins. The website pool is executed by network service or some similar restricted account in AD. Ap...

IIS Redirect From Specific Outdated URL?

Hello all, One of my clients refers people to a certain URL. She prints the URL on physical letters, and the recipients have a few weeks to visit the URL and complete the task. Let's say that the URL she gives is: www.department-a.domain.com/folder/important-page.html The problem is that I am switching Content Management Systems so ...

Creating a custom FTP Server in .NET?

Suppose I want to create a "custom" FTP server, that is: It will look like a standard FTP server to the outside world It will actually serve data from either in-memory streams of data (dynamically generated by code) or from network streams, instead of from the actual file system Is there an existing FTP server implementation that I ...

what is the browser version and operation system of this iis log entry

Mozilla/5.0+(Windows;+U;+Windows+NT+5.1;+en-US;+rv:1.9.2.11)+Gecko/20101012+Firefox/3.6.11+(+.NET+CLR+3.5.30729) ...

RESTful MVC Web Service and AspBufferLimit

I have a RESTful web service built on the MVC framework (ala Aaron Skonnard) where methods may return > 4MB of XHTML. I don't want to bump up against the 4MB ASPBufferLimit, and so I'm planning to use the Controller.File() method as shown below -- note the "text/html" trick. In the past, I've written a loop to pump large streams out us...

"Could not load App_Web_*.dll" Exception after ASP.NET compile & recycle

I recently came across code of the following structure: FooService.cs FooService.svc Default.aspx Content of the files: [FooService.cs] using System.ServiceModel; namespace FooService { [ServiceContract] public class FooService { static FooEngine engine = new FooEngine(); [OperationContract] pu...

Strange Caching Issue with IIS IPGrant Table

I'm working on a web page to add/remove IP Addresses to the IIS IPGranted List for a website. I'm finding I can connect and accurately return a list of all of the Allowed IP Addresses from IIS. However, if I try to edit it, on CommitChanges() I'm finding that the com object is returning a HRESULT:0x800700B7 (Meaning it can't create a f...

FastCGI on IIS7... multiple concurrent requests from same user session?

Caveat: I realize this is potentially a server configuration question, but I thought there might be a programmatic answer, which is why I am posting here... Running PHP on Apache, our users were able to issue multiple concurrent requests (from different tabs in the same browser, for example). Since moving to FastCGI under IIS, this is...

Set server wide enviroment/server variable on IIS 7.5

As a unified way for our applications to detect downtime and server maintenance we'd like to know if there is a way to set a variable that can be set per application pool (or server) and read by PHP and ASP.NET. I know that it's possible to set FastCGI environment variables, but those aren't read by ASP. Any ideas? ...

Problems with shared folder in IIS6 on windows server 2003

Hello, We have 3 IIS servers that. We have another file server (windows server 2003 too). The three IIS server have IMAGE folder that point with UNC to the file server. We show the images to the users with transmitFile in ASP.NET. every thing is working great but in the press hours we have every one minute delays. We change a lot of r...

IIS 6 not serving up asp.net 1.1 pages?

Ok, this is strange. Some background Windows 2003 R2 SP2 32-bit IIS 6.0 I've got a very simple dot.net 1.1 example app that just echoes something to the screen via a response.write. Works fine on my workstation. Once I deploy it to this server, when i go to the page, it wouldn't render but instead serves up the source code of my as...

Why is my static class not being initialized in ASP.NET MVC?

I have a ASP.NET MVC project that has a static class in it to initialize some AutoMapper mappings: static class AutoMappingConfiguration { static AutoMappingConfiguration() { SetupMappings(); } static void SetupMappings() { AutoMap.CreateMap<Product, ProductDTO>(); // more mappings } } ...

Programmatically find when the ASP.NET worker process and app domain last started?

In ASP.NET: How can I tell when the ASP.NET worker process last restarted? In ASP.NET, how can I tell when the app domain last recycled? ...

How do I jump to specific time with duration of an IIS streamed video in iOS?

If I have a video streaming server (e.g. IIS Media Services) with a live video streaming, I want the user to select from a list of interesting parts of that video and then play just that bit. For example, if I'm interested in a 25s clip 20m into the full length I want to jump to that bit and then close the video player at the end. ...