Results 1 to 6 of 6

Thread: ASP won't work on Windows2000

  1. #1

    Thread Starter
    Hyperactive Member compuGEEK's Avatar
    Join Date
    May 1999
    Location
    Mpls,MN,USA
    Posts
    281

    Angry

    ARGHH!!

    I cannot seem to get ASP to work on Windows 2000 Server. IIS is configured correctly and runs an HTML page just fine, but the same cannot be said for an ASP page.

    Has anyone encountered this before?

  2. #2
    Guest

    I have not encountered this problem before, however...

    First off...make sure you're requesting the page from IIS - not locally... use http://localhost/page.asp not c:\inetpub\wwwroot\page.asp ...this may be obvious but I just wanna make sure I don't miss something that silly...

    Assuming that wasn't the problem... make sure the that you have the propper application mapping setup for asp...

    Right click on My Computer and click Manage
    Right click on Internet Information Services and click Properties
    Click the Internet Information Services tab
    Select WWW Service from the Master Properties list
    Click Edit
    Click the Home Directory tab
    Click Configuration...
    Click the App Mappings tab
    Search down the list for a .asp entry... the executable path should read something like c:\winnnt\system32\inetsrv\asp.dll
    If it's not there then click Add and add it in...
    Type in the path above as the Executable, .asp as the extension and limit the Verbs to GET,HEAD,POST,TRACE
    Fully restart IIS...you can do this from the command line with net stop iisadmin
    Then net start w3svc
    Or you can restart the machine

    Failing all that what errors (if any) do you get...?

  3. #3

    Thread Starter
    Hyperactive Member compuGEEK's Avatar
    Join Date
    May 1999
    Location
    Mpls,MN,USA
    Posts
    281
    Hi Matthew,

    Thanks for your reply - Yes, all the necessary DLL's are installed, including the application's DLL.

    The error I was initially receiving was HTTP 500 Internal Server Error: Server object, ASP 0178 (0x800A0005) The call to Server.CreateObject failed while checking permissions. Access is denied to this object. (KB Q255502)

    What I did was add a DCOM entry for VB6.exe into the registry. The error I'm now getting is HTTP 500 Internal Error, with no further explanations.

    Why is it that I'm able to publish an HTML page just fine, but when it comes to publishing any ASP page, I get the error?

    Thanks,

    CG

  4. #4
    Guest
    Try a simple asp page without any createobjects...
    Code:
    <% response.write "test" %>
    ...does that work ok?

    If it does check the NT permissions of the com object you're trying to create (and of the folder it's in)... you need to give read/execute permission to either IUSR_<MACHINENAME> or IWAM_<MACHINENAME>...I'm not sure which is responsible for creating objects...

    What object are you trying to create in the page...if it's that vb6 dcom one then i've never tried it...maybe that asp can't create it anyway...try a few other objects, like "ADODB.Connection" and "CDONTS.NewMail".

  5. #5

  6. #6

    Thread Starter
    Hyperactive Member compuGEEK's Avatar
    Join Date
    May 1999
    Location
    Mpls,MN,USA
    Posts
    281
    Thanks Clunietp - One of the links had a WebWorkshop aritcle that I will try.


    Thanks again!

    CG

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width