We are excited to announce that the IIS.NET Forums are moving to the new Microsoft Q&A experience. Learn more >

Classic ASP with Windows Server 2003 or 2008 [Answered]RSS

24 replies

Last post Feb 02, 2008 03:35 PM by steve schofield

  • Classic ASP with Windows Server 2003 or 2008

    Dec 31, 2007 04:41 PM|comet240|LINK

    hi i have Windows 2003 server trying to get classic ASP to run under it, also i doing the Trial version of windows 2008 server but i figured since it has ASP Classic in the ASP settings it be all said and done but apparently not. I get the internal 500 error. so whats up with that? what do i need to change to get it to run on either server. Cuz i have tried the Abyss webserver plus the ActiveHTML applications now that works but i figure since i have win2003 and 2008 server i dont need to run those other 2 apps since they are for like XP and stuff can anyone give me how to set it up properly so i can get an access database to work in classic ASP

  • Re: Classic ASP with Windows Server 2003 or 2008

    Dec 31, 2007 05:06 PM|Enterhost_Dustin|LINK

    You will need to ensure classic ASP is installed on the server. 

    Server 2003
    add/remove programs
    add/remove windows components
    -'Application Server'
    -'IIS'
    -'World Wide Web Services'
    Check Active Server Pages

    Server 2008
    Server Manager
    -Roles
    -Under Web Server (IIS), click 'Add Role Services'
    -'Application Development'
    -Check 'ASP'

    ---
    Dustin H., MCSA
    Enterhost Support Team
    www.enterhost.com
  • Re: Classic ASP with Windows Server 2003 or 2008

    Dec 31, 2007 05:19 PM|comet240|LINK

    ok  i have to try the server 2003 later

     

    but i have did the  add roles and made sure i had the  ASP installed  and  it can do basic ASP  like  just displaying but when it trys to access a guest book   like a access database  it gives me the 500 internal  error still,   but if i use  the  abyss and ActiveHTML  then it can save or load the access database  same  database  so what is the problem is there something  i missing?  it just can do basic  ASP 

  • Re: Classic ASP with Windows Server 2003 or 2008

    Dec 31, 2007 06:02 PM|comet240|LINK

    i tried that 2003 server setting you said  i had it checked  it can just do basic  displaying of ASP  but when it comes to accessing a ACCESS database   it give me stupid  500 interneal error.    is there a rights i missing or something?   as i tryting to get a guestbook to work on my website

     

     

  • Re: Classic ASP with Windows Server 2003 or 2008

    Dec 31, 2007 10:43 PM|steve schofield|LINK

    Turn off show HTTP friendly errors. 

    http://support.microsoft.com/kb/294807 

    The problem is more than likely the network service or IUSR doesn't have 'write' permissions.  Run Filemon by sysinternals to detect the denied error.

    http://technet.microsoft.com/en-us/sysinternals/bb896642.aspx

    Steve Schofield
    Windows Server MVP - IIS
    http://iislogs.com/steveschofield
    http://www.IISLogs.com
    Log archival solution
    Install, Configure, Forget

  • Re: Classic ASP with Windows Server 2003 or 2008

    Jan 01, 2008 01:27 AM|comet240|LINK

    happy new year hehe and i have write i even added IIUSR and ANONYMOUS users set everyone to have FULL access what do u mean by network service? and FILEMON is no longer for Windows 2008 i had to use Process Monitor so what em i looking for on that as i not a expert at thisits been years and i just trying to get it working so more detail info be goood too please and do i run process monitor on the server or the other comp trying to access the site

  • Re: Classic ASP with Windows Server 2003 or 2008

    Jan 01, 2008 01:29 AM|comet240|LINK

    oh forgot i turnned off HTTP Friendly messages on my Windows XP box that i try to access my server but i still get the 500 Internal error it doesnt actual show me the error like i have read about what would be causing that

  • Re: Classic ASP with Windows Server 2003 or 2008

    Jan 01, 2008 03:18 AM|comet240|LINK

    ok i get this error so maybe you know

    i get this when i disable  friendly  http  on the server

     

    <div id=header>

    Server Error

    </div> <div id=server_version>

    Internet Information Services 7.0

    </div> <div id=content> <div class=content-container>
    Error Summary

    HTTP Error 500.19 - Internal Server Error

    The requested page cannot be accessed because the related configuration data for the page is invalid.

    </div> <div class=content-container>
    Detailed Error Information <div id=details-left>
    Module IIS Web Core
    Notification BeginRequest
    Handler Not yet determined
    Error Code 0x80070021
    Config Error This configuration section cannot be used at this path. This happens when the section is locked at a parent level. Locking is either by default (overrideModeDefault="Deny"), or set explicitly by a location tag with overrideMode="Deny" or the legacy allowOverride="false".
    Config File \\?\C:\website\web.config
    </div> <div id=details-right>
    Requested URL http://localhost:8080/
    Physical Path C:\website
    Logon Method Not yet determined
    Logon User Not yet determined
    <div class=clear></div></div>
    </div> <div class="config_source content-container">
    Config Source
       14:         </defaultDocument>
       15:         <handlers>
       16:             <remove name="ASPClassic" />
    
    </div> <div class=content-container>
    Links and More Information This error occurs when there is a problem reading the configuration file for the Web server or Web application. In some cases, the event logs may contain more information about what caused this error.

    View more information »

    </div></div>
  • Re: Classic ASP with Windows Server 2003 or 2008

    Jan 01, 2008 09:58 AM|jeff@zina.com|LINK

    Obvious questions:  What pipeline is the app set for?  Did you check for an overrideMode setting?  What, if anything, was in the event logs when you followed the advice to chck the event logs?

    Jeff

    Have you Binged a solution before posting?
  • Re: Classic ASP with Windows Server 2003 or 2008

    Jan 01, 2008 10:05 AM|comet240|LINK

    to be honest i not sure  as i basiclly a newb at it  like last time i really worked with  NT it was NT 2000  in college and  since then just did basic  win 2003 server stuff  and just running a website  for a small business so  to be honest i have no idea

     

    if u mean  pipeline  as in internet?  its just a cable modem  from cogeco  but if t helps u  what i did was Reformated and reinstalled  Win 2008 server  so its a fresh installl and all i checked  to install was ASP  so if u know where to go from there  or detail be good or if u have msn  that be cool too  comet424@msn.com is my msn  if u can help

     

  • Re: Classic ASP with Windows Server 2003 or 2008

    Jan 01, 2008 11:48 AM|comet240|LINK

    ok i get different error now what i did was install basiclly all the apps under the WWW roles  and i re ran services and stuff

    now the error i get is

     

    Microsoft OLE DB Provider for ODBC Drivers error '80004005'

    [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified

    /default.asp, line 240

     

    what do i have to change now or add

  • Re: Classic ASP with Windows Server 2003 or 2008

    Jan 01, 2008 11:57 AM|comet240|LINK

    if i use a different  guestbook asp i get this error

     

     

    ADODB.Connection error '800a0e7a'

    Provider cannot be found. It may not be properly installed.

    /dbit.asp, line 23

  • Re: Classic ASP with Windows Server 2003 or 2008

    Jan 01, 2008 09:03 PM|qbernard|LINK

    So you are on w2k3 or w2k8 now? still using Access DB ? what's the connection string looks like?

    Cheers,
    Bernard Cheah
  • Re: Classic ASP with Windows Server 2003 or 2008

    Jan 02, 2008 09:39 AM|comet240|LINK

     currently i working on 2008  testing it out  but i wanna be able to get it to work on both

     but
     conection string is the default that it comes with windows

     im using an access database  since its the easiet

    data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|aspnetdb.mdf;User Instance=true

     

  • Re: Classic ASP with Windows Server 2003 or 2008

    Jan 02, 2008 10:30 PM|comet240|LINK

    hi i tried the connection strings from

    http://www.connectionstrings.com/?carrier=access  but  i tried all of them  set my directory of the database and user and password but it still can access it,  so what em i doing wrong?   or what do i need to add to connection strings?

     

     

  • Re: Classic ASP with Windows Server 2003 or 2008

    Jan 03, 2008 02:40 AM|qbernard|LINK

    Errr. pardon me. but you are using sqlexpress data source ? is your db mdb or mdf ?

    Cheers,
    Bernard Cheah
  • Re: Classic ASP with Windows Server 2003 or 2008

    Jan 03, 2008 08:18 AM|comet240|LINK

     like i said i dont know much about the connection strings when  u make a new website the defualt connection string is LocalSql one

     

    but like i said i did all the connection types under ACCESS   from the connectionstrings website but i still get 

    Microsoft OLE DB Provider for ODBC Drivers error '80004005'

    [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified

    /default.asp, line 240

     

    i tried making a Provider  under Provder icon and stuff but nothing  this is what i have so far i tried

    Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\website\dbs\guestbook.mdb;User Id=shah;thefire=;

    Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\website\dbs\guestbook.mdb;Jet OLEDB:Database Password=thefire;

    Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\website\dbs\guestbook.mdb;Jet OLEDB:System Database=system.mdw;

     Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\website\dbs\guestbook.mdb;Jet OLEDB:System Database=system.mdw;User ID=shah;Password=●●●●●●●

     

    i tried all of these and so far no luck trying to connect  is there something else i need to add? 

     

  • Re: Classic ASP with Windows Server 2003 or 2008

    Jan 06, 2008 11:52 PM|qbernard|LINK

    Errr.. can you tell us what database you trying to connect? is it mdb or mdf or ?

    Cheers,
    Bernard Cheah
  • Re: Classic ASP with Windows Server 2003 or 2008

    Jan 21, 2008 01:23 AM|SLORider|LINK

    comet240

    ADODB.Connection error '800a0e7a'

    Provider cannot be found. It may not be properly installed.

    /dbit.asp, line 23

    64-bit Windows? You need to configure your Application Pool to run 32-bit to fix this.

    More info: http://brh.numbera.com/blog/index.php/2007/03/27/using-myodbc-with-aspnet-in-iis7-on-vista-x64

    Visit SLORider.com!
  • Re: Classic ASP with Windows Server 2003 or 2008

    Jan 23, 2008 07:04 PM|Tonestardeluxe|LINK

    Try setting up an ODBC connection on the server itself intead of using a connection string. Also make sure you have set read/write permissions to the database directory and database. This is the usual source of this error.

  • Re: Classic ASP with Windows Server 2003 or 2008

    Jan 23, 2008 09:49 PM|jeff@zina.com|LINK

    comet240

     im using an access database  since its the easiet

    data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|aspnetdb.mdf;User Instance=true

    The connection string is for SQL Server 2005 Express, not Microsoft Access.  Show us the lines around 240 in Default.asp.  Tell us whether or not your Microsoft Access database is using any Access security.  Give us the specific database version and the file/folder permissions for the MDF file and the folder it is in.

    Jeff

    Have you Binged a solution before posting?
  • Re: Classic ASP with Windows Server 2003 or 2008

    Jan 24, 2008 12:47 AM|steve schofield|LINK

    I'm not sure anyone mentioned this but http://www.connectionstrings.com/ has all kinds of sample connection strings.  You might want to check this out for an example.

    Steve Schofield
    Windows Server MVP - IIS
    http://iislogs.com/steveschofield
    http://www.IISLogs.com
    Log archival solution
    Install, Configure, Forget

  • Re: Classic ASP with Windows Server 2003 or 2008

    Jan 25, 2008 01:08 AM|qbernard|LINK

    Consider thread close, I recalled that the OP has multiple threads for this topic, and end up OP not clear of what guestbook app to use and facing some coding issue (e.g. which provider for which db, etc)

    Cheers,
    Bernard Cheah
  • Re: Classic ASP with Windows Server 2003 or 2008

    Feb 02, 2008 10:20 AM|comet240|LINK

    well all i wanted was a guestbook to work i dont care if it is PHP ASP ASP.NET  i dont care what Database it is

    i tried all of them  but nothing will work on a just a basic install of PHP with Server or Vista or 2003 Server, i have tried all the connection strings at the website i stated, reason i had different places asking about guestbooks is there are different languages so  i havent figured a good version as i dont program in any of those languages just VB6.

     

    oh well ill have to find somewhere else i guess, sorry for  problems here

  • Re: Classic ASP with Windows Server 2003 or 2008

    Feb 02, 2008 03:35 PM|steve schofield|LINK

    Not sure if this helps, but Google has a lot of results for "free asp guestbook"

    http://www.google.com/search?hl=en&q=free+asp+guestbook

    Steve Schofield
    Windows Server MVP - IIS
    http://iislogs.com/steveschofield
    http://www.IISLogs.com
    Log archival solution
    Install, Configure, Forget