iis

Recycle remote IIS app pool

I would like to use DirectoryServices to list and recycle App Pools hosted on any machine in my Workgroup. My approach is similar to some of the answers posted to this question,but in my case I'd like to do this for a remote machine running IIS 6. I'm prototyping this as a console app but will eventually be providing a web interface to ...

SocketTimeout: Read timed out

I'm using Flex - IIS - ASP.NET to do remote calls. When I stresstest, all remote calls that take longer than 30 seconds fail. In Charles I get a message saying 'SocketTimeout: Read timed out'. Is this something that can be configured in IIS? Or could it be a problem with a setting in Charles? ...

IIS App Pool And Caching

I have created a public List that is runs and is accessed from my a Web Application. private static List<x> _x; static readonly object lockObjx = new object(); public static void XCache() { if (_x != null) return; lock (lockObjx) { _x = GetFromDatabase(); }...

Application pool deleted after iis reset

Hi. I'm write installer for my web site. Installer creating application pool, virtual directory and assign virtual directory to application pool using this instruction. All work, but... If i reset IIS immediately after install my program, my application pool deleted, but if i open if open my web site in web browser and then reset IIS, ap...

Integrated windows authentication and cloning users from xp

Hi, I have a security question about integrated windows authentication. Let say we are using .net remoting hosted in iis. The system uses integrated windows authentication. What if some client manages to clone the OS to other PC or just clone the user to other PC. (Other PC whit the same username and same password hash) Then also the...

IIS7 treats virtual application requests as though they were for the parent site

Hi, what could possibly be the explanation for this? An ASP.NET MVC website, with one sub-application pointing at a different physical path. After upgrading from IIS6 to IIS7, all is fine for an hour or so. Suddenly, requests for certain paths within the sub-application return the content for the "equivalent" path in the parent applica...

Get application path without using httpcontext. (asp.net)

How to do it? I don't want to use this: HttpContext.Current.Server.MapPath Is there a similar function that I can call without requiring a httpcontext? For example if a start a thread doing some stuff i cant use the httpcontext, but i still need to get the path of the app. And no i can't pass the context as an argument or read it fr...

IIS Smooth Streaming in a WPF application

How can I play IIS Smooth Streaming video in a WPF application. I know Silverlight has built-in support for it, but I can't find much information for WPF. Will the MediaElement control support this in WPF 4? ...

Obscured URL in ASP.Net Webforms

Hi, I am working on a ASP.Net web forms application which I inherited from a programmer who has already left the company a few months ago. The application is deployed in our intranet servers and user go the application via the url: http://TestApp/App1/(12345abcde)/login.aspx When I checked the IIS Server, the application's folder i...

Does running a HTTPModule provent IIS Logging?

We are running a site using a custom HTTPModule to do some URL Routing. The problem is this sites traffic is not being logged by IIS. Everything appears to be set up correctly, and other sites on the same server are logging. But the log folder for this site remains empty. (not even the W3SVC... folder is being created!) Is this relat...

jquery .ajax request blocked by long running .ajax request

I am trying to use jQuery's .ajax functionality to make a progress bar. A request is submited via .ajax, which starts a long running process. Once submited another .ajax request is called on an interval which checks the progress of this process. Then a progress meter is updated using this information. However, the progress .ajax call o...

How can I determine why my ASP.NET application is recycling

I am running an ASP.NET application on an IIS7 server. It has been running fine for a long time, but over the past week or so it has been discarding all users' sessions several times a day. I enabled all of the application pool recycle logging options as described in http://blogs.iis.net/ganekar/archive/2008/12/12/iis-7-0-application-poo...

Oracle client and IIS problems

Continuing the discussion about the minimum footprint needed to connect to an Oracle DB from .NET. I've managed to set everything up to work without the installation (just by copying the required files). But when I try to run the code as IIS (7.5) application, I get the following error: [Exception: System.Data.OracleClient requires Orac...

IIS Error Message

Hi, I generated a new web site in IIS. Under the new web site, there are some asp .net 2.0 applications. Tomcat is also running on the same server and they are working correctly. But when I try to open an asp .net application, I am taking page can not be found error message. Then I changed the configuration settings of asp .net version ...

WCF IIS svcutil error

Hello colleagues. I have wcf iis hosted service. I've created standard(from vs template) wcf service and its client. At client I add ServiceReference to my wcf service. All is good. No errors, web-form for this server works too. Next step I publish my wcf service to Win2003 IIS6.0. I successfully go to http://server:1234/Service1.svc, s...

Programmatically manage IIS

Hello everyone. I am currently moving into the web-hosting league. I have to far been adding sites manually in the IIS Manager. But I wonder if there exists an interface, framework or something similair to manage the IIS over the internet - eg. an ASP.NET web-application? I've read something with WMI, but I am unsure if this is the rig...

how can i check whether WCF is already registered with IIS

i am making a installer and want to check whether the WCF is already registered with IIS ...

Security problems with Silverlight 3 application

I have a Silverlight 3 Application and for security I'm using Active Directory. For some reason that I can't explain whenever I access my app in the production servers the default browser authentication window pops up and I have to Authenticate two times! Whats up with that? I checked IIS and everything seems fine! ...

[ASP.NET] Problems with error: "Access to the path <path> is denied."

Hi, I was looking for the the trick to resolve that error (google, stackoverflow.com etc) and every nothing works. I need to dinamically create an .aspx file via the asp.net application. What I've done to try fix it: 1) In the folder's Properties -> Security, I've added IUSR_TONY and also IIS_IUSRS and allow them the Full control to th...

Server Error in '/' Application.

I am getting the following error; how to resolve this? Server Error in '/' Application. Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: CS1061: 'Sy...