I am using the IIS Url Rewrite module to rewrite urls for my ASP.Net web application. The Urls are being rewritten from:
http://domain/version/page.aspx
to
http://domain/company/page.aspx
And it works just fine when browsing directly using absolute paths. The problem comes in when navigating within the app using relative paths. any k...
Hi All,
I have a website installed on one of our sales guys laptops and am having issues with the website hanging if left for 2 minutes. This doesn't happen on my dev box, my live machine or the other sales guys machine.
The website will hang. It's not just limited to this page, it will happen on all pages when I leave it for more tha...
Well - exactly as the question subject states - any ideas on how you might do this?
I've been looking over the objects in System.Web.Hosting but nothing is standing out.
The reason? I'm getting one or two application errors which are typically occuring during a recycle (they happen about 25 hours apart and I've left my app pool recycl...
Hello,
I created an application pool, and i assigned to it a test application(simple 1 view that renders hello, one action and one controller ) that i made in MVC
The thing is that when i executes as many times as i want it works, but after some hours (i dont know why), if i enter again into my server and i execute it, crashes.
The ...
We have a .NET 2.0 Remoting server running in Single-Call mode under IIS7. It has two APIs, say:
DoLongRunningCalculation() - has a lot of database requests and can take a long time to execute.
HelloWorld() - just returns "Hello World".
We tried to stress test the remoting server (on a Windows 7 machine) in a worst case scenario by b...
When user clicks "Update" button on the page, it send a GET request.
Within GET request handler I need to update database using data from other web sites (I download XML chunks that I use to update database).
I use thread pool to fork the process. It works well on local box.
On the server (shared hosting with DiscountAsp.net) though it o...
This is related to a previous (unanswered) issue I've had with trying to catch request errors in the Global.asax, but it now appears to be more widespread.
The URL redirect feature in IIS7 will not handle URLs which both end in .aspx and contain a colon anywhere in the url. Rather than follow its own redirect rules, IIS7 treats .aspx pa...
I would like to export the site settings and app pool settings for a specific site in IIS7 using Powershell so i can restore them on another server. Anyone knows how to do this?
...
I would like to install the Web Deployment Handler service on my development machine (Windows 7 with IIS7) for test purposes, but according to the documentation on MSDN (http://technet.microsoft.com/en-us/library/dd722796(WS.10).aspx) it seems like it can only be installed on Windows Server 2008 with IIS7.
Anyone knows of a way around ...
Hi,
I'm getting that exception when I try to access the HttpContext.Current.Request object.
I've seen the responses in l1, l2 and l3 ... so... my question then is :
For what in the world are IHttpModules now for?
I wanted to develop a module that gets hit every time a call enter to may website, so I can log the url accessed, the use...
UDPATE
On a whim, I decided to upload the 4 fonts files to an font converter. I converted the fontsfrom ttf to ttf and then tried it. Everything works fine: the Content-Type is set correctly and the X-Powered-By header is removed.
Weird.
I am trying to change the mime type (Content Type header) of a .ttf file in web.config on IIS7.
...
I don't know if this is an application configuration issue or an IIS issue. Please forgive me if this should be going on ServerFault.
I have an ASP.NET MVC application (I think the MVC is irrelevant, but anyway). I am getting differing behavior, authentication-wise, on my Windows 7 development machine versus on my Server 2008 machine....
Hello.
I set dynamic compression and static compression on in iis7 manager. So html,css,js content is compressed ok and i see in headers Content-Encoding:gzip, but not with image formats: jpeg, gif and even bmp.
...
Does anyone know how to control IIS (7.0+) from C#.NET?
I want to create and FTP site and then create an FTP users which has read and write access on different folders?
Is there some sort of library I can user for this?
Thank you
...
When I host the "WCF 4 Rest Service Template" project (from template) in IIS Developer Express I get the following:
IIS specified authentication schemes 'IntegratedWindowsAuthentication, Anonymous', but the binding only supports specification of exactly one authentication scheme. Valid authentication schemes are Digest, Negotiate, NTLM,...
I would like to rewrite a subdomain so it is passed as a querystring to a site. Take the following scenario.
IIS Config:
Site A (bindings: *, site-a.com)
Site B (bindings: site-b.com)
Rewrite rules:
"sub1.site-a.com" -- rewrite to -> "site-a.com"
"sub2.site-a.com" -- rewrite to -> "site-a.com"
"sub1.site-b.com" -- rewrite to -> "site-...
Is there a programmatic way from the command line to change the .NET Framework version for a particular virtual directory in IIS 7.0?
We're using the mkiisdir.exe tool from NAntContrib to create virtual directories, but we need to change the framework version to 4.0 for the newly created virtual directory. mkiisdir.exe doesn't appear t...
i have following doubts while creating new sites in iis7
what should be value of host header in site binding. should it match with domain name ?
should website name and host header be same?
...
Is it possible to change the destination directory when using the metakey provider with msdeploy? I am syncing an IIS6 website to a II7 server, which is completely successful. I now want to try to customize some things like directory, bindings, logging, etc.
Example of what I'm using:
./msdeploy -verb=sync "-source=metakey=lm/w3svc/123...
Hello, I'm trying to run an httphandler (ashx) in a asp.net 4 website.
When I call it from Visual Studio integrated server, it returns a 404 error.
It works if I call it on the site configured into the local IIS.
Someone could help?
...