iis

how to use logparer for page stats

Does anyone have a script for logparser that will output a graph for daily page visits? ...

how can i set sitename from IIS in to my log4net created file

I am using log4net in my .NET projects and logs are being created with names like: C:\\Inetpub\\zz_appLogs\\<hard coded sitename>\\<yyyyMMdd>\\<hard coded file name with txt extension> Now I want to change the log file name with current site name in IIS. I have tried this in log4net settings but it didnt work: <file type="log4net.Util...

Do WCF / IIS timeouts need a rewrite?

This is one of those subjective community wiki questions (hope you don't mind), but recently I have been doing a lot of work on the WCF front and specifically hosting in IIS (not self hosting). Is it just me, or does anyone have issues fine tuning timeout values. I'll start by mentioning the sheer number of timeouts you need to fine tu...

Setting up IIS with System.Data.OracleClient

Hi guys! I have a asp.net web application that connects to a Oracle 10.2g database. If I'm running my site in the Visual Studio 2008 webserver everithing is ok, but when a publish it in IIS a get "System.Data.OracleClient requires Oracle client software version 8.1.7 or greater". I added all the permissions for the ASPNET, Authenticate...

New web applications throwing 404 error in IIS 6.0 and windows 2003

Hello, In my windows 2003 box, I am not able to create new web applications. My old ones are working absolutely fine. When I create a new one, when I try to browse the same I get the below mentioned error: HTTP Error 404 - File or directory not found. ...

WCF Thread was being aborted error

I have a WCF service that works fine in IIS 7, however once deployed to Windows Server 2003, IIS6, I'm now getting - "The thread was being aborted" error message. This happens after a few minutes of the service running. I've tried manually changing some timeout values and turned off IIS keep alives. Any ideas on how to fix this proble...

ASP.Net file upload/browser component

I might end up having to build this, but it would be nice if there is a solution already... I need to add functionality to a client's web page to allow them to upload files, and then to view and download them. We also need some form of authentication mechanism to restrict who has access to which files. I have used Neat Upload in the p...

Why web sites run under less privileged user account (IUSR_ComputerName)?

Usually we define iis web sites which allow anonymous authentication to run under the IUSR_ComputerName account which has very limited privileges. For example we may decide it cannot access the file system. How does that make our web site any more secured? The user cannot run code on it anyway - only our website code runs and we make sur...

Is it possible to change an ASP.NET Web.Config value at runtime without reloading the application domain?

Hi all, Is it possible to change a database connection string value in the Web.Config at runtime without reloading the application domain? The reason for doing this is that: I am building a multi-tenanted application which uses the one code instance and multiple databases instances approach, so the database connection string in the we...

IIS URL Rewrite Module : Rewrite Appends QueryString

Hi There I have the following rewrite rule. <rule name="cheapbastardz.signupcode" stopProcessing="true"> <match url="^signup/code/([_0-9a-z-%=\+\$]*)$" /> <conditions> </conditions> <action type="Rewrite" url="Page.aspx?sc={R:1}" appendQueryString="false" /> </rule> Now when the user click on a buton where the p...

IIS : What directories generate app restarts when files are changed?

I am aware that any change to ANY file in the BIN directory will trigger an application restart in IIS. Are there any other "special" cases where changing a file or moving a file in any other directory will trigger an app restart? ...

Calling an executable from within Python / Django web application running on IIS

Hi all, I have a Python / Django application which is supposed to call an external windows binary and get its output at some point. And it does so when tested via 'python manage.py shell'. But when it is run from within the web browser, which is served by IIS, the external application is not executed. Is IIS blocking something on the...

Can I run a ASPX and grep the result without making HTTP request?

How can I just make a function call, without URL, and without HTTP, to a simple ASP.NET file, and capture the byte stream it generated? More background information, I need a some kind of template can put a little logic inside, to render some INI like text files. I give up those libraries ported from Java and come up a solution of usin...

asmx web service in IIS: Any way to attach to process and get live feedback?

I am wondering if there is a tool that can be used to attached to the a single threaded asmx service call hosted in IIS, and return feedback based on the current actions the service is taking. I know I can setup tracing, and then monitor the trace, but I am looking for a more dynamic way to do this. Thanks in advance ...

SWF flash files not loading with IIS compression on.

I've got a bunch of flash files being served off a HTTPS site in IIS7. With content compression turned on, the flash files wont display. Does flash not support HTTP compression, or is IIS doing something unusual? ...

What is the Limit of IIS 6.0

What is the limit of IIS 6.0? like for example if i need to host 100,000 or 200,000 websites on IIS 6.0, how many machines would i need? or is IIS7 would be a better choice in this case for some reason? ...

Unable to run WCAT against DotNetNuke with NTLM authentication

I have a ubr file setup to stress test an internal DotNetNuke site with WCAT: transaction { id = "Intranet Home Page"; weight = 1000; cookies{clear = true;} sleep{delay = rand("1","500");} request { url = "/"; statuscode = 401; } request { url = "/"; ...

How to set the base path in IIS 7 hosting a WCF application?

I've been fighting my way through the process of migrating a (previously self-hosted) WCF application to IIS7 (I've never used IIS before and I realise that this is a very simplistic question but I failed to google/SO the answer so far). My service is hosted at http://xxx.xxx.xxx.xxx/SampleWebsite/Service.svc but when I access it with ?...

401 Unauthorized Error with Web Service

I must be missing something very basic. Here is the scenario We have a ASP.NET 2.0 WebService (Server 2003) with the following settings: SSL Integrated Security Anom. Access DISABLED Running under NETWORK SERVICE Exposed (i.e. can access from public internet) Service returns data from database using application username/password, does...

How to upload web.config file using WebDAV on IIS7?

I want to copy an ASP.NET MVC website to a remote IIS 7 server using WebDAV. I have created a site in IIS, enabled WebDAV and assigned a special application pool I have named "WebDAV Application Pool". Using a Windows 7 or Vista client I'm able to mount the remote site as a network drive. So far, so good. However, I have problems upload...