iis6

CGI Error on IIS 6 Win 2003 hosted at GoDaddy

We have a C++ application running in the CGI-BIN of our site hosted by GoDaddy. The program receives parameters from a web page and calls into our server where we return a key. The program then pieces together some html and inserts the key to display to the user. We have had the program working since 11/2008. No changes were made by u...

ASP.Net FormsAuthentication Redirect Loses the cookie between Redirect and Application_AuthenticateRequest

I have a FormsAuthentication cookie that is persistent and works independently in a development, test, and production environment. I have a user that can authenticate, the user object is created, the authentication cookie is added to the response: 'Custom object to grab the TLD from the url authCookie.Domain = myTicketModule.GetTopLevel...

In IIS6, how to provide authenticated access to static files on remote server

We have a library of ZIP files that we would like to make available for download at an ASP.NET site. The files are sitting on a NAS device that is accessible from out web farm. Here is our initial strategy: Map an IIS virtual directory to the shared drive at path /zipfiles Users can download the zip files when given the URL However...

Which is better for IIS administration in ASP.Net : WMI or ADSI or Managed API? and what's the difference?

Hi there, I am working on Configuring and manipulating and controlling IIS 6.0 and later versions using ASP.Net based web application. I am considering WMI, ADSI, Managed API as my options. I have a target Windows System WIN2k3 or later versions. The choice of language is C# and the application has to be built using ASP.Net. This art...

MapRoute problem in ASP.NET MVC (for IIS6)

I have a problem in routing on the server (IIS6). It works OK on the development environment: routes.MapRoute( "FindCities", "FindCities/{state_id}", new { controller = "Regions", action = "FindCitiesByStateID", state_id = "" }); Here I call this action: $.ajax({ type: "GET", contentT...

Access Denied errors accessing IIS WMI provider from ASP

Morning, I have a Windows 2003 server running IIS 6 and have some scripts that do automated setup and creation of websites. They are not working on a new server I cam commissioning (they already work happily on 3 other W2K3 servers). The problem appear to boil down to WMI security on the IIS provider. The ASP code below represents th...

Using chunked encoding in a POST request to an asmx web service on IIS 6 generates a 404

Hi, I'm using a CXF client to communicate with a .net web service running on IIS 6. This request (anonymised): POST /EngineWebService_v1/EngineWebService_v1.asmx HTTP/1.1 Content-Type: text/xml; charset=UTF-8 SOAPAction: "http://.../Report" Accept: */* User-Agent: Apache CXF 2.2.5 Cache-Control: no-cache Pragma: no-cache Host: uat9.gti...

How to update existing IIS 6 Web Site using PowerShell

Hi, 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...

Start/Stop App Pool IIS6.0 with Powershell or command line

Hi, I'm using IIS 6.0 and looking for a way to stop/start the app pool. I know there is a stop-appPool for powershell in 7.0 but using 6.0. :-( So does anyone have a powershell script or another command line exe that will stop/start the app pool? Thanks. ...

Sharepoint and missing System.web.dynamicdata

My .net application worked fine until it was moved to a sharepoint server. THe error I am getting is "Cannot find System.Web.DynamicData" . DotNet 3.5 is already installed on the box. GAC (C:\Windows\Assembly) does not contain this assembly. If I install .Net 3.5 SP1 will it disrupt anything under sharepoint (does not come under my ...

Helicon on IIS6 and Wordpress

Hello all, I have a site running on IIS6, Windows 2003, with Helicon (free) to rewrite urls. I installed wordpress into its separate website under IIS I can reach to the mainpage blog.domain.com/blog but when I try to click on the "Login" and type my username and password and click submit it will just 404 not found instead of redirec...

Public property missing from WSDL served by IIS 6

This is very odd, and I'm just wondering if anyone can explain this to me. I have a web service run by traditional old asmx style web services. We had a public property that was used in a internal method that was not displayed to consumers like this: public class User { public string EmployeeID; protected override void DoSomethin...

Problem deploying an ASP MVC application to IIS7

I've got an ASP MVC (1.0) application. It works fine locally via visual studio and on our dev server which runs IIS6. But when I try to deploy to the Test server (running IIS7 on Windows Server 2008 R2) I get only : "Could not load file or assembly '<ApplicationName>' or one of its dependencies. Access is denied" (where <ApplicationNa...

When creating App Pool and Virtual Dir Config

Hi, I'm using the app pool and virtual directory created here and I'm trying to figure out how to set the recycle worker processes in minutes for the app pool and for the virtual directory I'm trying to change the execute permissions to scripts and executables, adding the same username and password permissions for the virtual directory ...

"Invalid Class" Error while Starting FTp Site in IIS 7.0 using WMI and ASP.Net C# (windows Server 2008)

Hi all. I am working on an ASP.Net Web Site Provisioning software using WMI(System.Managment) and C#. I am trying to create FTP site on my "Target Server" located somewhere on LAN while executing code on my host machine. I have trouble starting the FTP Site after its creations. The error being reported is "Invalid Class" on the follo...

SMTP configuration to work with SharePoint 3.0 - how to?

Hi, I would like to send e-mail from my own custom webpart using SPUtility (on wss3.0). The issue is that smtp server is on the same host as sharepoint services. SMTP server works and I can send e-mail using telnet. (But it always telling me that message is queued. After all e-mail are reaching theirs destination and they are in my e-ma...

Directory redirect

Ok, I don't know if this is possible.. Let me explain my situation. I currently have a DotNetNuke framework and I am trying to get off of it. Only way to get approved is to build a new framework that sits beside the DNN and slowly migrate the functionality out of DNN and onto the new framework. I don't want to have two different framew...

How to add New Application mapping in IIS6 and IIS 7 programmatically using WMI and C# ?

Hi all, My goal is to add php Extension to IIS6 and IIS 7 via Code in C# using WMi (System.Management). I cant use DirectoryEntry. I am stuck with adding a new ScriptMap Object to IIS 6/IIS7. I have read some posts at here and there and heard that adding new WMi object from Scratch is difficult. I want to enable IIS 6/IIS7 to hand...

How to add Custom Property to System.Managment Object using WMI, C# in ASP.Net Application?

AA, I want to add a custom property to a WMi Object's Propert Collection. So that whenever i retrieve the properties of that object, i get the custom added property as well. Specifically speaking lets see the following code. foreach (ManagementObject WebSite in WebSitesCollection) { if (WebSite.Properties["Name"].Va...

WCAT 30X Redirect Errors

Hello. I want test my application server with WCAT My script: NEW TRANSACTION classId = 1 NEW REQUEST HTTP Verb = "GET" URL = "http://192.168.0.250/Pharmacy.aspx" 192.168.0.250 - is Aplication server with IIS 6.0 Runs controller. C:\Program Files\IIS Resources\WCAT Controller>wcctl -a 192.168.0.250 -c config. ubr -s script....