Skip to main content
Participant
June 24, 2007
Question

HTTP Error Code 500 for Database Connection

  • June 24, 2007
  • 4 replies
  • 588 views
Can anyone help me?
I am a beginner of database driven website.
I followed the instruction book came with dreamweaver MX2004 to use Sample site in the getting started folder and tested database connection. IIS installation test was fine but whatever I tried to test database connection as it was instructed I get HTTP Error Code 500 Internet Server Error. I tried setup ASP Sample site and ASP.NET Sample site but both had the same result.
Can anyone tell me what could be wrong?
Thank you in advance
This topic has been closed for replies.

4 replies

July 3, 2007
Turn off friendly errors in IE Options, then see what the error really says. If its the parent paths then they can be turned back on in IIS on the server.
Participant
July 3, 2007
Did this work fine on an IIS 5.1 install on XP for testing and then fall down when moved to an IIS 6 install on Lonhorn?

If so check your connection string references on the pages.
ie should be <!--#include virtual="/Connections/users.asp" -->
not <!--#include file="..//Connections/users.asp" -->

Hope this helps
pepe12345Author
Participant
June 25, 2007
Thank you for your message.
It's just said

HTTP Error Code500 Internet Server Error

I could not copy and paste the error message.
I f you can give me someidea I will be very gratefull
Kind regards,
June 25, 2007
can you provide us with the full error message? (Copy paste)