0
голосов
1ответов
343 просмотров

How to prevent a IIS7 Rewrite rule from loading ASP.Net Ajax Client Framework?

I'm developing a webapplication where users will have a custom url just like in Twitter (twitter.com/holiveira). I've created a redirection rule that points to a page where I use the string after the domain name to search in the database. The problem is that this rule is preventing the Scriptres...

0
голосов
1ответов
439 просмотров

'+' causing bad request in URL's

I am Server.UrlEncode on some query string parameters and locally it is fine but on my server (IIS 7) it causing a Bad Request error. I am using ASP.Net MVC. If I manually change the + to a dash - the request works fine. This breaks: http://www.example.com/Glenn+Pang/234 This works: http:...

3
голосов
1ответов
3590 просмотров

IIS7 + ASP.NET MVC Client Caching Headers Not Working

I've deployed an ASP.NET MVC app on IIS7 and Windows Server 2008. I've read posts on here, and around the web, but can't get the darn client-side caching to work. I'm trying to cache everything in the /Content folder. So far I've select that folder in IIS manager, and set the appropriate HTTP ...

1
голосов
1ответов
2185 просмотров

Problem with getting custom errors to display on IIS7

We're running a site built in EPiServer (CMS5 R2, latest version) and ASP.NET 3.5 that's running on IIS7, we've built a custom error handler that utilizes the URLRewriter-functionality of EPiServer to handle 404 and 301 status codes, everything works locally (Windows 7 + IIS7.5) but we just can n...

1
голосов
1ответов
3880 просмотров

How come redirect isn't working in IIS 7 ? Http> Https

I am using Server 2008 with IIS7 and have confirmed the HttpRedirectionModule is installed. But when I define a redirect for websitexxx.com as https://websitexxx.com I get Forbidden, access denied 403 error? I can access the https://website.com site just fine. Does this just not work or wha...

1
голосов
3ответов
7669 просмотров

IIS7 fails to load aspx pages

I've been trying to migrate a fairly large web application from IIS6 to IIS7 the past few days, but every time it seems like we're about done, IIS7 fails to load aspx pages. The application is a .net 3.5 webapp that makes heavy use of reflection and web services. We use 2 main components (each w...

0
голосов
2ответов
1973 просмотров

404 with iis7 asp.mvc doc and pdf files in folder

I have got folder "binaries" in my web application. I would like to download pdf and doc (static ontent) files from that direcotory but when i try to get them i have got error 404. I tried to set up static module for *.doc and *.pdf but it not works.

3
голосов
2ответов
41262 просмотров

How to upgrade from IIS 6.0 to IIS 7.0 in windows 2003

I have to deploy my WCF service on IIS 7.0 in windows 2003. Currently windows2003 has IIS 6.0 installed already. I like to know: How/Steps to upgrade from IIS 6.0 to IIS 7.0? Is there any installer for IIS 7.0. I am googling it but it gives the reference of setup that upgrade my internet explor...

2
голосов
2ответов
1649 просмотров

MVC App Works in Visual Studio, but not IIS7

Working on a an ASP.NET MVC Project, and I'm having some difficulties deploying to a shared dev server. Locally, when debugging using the local Visual Studio 2008 server, everything works peachy. However, once deployed, I receive the following error: Parser Error Description: An error occur...

3
голосов
2ответов
1677 просмотров

What is the best way to optimize a Windows Server 2008 box running IIS7 to serve only static files?

I would like to have our web applications pull static content (css, js, images) from a static file server running Windows Server 2008 and IIS7. What sort of optimizations would you make to the server for this single purpose? (Machine.config changes? Web.config changes? Special IIS7 setup or mod...

39
голосов
4ответов
66109 просмотров

Rewriting URLs from https:// to http:// in IIS7

I'm trying to rewrite urls from the form: https://example.com/about to the form http://example.com/about using IIS7 URL rewriting: <!-- http:// to https:// rule --> <rule name="ForceHttpsBilling" stopProcessing="true"> <match url="(.*)billing/(.*)" ignoreCase="true" />...

2
голосов
2ответов
3654 просмотров

IRouteHandler in Web Forms: Routing requests that require HttpContext.User

I'm trying to add a pretty basic route to an Asp.Net Web Forms app (running under IIS 7, integrated mode): for requests coming to http://mydomain.com/foo/ I would like to show the results of a dynamic page (http://mydomain.com/foopage.aspx). I've created a RouteHandler that does all this and it ...

20
голосов
6ответов
64741 просмотров

How to solve a "HTTP Error 404.3 - Not Found" error?

Simple problem. I start up VS2008 and create a new WCF Service application. This will create a default application with a few test methods showing it works. I press CTRL+F5 and it does indeed work! Great! However, it uses the Visual Studio Development server, which I don't want to support. So I ...

3
голосов
3ответов
4181 просмотров

Postback intermittently not working with ASP.NET 3.5 and IE?

We have an ASP.NET application that we recently migrated onto a new server with IIS7 and .NET 3.5. In this new environment, some users that are on IE (6, 7, or 8) are experiencing bizarre intermittent problems with postback not working on ASP.NET buttons. (you click the button and nothing happen...

7
голосов
3ответов
63348 просмотров

IIS7/Win7 - Make sure that the application pool identity has Read access to the physical path

I am running a localhost instance (so domains are not my issue!) on my laptop utilizing Win7 and IIS7. I am getting authentication errors on my website and my one virtual directory. default website - localhost:80 c:\mydirectory\localhost virtual directory - c:\mydirectory\weborb30 Please not...

3
голосов
2ответов
3845 просмотров

How to programmatically configure IIS7? (without using the Metabase)

Consider a .NET application that performs lots of configuration changes in IIS such as changing Virtual Directories or enabling compression. With IIS6 everything could be accomplished using the metabase through DirectoryServices. However in IIS7, the Metabase compatiblity is an optional componen...

1
голосов
1ответов
899 просмотров

Custom 404 with EPiServer CMS5 on IIS 6

I have been trying to set up a custom 404 page for several days now but still haven't succeeded. The target system is EPiServer CMS 5 running on Windows 2003. My development system is EPiServer CMS 5 running on Windows Vista. this means I can only debug on a different version of IIS. Anyway: Th...

4
голосов
2ответов
5688 просмотров

WCF service with Factory attribute on .svc is not working on web server (IIS6), but is locally using IIS7?

I am working on implementing a non web.config approach of WCF services using the factory attribute on the .svc file per Rick Strahl's blog post: Factory="System.ServiceModel.Activation.WebScriptServiceHostFactory" Locally, I am running IIS7 in Visual Studio 2008 and have no problem, but when I ...

0
голосов
2ответов
2893 просмотров

How do I use IIS7 URL rewriting to hide virtual directories?

I have a server with IIS7 that I am using to host several different sites for testing. Due to an overabundance of bureaucracy, I am unable to use host headers (I can't get new entries on our internal DNS server and users can not change their local hosts file). I have set up the default site in ...

0
голосов
1ответов
476 просмотров

Windows Authentication not passing Username

I'm trying to get the current logged on web user to use in an Online forms application. I'm running Server 2008 x86 with IIS7. There is a special field with in the application called User - Domain User that is supposed to return the username. I've enabled window authentication on the default we...

3
голосов
1ответов
10951 просмотров

IIS 7 Reverse Proxy With SSL?

Which IIS 7 ISAPI Filter can help me doing that : http://site1.domain1.com:80 ==> Internal IIS Server 1 (HTTP, TCP 80) https://site2.domain1.com:443 ==> Internal IIS Server 1 (HTTPS, TCP 443) http://site1.domain2.com:80 ==> Internal IIS Server 2 (HTTP, TCP 80) http://site2.domain2.co...

0
голосов
4ответов
1223 просмотров

Conditional ConnectionString based on which folder the app is published to

I'm entering a parallel test and dev stage where I need to use one db for test and a different one for dev. How can I have the app choose which connection string to implement based on which physical folder it (the app) sits in? I know there are SVN strategies to consider but this is small-scale ...

6
голосов
2ответов
27734 просмотров

Convert certificate .pem to .der/.cer

I'm trying convert .pem to .cer using OpenSSL... openssl x509 -inform PEM -in root.pem -outform DER -out root.cer But, I don't know how to install the certificate on IIS 7.0 over Win Server 2008. I read some tutorials about it and tried to install the cert in IIS 7.0 Server Certificates -...

3
голосов
9ответов
2975 просмотров

ASP.net MVC project not compiling on IIS

I used to just upload asp.net websites to the live server, and IIS compiles them automatically. But when I do the same with asp.net MVC projects I just get errors, and I need to release Build the project before I upload it. Note1: I'm using VWD 2008 Express Note2: The project is working perfec...

2
голосов
6ответов
1859 просмотров

Automatically start up ASP.NET app pool?

Is there a way to automatically spin up an ASP.NET app pool after an IISRESET or the scheduled reset so that the initial user doesn't have to wait for the app pool to load?

0
голосов
2ответов
1479 просмотров

Win7/IIS7 - why does a new Handler Mapping diasappear?

I add a handler mapping to IIS7 (on Win7). It runs just fine until I publish a new build to http://localhost. Once I publish a new build, all the mappings I added are magically gone!! [EDIT] I am also losing all of my virtual directories during a publish. [/EDIT] Any tips/tricks for this?

2
голосов
4ответов
783 просмотров

What's the simplest way to rewrite Urls in ASP.NET MVC / IIS7?

I'm developing an ASP.NET MVC application on IIS7 and I need to rewrite requests to all files from a directory in my application and it's subdirectories to another directory. The files are images, stylesheets, classic webforms files and vanilla html documents. What's the easiest way to achieve ...

5
голосов
3ответов
6055 просмотров

IIS7 & Castle.MicroKernel.Lifestyle.PerWebRequestLifestyleModule registering problems

UPDATE: In Windsor 2.5 the assembly name is Castle.Windsor not Castle.MicroKernel I'm trying to deploy an ASP.NET MVC app to IIS7 and I'm getting this error: Looks like you forgot to register the http module Castle.MicroKernel.Lifestyle.PerWebRequestLifestyleModule Add '' to the sectio...

12
голосов
4ответов
26643 просмотров

ASP.NET Application Goes to 500.21 ... until IIS Reset + Clear Tempoary ASP.NET Cache

We're seeing an odd pattern in our QA Lab. We have two ASP.NET applications, each deployed on the same Windows 2008 SP2+ box. We have our App Pool running in a Domain Account, and set to never re-cycle. The same 1 App Pool is used by both applications. After several hours of running fine, ne...

0
голосов
1ответов
621 просмотров

Identifiy IIS 7 using NSIS

Is there a way to identify the current version of IIS / using NSIS? I need a way to add some special behaviour to my installer in case of IIS 7.