locked
Running ASP on Vista Ultimate 32 bit?? RRS feed

  • Question

  • User1893615386 posted

    I've been doing all my ASP projects etc in my Uni whcih I can access from home but cannot FTP etc. Which mean I cannot edit files and play around with code.

    Is it possible to run the asp on my home ASP so I can practise here rather than travel to uni each time!

    Im running vista ultimate from home

    I've just installed IIS 7 and have run the script to do the complete install.

    When I run my HTML file that points to my asp file it just downloads the .asp file instead of running it.

    I've all my files in the wwwroot folder

    Any ideas as to what im doing wrong??

    When I run http://localhost/SSNName.html it works fine, just seems to not run the asp file

    I get the following error: An error occurred on the server when processing the URL. Please contact the system administrator
     

    Wednesday, November 7, 2007 9:35 AM

Answers

  • User1893615386 posted

    The command below was not in the MS KB article but many people around this forum have suggested it:

     %windir%\system32\inetsrv\appcmd set config -section:applicationPools /[name='DefaultAppPool'].processModel.loadUserProfile:false

     

    • Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
    Wednesday, November 7, 2007 1:30 PM
  • User-220040742 posted

    By default, http://localhost is pointing to C:\inetpub\wwwroot.

    What happens if you maps it back and put asp2.asp in the folder C:\inetpub\wwwroot?

    IIS log will have the information for the new error. 

    • Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
    Monday, November 12, 2007 8:19 AM

All replies

  • User-1853252149 posted

    Did you install ASP support?  By default it's not selected.

    Jeff

    Wednesday, November 7, 2007 11:55 AM
  • User1893615386 posted

    Yeah I used a script to do the complete install plus double cheked in Vista to make sure everything went through

    I've also enabled error reporting and got the 80004005 error

    Went to http://support.microsoft.com/kb/926939 and followed Step 1 - 4  (Still no luck)

    Now the error seems to refer to this line in my asp code:

    adoCon.Open "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" & Server.MapPath("comp2000.mdb")

    The database reference seems to be this issue but the db is in the same folder as the html & asp
     

    Wednesday, November 7, 2007 12:01 PM
  • User1893615386 posted

    The command below was not in the MS KB article but many people around this forum have suggested it:

     %windir%\system32\inetsrv\appcmd set config -section:applicationPools /[name='DefaultAppPool'].processModel.loadUserProfile:false

     

    • Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
    Wednesday, November 7, 2007 1:30 PM
  • User-1853252149 posted

    I've also enabled error reporting and got the 80004005 error

    See the FAQ:  http://tutorials.aspfaq.com/8000xxxxx-errors/80004005-errors.html

    Jeff

    Wednesday, November 7, 2007 1:51 PM
  • User1893615386 posted

    Now its stopped working again

     

    The log file says:

     

    [11/07/2007 12:14:14] "C:\Windows\System32\inetsrv\iissetup.exe" /launch C:\Windows\System32\inetsrv\appcmd.exe reset config -section:system.webServer/asp
    [11/07/2007 12:14:14] Launching command C:\Windows\System32\inetsrv\appcmd.exe, with params C:\Windows\System32\inetsrv\appcmd.exe reset config -section:system.webServer/asp
    [11/07/2007 12:14:15] "C:\Windows\System32\inetsrv\aspnetca.exe" /install /basic 2.0.50727.0
    [11/07/2007 12:14:31] "C:\Windows\System32\inetsrv\aspnetca.exe" /install /managedextensibility 2.0.50727.0
    [11/07/2007 12:14:32] "C:\Windows\System32\inetsrv\aspnetca.exe" /install /fullaspnet 2.0.50727.0
    [11/07/2007 12:14:33] "C:\Windows\System32\inetsrv\iissetup.exe" /launch C:\Windows\System32\regsvr32.exe /s C:\Windows\System32\inetsrv\asp.dll
    [11/07/2007 12:14:33] Launching command C:\Windows\System32\regsvr32.exe, with params C:\Windows\System32\regsvr32.exe /s C:\Windows\System32\inetsrv\asp.dll

     Getting the screen

     

    HTTP Error 404.0 - Not Found

    Description: The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.

    Error Code: 0x80070002

    Notification: MapRequestHandler

    Module: IIS Web Core

    Requested URL: http://localhost:80/Inetpub/wwwroot/asp2.asp

    Physical Path: C:\inetpub\wwwroot\Inetpub\wwwroot\asp2.asp

    Logon User: Anonymous

    Logon Method: Anonymous

    Handler: ASPClassic

    Most likely causes:

    • The directory or file specified does not exist on the Web server.
    • The URL contains a typographical error.
    • A custom filter or module, such as URLScan, restricts access to the file.

    What you can try:

    • Create the content on the Web server.
    • Review the browser URL.
    • Create a tracing rule to track failed requests for this HTTP status code and see which module is calling SetStatus. For more information about creating a tracing rule for failed requests, click here.

    More Information... This error means that the file or directory does not exist on the server. Create the file or directory and try the request again.


     I can see the localhost fine and can access file just seems to have a problem running ASP

    Thursday, November 8, 2007 4:18 PM
  • User511787461 posted

    I am pretty sure you do not have file at C:\inetpub\wwwroot\Inetpub\wwwroot\asp2.asp mentioned above - you need to fix the physical path where your website is pointing to.

    Thursday, November 8, 2007 7:47 PM
  • User1893615386 posted

    Fixed the path

     

    Now getting an error:

     

    An error occurred on the server when processing the URL. Please contact the system administrator

     

    Thursday, November 8, 2007 8:28 PM
  • User-220040742 posted

    By default, http://localhost is pointing to C:\inetpub\wwwroot.

    What happens if you maps it back and put asp2.asp in the folder C:\inetpub\wwwroot?

    IIS log will have the information for the new error. 

    • Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
    Monday, November 12, 2007 8:19 AM