On a LAMP stack I was able to use:
> php_value auto_prepend_file bootstrap.php
in .htaccess to bootstrap a bunch of commands that I wanted to execute before any page was ever processed.
Is it possible to do the same in IIS 6.0 ?
UPDATE:
Not the prettiest solution, but since I have one site on this server I just added the auto_prepe...
I constantly trip on this when writing apps for our intranet.
Let's say we have a network share called "\\server1\myfolder", and I'm writing an app that needs to read a text file from there. Access to the share is very limited, which is fine. If someone doesn't have access to the folder, the app catches the error and tells the user they...
I have a site hosted on IIS6 server. All the pages with specific url (e.g http//www.abc.com/products/my-product-name_11.asp ) are redirected to http://www.abc.com/product.asp.
but from where it is happening i dont know. So in order to change it what should i do?
...
Hi ,
I have to deploy my WCF service on IIS 7.0 in windows 2003. Currently windows2003 has IIS 6.0 installed already. I like to know:
How/Steps to upgrade from IIS 6.0 to IIS 7.0?
Is there any installer for IIS 7.0. I am googling it but it gives the reference of setup that upgrade my internet explorer to 7.0.
Please provide me links...
I have a WCF service which works perfectly when deployed in our dev and test environments, but which falls over in the production environment.
When attempting to browse to the service, the following exception is thrown (inner exception type is InvalidDataContractException):
[ServiceActivationException: The service '/IL.Party.WS/Party.s...
So I set up gzip compression within IIS 6.
I enabled the compression for both static files and application files. I set up a temp directory with the size of 1,024 MB.
I modified the Metbase to include: htm,html,js,css,aspx,xml
I set the compression level to 9.
I added a WSE, called HttoCompression and set it to the gzip.dll aset it ...
I have a production web site in IIS 6 where I need to change the value of the "Enable HTTP Keep-Alive" checkbox. Will that cause production disruptions? Recycles, app domain restarts, or similar?
...
During the performance testing of our ASP.NET MVC application I discovered interesting bottle neck. The application is using only 3 managed threads.
I checked maximum thread pool size. It's 200 and we are having 197 available threads.
I checked connection limit of web site and it's unlimited.
I tried to run stress test locally agains...
Hi,
I would like advice on the best way to restrict access to a weba pplication (using .net 2.0 and II6) based on the clients IP address. The two ways I am considering:
1) Through the server side code - check the client I.P against a list of IP addresses within the web.config.
2) Through IIS by creating a virtual directory and restric...
I've been trying to migrate a fairly large web application from IIS6 to IIS7 the past few days, but every time it seems like we're about done, IIS7 fails to load aspx pages.
The application is a .net 3.5 webapp that makes heavy use of reflection and web services. We use 2 main components (each with their own web site in IIS7 although th...
Is it possible to use GZip compression on the ouput of files that have been created using server side includes in IIS 6? If so how?
...
Hello, I'm planning on writing a RSS Feed Aggregator with a team, but I'm wondering what XML Database we should use. The server currently runs IIS 6.0 with PHP 5.3.0 x64, I understand already that I need both a server application and a PHP extension.
What I've discovered already:
Galax
Have previously used this at university, but I ...
I've handed my ASP.net 2.0 web application over to the System Admin for deployment to IIS 6.0 and when I hit the site I get the message:
This is a marker file generated by the precompilation tool, and should not be deleted!
This is not a precompiled web application.
peace | dewde
...
I have just installed a IIS on a win 2003 server and trying to setup an asp.net website.
I have run the "aspnet_regiis" tool as well as made sure asp.net role is enabled.
When i browse a plain from withing my asp.net virtual directory, i am able to view it. but, the server won't serve an aspx page.
What should i be checking next?
App...
Hello
I'm working on a simple .NET application which is supposed to run under IIS6 through CGI. First of all everything works great on my Windows 7 development machine under IIS 7.5. But I'm stuck with “System.Security.Permissions.SecurityPermission” under IIS6.
I've already tried to sign the assembly by the way. But I guess the issue i...
I am trying to setup SMTP server on IIS for sending mails. The SMTP server is intended to be used by the ASP.NET code in C#.
I was previously using gmail smtp wherein i provided the smtp.gmail.com as host with secure port and my gmail uid/pwd. That worked fine. Here is the code used to do that.
SmtpClient smtpClient = new SmtpClient()...
I have a Windows 2003 image with IIS6 installed that just installed a block of Windows Updates. This webserver was using port 443 and an SSL certificate properly up until this patch, and it will no longer respond at all on port 443 to requests.
I have tried removing and re-installing the certificate, and it will still not respond on por...
Is there a way to programmatically check if ASP.NET is "allowed" in Web Service Extensions on IIS 6.0. I know I can set this by using aspnet_regiis.exe -i -enable, but how do I check this using code?
Regards
Deepak
...
Hi guys,
Background:
I work for a small microsoft based web dev company who is slowly starting to do more PHP based work. To date we've run these sites (mostly WP) through IIS6 on Windows Server 2003 although this presents problems around mod rewrites etc.
We're at a stage where we can make a decision between upgrading our existing se...
Hello, is there a notable performance loss if all files are handled with the aspnet_isapi in request pipeline using IIS6? IIS7 has the new integrated pipeline so that seems not to be a problem.
I ask this, because I want apply an .net url replacer on .exe files for example. To do so, I have to add them to the asp.net isapi. I fear this ...