[Webinar] Streamline your web hosting managementRegister Today

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 798
  • Last Modified:

IIS CGI error: Unhandled Exception: System.ArgumentException: The parameter is incorrect.

I am trying to set up a CGI routine on a windows 2003 running IIS. When I allow all CGI extensions on the Web Server Extensions screen I get the above message. The cgi is a VB.net console app:
    Sub Main(ByVal args() As String)
        Console.WriteLine("Hello, world!")
    End Sub

Any ideas why (missing setup steps, etc.)
1 Solution
you cannot write to the console in a web application, at least you should not do it.
MikeBroderickAuthor Commented:
I opened an issuse with MS. They determined it was a bug with dotnet 2.0, IE 7, and IIS. They hope to fix it in IE 8.

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now