iis-6

Logoff button IIS6 ASP.NET Basic Authentication

本秂侑毒 提交于 2019-12-03 20:14:28
I have a requirement for an explicit logout button for users in a ASP.NET web app. I am using IIS6 with Basic Authentication (SSL). I can redirect to another web page but the browser keeps the session alive. I have googled around and found a way to do it by enabling an active x control to communicate with IIS and kill the session. I am in a restricted environment that does not allow forms authentication and active x controls are not forbidden as well. Has anyone else had this requirement and how have you handled it? Okay that is what I was afraid of. I have seen similar answers on the net and

Windows Authentication and Forms Authentication together for ASP.NET

喜你入骨 提交于 2019-12-03 16:46:18
I am developing an internally-facing application that needs to automatically authenticate users via Windows Authentication and fall back to Forms authentication. The fall back would occur in situations where the user on a computer logged in as a group account (such as an operations center). I'm concerned about security where a user could "spoof" the Windows Authentication account. Do any of you all know of a design pattern and pragmatic idea that would fit this specific scenario? Technical Constraints: .NET 3.5 on IIS 6 (IIS 7 is currently a non-starter in our environment) Thanks! There's an

Difference between IIS 6.0 vs IIS 7.0

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-03 15:59:50
问题 We are using Windows 2003 server with IIS 6.0 and thinking of migrating to Window Server 2008 with IIS 7.0 to host our .Net applications Is anyone aware what are the benefits or drawbacks of it? 回答1: One definite benefit is the new "Integrated Mode" on application pools. This allows asp.net to hook into the pipeline earlier than was possible in iis6. Some of our applications use this to do url rewriting for files which was previous impossible with out adding a wildcard extension mapping to

Load balancing error with WCF service - NLB

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-03 13:36:33
问题 UPDATE 3: I created a Visual Studio 2008 test project and tried to create a service reference to shared site WCF service reference and received the following error: There was an error downloading 'http://apps.mydomain/MyService.svc'. The request failed with HTTP status 400: Bad Request. Metadata contains a reference that cannot be resolved: 'http://apps.mydomain/MyService.svc'. Content Type application/soap+xml; charset=utf-8 was not supported by service http://apps.mydomain/MyService.svc'.

Why is IIS not serving aspx pages?

对着背影说爱祢 提交于 2019-12-03 13:30:46
I'm deploying an ASP.NET application to Windows Server 2003 under IIS IIS is serving html pages fine but I get a page not found when I try and serve IIS pages You may need to "register" IIS for ASP.NET applications. As an administrator, run the command "%systemroot%\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis -i". In addition, you may need to convert your web site to an application through the IIS management console. By default, IIS has ASP support disabled in IIS6. A server running a member of the Microsoft® Windows® Server 2003 family supports application server functionality, with

How to update existing IIS 6 Web Site using PowerShell

筅森魡賤 提交于 2019-12-03 13:26:59
问题 I am trying to create a PowerShell script that creates a new IIS 6 web site and sets things like App Pool, Wildcard application maps, ASP.NET version, etc. After extensive search on the Internet I found a script that allows me to create a new Web Site but not to modify all the properties I need. $newWebsiteName = "WebSiteName" $newWebsiteIpAddress = "192.168.1.100" $newWebSiteDirPath = "c:\inetpub\wwwroot\WebSiteName" $iisWebService = Get-WmiObject -namespace "root\MicrosoftIISv2" -class

Making an asp.net application IPv6 compliant

ぃ、小莉子 提交于 2019-12-03 13:10:44
We have Windows 2003 Servers running SQL Server 2005 and .NET 3.5 [separately]. We have a basic ASP.NET app running on IIS 6. What, if anything, do I need to do on the application end [IIS,Framework,ASP.NET] to make it IPv6 compatible? EDIT: We do use System.DirectoryServices, System.DirectoryServices.DirectoryEntry and DirectorySearcher() to authenticate users against AD. Would those calls have to change? Rob The first thing to do would be search your code for any references to System.Net.IPAddress , and see how you're passing information around in those areas: Are you performing any "manual"

Security exception when writting to an EventLog from an ASP.NET MVC application

[亡魂溺海] 提交于 2019-12-03 12:37:28
I have a library that I created with some business logic that includes writing to a System.Diagnostics.EventLog instance. The library is normally called from a Windows Service application, but now I'm trying to call those same library functions from my ASP.NET MVC application. I tried this code inside my controller to create the EventLog instance that I pass into the method that needs to write to the log. Dim log = New EventLog("Application", My.Computer.Name, "MyMVCApp") The following error is generated when the code within the library method tries to write to the log: [SecurityException:

Directory listing denied on ASP.Net MVC 4 app running in IIS 6 Virtual Directory

余生长醉 提交于 2019-12-03 11:47:35
I am trying to get ASP.Net MVC 4 working on IIS6 and am running into the always fun Directory Listing Denied error. Before you start posting about extensionless urls and how I need to read the Haacked blog post.. I have :) So with that out of the way here is the setup: I have created a new Web Site and configured it to use ASP.Net 4.0. I had to do this because the existing Default Web Site is configured for ASP.Net 2.0 and this breaks extensionless urls. Under the new web site I created a Virtual Directory with Read/Write/Log Vists/Index this resource options selected and execute permissions

IIS 6.0 Application Pool crash

大城市里の小女人 提交于 2019-12-03 11:40:44
问题 Have a lot of troubles on production server. Some routing cause crashing of Application Pool with event id 1011: Event Type: Warning Event Source: W3SVC Event Category: None Event ID: 1011 Date: 1/21/2009 Time: 9:08:17 AM User: N/A Computer: xxxxxxxxxxxxx Description: A process serving application pool 'DefaultAppPool' suffered a fatal communication error with the World Wide Web Publishing Service. The process id was '3788'. The data field contains the error number. 8007006d I have a few very