« Previous Next »

Thread: I am lost in IIS with an ASP App

Last post 07-04-2009 7:15 PM by Nunos_b. 4 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (5 items)

Sort Posts:

  • 06-12-2009, 2:13 PM

    • Nunos_b
    • Not Ranked
    • Joined on 06-12-2009, 2:02 PM
    • Posts 2

    I am lost in IIS with an ASP App

    So first off let me say I know pretty much zero about programming. My company uses a access database to track customer information about their sites. Someone wrote an application in ASP 2.0 which worked well in IIS 6.0 but recently we installed a new SBS 2008 server with IIS 7.0. I have been unable to get the site to show up on the web at all. I get a 500 error which is useless in troubleshooting for me.

     

    What I have tried is making sure the ASP app pool is running which it is. Tried to right click and convert to an application, didn't work. I can run a simple ASP page so I believe my problem is making the database connect to the ASP page. I have looked at the connection string and it looks like it has the right format and name of the server but still no love.

     

    I would appreciate any advice or direction to take in resolving this issue for me and thank you in advance for your time and knowledge.

  • 06-12-2009, 3:24 PM In reply to

    • MagLa
    • Top 150 Contributor
    • Joined on 01-16-2008, 6:40 PM
    • Austria - Vienna
    • Posts 37

    Re: I am lost in IIS with an ASP App

    Did you did the 32 bitness thingling? I mean, did you set your app to run in 32 bit mode? If not, you can do this in by selecting the Applicationpool, then your application, make a right click on it and select more options (or how it is named in english) and then set the 32 bit mode "True". Because your Access Database needs the connectionstring in 32 bit mode and the database drivers, too.

    Regards, Magdalena

  • 06-17-2009, 3:06 AM In reply to

    Re: I am lost in IIS with an ASP App

    Hi,

    With IIS7.0, the sensitive classic ASP script error message are no longer shown in browser by default.  Make sure  <httpErrors  errorMode="Detailed"/> (IIS Manager->ASP icon->Debugging Properties) and  <asp scriptErrorSentToBrowser="true"/>(IIS Manager-> Error Pages icon->Edit Feature Settings…), then reproduce this issue. There should be some detailed error message which helpful for us determine the cause.

    Below are some  articles about ASP pages troubleshooting, for your reference:
    Classic ASP script error messages are no longer shown in a Web browser by default
    http://learn.iis.net/page.aspx/564/classic-asp-script-error-messages-are-no-longer-shown-in-a-web-browser-by-default/

    Using Failed Request Tracing to troubleshoot Classic ASP errors
    http://learn.iis.net/page.aspx/565/using-failed-request-tracing-to-troubleshoot-classic-asp-errors/

    Leo Tang
    Microsoft Online Community Support

    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
  • 06-29-2009, 6:45 PM In reply to

    • sykesjs
    • Top 500 Contributor
    • Joined on 06-18-2009, 10:28 AM
    • Kansas City, MO
    • Posts 16

    Re: I am lost in IIS with an ASP App

     You might also try browsing the site from the server console if possible.  Sometimes you get more detail there on 500 messages.

     

    --JS

  • 07-04-2009, 7:15 PM In reply to

    • Nunos_b
    • Not Ranked
    • Joined on 06-12-2009, 2:02 PM
    • Posts 2

    Re: I am lost in IIS with an ASP App

    Sorry I have been away and unable to reply to this I was in a car accident and am just now getting back to work. Thank you for the above I have performed the steps above and I now recieve this error when I try to brows to the page in IE 8.

    Microsoft OLE DB Provider for ODBC Drivers error '80004005'

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

    /ptech/connect.asp, line 2

Page 1 of 1 (5 items)
Microsoft Communities