473,419 Members | 1,961 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,419 software developers and data experts.

500.100 internal server error

Ben
hi

when I try to excecute an ASP (either JS or VB) script to
say, access a database record, I get an Internal Server
Error HTTP 500.100

Why? and HOW CAN I FIX THIS?

Thanks

Ben

Jul 19 '05 #1
5 8436
500 errors basically mean: Something is wrong.

In your browser, clear the "Show Friendly Error" option and then what error do you received (In IE's Menu, Tools->Internet Options->
Advanced tab. Find "Show Friendly HTTP error message, and uncheck it. Apply and OK changes, then close your browser.) Is this does
not tell you the true problem, then I have a couple of questions, what version of IIS or Windows are you running on? Are there error
messages being logged in the Event logs? Does html work?
-rwg
This is what I think, not necessarily what is accurate!

--------------------
| Content-Class: urn:content-classes:message
| From: "Ben" <an*******@discussions.microsoft.com>
| Sender: "Ben" <an*******@discussions.microsoft.com>
| Subject: 500.100 internal server error
| Date: Sat, 6 Mar 2004 23:05:03 -0800
| Lines: 12
| Message-ID: <84****************************@phx.gbl>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="iso-8859-1"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
| Thread-Index: AcQEEoPFyT1EUUdQR32fATlEkWZtlA==
| Newsgroups: microsoft.public.inetserver.asp.general
| Path: cpmsftngxa06.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.inetserver.asp.general:267686
| NNTP-Posting-Host: tk2msftngxa08.phx.gbl 10.40.1.160
| X-Tomcat-NG: microsoft.public.inetserver.asp.general
|
| hi
|
| when I try to excecute an ASP (either JS or VB) script to
| say, access a database record, I get an Internal Server
| Error HTTP 500.100
|
| Why? and HOW CAN I FIX THIS?
|
| Thanks
|
| Ben
|
|
Jul 19 '05 #2
Hi Rob

Nothing -- I still get the same 500.100 Internal Server
Error - ASP Error.

HTML works fine

I am using Windows XP Professional with IIS

Thanks

Jul 19 '05 #3
Hello Ben:

| Nothing -- I still get the same 500.100 Internal Server
| Error - ASP Error.

That's odd. Normally with the 500.100 ASP error, turning off Show Friendly Error results in you seeing the line of code that ASP failed on.
Then you would see something like this:

ADODB.Connection (0x800A0E7A)
Provider cannot be found. It may not be properly installed.
/Nwind.asp, line 10
< from "HTTP 500.100 - Internal Server Error" When You Try to Access a Provider http://support.microsoft.com/?id=278604 >

This is the information needed to isolate the problem. Maybe this information is being logged in the IIS web log. Recreate this failure, wait
a couple of minutes for the logs to flush, and check the IIS web log for detailed information. ( log files are normally here: %systemroot%
\system32\logfiles\w3svc1\* , the most recent dated file is the one with the latest errors )

-rwg
This is what I think, not necessarily what is accurate!

--------------------
| Content-Class: urn:content-classes:message
| From: <an*******@discussions.microsoft.com>
| Sender: <an*******@discussions.microsoft.com>
| References: <84****************************@phx.gbl>
| Subject: 500.100 internal server error
| Date: Sun, 7 Mar 2004 19:09:37 -0800
| Lines: 11
| Message-ID: <5c****************************@phx.gbl>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="iso-8859-1"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
| Thread-Index: AcQEuspSnWwxiJ6BTOC7k2Nxji9m7Q==
| Newsgroups: microsoft.public.inetserver.asp.general
| Path: cpmsftngxa06.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.inetserver.asp.general:267712
| NNTP-Posting-Host: tk2msftngxa14.phx.gbl 10.40.1.166
| X-Tomcat-NG: microsoft.public.inetserver.asp.general
|
| Hi Rob
|
| Nothing -- I still get the same 500.100 Internal Server
| Error - ASP Error.
|
| HTML works fine
|
| I am using Windows XP Professional with IIS
|
| Thanks
|
|
Jul 19 '05 #4
Ben
Hi Rob!

Here's what I've got
<!--ERROR CODE-->
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC Driver Manager] Driver's
SQLSetConnectAttr failed
/records.asp, line 12
Browser Type:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)

Page:
GET /records.asp

and this is line 12 of "records.asp"

<!--LINE 12 RECORDS.ASP-->

record.ActiveConnection = MM_record_STRING;

so....what can we come up with?

Thanks

Ben
Jul 19 '05 #5
rwg
Hello Ben:

At this point, we know that IIS and ASP are working and the issue is in the open of the Connection to the database. ODBC is setting the Internal Error
status.

Things that can cause this are invalid database filename (if you are using a database such as Access), invalid server name (if you are using a database
such as SQL), invalid password, or not having the NTFS rights to access the file. I suppose this could also be from a corrupt database file. I have read
that someone got this message because their Access database was open and locked by another application.

You could use Filemon from www.sysinternals.com to see if it's a NTFS permission issue. Restart IIS, start filemon recording, recreate your error, review
Filemon log for Access Denied. If it's a permission issue, you wioll want to authorize IUSR_machinename and IWAM_machinename account to have
access to the file.

A problem isolation helper would be to print the connection string before the failure point.

Depending on your software levels, you may need to update your MDAC, see FIX: Setting of Connection Attribute Fails When You Use Connection
http://support.microsoft.com/?id=822841

-rwg
This is what I think, not necessarily what is accurate!

--------------------
| Content-Class: urn:content-classes:message
| From: "Ben" <be********@inspire.net.nz>
| Sender: "Ben" <be********@inspire.net.nz>
| References: <84****************************@phx.gbl> <5c****************************@phx.gbl> <TJj7v0QBEHA.660
@cpmsftngxa06.phx.gbl>
| Subject: RE: 500.100 internal server error
| Date: Thu, 11 Mar 2004 16:40:18 -0800
| Lines: 28
| Message-ID: <88****************************@phx.gbl>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="iso-8859-1"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
| Thread-Index: AcQHypeGr6hxBkUjS6aZBtaDXAff1A==
| Newsgroups: microsoft.public.inetserver.asp.general
| Path: cpmsftngxa06.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.inetserver.asp.general:268159
| NNTP-Posting-Host: tk2msftngxa14.phx.gbl 10.40.1.166
| X-Tomcat-NG: microsoft.public.inetserver.asp.general
|
| Hi Rob!
|
| Here's what I've got
| <!--ERROR CODE-->
| Error Type:
| Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
| [Microsoft][ODBC Driver Manager] Driver's
| SQLSetConnectAttr failed
| /records.asp, line 12
|
|
| Browser Type:
| Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
|
| Page:
| GET /records.asp
|
| and this is line 12 of "records.asp"
|
| <!--LINE 12 RECORDS.ASP-->
|
| record.ActiveConnection = MM_record_STRING;
|
| so....what can we come up with?
|
| Thanks
|
| Ben
|
Jul 19 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: | last post by:
I am accessing the same error-containing ASP page on an ISP server using w2k IE6 but with different effect. On the first computer I get several line of HTML outputed by ASP, shown correctly by...
4
by: Patrick Masson | last post by:
Hello, Our configuration : Apache 2.0.53 PHP 5.0.4 PC Windows 2000 MATLAB 6.1 We work on a consulting project in France which involves MATLAB Web server,
8
by: Rod | last post by:
I have been working with ASP.NET 1.1 for quite a while now. For some reason, opening some ASP.NET applications we wrote is producing the following error message: "The Web server reported...
4
by: jf li | last post by:
I have a Asp.net web application and a Asp.net Web service application. The Web application is using HtmlInputFile to get a 50M size of file selected by end user, read the data of this file and...
11
by: Lieven | last post by:
Hey, I had a hard disc problem last week on my server. I replaced the disc and copied al the files to the new hard disc, everything works fine again except some php scripts that are using the...
23
by: ticfranca | last post by:
Hi, I'm getting this error in the code below: sub Pega_recorde { $database = 'bundinha'; $host = 'localhost'; $usuario = 'myhumoradm'; $senha = 'my8xr2d2'; ...
0
by: ticfranca | last post by:
i'm getting an error at the line : $sth->execute() or die $dbh->errstr; the error is : The server encountered an internal error or misconfiguration and was unable to complete your request. Please...
3
by: rooznamechi.h | last post by:
Hi, I use Url rewriting on my website and my website works normally , but I don't know why Google crawlers can not read my pages . For example look at address below :...
3
by: guillaume.braux | last post by:
Hello, I am running WS2008 + IIS7 + FASTCGI + ZendCore. I have not modified the default ZendCore php.ini configuration file. Actualy, any kind of PHP error, warning or notice gives me...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.