iis

How can I disable the WebSite action in Wix when no web features are selected?

The Wix WebSite action has to be specified outside of a Component if you want to safely use the Default Web Site (by safely I mean the installer won't remove the default site on uninstall). <Fragment> <iis:WebSite Id="DefaultWebSite" Description="Default Web Site" Directory="INSTALLDIR"> <iis:WebAddress Id="AllUnassigned" Po...

Getting "The data area passed to a system call is too small" in ASP.Net on server, but not on localhost

I've been scratching my head over this for half the day now. I am trying to secure the application to prevent any URL tampering, so when i stick a very long sting into the form action's URL parameter, it gets trapped and handled locally just find. But, when i upload it to the server, i get the following error "The data area passed to a s...

Log Parser 2.2 skipping today's IIS logs

I'm trying to count the number of hits for a particular URL on our web site by parsing our IIS logs using Log Parser 2.2. Everything seems to be working fine, except that its handling of timestamps is greatly confusing me. The IIS logs have all of the timestamps expressed in UTC time. Therefore, in my application, I convert the server's...

What programming language is IIS written in?

I'd like to know this information for IIS versions 6.0, 7.0 and 7.5. ...

Is %20 in site urls and and file name can create any problem on any server or browser(web/mobile) or OS or device etc ?

Is %20 in site urls and and file name can create any problem on any server or browser or device etc ? Is it bad for SEO ? ...

HTTP Error 401.3 on created .gz file

Hi, I have method to compress file with GZip: public static void CompressFile(string filePath) { string compressedFilePath = Path.GetTempFileName(); using (FileStream compressedFileStream = new FileStream(compressedFilePath, FileMode.Append, FileSystemRights.Write, FileShare.Write, BufferSize, FileOptions.None)) { ...

Purpose of aspnet_isapi.dll hosted in w3wp - IIS 6 ?

What is the purpose of the ASP.NET ISAPI extension aspnet_isapi.dll that is hosted in the worker process w3wp.exe in IIS 6.0 ? In IIS 5.0, I understood that this ISAPI extension was responsible for handling all asp.net requests (aspx etc). It was loaded in the IIS process and was responsible for sending the requests to the ASP.NET worke...

ASP.NET in virtual directory is worth the effort?

I have been testing Umbraco because it's the most popular open source CMS in .NET out there and I was curious. It surprised me that is not possible to run it in a virtual directory. After working some time with ASP.NET and ASP.NET MVC I noticed that sometimes allowing your application to run in a virtual directory instead as well as in ...

Why won't IIS 6 redirect my request when it works with VS2008 development server?

here is the code in the global.asax file Protected Sub Application_BeginRequest(ByVal sender As Object, ByVal e As System.EventArgs) If LCase(Request.Path).Contains("/dir/") Then Dim M As Match = Regex.Match(Request.Path, "/dir/(\w*)/", RegexOptions.IgnoreCase) If M.Success Then Response.R...

How to set session timeout more than 20 min.?

I have a problem in my project. There is an admin panel in my website. People can login with a username and password can edit website content. Sometimes a user can take up to 30-40 minutes to enter content, but the session timeout expires after only 20 minutes. I tried to configure this in the web.config, for example: <authentication m...

Document library in .NET

Hi, I'm looking for document library. Which allow users to tag files in certain categories but let files saved on PCs in network. This database let users search on intranet website. And use IIS as Web server and MSSQL as db server. Any Ideas? Thanks! ...

Are there any webforum projects for ASP and IIS like there is for PHP and Apache?

I wonder if anything similar exists. If it does, I can't find it. Most webforums are written completely in PHP and are designed to run on Apache these days. Don't start any software argument here please. ...

PHP on IIS 5.1 is not working

I know this has been asked a few times here. But none of the suggestions or answers related to PHP on IIS have helped. I have tried installing PHP ON IIS 5.1 (XP SP 3) on two computers and it still doesn't work. I've even began to think that all of the articles and installers for PHP on IIS are a huge prank...and that PHP on IIS doesn't...

IIS 6.0 hangs when serving a web-service

Hi guys I am having issues with one of our web-services. It works fine on my development machine (win XP) whether I host it as a separate application or using cassini from Visual studio. Once I deploy on the web-server (win 2003 server)it throws some generic error and crashes the IIS worker process(W3wp). If I try to attach visual stu...

Empty Post with JQuery Ajax Post

Hi, I am getting a some unusual problem with JQuery ajax. I am using IIS to host my web application and I have http handler for which I have enabled only POST verb on it. Using JQuery ajax, I am posting data to this http handler, this is working fine in our development and testing environment and also most of the time on production envir...

inetpub versus any other folder

I've run websites out of inetpub, as well as from folders just residing on the C: drive. I wonder, are there any definitive advantages to running websites out of inetput\wwwroot? ...

How can I protect ASP.NET sites behind a Windows password and forms authentication?

I'm developing an ASP.NET MVC site that utilizes forms authentication for part of the application. During development, I need to be able to give external parties access to a development server hosting the site. Since I don't want to expose the site to the entire internet, I need to password protect it while still allowing forms authentic...

Setting hostname in IIS, include www?

I want to set the hostname for a website I'm adding in IIS 7, however do I include the www in the hostname or not? because I want both www.mysite.com and mysite.com both to point to mysite on the server. thanks! ...

CustomErrors only catches explicit page links

I have custom errors turned on and when I go to www.mywebsite.com/video/default.aspx it shows error which corresponds to 404 and this is fine but when I go to www.mywebsite.com/video/ it shows a generic iis 404 error. My other pages that have files work fine like www.mywebsite.com/photo/ would redirect to www.mywebsite.com/photo/de...

MOSS 404 errors for some users on certain sites, sometimes...

Title says it all. Everything works fine for most accounts 100% of the time but here and there some users who are able to access a subsite fine one day are greeted with a standard 404 the next. This can last for an hour or two days, it's really inconsistent. I check the iis logs and it says the status is also a 404 for these requests, ...