iis7

What to know about IIS?

As much as I hate to admit it, I am a definite noobie when it comes to IIS. I would like to learn more so I am more comfortable with it and don't feel so dumb around colleagues :) Obviously IIS in general is pretty big to tackle in a few paragraphs, so I would like to know what kind of things in IIS are really important to you on a day ...

ASP.NET MVC on Windows 7 RC and paramterized routes not working

Take a new MVC App, then code: routes.MapRoute("a", "a/{id}", new {controller = "Home", action = "A"}); public ActionResult A(string id) { return Content(id); } Going to http://localhost/a/sdfdgh results in: HTTP Error 500.19 - Internal Server Error The requested page cannot be accessed because the related configuration data for ...

Does IIS7 use different default membership provider?

Hello, Say I create CreateUserWizard control and use AspNetSqlMembershipProvider (defined in machine.config) as a default membership provider. Assuming I change default provider's requiresQuestionAndAnswer attribute to false, then CreateUserWizard control template should not be required to provide Question and Answer fields. But if I...

How to manage that aspx pages load faster?

Hi guys, I have a (big) problem that all of you that work with Webforms might have. The problem is the time to load a page. Using localhost (witch should be the fastest mode) in Vista (IIS 7) I get this graph original file link as you can see, it takes more than 17 seconds to show the page!!! and only 2 seconds to load the page it...

IIS7 URL Rewriting Module Replace

I really like the IIS7 URL rewriting module and so far, it worked great for me. There is one thing that I'm not sure how to do: I would like to permanently redirect all URLs that have encoded spaces (%20) in them to a URL that has the spaces replaced with a dash (-). So this: http://www.test.com/About%20Our%20Mission.aspx should be...

How can I find the name/ID of the WebApp that a page is running within on IIS7?

I have a page running on IIS7. I'd like to know the name or at least the ID of the WebApp that the page is running in. For instance, if you have DefaultWebSite>MyWebApp>virtualDirectory>myPage.aspx, I'd like to have a piece of code that runs within myPage.aspx and prints out the string: "MyWebApp", dynamically, depending on the name of t...

IIS7 Custom Error URL Redirects Not Working with non-physical files

So here's the issue. We run Sitecore, which does URL rewriting, and allows for something like example.com/Folder/Page.aspx to be a proper URL. Now, "Folder" doesn't actually exist on the file system, and neither does "Page.aspx". But those URL's work, because ASP.NET does what it's supposed to. Okay, so now say I try to go to a web p...

VS ASP.NET 500 Server Error

Hey guys, I'm having a super weird problem with my VS 2008 solution. We had this hand-coded ASP.NET compiled web app on our old IIS6/Win2003 server, working great, moved it to our new IIS7/Win2008 server, still working great, but when I try to compile the application and publish it again to our new Win2008 server, I get server 500 errors...

Installing IonCube on IIS7 / Windows Server 2008

Hello, we've inherited a PHP project from a client that requires IonCube. Our boxes all run on IIS7 and although we've followed the instructions for configuring it, it isn't loading the decoder library. Have any of you had any success with getting IonCube up and running on Win 2k8 (32bit)? I'm pulling my hair out over this so any help wo...

Error running ASP.NET MVC on IIS 7

Hi, I have been trying to deploy my asp.net mvc site to IIS 7 and having a bit of an issue. Whenever I run the site, I get a "Could not load type 'System.Web.Mvc.ViewPage'.". When I try to access a page with a master page, I get a Could not load type 'System.Web.Mvc.MasterViewPage'" error. I tried using tracing rules in IIS 7 to narro...

Problem in Caching Images in ASP.Net in IIS 7

I have implemented caching Images in my website, It is working fine in IIS 6 but not working in IIS 7 problem is images not shown on my website on iis7 hosted server but shown on iss6 hosted server I have implemented caching using this Article.... http://www.codeproject.com/KB/aspnet/CachingImagesInASPNET.aspx Does anyone have any idea ...

Firefox does not deliver pdf if it is handled by http-handler and inside iframe

I have a site that runs on IIS7 ASP.NET 3.5 I implemented a http-handler that serverves pdf. If I request a pdf-document (www.mysite.com/mypdf.ashx?id=doc1) in Firefox 3.0 I get the result in the browser. I now have an iframe on my page. The src - attribute is set to www.mysite.com/mypdf.ashx?id=doc1. The document is displayed in IE7...

Can I route HTTPS requests to HTTP application, using IIS7 ARR?

I have an application server installed, listening for HTTP traffic on a port which is not blocked from the world by a firewall. I wish to expose the services offered by this application only through HTTPS, preferably as a "sub directory" of the HTTPS site already hosted by the server. Using IIS7 Url Rewriting (as part of the ARR package...

Does ASP.NET use sockets to connect clients to each worker process?

I ask because I had heard that Microsoft may have implemented an optimized kernel level driver for handling HTTP traffic that then ushers it off to various worker processes through IPC and non socket mechanism. Is this true and if so is there any information on how this works. I'm asking in general for IIS6 and IIS7. ...

NHibernate Session with IIS 7

I have a ASP.NET MVC application using NHibernate and the application runs fine when running it through VS2008 virtual web server, but when I tried running the site through my local IIS server I keep getting this NHibernate error: No session bound to the current context. I don't know what happened. Am I missing something? I just have my ...

ASP.NET MVC Routing with a controller named "PropertiesController"

I'm having a tricky issue (bear with me as I'm new to MVC) with trying to use a controller (and a route subsequently) with the name PropertiesController. I believe this is because there is a directory (which I can't really remove) called "Properties" in my solution. Is there a way round this? The route setup is just one simple route: ...

Strange behavior for macro parts on umbraco site

Umbraco version: umbraco v 4.0.0 (Assembly version: 1.0.3327.20280) Asp.Net: .Net framework 2.0 Windows server 2008 with IIs7 Sometimes when viewing a page with a contained macro, the macro part of that page is completely removed, not rendered, no error no nothing only a incomplete page. Loading the same page again, it's rendered corr...

Are the features in IIS 7 on Vista Business the same as on Windows 2008 server?

We're migrating development to Vista 64 bit mainly so we can leverage >4GB memory on the dev PCs. IIS 7 looks pretty different to the flavour we've come to know and love on Windows XP Pro so we're looking at buying some reference materials. Would buying a book on IIS 7 targetted primarily to Windows 2008 be also applicable to the versio...

URL Rewrite language querystring

Hi I want to rewirte my querystring for selected language. I have this URL: www.example.com/?lang=en, and want it to be www.example.com/en It should rewrite on all pages. So www.example.com/contact.aspx?lang=en would be www.example.com/en/contact.aspx Is there a general rewrite rule for this? ...

Domain user access to SQL Server Reporting Services 2005 on IIS 7

What are the required steps to properly allow domain users access to reports via the Reporting Services web site? What I've tried: Added users through Reporting Services site (i.e. http://servername/Reports) Given users access through SQL Management Studio Result: users are continuously prompted by the browser for their credential...