473,569 Members | 2,764 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

HELP! Recordsets problem with IIS 6.0

I have a problem. When I had IIS 5.1 my Dreamweaver MX created
ADODB.Recordset objects for my ASP pages. Everything worked great. But now
it causes HTTP500 - Internal Server Error. What's up?
Jul 19 '05 #1
5 2711
In Internet Explorer, goto tools -> internet options -> advanced, and
uncheck "Show Friendly HTTP Errors" nd reload the page. Post the complete
error message to the group.

Cheers
Ken

"sKodi" <sk***@pisem.ne t> wrote in message news:bd******** **@news.rol.ru. ..
: I have a problem. When I had IIS 5.1 my Dreamweaver MX created
: ADODB.Recordset objects for my ASP pages. Everything worked great. But now
: it causes HTTP500 - Internal Server Error. What's up?
:
:
Jul 19 '05 #2
> it causes HTTP500 - Internal Server Error. What's up?

Tell us what the error really is.
www.aspfaq.com/2109
Jul 19 '05 #3
Here is the error message:

--------------------------------------------------
Microsoft JET Database Engine error '80004005'
Could not find file 'C:\WINDOWS\sys tem32\websitess kodidata.mdb'.

/TMP3tq47hehzc.a sp, line 5
-----------------------------------------------------

Here is the source of sample file (TMP3tq47hehzc. asp), I've added some
comments to the lines:
----------------------------------------------------------------------------
--

<%@LANGUAGE="JA VASCRIPT" CODEPAGE="1251" %> //start of the file, defining
ASP language and codepage
<%
// FileName="Conne ction_ado_conn_ string.htm"
//comment of DreamWeaver MX
// Type="ADO"
//comment of DreamWeaver MX
// DesigntimeType= "ADO"
//comment of DreamWeaver MX
// HTTP="false"
//comment of DreamWeaver MX
// Catalog=""
//comment of DreamWeaver MX
// Schema=""
//comment of DreamWeaver MX
var MM_main_STRING = "Provider=Micro soft.Jet.OLEDB. 4.0; Data
Source=C:/websites/skodi/data.mdb" //connection string
%>
<%
var Recordset1 = Server.CreateOb ject("ADODB.Rec ordset");
//creating of recordset
Recordset1.Acti veConnection = MM_main_STRING;
//connection
Recordset1.Sour ce = "SELECT * FROM global_variable s";
//query
Recordset1.Curs orType = 0;
Recordset1.Curs orLocation = 2;
Recordset1.Lock Type = 1;
Recordset1.Open ();
//opening recordset
var Recordset1_numR ows = 0;
%>
<html>
<head>
<title>Sample Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251">
</head>

<body>
</body>
</html>
<%
Recordset1.Clos e();
%>
----------------------------------------------------------------------
Jul 19 '05 #4
> Source=C:/websites/skodi/data.mdb"

These should be \ slashes, not / slashes.

Or, better yet, use server.mappath so that you are not affected by changes
to the local filesystem.
Jul 19 '05 #5
No, there must be backslashes. It worked well on IIS 5.0 and IIS 5.1 .
However, I've solved this problem myself now. Thanks to Ken Shaefer for his
advice about IE.
Jul 19 '05 #6

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

Similar topics

11
2863
by: Helmut Jarausch | last post by:
Hi, entering help('rstrip') or help('ljust') into IDLE's shell window I only get no Python documentation found ...
6
4316
by: wukexin | last post by:
Help me, good men. I find mang books that introduce bit "mang header files",they talk too bit,in fact it is my too fool, I don't learn it, I have do a test program, but I have no correct doing result in any way. Who can help me, I thank you very very much. list.cpp(main program)...
2
2537
by: John Baker | last post by:
I find it highly annoying that MS Access tries to go online when I want to look at the help files. Is there a way to configure it so it just looks at my local helpfiles when I hit F1?
27
2790
by: Bruce Dodds | last post by:
I recently started using Access 2003 for the first time. I wanted to pass on some comments about the Help system to Access MVPs who frequent this board. I'm doing this in the hope that some of what I say may be passed on to Microsoft. Microsoft has implemented a combination local and web based help system in Access 2003. The local Help...
5
3370
by: Steve Teeples | last post by:
Can someone point me to a document that clearly identifies the steps of creating a good help system for an application? I have a test tool that I'd like to add help to so that others will know how to use it. -- Steve
3
2430
by: stuart_white_ | last post by:
I've just upgraded from Python 2.3.3 to Python 2.4.2, and, although the new version of Python seems to be running correctly, I can't seem access the help from the interpreter. On Python 2.3.3 --------------- Python 2.3.3 (#51, Dec 18 2003, 20:22:39) on win32 Type "help", "copyright", "credits" or "license" for more information. >>>...
8
3210
by: Mark | last post by:
I have loaded Visual Studio .net on my home computer and my laptop, but my home computer has an abbreviated help screen not 2% of the help on my laptop. All the settings look the same on both including search the internet for help, but the help is worthless. Any ideas?
10
3343
by: JonathanOrlev | last post by:
Hello everybody, I wrote this comment in another message of mine, but decided to post it again as a standalone message. I think that Microsoft's Office 2003 help system is horrible, probably the worst I ever seen. I almost cannot find anything I need, including things I
5
1500
by: PaulS | last post by:
new to Fedora7, typed python in interactive interpreter, then help(). Then modules to get a list of modules. Then module name to get info on a module but no help file. What is the help file name? Is there an environmental variable I have to set? Thanks, Paul
6
2850
by: priyajohal | last post by:
#include<fstream.h> #include<process.h> #include<stdlib.h> #include<conio.h> #include<string.h> #include<dos.h> #include<ctype.h> #include<stdio.h> void setup() void help();
0
7921
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8118
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
6278
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5504
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5217
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3651
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3636
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1208
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
936
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.