IIS: .htaccess php_flag / php_value alternative?
Hi all, For IIS (5.0 or higher), are there alternatives to apache's .htaccess directives php_flag and php_value to set PHP_INI_PERDIR config values? Thanks. ...
Hi all, For IIS (5.0 or higher), are there alternatives to apache's .htaccess directives php_flag and php_value to set PHP_INI_PERDIR config values? Thanks. ...
Hi All, We've configured our application pool to recycle at a regular time interval of 180 minutes. But the worker processes are getting recycled every 60 minutes. Is this a known issue, or do we need to configure something else? Thanks ...
Hello all -- I am trying to setup my development environment in Windows7 and am having trouble getting IIS to work. I have set everything up like I have been doing since IIS6 so I have the basics down. My problem must be in something that has changed between IIS7 and IIS7.5 or in the OS. None of my websites will return html. Not the...
I have an ASP.NET 3.5 website running under IIS7 on Windows 2008. When I restart IIS (iisreset), then hit a page, the initial startup is really slow. I see the following activity in Process Explorer: w3wp.exe spawns, but shows 0% CPU activity for about 60 seconds Finally, w3wp.exe goes to 50% CPU for about 5 seconds and then the pag...
I have windows task which restarts IIS at midnight 00:00. In my application there is a background thread which runs a global refresh at around 02:00. My problem is that the application starts only on the first request from a browser. This may not occur for quite some time and the global refresh can be late in starting. Is there any wa...
I have a web site that seems to become slow at random times. Is there some logging tool that I can run to see when and why my asp.net seems to slow down? One of the pages has a button which does a post back and updates a ajax grid after updating the database. ...
I installed the newest version of Windows 7. This is my development box, so I have glassfish installed, which I use for Java applications. Also, I use IIS to run PHP applications. I run both servers on port 80, but never at the same time. However, since I set up IIS, I can't get glassfish to run. In eclipse, it always gives the follow...
The problem is as follows: I have an HttpHander, which works completely fine in IIS 6.0 (it's configured throught Web.Config) <add verb="*" path="MyHandlder" type="MyNamespace.MyHandler"/> But when i'm trying to access it via url (http://localhost/MyHandlder?somevar=somevalue), it gives me "Page cannot be found" error, even thou t...
We have a WCF service that we recently switched from self-hosting to IIS-hosted. It needs to launch an executable using Process.Start(). This works fine when it's self-hosted, but when hosted in IIS, we get the error: System.ComponentModel.Win32Exception: The system cannot find the file specified We have the exe in both the bin direc...
How can I deploy an asp.net application to the root of an IIS6 webserver? All the applications I've deployed before have been in directories, such as http://www.example.com/app1/. To deploy that for the first time, I've always just gone to the IIS manager, and selected "Create Application" in the properties for that folder. Now I'm tr...
In Visual Studio 2008, I'd like to have the internal web server still serve my website on the designated port even after I've stopped debugging. In other words, if my site runs on localhost:2923 once I begin debugging, after I stop debugging I'd still like to go there to have the site run (not in debug mode). Sometimes this works and s...
I'm trying to deploy an asp.net application. I really suck at it. Anyway, parts of it are protected using Forms Authentication using SqlMembershipProvider. I've configured the membership provider to use a SQL server instance via Web.Config. I can use the "ASP.NET Configuration" tool via Visual Studio to create new users. That seem...
The problem I'm running into the typical virtual-directory dilemma in that you have some paths on your ASP.Net application and you deploy the app in a IIS virtual directory. Then all paths relatives to the "web root" (f.i., "/images") doesn't work because the app is in a virtual directory path. The solutions A. Make the "images" fol...
On Unix, I normally deploy nginx in front of Varnish in front of my application server. Both nginx and Varnish are acting as reverse proxies here. Varnish maintains a cache and supports things like If-Modified-Since, Cache-Control response headers and PURGE requests from the application. nginx is good at receiving a lot of connections. I...
Hi. I have a general question about System.Threading.Threadpool when run in a webapplication on IIS. Say we have 2 requests execute at once, and we fire up a couple of threads through the ThreadPool.QueueUserWorkItem method. Will the two requests share the ThreadPool, or will the calls to the ThreadPool from the two requests operate in...
Am I using Session_End incorrectly? In my application, I have a cache to speed up page loads, it works quite well. Recently, someone suggested to me that I was leaking memory by never emptying it out, and to implement a method on Session_End that will clear out any cache entries associated with that session id. Occasionally though I st...
Hello everyone, I am using VSTS 2008 + C# + .Net 3.5 + IIS 6.0 + Windows Server 2003 Enterprise x64 SP2 + ASP.Net. I am using anynomous authentication + Windows authentication mode in IIS web site, and I map the user identity to mycorp\george in anynomous account and also use mycorp/george to run IIS worker process. I have also added my...
I'm setting up an environment for testing a Silverlight app with RIA Services in IIS 5.1. I'm getting an error message on the first service call saying "The specified resource was not found." This only occurs when I deploy the project to my local IIS 5 setup, it works fine in the Visual Studio hosted web server. I was having this issue...
I work in a dev environment that is currently IIS6/Server 2003 with Framework 3.5. I primarily am working in ASP.NET MVC. I've run into a scenario where, for the solution I'm working on, I'd either have to spend weeks reinventing the wheel or integrating a PHP-based opensource project into one of the components I'm building. I'd love ...
Hey all, I am trying to connect to IIS programmatically. I find there are a ton of examples online, but I can't seem to get any to work and have tried quite a few variations Every time I try the following code the object that is returned has this error for each property: ..."threw an exception of type 'System.Runtime.InteropServices.C...