iis

why is it, that On file upload, the Application_BeginRequest is not being triggered on published site?

Hi, I think part of the question is of course, how do I fix this: I have an ASP.NET MVC site which on the web development environment Cassini triggers the: protected void Application_BeginRequest(object sender, EventArgs e) { } on a file upload, but when I publish this to my IIS7 machine it will...

Hosting a long running process in IIS

Hi All, I have a design scenario that is giving me a few headaches and I'm wondering what solution is the best solution. I have a dashboard-like application that polls information from a service that requires a java RMI connection to gather real time data. I'd like to implement that dashboard component in silverlight and provide the...

Classic ASP "ExecuteGlobal" statement acting differently on two servers

I have a strange problem that I don't really know how to handle. In addition to developing a new ASP.NET site, I have to support the old "Classic ASP" site. It's written in VBScript with a batch of Javascript functions as well. Many of the Javascript functions are in 'include files'. Debugging these hasn't been a problem once I learn...

Can't see WSDL on Delphi CGI with IIS7

I created a very simple Delphi 2010 CGI web service and am able to get the exact same problem on Delphi 2007. My invokable interface looks like this: ISimpleTest = interface(IInvokable) ['{4E318A9A-D361-4A18-A963-EE6D7F70E9C5}'] function SayHello(const S: string; N: Integer): string; stdcall; end; And the function is implemented in...

Can I use host headers for an SSL site?

I want to apply a certificate to one of my sites on IIS. At the moment, I use a single IP address and use host-headers, to give them friendly names. Can I do this for my SSL site or do I have to use the server name? ...

Strange IIS 7 problem when using redirection for images

Hi, I have a very odd problem with IE7. I've created an aspx page, which contains several images. Images are included using standard img tag: <img src="/dir/image.jpg" /> This page is served through SSL. However, I don't want to serve any images through SSL, so I've used ISAPI rewrite to rewrite any SSL URLs. After I've done this, I n...

Can I create an inheritance-based filesystem in my webapp?

I have an app that contains different "skins", and most of these skins share the same images. For each skin, we have been creating a copy of the image directory, just in case one of the files is different. Is there something like object oriented inheritance for an IIS directory? Meaning if a file exists, use it, otherwise pull the file ...

Any "gotchas" with remotely-coded, locally-run .NET web apps on XP machines?

It looks like I am going to be on a project where, for deadline and expertise reasons, we are going to code a web app (.NET 3.5) that will be deployed to enterprise laptops to be run locally. Since my experience with developing web apps has only been with centralized servers that I can immediately jump on and take control of, I'm trying ...

Is it possible to change IIS settings from web config

I'm using url rewriting.net. I'm testing web on the local host, it is successfully work. But When i deploying web to remote host, url rewriting not work. Problem is (The resource cannot be found). I found problem. My deployed remote host IIS configuration is (Virtual dir->Properties->Home directory->Application Mapping->.aspx->Edit->"Che...

Identify Webserver & Script of a website

Hi All, I have got two simple questions How can I tell what server is a website on? I remember I used to read the HTTP Host Header to identify the type of server. Is there any tool to do it? 2a. A lot of the website have the page extension .html and you just know they are not html. How can I tell what programming language is behind ...

Why does our Backend Programmer handle SSL in this fashion, with a redirect?

Hi all! Here's the page in question: www.mchenry.edu/parentorientation. My question is: why does our Backend DB person handle the SSL this way, as a redirect? Isn't there a cleaner way to do it? BTW, we're running IIS. My suspicion is that she doesn't understand what needs to happen in order to make it cleaner, and she refuses to discus...

How to update ASP.Net site dll without stopping site

Hi, Is it possible to update the site dll for a precompiled site without stopping IIS. Currently, if I try to just copy the new file to overwrite the current file, All users receive runtime errors while the file is being copied. Is there a way to avoid this? ...

Force a logged in user to re-login by invalidating his session

I have an ASP.NET MVC application running on IIS7. I use sessions to keep track of logged in users. There is a session named IsSignedIn. ("true" means this user is currently logged in). I also have an administration page for my application. Now, say user1 who is signed in already, must be suspended from using the service immediately. ...

Empty variable in PHP script causes IIS7 to throw an HTTP 500 error

I am running IIS7 and PHP5 locally on my machine and the code above will cause IIS to throw an HTTP 500 error. After a lot of frustration and confusion I figured out that any PHP script with empty variable will throw this IIS error. Below is an example of this: <?php $x = $y; ?> I find this behavior very odd and it breaks a large perce...

ASP.NET - Session Time Out

In the web.config file for my application, in the <sessionState> section I have set timeout="60" (in minutes), but session state variables in my application seem to be expiring in about 1 minutes. Any idea what could cause this? ...

GZip encoding - what are the potential issues (old versions of IE etc)?

I can vaguely remember that there are certain older versions of certain browsers that do weird things with GZip encoding - in particular I seem to recall a bug in IE which resulted in JavaScript sent over GZip getting mangled. Vague recollections aren't much practical use though. Does anyone know exactly what kind of issues there are an...

ASP.Net MVC Wildcard Mappings IIS 6.0 - Page Can Not be Found

I added wildcard mappings to my website in IIS 6.0 so that my MVC application works properly but now I get a page can not be found for every request. Once wildcard mappings are inserted I can not browse to a test html file I created or any of my routes. The site works fine when the wildcard mappings are off and I create a application ex...

RESTful WCF Deployment HTTP404 error

Hi all, I just start learning WCF. I have created a very simple RESTFul Webservices using WCF Service Application template. When I run it on my local machine, I can access the url like this. http://localhost/MyServices.svc/GetItem/123 So, I published it and copied all files to the new Virtual Directory in the server which hosts IIS...

How to create an application in IIS using command line ?

What would be the equivalent, by command line, of the create button in the Home Directory tab in IIS 6.0 ? (Used to create an application on a directory). Edit : I already know of iidvdir. Unfortunalety, it doesn't seem to work the way I want it to (or I dont use it properly). Let's say that I have a website called Website for witch the...

HTTP Request Object and processing local requests

I have a web application that uses the CDO Message object to email reports. For example: Dim objCDO Set objCDO = Server.CreateObject("CDO.Message") objCDO.CreateMHTMLBody "http://server/report.asp" The problem is that when it makes its request to IIS, it does not inherit the ASP session identity of the logged in user i.e. the session...