iis

CURL on PHP 5.2 works in CLI but not in IIS

I have a Windows 2003 Server running IIS with php 5.2.8, I'm trying to use CURL, and it works in CLI mode (if i execute php.exe) but it does not seem to be registered when running under IIS. The output of PHP info in both CLI and IIS show the same 'Loaded Configuration File', but under IIS it does not give the CURL info box. c:\progra...

Detect the file size of a link's href using JavaScript

Hi, Would like to write a script to detect the file size of the target of a link on a web page. Right now I have a function that finds all links to PDF files (i.e. the href ends with '.pdf') and appends the string '[pdf]' to the innerText. I would like to extend it so that I can also append some text advising the user that the target ...

What's the difference between Visual Studio's handling of memory and IIS's (out of memory exception driven!)?

I'm getting Out of Memory exceptions surrounding code I've written (about half the time the exception comes from my .dll and half the time it comes from the code just before my .dll; both places deal with bitmap images) when we put it on the live site, but not when we run it through Visual Studio or on our test server. I've been told tha...

Creating an IIS 6 Virtual Directory with PowerShell v2 over WMI/ADSI

I can create an IISWebVirtualDir or IISWebVirtualDirSetting with WMI, but I've found no way to turn the virtual directory into an IIS Application. The virtual directory wants an AppFriendlyName and a Path. That's easy because they're part of the ...Setting object. But in order to turn the virtual directory into an App, you need to set Ap...

Getting Http 403.14 error

Hi Guys, I have a MVC project and trying to host my web site using IIS 7.0 on my local desktop. My desktop has Vista x64 bit machine. I m getting 403.14 error. I have already tried the microsoft suggeston, but that doesn't help me. Does anyone know any other solution? Thnx ...

Problem in DLL update in .Net

My site stops working when I drop a new DLL in the bin of my virtual directory. It took to much time to work properly again. Sometimes I have to reset the IIS. Its happening since I upgraded my .Net framework from 1.1 to 3.5 ...

IIS 7.5 What am I doing wrong?

In IIS 7.5 under Windows 7 Utilmate, I have an application which is configured for authentication as follows: Anonymous & Windows In the ASP.NET Website, I have turned Forms authentication and identity impersonate = true I also deny any anonymous users. <authentication mode="Forms"> </authentication> <identity impersonate="true"/> <aut...

IIS 7, Asp.Net 4: Server cannot append header after HTTP headers have been sent?

I am getting the following warnings on the Event Log for a Asp.Net WebSite running on IIS 7. Exception information: Exception type: HttpException Exception message: Server cannot append header after HTTP headers have been sent. at System.Web.Hosting.ISAPIWorkerRequest.SendUnknownResponseHeader(String name, String value) ...

Access to the registry key 'Global' is denied.

While giving permissions to the 'defaultAppPool' user I am getting the message 'There is no such global user or group: DefaultAppPool.' Can anyone help me here! However, using command 'net localgroup "Performance Monitor Users" DefaultAppPool /add' I am able to resolve the error but i am facing this problem in Windows Server 2003/IIS 6.0...

ASP.NET and Application Isolation

Using IIS 6, is Application Isolation happen based on the Application Pool? If so, what happens when there is more than one Virtual Directory in one Application Pool? Do they all share the same memory and if one Virtual Directory crashes, all the other apps crash as well? ...

When the target of a .NET HttpModule RewritePath call is a PHP file the $_POST array is empty

Hello friends. We have an application running on IIS 6 which uses a custom HttpModule to rewrite urls. This works great (well done us) except in the case where the Context.RewritePath destination is a .php file. The php file is executed as expected, however the $_POST collection is empty meaning it cannot access any forms which are subm...

Using IIS URL Rewrite, how to rewrite foo.bar.com -> bar.com/myapp

Our web app lies at bar.com/myapp We'll use the HTTP Host Header to work out the username So need to transparently rewrite http://foo.bar.com to http://bar.com/myapp using the URL Rewrite module in IIS But still need to be able to go to www.bar.com and see the company website and webmail.bar.com, etc. ...

With IIS, how do I turn off authentication on WebResource.axd and other httpHandler "files"?

I have an IIS 6 server hosting a website that is authenticated with NTLM. I would like to turn on anonymous access to most resources, such as css, icons, and javascript. I noticed, using Fiddler, that an NTLM handshake is occuring for all resources pulled from WebResource.axd and other HTTP handlers I am using. How do I turn authentic...

Basic question about request queues in IIS / ASP.Net

I have an ASP.Net application running under IIS 6. A simple page has two radio buttons and a submit button. If I select radio button "A" and submit the page, a lengthy PDF file is generated, which takes about a minute to build. If I select radio button "B", a small PDF is generated. (In both cases the PDF is written out to the Respon...

What are the most likely reasons an application would fail on only one of my servers?

I have several servers to test new code on. I primarily push out asp.NET web applications. Last week, I had an issue where I installed a newly developed web application on three servers. The three servers all run in separate environments. The application worked fine on two of them, but consistently crashed on the third server with ea...

Pros and Cons of running Quartz.NET embedded or as a windows service.

I want to add quartz scheduling to an ASP.NET application. It will be used to send queued up emails. What are the pros and cons of running quartz.net as windows service vs embedded. My main concern is how Quartz.NET in embedded mode handles variable number of worker processes in IIS. ...

Where is IIS Out-Of-Process in Windows Server 2008?

Hi, I've installed all the components of IIS 7 on a Windows Server 2008 box but I don't see IIS Out-Of-Process Pooled Applications in Component Services. How do I get it ? I have a .dll file that I want to drag it here. I have IIS 6 locally and it has IIS Out-Of-Process Pooled Applications under Control Panel -> Administrative Tools ->...

How can I stop SQL Server Reporting Services 2008 going to sleep?

I have SSRS 2008 set-up on a server. All works fine except that if left inactive for a length of time the next time a request is made to the server it takes a long time for it to service it. I think this is to do with the worker process being shutdown after being idle for a certain length of time. However, as SSRS 2008 isn't managed t...

is it possible to run asp.net application in the context of an account of differnt domain

Hi, Suppose i work in a company ABC.com and another parent company domain XYZ.com. What must I do to run the ASP.net application hosted in a machine at ABC.com but use the windows credentials of XYZ.com? Thanks in advance ...

asp.net mvc route clashing with physical path in IIS7

I'm messing about with controller organisation and I've hit a problem. If I have the following physical structure /Home/HomeController.cs /Home/Index.aspx /Home/About.aspx and I request the URI: /Home/Index I get a 403 Directory Listing Denied :( (im using a custom IControllerFactory and IViewEngine to look in this non-default pa...