iis7

Trouble with cross network permissions for an image through iis7 in an asp.net virtual directory

I have load balanced web servers My application has a function that allows the user to upload their company logo to display in the application header obviously, when they upload the logo image file, it needs to be in a central location or otherwise, the file will not be accessible to the other server on the load balancer. in order to be...

Global.asax parser errors when deploying MVC 1 application to remote server.

So we're having some issues deploying an ASP.NET MVC app to a client site. Basically when we try to test the app from localhost, we get the dreaded Global.asax parser error indicating it could not load the application global. Research indicates there are basically 4 possible reasons for this exception we're seeing: The solution hasn'...

Where's "integrated windows authentication" IIS5 checkbox equivalent in IIS in Win7?

In IIS 5 & 6 there's a tab called "Directory Security" where one can define the authentication access and check the "Integrated windows authentication" checkbox. I can't find the same options in IIS Manager in Windows 7. ...

Redmine with IronRuby (Windows)?

Has anyone tried to run Redmine using IronRuby? Is it possible? ...

IIS7 and Enforce lowercase URLs

I tried to use option in iis7 Enforce lowercase URLs, but when i enabled it all images that had *.JPG extension (uppercase) stopped server. in prev version of iis it was ok when using upper and lower cases, it returned same source may i fix it? or should i create rule for each extension like (jpeg, jpg, gif...) ...

Session_Start, IIS7 and constant session resets

I have been using Session_Start to make database transactions as a way of tracking server activity. We recently migrated to a new server with IIS7 and suddenly some of our most active sites seem to be abandoning/restarting sessions constantly with the same session ID each time. This is of course wildly inflating our access counts and b...

Best practices for deploying an MVC application on IIS7

I'm not a web admin, and I'm new to IIS. So, I'm looking for advice. My MVC application (e.g. fooapp) is the default application for my site (e.g. foo.bar). I used IIS Manager to add the site to IIS7. When I import the application, IIS Manager wants to put it in it's own directory (/foo), and tells me I shouldn't put it in the base (sit...

url rewrite for aspx page

I have a page, called foo.aspx and i d like to rewrite the url as bar.something How to do this? How does url rewrite happens in asp.net Should i create a generic handler? or should i get some url rewrite modules and add to app? ...

IIS7 permit access only to local network

Hi, I am having a problem with the IIS 7 on a Win 2008 server. I only want to have access to it inside my network and denied access from anyone outside the network. I had created a rule to permit access to the group of computers with the IP: 192.168.0.1 (255.255.255.0). In the IIS6 this was enougth to prevent access of any IP that don't ...

IIS url rewrite rewriting all .asp to .html

I need to create rules for web.config that will rewrite all requests for files with extension .html to .asp and redirect all .asp requests to .html Example: file_xyz.asp rewrites to file_xyz.html directory1/file_xyz.asp rewrites to directory1/file_xyz.html and file_xyz.html redirects to file_xyz.asp directory1/file_xyz.html redire...

HTTP Error 405 from a Tooltip loading another page.

I have a web page that uses tooltips. I am using Prototip specifically. One of the options is to use Ajax to load another page within the tool. The Ajax functionality is coming from the Prototype framework, http://www.prototypejs.org/api/ajax/request/. All I really want to load is an image. I just don't want the image to load on pag...

How to adjust asp.net URL routing based on domain/host?

What's the best way to adjust the path destination for a routing table created in the global.asax Application_Start event based on the domain/sub domain/host? The following worked in IIS6, but with IIS7 the request object is decoupled from the Application_Start event and therefore does not work anymore: Dim strHost As String = Context.R...

Are the old httpHandlers and httpModules elements needed in IIS7?

I'd like to clean up the web.config and remove unneeded XML. A default ASP.NET 3.5 web application has the follow elements in the web.config: <httpHandlers> <remove verb="*" path="*.asmx"/> <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Cul...

app_Offline.htm doesn't work for subfolders of my application in IIS

I have placed an app_Offline.htm in the root of my IIS7 application. This works for calls to pages on the root, but not for calls to pages in a subfolder of the application. How comes? And how to make it work also for subfolders? ...

IIS browse directory problem on a virtual directory

I have two differents virtual directories mapping to the same directory on the OS. In one of this virtual directories I need to have the browse folders disable, and in the other one I need to have it enable. The problem is that when I changed one of them the other change as well. I thinks this problem is related that both virtual direct...

Where exactly to set cache expiration on css content?

It seems that my browser checks for a new css on every request. Where and how do I indicate the time before checking for a new css? ...

file_get_contents() returns "failed to open stream" when hitting HTTPS

file_get_contents() is returning "failed to open stream" when I call it on an HTTPS URL. Warning: file_get_contents(https://google.com) [function.file-get-contents]: failed to open stream: No error in E:\\htdocs\callback3.php on line 5 Same call will work with a non-SSL URL. At first, I thought it was a security issue with my webhost...

How can I find out if anyone is currently on my website?

If I wanted to see if there are any users currently on my web site, how would I go about doing this? (Excluding netstat) The server is Win Server 2008/IIS 7 Thanks Kevin ...

Folders created with **SUBST cmd** not working on IIS 6

Folders created with SUBST cmd not working on IIS 6. In IIS 7(with windows 7) the virtual drive is not listing when browsed inorder to set physical path for virtual directory. Can any body tell me how to solve this problem? Is there any better method to create a virtual drive other than SUBST ...

Add / Remove the default documents of IIS7 using vb.net 2.0 windows application

Hai, I wrote the coding for add / remove the default documents of IIS7 in vb.net 2.0 windows application using Microsoft.Web.Administration.dll. The coding is working fine. After adding a new document, the messagebox showing that newly added document name. Simillarly if I remove any document, the messagebox not showing that document nam...