iis

Logging information about the client making requests to WCF (WAS) webservice

I have a WCF webservice, a number of webservices actually, all using net.tcp and hosted in IIS through WAS. Multiple clients are calling these services, all are known but cannot be controlled (that is, I cannot change their code and therefore I cannot change the services either). Some of these clients are not very nice to the service and...

Does ASP.NET worker process still return data in chunks of 31kb

Does ASP.NET worker process still return data in chunks of 31Kb This MSDN article written in May 2004 specifies the following. When using the ASP.NET process model, the ASP.NET worker process sends responses back to the client, it first sends them through IIS in 31-kilobyte (KB) chunks. This applies to .NET Framework 1.1,...

how to get Application_Start (in Global.asax.cs) to be called before requests in asmx web service on IIS 6.0

Hello, in my ASMX WS Application_Start is called when 1st request arrives. It's kind of too late then for me. Is there any way to get it called when iisreset is done? In http://stackoverflow.com/questions/1820770/what-is-the-right-way-to-spawn-thread-for-database-io-in-asmx-web-service I asked about preloading system data and the guys ...

Small web-framework like Sinatra, Ramaze etc in .NET

Are there any similar frameworks like Sinatra, Ramaze etc in .NET? I'm in theory after a framework that let's me create an entire webapp with just one classfile (conceptually) like Sinatra. I'm going to use it for something work-internal, where ASP.NET MVC is too "big" (and I get confused by it's usage) and I have WebForms up to my ear...

Script to check IIS running or not

I would like to write a script to start IIS server automatically if it is stopped. ...

IIS Stop with Dr. Watson

IIS server automaticaly stop due to unknown issue or may be the cause Dr. Watson error, but this error open a simple "Application Error" box. and due to this my iis service not able to start automaticaly. until unless we will close this popup box. Can some one help how we can resolve this error and how we can identify root case? ...

IIS 7.0 Error - 500.19 Internal Server Error

Hi I am currently on a shared hosting plan with iis 7.0 I have an asp.net mvc application in the wwwroot of my hosting. Now I made a virtual directory to store my webservice in(I don't want to have to host this on a sub domain and pay extra) However when I put my web service code in my virtual directory and try to run it I get this E...

What is the best way to determine "user logout" on IIS server in C#/Asp.Net?

What is the best way to determine "user logout" on IIS server in C#/Asp.Net? I have an application where the logged in users can initiate long running activities on the server. Those activities need to be terminated when the user logs out. It is not a problem when the user clicks on the logout, but how do I determine that the user ...

what does 'run the ASP.NET worker process with dbo privileges' mean??

Hello, I am having issues implementing SqlSiteMapProvider using the Wicked Code article. I am using VB.NET and SQL Server 2008 - and the OnSiteMapChanged event is not firing (the SqlDepdencyCache just seems to simply be not working at all). The article states "You also need to run the ASP.NET worker process with dbo privileges for SQL ...

How do I get FubuMVC to work on WinXP with IIS 5.1?

How do I get FubuMVC to work on WinXP with IIS 5.1? ...

Disable QSA in IIS Mod-Rewrite

So I've got http: //www .domain.com/page.cfm?var=test redirecting to http: //www .domain.com/404.cfm?var=test I don't want the variable string included in the url at redirect. Kicker is I don't have QSA in the condition. So is QSA on by default for IIS Mod-Rewrite? If so how can I turn it off? RewriteRule ^(?:factory_outlets|public_st...

winnovative pdf - out of memory and other random exceptions

Hello, we have an asp.net 3.5 application that allows users to generate many charts and export them via pdf. This works fine for smaller pdfs (less than 100 pages), but when we do larger ones, we get random errors. some of the errors we have seen are: --System.OutOfMemoryException --Could not render the HTML string. Could not get imag...

Viewing raw XML build log on CruiseControl.NET under IIS7 - 404

I've installed CruiseControl.NET 1.5 (CTP) on a Windows 2008 server with IIS7. The installer doesn't create a virtual directory for the ccnet dashboard. No biggie, configured that manually, and also changed the AppPool to be Classic as opposed to Integrated Pipeline mode. The web dashboard displays and generally works fine (I can view ...

Issue with http:// and http://www.

Hi all, I have an application which is hosted on the stage server. If i use my apllication by giving the credentials it will open the site. URL => http://mysite.com but if i change the url to http://www.mysite.com, the site will show the login page again to enter the credentials(but the user is already logged in). Now on the staging se...

How should I run a background service for creating export files for a web site in the Windows world?

I've created a shiny new ASP.Net MVC site and I have offloaded the 'save as' type of functionality to a helper program that can be run in the background on the server so that the website doesn't need to take all that load. I created it so that it's easy to run from the command line and right now I have it running from a windows schedule...

<!-- #include file = "file.js"> does not work

I have some legacy html code that uses #include file = "filename.js" derective to load .js files to html page. The problem is that the files are not loaded. When I try script src attribute it works fine, that means that the path is right. I use vs2003, windows XP Pro, IIS 5.1 . Do you have any idea why the .js files are not loaded when ...

Apache routing to ISS - SSL Port issue

How things works (or should): We have lots of clients apps set on IIS but Apache is the one that receives all conections (from port 443) and redirect them to the corresponding port on the IIS server. The problem is: our application is building the URLs based on the IIS port (final port) instead of Apache's (default 443) one, even tho t...

Failure to compile Linq Method in App_Code

Hi, I've been scratching my head for what seems like ages. I'm sure its really simple to fix but I can't see it. I have a class in App_Code that uses a bit of Linq. var siteMap = SiteMapWrapper.BuildSiteMap(true); var currentTopLevelParent = siteMap.Single(s => s.IsActive); if (currentTopLevelParent != null) I've developed this loc...

Perl XS included from a “use lib” directory can’t be found by ISAPI.

I have a Perl web application that runs on both Apache and IIS6 on Windows Server 2003. On Apache this script works just fine. In IIS using ISAPI, I am getting the following error message: Software error: Can't load 'lib/auto/Sub/Name/Name.dll' for module Sub::Name: load_file:The specified module could not be found at C:/...

How can a WCF service listen the same port as IIS?

I could run a Windows Service hosted WCF service listening http://localhost:80/MyService while IIS was serving pages on http://localhost:80 and both works. But many places in the internet (like this and this) say that only a single process can listen each port simultaneoulsy. Are they wrong? ...