I have an ASP.NET web application that occasionally hangs after I build it. It is intermittent and there is no pattern to this. When I try to access it afterwards, IE just waits for IIS to respond, which it doesn't do, unless I restart IIS.
This is on my local machine, running Vista Ultimate x64, VS 2008, 1 web application, 8 addition...
I have a server that hosts a bunch of sites in PHP5. I have an old site that was designed for PHP4 that I also need on the server.
Originally, I was just going to port the code to PHP5, but have discovered that process is more intense that I have time for so I need to have PHP4 and PHP5 running on the same Server 2008 box.
I think thi...
This is intended to be a lightweight generic solution, although the problem is currently with a IIS CGI application that needs to log the timeline of events (second resolution) for troible shooting a situation where a later request ends up in the MySQL database BEFORE the earlier request!
So it boils down to a logging debug statements i...
Does anyone have any experience using IIS and basic network based round robin'ing to connect load balance tomcat servers (on separate physical boxes)? If so, any pointers you can provide would be greatly appreciated.
Thank you in advance!
...
While porting a webapp from IIS/asp.net to HttpListener something struck me as rather strange.
While both have a concept of Context, Request and Response, the HttpListener variants share no common interface with the IIS/asp.net variants, despite the fact that the interfaces are almost identical.
In order to work around this, I have cre...
title speaks for itself,
db.ExecuteCommand("INSERT INTO tCSVFile(fileName, fileContent, mimetype, timeCreated) VALUES({0}, {1}, {2}, {3})", filename, EncodeTo64(CreateCSVFile(header, rows)), "text/csv", DateTime.Now );
this works fine from the virtual server but on iis inserting causes nothing to happen.
Also tried this..
tCSVFile...
I'm using Mod Rewrite for IIS 7.0 from iis.net and want to redirect requests:
http://example.com/users/foo to http://example.com/User.aspx?name=foo
http://example.com/users/1 to http://example.com/User.aspx?id=1
I have created 2 rules:
<rule name="ID">
<match url="/users/([0-9])" />
<action type="Rewrite" url="/User.aspx?id={R...
In my ASP.NET application, I'm saying something like this to get the client IP address:
string ipAddress = HttpContext.Current.Request.UserHostAddress;
This is the normal, straightforward way that I've always used, and it's always seemed to work. Everybody knows that the above statement is just a wrapper for the REMOTE_ADDR server va...
How do I find out the .NET framework of an IIS virtual directory is using in C#. I need to display it to the user.
using System.DirectoryServices;
using System.IO;
private enum IISVersion
{
IIS5,
IIS6
}
private void ReadVirtualDirectory(string server, string directory, IISVersion version)
{
string siteID = string.Empty;
...
I receive an "Access Deined" COMException when I try to connect to a remote IIS 6 server from my C# application that is running under IIS 5.1.
Any ideas? I am experiencing all the same issues with the original questions.
Update - 4/1/09
I found this solution (http://www.codeproject.com/KB/cs/Start_Stop_IIS_Website.aspx) that consists...
I am looking for a nice easy step by step "How To" guide for getting a classic asp application working under IIS 7.0.
It is on a 64 bit windows server 2008 machine if that makes any difference.
...
I'm wondering how many folks using the Microsoft development stack (IIS and/or ASP.NET) are actually using REST? If so, what forms of rest are being used?
REST can be categorized a zillion ways, but for the purpose of this question I'll categorize it as follows:
Radically REST: Using all the
HTTP methods PUT/POST/GET/DELETE
Moderate...
I've installed IIS7 on my workstation and enabled IIS6 compatibility so I can test classic asp pages (for some old projects here at work).
Some pages work, but others don't.
I receive:
Serverobject error 'ASP 0177 : 800401f3'
Server.CreateObject failed
/master.central.be/master_connection.asp, line 55
800401f3
On that line i've g...
I would like to add some HTML to every page that our IIS 6 server serves. It's serving static HTML for the most part. Is this something IIS or an extension can do? I would need some control over how and where the HTML is injected, in this case before the tag. Thanks for your suggestions!
...
I would like to automate the following task with a script
to create an IIS script mappings for my project:
Go to Control Panel | Administrative Tools
Open Internet Information Services
Right-click the Default web site and select Properties.
In the Properties dialog-box select the 'home Directory' tab.
Click on the configuration button ...
I am currently writing an C# asp.net application to connect to an IIS server and query the virtual directory/web directory information.
I am able to determine that there are that two types I should be dealing with is an "IIsWebDirectory" and "IIsWebVirtualDir".
How to I determine if they have been configured to be an "application" in C...
Can anyone provide an example of how to loop through a System.DirectoryServices.PropertyCollection and output the property name and value?
I am using C#.
@JaredPar - The PropertyCollection does not have a Name/Value property. It does have a PropertyNames and Values, type System.Collection.ICollection. I do not know the basline object...
I'm trying to do something which I thought would be fairly simple. Get IIS 7 to tell clients they can cache all images on my site for a certain amount of time, let's say 24 hours.
I have tried the step on http://www.galcho.com/Blog/PermaLink.aspx?guid=490f3c31-1815-40fc-a871-5d6899fa35e0 but to no avail. I still get requests going to...
I maintain several subversion development branches on my development pc and build box.
How do you guys deal with opening a solution on one branch and having IIS get configured to that location. Then opening the same solution / project in a different branch / location and get "IIS Url Already Mapped to Different Location" ?
...
Hello. I have Windows Server 2008 running on one of my computers, and I have IIS 7 running on it. It is hosting my web page just fine, but when I try to use the remote managment for IIS 7 or even if I try to connect and edit my website remotely using Visual Web Developer 2008, it can't seem to find the server. Remote desktop works just f...