iis

Sharing an HttpRuntime.Cache across two IIS applications

I have two ASP.NET 2.0 applications in IIS; a public booking system and an admin system to manage prices. There is a shared DLL project that accesses the database, used by both applications. To improve performance, the prices are cached in DLL code to save hitting the database on every request. However, when the administrator changes th...

http handler compression over iis

I found this article http://archive.webproasp.com/webproasp-27-20080620CompressingWebResourceaxdtoReduceYourWebsiteSize.html and it explains how to compress axd files (and js files). I wondered if there is any advantage in doing this over letting IIS handle the compression. ...

Does the web.config file settings override IIS settings?

For example, I can specify the session timeout in the web.config file by adding: <system.web> <sessionState timeout="10"/> </system.web> Or I can configure the session timeout in IIS by going to the Application Configuration Options. If they are both configured to different values, which one wins? And more specifically, do all ...

In IIS hosted WCF services, how to disable address translation?

When I publish my ASP.NET WCF service, the WSDL uses the machine name instead of the domain name. How to prevent this? Example: <wsdl:import namespace="http://ListenerService" location="http://MACHINE_NAME/ListenerService/service.svc?wsdl=wsdl0"/&gt; <soap:address location="http://MACHINE_NAME/ListenerService/service.svc"/&gt; ...

Operate on HTTP Request as it is received in IIS in C#

I have a need to override the receipt of a raw HTTP request as it is being communicated to an IIS server. I want to know if this is possible. We have a client who sends huge Web Service calls (tens of Mb) and we want to start acting on portions of those calls as they are being received (in order to get a faster total time of executio...

Does a WCF self hosted service handle more or less load than the IIS hosted option?

Does the hosting option affects the amount of requests a WCF service can handle? ...

Enabling windows authentication in IIS

I am on vista home premium (32 bit) and I need to enable windows authentication for IIS because the Sitefinity sample site returns a 401. However, in add windows features, there is no sign of windows authentication despite having expanded all the treeviews. How can I enable windows auth? Thanks ...

How to set the IIS File Security to Integrated Windows authentication with a Web Setup Project installer?

I wrote an ASP.NET web application with an installer. For the installer, I'm using the Web Setup Project under the Setup and Deployment project types in Visual Studio 2008. How do I set the IIS File Security to Integrated Windows Authentication on only one .aspx page or directory during the installation process using a Web Setup Proj...

Is there a way to configure IIS logs to retrieve the user details from forms authentication?

I am trying to analyse the IIS log and would like to look at the broken down by user. I can't do this at the moment because I am using Forms Authentication and IIS is logging everyone as anonymous, which obviously is expected. Is there a way to configure IIS to retrieve the user details from Forms Authentication? ...

Which steps could you take to minimize the effect of a potential (D)DoS attack in IIS?

With a single-server setup for simplicity, which steps could you do to minimize the attacks of a (D)DoS attack? And is it really worth it taking these steps, considering their effectivity and impact on 'normal' users? [EDIT] I also meant to include steps which you would need inject into your code to apply, not only IIS setup. ...

How to see if IIS is actually sending requests to ASP.Net?

I have setup in the script maps for a site in the IIS metabase a wildcard mapping to ASP.Net for a particular directory within the site. I have a handler setup in the web.config which should be handling requests for said path and it should never return an actual 404. I have this configuration in place for another site on the same serve...

Duplicate System.Web in GAC!

Hi I am trying to deploy an asp .net MVC app onto II7 and getting the following error: Could not load file or assembly 'System.Web' or one of its dependencies. An attempt was made to load a program with an incorrect format. The server has .net 3.5 SP1 and I tried including the dll in the website bin with no luck! I noticed in the GA...

Can I develop websites on Xampp and publish on windows based server? (PHP/IIS 6/7/Apache)

hi, I usually develop websites on the WAMP/XAMPP and host it on Linux servers. All works fine. But to meet some of the client requirements, we need to host a new project on to a Windows based server running IIS (I guess its IIS7, if not IIS6). I don't have access to a windows server on my local. So how I can develop with having an und...

Maximum memory size limit for ASP.NET application on windows 2008 64bit

Hi, What is the Maximum memory size limit for ASP.NET application on windows 2008 64bit? Thanks, Guy Bertental ...

Obtaining the culture of the web server

Is there a way to obtain the culture of the server my web application is deployed on through code? We are running an asp.net c# web application on an IIS 7 box with Crystal Reports installed. ...

URL Rewriter in IIS

Hi! I have a web site written in ASP.NET which uses url rewriter. in my older server, it worked good. but i changed my server, and in this server links which has no extension, like http://www.mydomain.com/public/test do not work. which IIS extension is needed for this. I don't have the source code of my web site. Please help me. It's ...

How to configure Sharepoint site for intranet?

I am basically a windows developer and very new to Sharepoint. I have Designed a small site in sharepoint on my virtual PC environment. I want to access it from out side of VPC environment and also from other local LAN machines [like intranet]. How do i configure (IIS/Sharepoint Adm) to make my site as an intranet site? I googled it,...

Windows Authentication in IIS 7.5 Fails with Trust Relationship Exception

I have an ASP.Net 2.0 application that uses integrated Windows Authentication to authenticate/authorize users. The application works fine on Windows XP/IIS 5.1, Windows Server 2008/IIS 7, and Windows Vista/IIS 7. When I try to run this application on Windows 7/IIS 7.5, I get the following exception: The trust relationship between this ...

HTTP 401 Unauthorized System.Web.Services

I am trying to access a Project Server 2007 web service. I am working on a Windows 2003 server with IIS 6.0 installed. When I try to connect to the webservice after adding a web reference to my VS2005 code I get HTTP 401 Unauthorized error. I have tried the following things and yet am unable to connect. Please let me know if you can ...

Make IIS not render pages as WML. Ever!

Some background I'm currently working on a mobile site so I keep switching user agent all the time in Firefox with User Agent switcher (lovely addon). But when I go to the admin site it renders as WML, which makes Firefox all confused, so it tries to download it rather then showing the content. And this makes me frustrated (not falling ...