ASP.NET/IIS: Log out all users
In an ASP.NET 3.5 application running on IIS, how do I force a "deauthentication" of all currently logged-in and authenticated users? iisreset didn't seem to do the trick! ...
In an ASP.NET 3.5 application running on IIS, how do I force a "deauthentication" of all currently logged-in and authenticated users? iisreset didn't seem to do the trick! ...
I have an ASHX handler or an ASPX page (the problem happens in both cases). The web client sends a request containing If-None-Match and/or If-Modified-Since headers but context.Request.Headers.Get("If-None-Match") or context.Request.Headers.Get("If-Modified-Since") is null in the handler. The same script works in my local development ...
I'm having an issue with a migration to IIS 7.0. In the previous version of IIS I have been able to set the Application Pool queueLength to 0 to set it to 'unlimited' but in IIS 7.0 the max it will let me set it to is 64K. It is recommended that you set this value to 1.5 times the number of concurrent connections otherwise you might g...
I'm using structure map in my asp mvc site, which i've just tried to deploy onto II6 for the first time. The basic dependency structure is very typical: public ControlMController(IControlMService controlMservice) { this._controlMservice = controlMservice; } ... public ControlMService(IControlMRepository re...
Hi, I have a web application containing two web services, let's say PublicHello.asmx and RestrictedHello.asmx. PublicHello must be accessed from anywhere, without requiring login. RestrictedHello must be accessed only from domain through Windows authentication (and its behavior is different from one user to another). In IIS, if I en...
Hi, I have a .ini file in the virtual directory of IIS. When i try to open the same in IE i get file not found HTTP 404 error. http://www.virtualdirectoryname/sample.ini Any inputs. Please suggest some solution. Thanks, Karthick ...
I have an ASP .NET web application which on the backend is talking to an ASMX web service. We have counted and the average wait time for the initial request is 20s. I am wondering if there is a way I can send the web service up to the server precompiled, thus negating the need for compilation. We have also noticed that IIS tends to recy...
I'm currently planning out a web app that I want to host for people and allow them to host themselves on either Linux/Apache of IIS6 or IIS7 (for the benefits of bandwidth, directory services [login, etc.]). I see that PHP is supported on both platforms. I've heard people serving Django and Python in IIS using PyISAPIe. I'm not sure ab...
I am building an asp.net mvc web site which needs to host some JMOL content. JMOL is an open-source Java viewer for chemical structures in 3D. http://jmol.sourceforge.net/ The problem is that when I host the JMOL files which have been created for this site on IIS, I get errors when JMOL attempts to load the .pdb files. e.g. java.io.I...
For a church website I'm managing, there is a need to place audio files (sermons) on the website. There will be two categories of audio files; one will be a sample size of the audio file, around 5 minutes in length. The other will be the full-length of the sermon (30-50 +/- minutes). I have decided the best setup would be to place t...
We use a custom urlrewiter on our .net sites and set a wildcard mapping to redirect any request to the .net isapi filter for processing. This works fine but we have noticed an issue with our custom 404 pages not working and iis handling the 404s instead. We configure the custom errors in the web.config as follows <customErrors mode="O...
In an application we are developing, I have access to a database table which gives me the path to some files that are available on a file server. This file server is accessible from the machine on which IIS is running. Is there a mechanism I can use to (on demand) copy a given file from the file server to the web server and make the file...
Title pretty much says it all. The web.config, unchanged from how VS2008SP1 generated it, has the following lines. <httpModules> <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> </httpModules> <system.webServer> ...
In this question a user replied that he was able to override the security settings on a shared host. I'm using the same host, but haven't been able to figure out how to change web.config to allow reflection. Is it a one-liner? I'm using MVC + Nhibernate in my project, but I can't even get an Mvc "new project" template site to work, I su...
Is there a way to host an ongoing process in IIS? Let's say i'm writing an invoicing web site and every so often I need to send out scheduled invoices. This is really part of my invoicing app and I'd like it to be deployed as part of my invoicing app, by copying files to the web server. I don't want the deployment headaches or the awk...
I am attempting to create and host a simple RESTful WCF Service. The service works perfectly except for 1 situation. I attempt to perform a POST to insert a new object into my static List using the JSON request of: {"sampleItem":{"Id":1,"StartValue":2,"EndValue":3}} If I then change the request to be: {"sampleItemBlah":{"Id":1,"Start...
Hi, I want to setup local domains like sub1.mydomain.dev and www.mydomain.dev on my local IIS on Windows 7 to test cross-domain things (asp.net app)... is there anyway to do that ? ...
I've just today learned of asp.net mvc, and I'm wondering what is needed from the server-side to host this. I suppose IIS 6 (and newer) and the .NET 3.5, is there anything else you need? ...
I am having this most annoying issue when I try to rebuild my solution I get 4 lines of: There was a problem reading metadata from 'C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\MyWebSiteName... I tried restarting IIS, so I could delete the temp files, but they're locked. How can I fix this annoyance, it only ...
So. I've developed a WCF IIS application and am getting really tired of deploying the web application by hand. I know the web application setup provided by MS only installs to virtual directories, and I need something a little more flexible. I also want to be able to (if possible) not only create the web app in iis, also set advanced i...