In IIS7 under Windows Server 2008, I have a virtual directory with anonymous access off and Windows authentication on. In my web.config, I have:
<authentication mode="Windows"/>
<authorization>
<allow roles="MYGROUP"/>
<deny users="*"/>
</authorization>
and
<system.webServer>
<!-- IIS7 security settings -->
<secu...
I control the code but not the server and the person at the other end knows as much about IIS as I do.
I have the classic:
<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>
in my root level web.config, but am not seeing error details. Could the above have been overriden by a setti...
When manipulating Handler Mappings using the Microsoft.Web.Administration namespace, is there a way to remove the <remove name="handler name"> at the site level.
For example, I have a site which inherits all the handler mappings from the global handler mappings configuration. In applicationHost.config the <location> tag initially looks ...
Here's the scenario:
Win2003 Build Server (CCNET)
IIS7 target deployment server
The various MSBuild tasks (Sdc.Tasks, MSBuild Community, MSBuild Extension Pack) for doing this (creating VDirs, setting AppPool properties) are not suitable for at least one or more of the following reasons:
No support for IIS 7.
No possibility to pass...
I am running an asp.net application with forms authentication on IIS 7 in classic mode. Logging is turned on and the cs-username field is currently selected to be logged. However, the cs-username is always blank in the logs. Anyone have tips on how to determine the cause?
...
I need to give access to the IIS user to a pfx certificate. The website is running under the App Pool under some user AppPoolUser. IIS automatically has the user name "IIS APPPOOL\AppPoolUser" and this is what we need to give access when we use aspnet_regiis -ga .
However, when i use winhttpcertcfg to give access to the user "IIS APPPOO...
Hi,
Is it possible to declaratively set clientCaching for an Action using the web.config in IIS7.
We need to set an expiry value of 1 day for our Home/Index Action. As of now we are doing this using a filter attribute. Is it possible to accomplish the same declaratively?
We are able to do it for static content, but not for Action Method...
Hello everyone,
I am using VSTS 2008 + C# + .Net 3.5 + IIS 7.0 to develop an ASP.Net web site. I want to develop an Http module, which could inspect whether incoming request has some specific http header (e.g. CustomerID) and if do not have such header, I will redirect user request to some other pages.
I think I should develop by using...
as the title notes, we can't get in to our site.
this same site works fine for us in 2003 and in our dev environments. but once we moved to 2008 R2: we "can't get in".
i'd love it if we could use fuslogvw to watch the assembly bindings: but that's not possible on these servers (no sdk installed).
i've seen other posts that say nothin...
I'm working locally on an ASP.NET website under Windows 7, and I experience stange behaviours sometimes ...
I've been working several days with several Visual Studio opened, working on the website, then I switched to compiling and deploying some others apps until yesterday, and today, I had to get back working on the website.
So I laun...
Recently my ISP switched our website to an IIS7.0 high availibility cluster. The website is running on PHP5.2.1 and I can only upload files (so no registry tweaks). I had tested the website before and everything seemed to be working, but now the checkout page fails with:
500 - Internal server error.
There is a problem with the resource...
I can see this directory in Windows 7, how can I find the same directory for windows 2003?
...
My web-site is working under ASP.NET 3.5, IIS7, Integrated pipiline mode. My HttpModule is getting request to all resources, including URLs like this:
http://my-site.com/address
And I would support '*' symbol in the URL for users. All attempts to navigate to such address are blocked by ASP.NET with the following error message:
HTTP ...
Hi all,
I have a problem that I really don't understand.
I'm trying to upload a files in a asp classic app, without the use of an external component. I also want to post some text that will be stored in a DB.
The file upload perfectly, I'm using this code: Upload Files Without COM v3 by Lewis E. Moten III
The problem is the other form...
The following line of PowerShell works with IIS 6 installed:
$service = New-Object System.DirectoryServices.DirectoryEntry("IIS://localhost/W3SVC")
However, with IIS 7 it throws the following error unless the IIS 6 Management Compatibility role service is installed:
out-lineoutput : Exception retrieving member "ClassId2e4f51ef21dd47e...
Hi there,
I've got a web application that executes IIS 7 provisions (using Microsoft.Web.Administration.dll) to create our web and ftp sites. When I run this using the administrator account, it works ok.
I'm thinking of creating a windows user account for impersonation that will only execute these web provisioning procedures without be...
I have asp.net site with custom 404.htm.
It is configured with customErrors section to handle aspx.
<customErrors mode="On" defaultRedirect="404.htm">
<error statusCode="403" redirect="404.htm" />
<error statusCode="404" redirect="404.htm" />
</customErrors>
<system.webServer>
<...
Developing in VS2008 on win2008 machine.
Connecting to SQL Server 2000 Db on win2003 server
protected void Page_Load(object sender, EventArgs e)
{
string connectionString = "Server=myserver;Initial Catalog=mydatabase;User Id=myuser;Password=mypassword;";
SqlConnection conn = new SqlConnection(connectionString);
...
Hi I am deploying an MVC application on IIS on Win7. I have deployed it on localhost/appPortal. appPortal is configured as application rather than virtual directory. Unfortunately the application root in MVC gets mapped to localhost instead of localhost/appPortal. This is breaking all my links to scripts, css, images etc. Can anyone help...
I'm trying to use APPCMD to set debug=false in web.config, per the documentation.
The specific syntax I am using is:
APPCMD SET CONFIG "SITE/VDIR" section:compilation /debug:False /commit:APP
the output is
INFO ( section:compilation, timetaken:219, hresult:00000000, objects:1 )
Applied configuration changes to section "system....