iis

Moving WCF service from IIS to a Windows service

We have an existing WCF service that makes use of wsDualHttpBinding to enable callbacks to the client. I am considering moving it to netTcpBinding for better performance, but I'm quite wary of moving away from the IIS-hosted service (a "comfort zone" we currently enjoy) into having our own Windows service to host it. I was hoping we coul...

Have you moved MOSS SharePoint 2007 out of the C:\Inetpub\wwwroot\wss\ folder?

Is it best practice to not use C:\Inetpub\wwwroot\wss\ for SharePoint? My concern is that the configuration wizard seems to look for this C: path and it may be too complicated to not use the default path(s), ...

How to deploy an ASP.NET Application with zero downtime

To deploy a new version of our website we do the following: Zip up the new code, and upload it to the server. On the live server, delete all the live code from the IIS website directory. Extract the new code zipfile into the now empty IIS directory This process is all scripted, and happens quite quickly, but there can still be a 10-2...

enabling/disabling asp.net web service extension via script

In IIS 6, I can use the Web Service Extensions folder in Inetmgr to allow/prohibit isapi filters, such as ASP.net. I want to be able to do this programmatically (in particular, from an installer script/exe). Any ideas? ...

Nifty live web tracking

I'm looking for a real time web log watcher that can visually display visitors as they browse around different pages etc. I'd like it to be a web application, it's going to be shown on a big screen in the office. Any tips? ...

How do I inspect the Asp.Net request pipeline?

When I measure request times on "the inside" of an Asp.Net application and compare it to timings on "the outside" of the app, I get different values -- 1000-5000ms strange overheads from time to time. Maybe the requests are beeing queued up in front of IIS? Or something strange is going on in an HttpModule? The question: Is there a ...

IIS 6, Wildcard Application Mapping, and FrontPage

While I'd love to get rid of requiring FrontPage Extensions on a heavy traffic site I host, the client requires it to administrate the site. Having just implemented Wildcard Application Mapping in IIS 6 on this site in order to provide integrated Forms Authentication security between ASP and ASP.NET resources, this breaks FrontPage exten...

How do I password protect IIS in a method analogous to Apache's AuthType / AuthUserFile mechanism?

I'm used to doing basic password protection for Apache w/ the following method in Apache config files: AuthType Basic AuthName "By Invitation Only" AuthUserFile /path/to/.htpasswd Require valid-user However, I've been asked to put some protection on a subdirectory of a site running ColdFusion on top of IIS6, and I'm unfamil...

How do I get PHP to work with ADOdb and MySQL?

I'm trying to get a PHP site working in IIS on Windows Server with MySQL. I'm getting this error Fatal error: Call to undefined function mysql_connect() in C:\inetpub...\adodb\drivers\adodb-mysql.inc.php on line 363 Update This link outlines the steps I followed to install PHP on my server: How do I get PHP and MySQL working on IIS...

How can I determine the number of users on an ASP.NET site (IIS)? And their info?

Is there a way to determine the number of users that have active sessions in an ASP.NET application? I have an admin/tools page in a particular application, and I would like to display info regarding all open sessions, such as the number of sessions, and perhaps the requesting machines' addresses, or other credential information for eac...

A good IIS Log Viewer for large log files?

Hi, I'm looking for a simple IIS Log Viewer that can open large (e.g. 100 meg) IIS Log files and give me simple filtering and searching tools. (IIS = Microsoft Internet Information Server, obviously) (OK, I know I could use Notepad, but I'd like something that can help me filter out the bits I'm not interested in) ...

Why can't I use Template Toolkit?

I am trying to use TemplateToolkit instead of good ole' variable interpolation and my server is giving me a lot of grief. Here are the errors I am getting: *** 'D:\Inetpub\gic\source\extjs_source.plx' error message at: 2008/09/30 15:27:37 failed to create context: failed to create context: failed to load Template/Stash/XS.pm: Couldn't ...

Remote clients Can't open XLS file using ASP.NET/ADO

I'm trying to do the following: User goes to web page, uploads XLS file use ADO .NET to open XLS file using JET engine connection to locally uploaded file on web server This all works fine locally (my machine as the client and the web server) - and in fact is working on the customer's web server with remote clients but is not working...

asp.net with IIS

I have develop a small ASP.NET application. It runs fine when running it with the small IIS installation that comes with Visual Studio 2005, but not when trying with IIS. I created the virtual directory in ISS where the application is located (done it though both IIS and VS 2005) but it does not work. In the begginning I though it might ...

linuXploit_crew hit my webserver.

We run an old Windows NT Machine, fully patched running IIS4.0. Today we were hit by "linuXploit_crew", and they took down our websites for a minute or two. (luckily we were quick to notice a change on the websites and fix it within minutes of the attack). However -- After fixing the website, I'm left with trying to figure out HOW this...

ASP.NET Deployment

For the last couple of months I have been writing an intranet site for my college with lots of reports for staff about students. It is all going well but once a week (ish) I am having to go to IT get them to log into IIS stop the application pool, clear out the website folder, clear out the temporary asp.NET cache and replace the website...

IIS Connection Pool interrogation/leak tracking

Per this helpful article I have confirmed I have a connection pool leak in some application on my IIS 6 server running W2k3. The tough part is that I'm serving 300 websites written by 700 developers from this server in 6 application pools, 50% of which are .NET 1.1 which doesn't even show connections in the CLR Data performance counter...

Access denied when creating a virtual directory via Web Deployment Project

I’m trying to use a (VS 2008) Web Deployment project in a TFS solution to deploy the web site to the (TFS 2008) build server to run web based unit tests. For some reason, that I can't yet figure out, it is failing to create the virtual directory: Using "CreateVirtualDirectory" task from assembly "C:\Program Files\MSBuild\Microsoft\WebD...

trace.axd returns a 404 error

On a .Net production server, I am unable to look at the Application trace. The web server returns a 404 error. When copying the files on my local computer, the trace works, making further testing impractical. The trace seems to be correctly set: <trace enabled="true" requestLimit="20" pageOutput="true" traceMode="SortByTime" localOnly...

Unauthorized Sharepoint WSDL from Coldfusion 8

How do I solve the error: Unable to read WSDL from URL: https://workflowtest.site.edu/_vti_bin/Lists.asmx?WSDL. Error: 401 Unauthorized. I can successfully view the WSDL from the browser using the same user account. I'm not sure which authentication is being used (Basic or Integrated). How would I find that out? The code making...