iis

How to enable IIS/PHP to supports multiple request from localhost?

I've build and setup site in IIS 6, with FastCGI and PHP 5.3. And I've built a page named data.php which will be accessed via these two URLs localhost/data.php?news localhost/data.php?article the problem is that I can't open one of them while loading another one. Suppose I'm accessing localhost/data.php?news in browser and it will ta...

Access an internal site through an external site.

I'm pretty sure the answer to this question is no, but I just wanted to get some feedback before I go down another path. Here is my scenario. I have two websites. Website 1 is an internal website that cannot be accessed outside of our domain. Website 2 is an external website that can be accessed outside of the domain, but has acces...

BITS Credential Problem

Hi friends, i am facing the BITS Security problem. I am creating the application where i am using t BITS to upload and download the file to the IIS server. Now, my requirement is that i want to make my Virtual Directory password protected. i have done it through IIS>Directory Security i disallow the anonymous access. But from the clien...

How can we troubleshoot intermittent "An existing connection was forcibly closed by the remote host" errors when remoting

We have the "standard" three tier architecture with our middle tier hosted in IIS and accessed via .net remoting. These errors occur between our web and web services servers (front tier) that are remoting to the app servers (middle tier). We'll get this error 3-10 times a day out of ~130K total calls in the day. The exception and stac...

Application pool memory gets out of control after updating dlls

We are experiencing Memory issues every time we update the dll's using SVN. The IIS process(w3wp.exe) takes up more than 1GB of memory which is usually 300 - 400 Mb under normal conditions. So every time we update dll's we had to recycle the application pool. Is it because the old dlls are still cached even after updating them? Do we nee...

When an application pool is recycled in IIS, is the Application_End called?

I have some clean up stuff in Application_End method in Global.asax. When an application pool is recycled in IIS, is the Application_End called? or do I need to place the clean up code in any other function? ...

IIS can't find JavaScript and CSS files

Hi, I've been working on this for a while and was wondering if anyone has run into the issue of error 404 on IIS. More specifically, when I type in http://localhost/test/test.aspx, the page runs, but the referenced files (JS and CSS) are not being used. Does anyone have an idea on what this could be? keep in mind that I'm new to IIS (...

PHP on Windows: How to use web services with the logged on user's identity?

Hello, I have a Windows 2008R2 based intranet server running a PHP based intranet application in IIS. We want to improve the intranet now and integrate data from external systems, for instance data retrieved from the Exchange web services or information from a Sharepoint webservice. Log in for the users with their windows credentials wo...

IIS6 GZIP root directories that load a URL not compressing?

Hello, I just enabled GZIP for IIS6 with these instructions: http://weblogs.asp.net/owscott/archive/2004/01/12/57916.aspx According to the Google Chrome Developer Tools Audit, it's working for CFM, HTML, HTM, JS, CSS but it's not working when the site points to: /projects/ --- This is what shows in the browser In actuality it loads: /...

ServiceReference not updating at IIS 7

At server I have web.config to my application: <?xml version="1.0" encoding="utf-8"?> <configuration> <appSettings> </appSettings> <connectionStrings> </connectionStrings> <system.serviceModel> <bindings> <basicHttpBinding> <binding name="BasicHttpBinding_IService" closeTimeout="00:01:00" openTimeout...

Virtual Directory Authentication

Hi, I am developing a application where i am performing the Download/Upload using WebClient and BITS. i have a virtual directory in IIS6.0/7.0. i have to set the Authentication to the that directory(Id & Password). currently i m using basic IIS authentication in which we can pass id and password but using same user id and password we ca...

Share Session between two web sites using asp.net and state server

I have two exactly the same web sites hosted in two different machines under IIS 7.5. ASP.NET state service is running on my machine and the web.config is updated in both sites with the following code: <sessionState mode="StateServer" stateConnectionString="tcpip=192.168.1.77:42424" cookieless="false" timeout="120"/> The allow remote ...

How to Trace JAR file execution is hosted on IIS6.0 Server.

We are using few JAR files in our web-application hosted on IIS6.0 Server and those files are used in somepages, we want to trace the execution of those files (both in client and server side) however tools like httpwatch/Fiddler...are not helping us in this. Do we have any specific tool to trace the execution of the JAR files in IIS Envi...

Log memory usage of application pool using perfmon

I am trying to audit memory usage of applications using perfmon. The application pool processes in perfmon by default looks like w3wp.exe #1, w3wp.exe #2... Microsoft has a KB article http://support.microsoft.com/default.aspx?scid=kb;EN-US;281884 which shows how to associate PID's to processes. But PID's change when an application pool i...

Windows authentication in WCF & IIS to access a database

Hi there, I've got a WCF service I want to use to access a SQL db (via Linq2SQL at the moment), but the trusted security in a live IIS environment doesn't seem to use the right credentials - I've tried to follow the related posts here, but can't seem to quite get it. I'd be really grateful if someone could spot my mistake ... in the En...

Enable PUT on WCF REST Api on IIS 6 (without .svc file)

On IIS 6 how can I allow the PUT operation on a WCF Rest API? Since I don't have the .svc file (I added a route on global.asax to service class) I can't allow the put operation on the .svc extension on IIS 6. ...

ColdFusion - Prevention - Cross-site request forgeries (CSRF)

Hello, I'm interested in learning how to prevent Cross-site request forgeries (CSRF) in my ColdFusion 9 application. I found a few tutorials online but none seem to be comprehensive. The best I've found is: http://www.mollerus.net/tom/blog/2009/01/an_easy_block_for_crosssite_request_forgeries_csrf.html But that's not a incredibly compreh...

How to populate an ASP.NET web page from a desktop application.

Hi All, I am a Windows Application Developer with very basic web development experience. We are developing a Windows desktop application in .net that monitors and controls some processes over the network. I am thinking of giving a web interface to this application - meaning user can access some part of data from a web browser. (e.g. Sho...

Installing IIS after .NET Framework

I already have installed visual studio 2008.After that i installed IIS.so how can i configure IIS to work with .NET ...

Complicated URL Rewrite. Rewriting index.php, yet wanting to rewrite other.php to load without extension

I have an installation of CodeIgniter. Basically, my directory structure looks like this: | webroot |- ci_apps |-- application1 |-- application2 | ci_system | index.php | testing.php Right now, I can only load one application, which is defined in index.php. What I would like to do is be able to rename index.php to application1.php and...