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 enough to avoid 2 sperate code-bases. Woul...
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.com:443 ==> Internal IIS Server 2 (HTTPS, TCP 443)
h...
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 website and on the application itself (Perfect...
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 IIS to have nothing but virtual directorie...
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: The problem is that the custom 404 is displa...
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 component, so I'm assuming that alternative ways s...
Today wanting to deploy an asp.net mvc application I had to enable .NET Extensibility, ASP.NET, ISAPI Extensions, and ISAPI Filters on Win Small Buisness Server 2008 I was surprised 1h and I could not find how to do it.
This was the hint but ... still nothing.
http://blogs.dovetailsoftware.com/blogs/kmiller/archive/2008/10/07/deploying-...
Hi all.
I've found a lot of similar looking issues, but nothing that has made it clear to me why I am getting an error I'm getting.
Using all sorts of WCF projects, if I try to host them in IIS I get the following error:
The type
'Microsoft.ServiceModel.Samples.CalculatorService',
provided as the Service attribute
value in th...
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 notice these are not under c:\inetpub\wwwroot...
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 happens)
The issue happens sporadically. Someti...
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 go to the project properties, switch to us...
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 seems to be routing correctly.
public...
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" />
<conditions>
<add input="{HTTPS}" pattern="...
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 modules? What?)
...
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 occurred during the parsing of a resource requi...
Hi,
I want to archive following things using URL Rewrite/Redirect on IIS 7.0
1) http://(www.)xyz.com/ (-with or without preceding www) => 301 => http://www.xyz.com.in/ (- must have preceding www)
2) http://(www.)xyz.com/example-page (- with or without preceding www) => 301 => http://www.xyz.com.in/example-page (- must have p...
Hi ,
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 explorer to 7.0.
Please provide me links...
Hi,
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.
...
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 with their own web site in IIS7 although th...
Hi,
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 what?
Thank you,
James
...