In IIS6, I was able to select my application and see the related files in the right pane. I could then right click on one of these files, go to properties/file Security tab and specify a different user for annonymous access. It seems that in IIS7, the anon user has to be the same for the entire site. For some reason, my particular sit...
I have 2 similar rewrite rules, that is killing each other.
These are my rules:
<rule name="Product rewrite">
<match url="^product/([_0-9a-z-]+)/([0-9]+)" />
<action type="Rewrite" url="product.asp?id={R:2}" />
</rule>
<rule name="Article rewrite">
<match url="^([_0-9a-z-]+)/([0-9]+)" />
<action type="Rewrite" url="article.asp?id={R:2...
I'm working with a third party vendor at the moment who has supplied an ASP.Net web application. The web app generates around 200 unhandled exceptions per day, which end up as emails in my in-box. Upon investigation it turns out that most of these errors are triggered by the GoogleBot web crawler indexing the site and triggering access t...
I have a website running on .NET 3.5 and ASP.NET MVC 2.0. I am using the MvcScriptManager which employs the ASP.NET Cache with a CacheDependency object. The dependency is linked to a file path. When testing locally (Visual Studio 2010), changes to files are detected correctly and the item is removed from the cache, however when deployed ...
I'm moving an ASP.NET project from .NET 3.5 to .NET 4.
Everything works beautifully if I'm debugging under web.dev (ie. in Visual Studio [2010]) but as soon as I try and run this under IIS7[.5] the debugger fails to attach. Running the project directly under IIS just causes it to throw back 403s (no subcode, so not much help there).
I...
I have an IIS 7 machine with multiple apps/vdirs on the single default
web site. I would like to set two of them with this authentication:
anonymous - off
impersonation - on
forms auth - off
windows auth - on
I would like to do this with appcmd.exe but cannot seem to get the
syntax down right. Has anyone had luck with this?
Thanks.
...
Hi there,
I have a webApp in my IIS 7.5 on windows server 2008 now I need to move this particular web app (not all of them) to another IIS 7.5 on the new windows server 2008 R2.
Can anyone please suggest?
thanks
...
Okay I've read the other StackOverflow postings, forum posts on MSDN, everywhere. I CANNOT get this to work for the life of me.
Here is what I have setup.
In IIS7.0
- Default Site in ASP.NET v4.0 App Pool
- C:\Inetpub\wwwroot as the physical path
I published my MVC2 site in VS2010 to the Default Site path, it succeeded.
Here are the ...
Hi Guys
I have a newly deployed mvc app on a win2008 server box.
I am trying to troubleshoot some very strange ie6 behaviour when over https. if a ie6 user connects to the webserver over https a simple post back or ajax call takes around 1 minute to complete, no errors are raised on the browser, it just sits there ticking away for a...
I'm running PHP on my IIS 7 Server and I would like to get something similar to the ASP.NET app_offline.htm functionality.
Just putting app_offline into the directory did not work. Maybe there is a good rewrite rule that would just forward all requests to app_offline? My first try resulted into a redirect loop, so not sure what I did w...
I have written ashx which merges and remove white-spaces for javascript and css contents.
Using VS2010 ASP.NET Development Server everything works fine.
But in IIS7, text/javascript contents are not compressed (I'm using fiddler to monitor it).
I don't have problem with text/css contents and both of the contents are handled by the...
Hi all,
Exsits any way to modify the temporary folder path returned by System.IO.Path.GetTempPath() method?
My asp.net application run under iis 7.
Thanks
...
Hello,
I would to protect a whole website with a basic authentication or by Ip addresses.
But the website in asp mvc already use form authentication.
I mean protect the website with a basic auth then once connected use the normal form authentication + DB system.
I want to prevent people and robot acces a website version not yet finish...
Hi,
I've got this strange problem...
I've got a web service running against jQuery front-end. When I run it through the integrated web server of VS2008 - it works great.
But when I use the IIS itself - I get this error:
System.InvalidOperationException: Request format is invalid: application/json; charset=utf-8.
at System.Web.Servi...
I'm writing a Ruby on Rails app that normally runs on Heroku or a Linux Box, but I'd need to deploy it to a Windows Server as well.
The Server is a 64-Bit Win2008 Server with IIS 7.0 installed, so normally I'd prefer using IIS instead of setting up an Apache next to it.
I just don't know if Ruby/Rails works with IIS? Do Gems work? Is 6...
We have an ASP.NET (3.5 SP1) application running on IIS7 / Windows 2008. We trap Application_Start and Application_End events in Global.asax. We also host WCF services in the app and trap the OnOpening and OnClosing events via a ServiceHostFactory. Thus, we thought, we are guaranteed notification of any application start and stop, sch...
Hi
We are in the process of building a new website which we want to lock down to specific computers to only allow access, then once the pc is authenticated we will do our in built user authentication.
Also, when a pc is known, we dont really want anything on the pc which can be easily transfered (by the client) onto another pc in order...
Am pulling my hair out over this!
I have an ASP.NET MVC 2 web application, which up until yesterday was working fine on the hosted server (running IIS 7.5, I don't have direct access to IIS, just web portal access to some features).
Yesterday I attempted to install the ELMAH logging framework (see this article) and now all my routes ap...
Is it possible to restrict access to a website in IIS7 using MAC address rather than IP address?
We are wanting to restrict access to our website to only known PCs as mentioned here: link text. These PCs will be external to our network, but because some users could be remote, we would rather do this on MAC address rather than IP address...
hey,
I write about similar problem but this is other...
When I try to consume WCF service in Silverlight I get in Firebug 404 not found error in crossdomain.xml file. But when I add to IIS port by which I use to communicate with service for example http://localhost:11598/Service1.svc and restart IIS of course , I don't get it error - cr...