iis6

Dynamic URL Rewriting with IIS6

I've been tasked with making an already existing e-commerce site SE friendly - which in this case means (amongst other things) letting the user change the URL for each page/product through the back end. The site is an old asp site running on IIS6. I've started looking into http://www.codeplex.com/IIRF and http://www.helicontech.com/isa...

Application_BeginRequest for static *.JS files in ASP.NET in IIS6?

I'm trying to do something seemingly simple: ensure that Application_BeginRequest is called for every static *.JS URL sent to my IIS6 website, whether or not the underlying file exists. What's a good way to do this on IIS6 & ASP.NET 3.5, ideally without causing all static files to go through ASP.NET-- only the .JS URLs? If you're cur...

wcf msmq binding in iis 6.0

Hosting env : Windows 2003 server IIS : 6.0 Dev env : Windows XP IIS : 5.1 Scenario: Client will be pushing some message into MSMQ and WCF service will be the one keeping an eye on MSMQ. Once the message is pulled from MSMQ WCF service will process and then put the data/message on to some other MSMQ. We are thinking of creating a WCF...

In WiX how can I select an IIS website by name?

What I would like to do is show the installer user a list of the websites on their server and allow them to choose one (using the method described here: http://www.cmcrossroads.com/content/view/13160/120/, which now seems broken see here for the core code). The installer would then create a virtual directory in the chosen website. Howev...

HTTPModule for static files sometimes fails to run on IIS 6

I have and HTTP module that cleans, compresses and minifies CSS, JS, and HTML files based on their content type header. It works great in my staging environment and localhost (ISS7, classic pipeline mode). On IIS 6 (production), it is not reliable. Sporadically, this static files stop being processed by asp.net and appear to be reverting...

Significant Performance Decrease when moving from Windows Server 2003 to 2008 (IIS 6 to IIS 7)

Hello Folks: Our ASP.Net 2.0 web app was running happily along on Windows Server 2003. We were starting to see some of the limits of the environment approaching, such as memory and CPU usage spikes, and as we're getting ready to scale we decided it was time for a larger server with higher availability. We decided to move to Windows Se...

How to remove IIS 6 web directory property using directoryentry in C#

Hello, I want to delete particular property of IIS wen directory from Metabase. Can any one plz help me, how can we do that with DirectoryEntry class in C#? ...

ASP.NET-MVC2 Preview 1: Are There Any Breaking Changes?

I was following Steven Sanderson's 'Pro ASP.NET MVC Framework' book. On page 132, in accordance with the author's recommendation, I downloaded the ASP.NET MVC Futures assembly, and added it to my MVC project. Then, without encouragement from the author, I downloaded, installed, and incorporated the ASP.NET MVC2 Preview 1 dlls into my pr...

Anyone know all Method Name of DirectoryEntry.Invoke

Anyone know all Method Name of DirectoryEntry.Invoke ...

using customErrors for vanity URLs / asp.net url redirection

So, from here... In ASP.NET, you have a choice about how to respond to that - it's in the web.config as CustomErrors. Turn that on, then redirect to a fancy 404 page (maybe you already do). The fancy 404 page, then, could be checking the requested querystring (which gets passed over to the custom error page as yet another querystrin...

Intermittent Umbraco Exception

This is an intermittent exception that occurs intermittently in Umbraco 3.0.4 running in IIS 6 When an umbraco user logs in and selects a document to edit occasionally they get this... [NullReferenceException: Object reference not set to an instance of an object.] umbraco.controls.ContentControl.addControlNew(Property p, TabPage tp, St...

Cannot Start /Stop windows service using C# code with PsExec?

Process process = new Process(); ProcessStartInfo psi = new ProcessStartInfo(@"C:/PsExec.exe"); psi.UseShellExecute = false; psi.RedirectStandardOutput = true; psi.RedirectStandardError = true; psi.RedirectStandardInput = true; psi.WindowStyle = ProcessWindowStyle.Minimized; psi.CreateNoWindow = true; psi.Arguments = "PsExec \\\\Newton ...

How many concurrent request IIS 6.0 can resonse

Hi i have asp.net website, which i am making plan for hosting at Windows Server 2003. Here i would like to know that how many concurrent request IIS6.0 can server? Actually in my website the number of registration at the time of deployment is around eight thousand and the growth rate is about 100%. Is there any standard formula by whic...

Classic ASP: frequently getting just part of the page

I'm using windows 2003, running some classic ASP pages. frequently client get just a part of the page, looks like the page is not fully generated for some reason (refreshing does solve it). I checked for a clue in event viewer, but there is nothing there. Any idea what can cause this behavior? ...

url routing doesn't work when publishing to another server

Hello, I've implemented url routing with the following rule: string virtualPath = "~/" + requestContext.RouteData.Values["page"].ToString(); //if virtualpath doesn't end in aspx, then it's just a directory path loading //default.aspx by default. if (!virtualPath.EndsWith(".aspx") && !virtualPath.EndsWith(".txt")) {...

IIS 6.0 command line set execute permissions

Hi all, I am looking for a way to set permissions on a virtual directory through command line. I have a website setup with scripts only permission, but one of the child virtual directories needs to have scripts and executables. So far, I haven't found a command line option to change the permissions for 6.0 - I saw the chacess comman...

YUI 2.7.0 File Uploader - Firefox 3.5 / flash 10 / iis 6

i have a project that uses the file uploader, i have taken the example of the queue management, and altered it to upload to the location i would like it to save to, and all the custom settings, and skins i have given it. i run it locally through vs2008 - running on my local iis 5.5 (xp machine), the post to page is aspx(vb.net) and test...

Is there a way for IIS6 to do http and https together in the same site?

The site needs to be accessible both from HTTP and HTTPS (in case the client wants the form submissions to be secure or not) The site is hosted in IIS6 and ideally I'd like to be able to just have one website in there and it can handle both http and https..is this possible? alternatively i was thinking maybe creating a "secure" subdire...

Should I set rewrite rules on an ASP.Net MVC site with heliontech IISRewriter Globally or by folder with wordpress?

I'm using IIS6 (unfortunatly) and have built an ASP.Net MVC app; IIS is set up for wildcards to make the routing work but I have two virtual directories that contain wordpress installations which works fine. I have two .htaccess files (one in each wp install) that handles their rewriting fine, but I want to setup a rewrite from /about t...

Periodic InvalidCastException and "The server failed to resume the transaction" with Linq

I see this on our stage system, after it has been up for 2-3 days. "The server failed to resume the transaction. Desc:39000000ef." (with desc:xxx increasing every time). The stack trace shows System.Data.SqlClient.SqlException: The server failed to resume the transaction. Desc:39000000ef. at System.Data.SqlClient.SqlConnection.OnErro...