473,238 Members | 1,762 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,238 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 8423
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
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...

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.