iis

IIS 6.0 and ASP.NET - Could not write to output file ... The directory name is invalid

I'm running IIS 6.0 on Windows 2003 and started getting this error: Compiler Error Message: CS0016: Could not write to output file 'c:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\root\7382c13f\ea9b3ff7\App_global.asax.zodyof_q.dll' -- 'The directory name is invalid. ' I've checked all the permissions, and every...

what is asp's Request.ServerVariables("AUTH_USER") jsp equivalent?

well, on a IIS web site with integrated windows authentication and no anonymous access, I can retrieve the logon username of the user, something like like domain\user... is it possible to achieve this with jsp on tomcat? (or any other container) I've tried with request.getHeaderNames (on tomcat) but I only get host, user-agent, accep...

IIS: Anonymous and WIndows Authentication

Scenario For a multiple file uploader I am implementing, I need to have a handler within a windows authenticated site that uses anonymous access. As detailed here, this is because Flash cannot use windows authentication. The aforementioned post states that the only way to accomplish this is to create a completely separate site. Howev...

How do you debug ASP.NET applications under IIS7 on Vista?

There is a post on IIS.net titled "Using Visual Studio 2008 with IIS 7.0", but I don't quite believe that's what people do. (Among other gems, it suggests publishing your web app after every change.) If you debug your ASP.NET applications in IIS7 instead of Cassini, I would love to hear your methods, tips, and tricks. Edit: I'm referr...

Is there a way to have a Web Farm that serves two different application versions using IIS 7

I have an ASP.NET application. I want to be able to invsibly rollout new versions to our customers (all users logon). I want an "old" site and a "new" site. The user has one url. Once they are authenticated, they are sent either to the "old" or the "new" site depending on their database version. Is this possible with IIS 7? How bes...

i get this error when i try to access file from iis of another system

You do not have permission to view this directory or page using the credentials you supplied ...

Should DFS be used to sync wwwroot?

I'm wondering if it's a good idea to use DFS to sync content across a web farm? Does anyone have any experience of this? We've used Robocopy in the past but found it a little patchy and clunky. Essentially we want to avoid having to make ten changes to content each time one file changes (this happens a lot since our site is old and usues...

Be notified of an IIS Reset ?

We have a system with a web app and a bunch of Windows Services doing some background work. Whenever we need to make a more substantial change to the system, we end up having to issue an IIS Reset, and then manually restart all relevant Windows services. Is there any way at all to be notified of such IISReset events in C# code, so that...

Performance differences running PHP under Windows/IIS 7 vs. Linux/Apache?

There is a PHP application right now on a Linux box running under Apache with MySQL. Since we are a windows shop, management wants to get rid of the Linux box and move everything over to windows. Is there a performance difference between the two platforms? Or, is there any significant difference at all, in terms of performance or managem...

Problem consuming deployed asp.net webservice to IIS6

When trying to update the web reference to a deployed asp.net webservice from a windows forms app, I get an error. Unable to download following files from .https://webserver/webservices/myservice.asmx?wsdl For some reason it is looking at a host called webserver, but that isn't what it needs to look for for the WSDL. It needs to look a...

ASP.NET Masters: What are the advantages / disadvantages of using Session variables?

I've done a search on this subject already, and have found the same data over and over-- a review of the three different types of sessions. (InProc, Sql, StateServer) However, my question is of a different nature. Specifically, what is the advantages/disadvantages of using the built in .NET session in the first place? Here is why I am ...

set property syntax in Powershell

I am new to PowerShell, I am trying to change a property of an IIS website using the following syntax (which doesn't work) (get-item 'IIS:\Sites\Default Website').logFile.directory = 'd:\' It doesn't show any error but doesn't change the property either. Anybody help? ...

running asp.net 2.0 and 1.1 on same site...works in one area but crashes another

Our site is running ASP.NET 1.1, and I need to have ASP.NET 2.0 running in a separate section to the same site until we get it fully converted over. I created the new folder and in IIS, I ‘create application’ process on the folder. Then, I went to the ASP.NET tab and changed the version for my new app to 2.0. This works fine on my loc...

How to get IIS application info via WMI

How would I get the actual directory path of an IIS application (virtual folder) using WMI? ...

.NET 3.5 missing from the ASP.NET drop down in IIS after new install

I have just installed the .NET 3.5 Framework to my Windows 2003 server and when I try to create a new website I can't select 3.5 from the web site properties ASP.NET tab in IIS. This works fine with 1.0, 1.1, and 2.0. I know the framework install process was completely different with 3.5, but I assume it should be available in the drop...

Exporting IIS configuration

Windows 2003/IIS 6... I have a virtual directory on a web site that closely mirrors the configuration another virtual directory on the same site will need. Since we have multiple dev/staging/test/prod environments, I'd like to be able to export the values of one virtual directory and quickly fire one up on either the same machine (with ...

Can you change the order in which IIS6 virtual directories appear?

I have a shared development server with many virtual directories running off one of the websites. Is it possible to reorder how these virtual directories are displayed in IIS? I tried looking at the metadata, using the Metabase Explorer, but there doesn't seem to be anything that drives the display order. ...

How can I manually add assemblies to IIS's caching system?

My web service needs to access classes from external assemblies. The names of the external assemblies are only known at run time. Because the external assemblies are not explicitly referenced by the web service at compilation time, they are not cached by IIS. The result is that these assemblies are left in the web service's root director...

How long does SSL connection between a client and a server persist?

Hello, I've just started learning SSL and boy is it confusing Q1 - How long does SSL connection between a client and server persist? Until client surfs to some other URL or…? Q2 A) Assume a client (browser) establishes a SSL connection with a IIS server. Now how does IIS figure out on each postback that it is dealing with sa...

Will I have to rewrite any major pieces of code for iis7.5?

Does anybody know if there are any major changes in IIS7.5 that is coming with Windows 7 that will require rewriting all or a portion of a major website (CMS). Obviously not knowing my code, it is hard to judge this, but I haven't found any announcements of what is expected in IIS7.5 and would like to get a heads up. ...