iis

How to detect if the current application pool is winding up in IIS7.5 and Asp.Net 3.5+

Well - exactly as the question subject states - any ideas on how you might do this? I've been looking over the objects in System.Web.Hosting but nothing is standing out. The reason? I'm getting one or two application errors which are typically occuring during a recycle (they happen about 25 hours apart and I've left my app pool recycl...

IIS Virtual Folders Permissions per User Account

I have a website with the below structure for saving product images: ~/fileserver/{user_id}/{file_id}.{file_extension} I want to restrict access to each {user_id} folder and let only the specific user to retrieve that image. How this can be done? Do I have to set something in IIS? ...

How to develop a snap-in for IIS 6.0 manager in MMC 2.0

I have some IIS 6.0 filters and extensions that I need to create a configuration panel for in IIS Manager. I need to create something similar to the ASP.NET tab, for instance. I need to support versions of Windows Server 2003 prior to R2, and can't assume that they will have the MMC 3.0 update installed, so I guess I have to do it with ...

How do I export IIS7 site and app pool settings using Powershell and the Web Administration Provider?

I would like to export the site settings and app pool settings for a specific site in IIS7 using Powershell so i can restore them on another server. Anyone knows how to do this? ...

Firefox Error Message "filename part could not be saved, because the source file could not be read"

Hi There, This error is discussed in many places on the internet. It's a strange problem as some Firefox installs will work and others won't even if they are the same version. Some Chrome installs don't work either but IE always seems to work. There are a number of discussed solutions; mostly based around cleaning out "corrupt" files fr...

Is it possible to install the Web Deployment Handler (WMSVC) on Windows 7?

I would like to install the Web Deployment Handler service on my development machine (Windows 7 with IIS7) for test purposes, but according to the documentation on MSDN (http://technet.microsoft.com/en-us/library/dd722796(WS.10).aspx) it seems like it can only be installed on Windows Server 2008 with IIS7. Anyone knows of a way around ...

Relative URLs, URL Rewriting, and Virtual Directories -- oh my!

We're currently using a shared host to save on cost. We have our public website and our SaaS product hosted under virtual directories (/app and /public) on our shared host. We give vanity subdomains to our clients (i.e. client1.myproduct.com) so we have a couple of rewrite rules to make everything work correctly. Kind of irrelvant to th...

Enable event logging of unhandled exceptions in ASP.NET

I am getting this error: Server Application Unavailable The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh" button in your web browser to retry your request. Administrator Note: An error message detailing the cause of this specific request failure can be...

Should I avoid installing WordPress in IIS?

I was asked to install numerous WordPress sites in IIS. I'm wondering, should try to convince my clients to use Apache instead? Should I avoid using IIS? Things I'm concerned about: 1 - According to this Q&A, permalinks work differently in IIS : http://stackoverflow.com/questions/2993221/moving-wordpress-from-apache-to-iis 2 - I have ...

Consume a .NET Assembly from a classic ASP page.

Hi, I have an old .net 2005 web site that has some asp pages and having object reference problem accessing .net dll. The maintenance task was handed down to me and the original developer is nowhere to be found :( I started at .Net already so I don't really master handling this dll hell kind of problem. On the arrow below is where I'm...

Zend Framework: From a folder (not /)

i notice that when i run a zend framework app from a server, there are alot of side effects. main issue is where i use urls like /auth/login i need to use $this->baseUrl('/auth/login'); thats simple to fix. but when i use $request->getRequestUri() for use in redirects. eg after login, i want to redirect the user back to the pr...

Rewriting a domain name so it is handled by a different server binding... Is it possible?

I would like to rewrite a subdomain so it is passed as a querystring to a site. Take the following scenario. IIS Config: Site A (bindings: *, site-a.com) Site B (bindings: site-b.com) Rewrite rules: "sub1.site-a.com" -- rewrite to -> "site-a.com" "sub2.site-a.com" -- rewrite to -> "site-a.com" "sub1.site-b.com" -- rewrite to -> "site-...

IIS returns 403.14 error if a physical path corresponds to url

Is there a way to override IIS and tell it to always let handler handle requests? At the moment if, for example, "path" is an existing folder in root, url is "http://domain.com/path" and there is no "default" document in folder, IIS will return a 403, even if that path is defined in my custom handler. I can't think of anything other than...

I'm getting this error on my Facebook App tab - illegal tag "body" under "fb:tab-position"

I'm using IIS and have heard that I may need to configure IIS to accept Post request can someone walk me through this. The app works just fine as a stand alone it's only when the tab gets displayed that the problem occurs and I get the above error. I have a thorough understanding of the postbackURL and the tab url as that is not the pr...

Using ASP.NET to create a windows authenticated token from a basic authenicated web site

Hi all Inside IIS I have a virtual directory which is protected by basic authentication. What I want to do is allow the user to authenticate themselves, then use an aspx page to create a windows token and redirect the user to an xbap inside a virtual directory secured by windows authentication. The reason behind using the initial aspx ...

Is there a better way to check for Virtual Directory and if not, Create it?

Hi All, I have some vbscript code I use to set paths to virtual directories when a developer switches his/her environment to work on another project. Currently, we try to set the path, and if there's an error, we create it. It just smells funny. Is there a way to check if a Virtual Directory exists? And if not, create it? set objIIS = ...

How do I Configure IIS to accept POST requests?

I know by default IIS doesn't accept post requests how can I change this setting. Can someone walk me through changing this (step by step).. Please? If so I'm more than willing to be your friend in the afterlife. ...

Restrict file access -- only read through PHP

Ok, I am using a GoDaddy web hosting plan on a Windows platform. This was not my choice -- it has to do with a different part of the actual site using ASP.NET (also not my choice). I have a SQL database with a bunch of entries with some non-sensitive customer information. The primary key on this is an AutoIncrement integer, and I have a ...

Error uploading in high speed internet connection?

Hi, We have a site with video upload option. we are using slick upload to handle the upload process. When i try to upload a sample file on low speed internet connection[Cell modem], which is very slow, the upload took an hour, but it completed successfully. I did the same with a high speed internet connection, but its failed. I tried ...

How do I remap a URL?

I need to move an old legacy web service to a new location. It will be under a virtual directory now rather than it's own website in IIS. Unfortunately I can't change the config settings for a client that is using the service, so is there a way to map the URL from the old address to a different site in a virtual directory? Eg. http://o...