iis6

adding users to msdeploy service in iis6

we're using the msdeploy service on a development server. I can publish to the server without any problems, however I am a member of the administrators group. When another regular user tries to publish, they get 401 Unauthorized in Visual Studio. I realise this is due to some sort of authorisation, but where the hell do i configure whic...

Powershell: Setting anonymous user in IIS6

I'm using the PowerShell script below to set anonymous user identity and authentication methods on an IIS6 server. The script seems to work at first, but if I issue an iisreset after running it the values revert to the old ones! How do I persist them? $server = "localhost" $siteName = "www.mysite.com" $iis = [ADSI]"IIS://$server/W3SV...

401.2 error on IIS

I have problem when setup web on IIS 6 using anonymous authentication. I have two webs under 'Default web site'. Both of them are using anonymous authentication as only authentication method. Account used for anonymous is IUSR. Folders hosting both websites have same permission setting. One website, I can visit it without any problem....

restrict access to files in a folder only after user came from specific page or have a session

hi guys... asp classic and iis 6 i need to build a page that the user login and if he paid for the service he will be able to view the pdf he paided for... all of the pdfs are going to be in the same folder so how can i restrict the user from trying to change the pdf filename to test and see what will comeup? can i have something in t...

sitecore 6 debugging with visual studio 2008

Hi, I'm trying to debug sitecore 6 asp.net code using visual studio 2008 (Windows server 2003 OS), concretely i am trying to get breakpoints to work. I tried setting the breakpoint and then on VS, debug-> attach to process.. -> IIS web server process, but nothing happens when i browse to a certain aspx where a breakpoint is located at t...

FormRewriterControlAdapter and VS2010

I am using FormRewriterControlAdapter at VS2010(.NET 3.5) When I compile and deploy, form tag have wrong action attribute. I need to delete __browserCapabilitiesCompiler.compiled to work. But I dont know if have any collateral effect. Why? I founded one case similar: http://quangouk.spaces.live.com/blog/cns!AC44601E5195662B!246.entry ...

My IIS server won't serve SSL sites to some browsers

(This is cross-posted at http://serverfault.com/questions/164625/my-iis-server-wont-serve-ssl-sites-to-some-browsers, which is the more appropriate place, but StackOverflow gets so much more traffic that I had to put it here as well.) I've got an IIS 6.0 server that won't serve pages over SSL to some browsers. In Webkit-based browsers o...

How to Cause an HttpModule to be Invoked Before the First Request?

I have several applications I am deploying to a .NET/IIS environment. For these applications I have registered an implementation of IHttpModule in the system.web/httpModules section of web.config. In my implementation of IHttpModule I have an Init() method which starts up some daemon threads and logs that the application has been start...

hosting .net 4.0 REST WCF service in IIS 6

So i am on VS2010 running iis 7 with .net 4.0 I have a REST wcf 4.0/.net 4.0 services that runs locally very beautifully. On my local it is hosted on IIS at http://localhost/SOMENAME/ [WebGet(UriTemplate = "Ping")] public string CheckAuthenticatedStatus() { string userName; if (!AuthenticateUser(out userName))...

Problem starting process in asp.net (IIS 6.1)

I have one asp.net simple page, on button click I'm trying to start one process(.net console application) but I'm having access denied exception.. If the process is simple windows applications like notepad.exe, or anything else "not .net assembly" the code works... The problem only happens when I'm running the code from IIS, but from Vi...

how to set up iis mime settings for .mp4

i want to play mp4 videos on iis(v6.0) webserver, i have setting for extentions for .mp4, and also set up mime setting like this: ---- .mp4 ---- video/mp4 But can not play the file in quick time or flash players on my webpage... I also placed the below link in address bar but : cann't display page came.. http://www.mywebsite.com/folder...

Is the Apache ISAPI Redirector Chopping Off Cookie Data?

I have a question about processing within the ISAPI Redirector, in the AJP13 processing in particular is where my situation is occurring. At least that is what I think based upon what I am getting from the logs. First let me describe my setup/config/platform. I am running Tomcat 6.0 (file version 2.0.4.0 per the 'tomcat6.exe' properties...

will application_end be called when all users session end?

hi all i have a smqll question, will the application_end event in global.asax gets called when all users end there session? was it like this in the past maybe? ...

asp.net mvc virtual directory problem

Hi, I'm having difficult with a small MVC app that we've used as an exercise in using ASP.NET MVC. I had it set up as a website on one of our IIS6 servers, which worked fine. We needed to force authentication, so I now want to put the application in a virtual directory under our main DNN intranet site. It at first complained that it ...

WCF Service - Accept Client Certificates

I have a requirement (govt client) to turn off all authentication schemes (No anon, NTLM, digest, basic, etc) in IIS6 and enable client certificates only. This part is non-negotiable. This WCF web service provides the data to a Silverlight client. With Basic authentication is on, everything works peachy. When it is turned off, we get...

Deploying an asp.net 3.5 project to IIS 6 on windows server 2003

This is my first time deploying a project so please bear with me. I have a project which involves a database (sql server 2008 express) class library, webservice and a website which I want to deploy on a windows server 2003 with IIS 6. I look ed on the web and found some help how to do this for the website mostly but unfortunately not th...

Invoke of webservice fails with HTTP status 400 Bad Request

I'm getting a failure in my web application calling a webservice: Server Error in '/zVersion2a' Application. The request failed with HTTP status 400: Bad Request. Here is a link to the webservice itself (this works): http://www.zipeee.com/Zipeeewebservice/ Here is a link to the [production] web app that calls the WS on the first page...

IIS6 GZIP root directories that load a URL not compressing?

Hello, I just enabled GZIP for IIS6 with these instructions: http://weblogs.asp.net/owscott/archive/2004/01/12/57916.aspx According to the Google Chrome Developer Tools Audit, it's working for CFM, HTML, HTM, JS, CSS but it's not working when the site points to: /projects/ --- This is what shows in the browser In actuality it loads: /...

Virtual Directory Authentication

Hi, I am developing a application where i am performing the Download/Upload using WebClient and BITS. i have a virtual directory in IIS6.0/7.0. i have to set the Authentication to the that directory(Id & Password). currently i m using basic IIS authentication in which we can pass id and password but using same user id and password we ca...

Strange lag in http pipeline with ASP.NET MVC on IIS6

I have an ASP.NET MVC application running on IIS6 with enabled wildcard mapping. After performing some load tests I digged into log files with focus on the slow requests. I have a log file from the load testing application, IIS log file and the log file from the IHttpModule I develop for this purpose which records time of Application.Beg...