iis

Webservice wcf performance counters for queue

Hi, Am trying to performance test a wcf webservice which should get a lot of traffic. Which performance counters are sensible to use and for which purpose..Naturally I am looking at CPU and RAM, but I would like to know when IIS is queing and when its having trouble... Any advice on sensible performance counters gratefully received... ...

Lightest http host for server-side C# code.

I currently have a prototype web service hooked up to a single .aspx page under IIS. Calls to the server-side logic are made through an http mywebengine.aspx POST interface with common Post parameters for all server functions. No html is shipped from the web service, instead JSON data structures pass in and out on each call. The web ser...

Impersonated process will not log on to Oracle with Windows Authentication

Hello. I am running a asp .net web service on IIS7. The latter is running on a Windows 2008 R2 Server. IIS7/the web service is configured for asp .net impersonation. The worker process owner is set to NETWORK SERVICE. The web service invokes sqlplus.exe impersonated with his/her domain account on the server. I can see that through the...

How do I start WebDevServer from a .sln file without opening Visual Studio 2008

Is there a way to start WebDevServer (Visual Web Development Server) by passing in the .sln file without actually opening Visual Studio 2008? I am a JavaScript developer and I work in a client project and I want to save the memory overhead consumed by VS and give it to multiple browsers for cross-browser testing. I am hesitant with set...

Does anyone have a better way to monitor IIS application pools?

I would like to create a "System Health" web page which will monitor the application pools running on a web server. The web server has several application pools and is an Intranet (so no big security problems). Periodically it seems that some of these pools will hang/crash etc. and the recycle wont pick it up. (Separate problem) My id...

running iis7.5 on 32-bit windows 2008 (not r2)

Does anyone know if it's possible to run IIS 7.5 on Windows 2008. From what I understand Windows Server 2008 R2 is an exclusively 64-bit OS. Can we upgrade IIS7 to IIS7.5 on Windows 2008 (not R2) ...

How Expensive are ???-Hosted WCF Services?

A co-worker and I are having a discussion about WFC services when the topic of "cost" comes up. The question is this: Given that an IIS-hosted WCF service and a Windows-Service-hosted WCF service do the exact same thing, which service will be more "expensive" with regard to memory and CPU cycles if they both are accepting the same load...

SQL Server Replication Error

Hi, I have a SQL Server 2005 box set up for merge replication to SQL Server CE 3.0. The publication, publisher, distributor and IIS have all been set up. In my application, I attempt to sync the databases using the following code: //TODO: Change for production //*************************** string localDBPath = @"C:\Documents and Sett...

Mercurial server on Windows using ActiveDirectory for authentication

I'm running Mercurial's hgwebdir.cgi on WinXP over IIS as a central repo for sharing code with my team. I'd like to use ActiveDirectory to authenticate to the server when pushing/pulling through TortoiseHg and/or the command-line hg client. Has anyone done this or seen instructions on how to do this? ...

WCF service, possible to get a uniqueID for the service call?

I have a WCF service. When it gets called I would like to append a unique ID of a particular call to the log. Is there some built in way to get a unique id or GUID for a specific call to a WCF service. It is hosted in IIS, if that makes any difference. The OperationContext.Current.SessionId only works in situations where the binding ...

Getting System.OutOfMemoryException due to ASP.NET temp folder

I have hosted some 5 applications on IIS in my server. After sometimes I am getting System.OutOfMemoryException error due to out of memory in ASP.NET Temp Folder. Is there any way to clear it automatically or any setting for this. ...

Add a *new* DestinationBinding for a site to a package using MSDeploy

I'm using a staging model with MSDeploy to deploy a couple of our sites to a web farm. The sites are configured in IIS on the staging boxes only, and then MSDeploy is used to build the target web servers from scratch. The staging box uses its own bindings (ie no header entries, different IPs/ports and no host headers) for the sites tha...

How can I perform XSLT transformations in an HttpModule?

I've been trying to implement server-side XSLT transformations as an IIS HttpModule. My basic approach is to install a new filter at BeginRequest that diverts writes into a MemoryStream, and then at PreSendRequestContent to transform the document using XSLT and write it to the original output stream. However, even without performing the ...

Redirect from site.com to www.site.com?

What would be the best way of achieving a redirect from, lets say site.com to www.site.com on a windows server? I have access to the dns server also, if anything could be done there to help it along. I know you could do it by code (asp.net, php etc on your site) but i am wondering if it is possible only using iis and/or dns setup? I se...

Out of proc function call and HANDLE type returned (Windows C++)

I need to call one function using maximum privileges (NT AUTHORY\System) from other process (IIS7 module work process) running in same local computer in much less privileged mode (NT AUTHORY\Network service). IIS module will call that function passing some text (user name) and that function need to return HADNLE type witch will be close...

How to tell if the requested URL is HTTPS behind a content switch that call the server on http?

I have classic asp web page in which I am calling an XML source using MSXML2 on an IIS box. MSXML2 requires a full URL http://www.dom.com/path etc. and this all work very well until I tried to install on a server behind a content switch on https url. After some debuging I worked out the that the content switch didn't have path for http ...

How can my ASP.NET webapp spawn a program in a new thread within the same Process?

I have an ASP.NET application which needs to run a command-line tool. I want to start it under the same process as the application pool so it is subject to the IIS CPU throttling, etc. How can this be done? ...

How to detect that a file was successfully received by a webclient?

My question is similar to http://stackoverflow.com/questions/194579/how-to-detect-when-a-user-has-successfully-finished-downloading-a-file-in-php but I have to do the same using IIS, ASP.NET and C#. None of the methods in the HttpResponse class provide feedback if the data was sent or not, TransmitFile just does its job (or not) and doe...

Migrating an ASP.Net-MVC Application to a New Server

So basically, I developed this ASP.Net MVC application on a Windows 7 box with Visual Studio 2008. It works well on the local machine, and I was able to host it in IIS no worries. I then decided to upload it onto subversion, and fetch it on a different Windows Server 2008 machine. I downloaded it, had the IIS document root point to my ap...

IE hangs on web site when contacting web service

Hi All, I have a website that seems to be Ok in Mozilla but when I access some pages in IE (mostly the ones where it has to contact a web service) the page hangs. If I refresh and then click the same button again, it seems to work fine 90% of the time. As mentioned, the same features work flawlessly in Mozilla. I am not really sure whe...