472,328 Members | 1,740 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

ASP / XML Reading / Error message

Dear all,

We recently lost our main production server to a RAID failure, as such we've
had to rebuild a new server, we've tried to as much as possible (difficult
without a build plan!) rebuild the new server to the same spec as the
previous one.

I have an ASP page however which is now erroring which it didn't before,
whilst I've tried a little Googling, I've not found anything yet which has
helped me, hence I turn to your goodselves...

The error is this:

Provider error '80040e21'
Multiple-step OLE DB operation generated errors. Check each OLE DB status
value, if available. No work was done.
/portfolio/Default.asp, line 99

And it is generated on my page, after its loaded a little bit (the html at
the top), but then tries to load in an XML file which then generates the
rest of the page....the code is as follows, line 99 is the
RS.ActiveConnection line...

<%
Dim RS
Set RS = Server.CreateObject("ADODB.RecordSet")

RS.ActiveConnection = "Provider=MSDAOSP; Data
Source=MSXML2.DSOControl.2.6;"

RS.Open(Server.MapPath("portfolio.xml"))

Count = 0
%>

There is further code after this, but its not getting that far, I can post
it all if you need it (although the page is a bit big).

The server is running Windows 2000 SP4, we found an article that mentioned
about older versions of MDAC being to blame, thus this morning we installed
2.8 Sp1, and, on the off chance, the MSXML 4 Core Services (assuming that
perhaps the parser could also be to blame).

If anyone has any thoughts as to what might be causing this problem I would
love to hear from you!

Thanks in advance for your time

Regards

Rob

Oct 5 '06 #1
1 1751

"Rob Meade" <ku***************@edaem.borwrote in message
news:%2****************@TK2MSFTNGP05.phx.gbl...
Dear all,

We recently lost our main production server to a RAID failure, as such
we've
had to rebuild a new server, we've tried to as much as possible (difficult
without a build plan!) rebuild the new server to the same spec as the
previous one.

I have an ASP page however which is now erroring which it didn't before,
whilst I've tried a little Googling, I've not found anything yet which has
helped me, hence I turn to your goodselves...

The error is this:

Provider error '80040e21'
Multiple-step OLE DB operation generated errors. Check each OLE DB status
value, if available. No work was done.
/portfolio/Default.asp, line 99

And it is generated on my page, after its loaded a little bit (the html at
the top), but then tries to load in an XML file which then generates the
rest of the page....the code is as follows, line 99 is the
RS.ActiveConnection line...

<%
Dim RS
Set RS = Server.CreateObject("ADODB.RecordSet")

RS.ActiveConnection = "Provider=MSDAOSP; Data
Source=MSXML2.DSOControl.2.6;"

RS.Open(Server.MapPath("portfolio.xml"))

Count = 0
%>

There is further code after this, but its not getting that far, I can post
it all if you need it (although the page is a bit big).

The server is running Windows 2000 SP4, we found an article that mentioned
about older versions of MDAC being to blame, thus this morning we
installed
2.8 Sp1, and, on the off chance, the MSXML 4 Core Services (assuming that
perhaps the parser could also be to blame).

If anyone has any thoughts as to what might be causing this problem I
would
love to hear from you!

Thanks in advance for your time

Regards

Rob

Does the xml file view correctly in IE if opened directly?
Try installing the latest SP of MSXML3 if you are concerned about the
parser.
Code looks odd to me but I'm not familiar with the MSDAOSP provider, is it
expecting to receive the path to an XML file as recordset source?

Oct 5 '06 #2

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

Similar topics

7
by: John | last post by:
I have over 5000 thumbnail pictures of size 5kb each. I would like to able to load all 5000 pictures and view 50 per page using mysql_data_seek(). ...
5
by: Ken | last post by:
Hello, I'm trying to read a Blob from Oracle and then write it to an audio file(.AU). I'm using Visual Studio.Net 2003 (VB). I can't seem to get...
7
by: Shane | last post by:
Hi, Thanks in advance for the help. I have been to many websites and tried several solutions to my problem, but have fixed part of it. It's...
21
by: JoKur | last post by:
Hello, First let me tell you that I'm very new to C# and learning as I go. I'm trying to write a client application to communicate with a server...
0
by: Jonathan | last post by:
Hi there, I am using a LOTUS/DOMINO Web Service in my ASP.Net application and I am having quite a lot of problems. I have managed to solve most of...
7
by: John Dann | last post by:
I'm trying to read some binary data from a file created by another program. I know the binary file format but can't change or control the format....
4
by: Jason Kumpf | last post by:
OK I've been staring at this code all day and still with everything I have tried I cannot figure out two problems I am having. Once is why the...
4
by: Jonathan [sbrodolo] | last post by:
Hi there, I am using a LOTUS/DOMINO Web Service in my ASP.Net application and I am having quite a lot of problems. I have managed to solve most of...
12
by: Felix85 | last post by:
here is my method for reading in a file: static room room::file2Room(int rnum){ ostringstream filename; filename << "../gamefiles/rooms/" <<...
4
by: Laharl | last post by:
My Operating Systems professor has assigned homework that basically boils down to implementing ls -lra, but with a different output format. In other...
0
by: tammygombez | last post by:
Hey fellow JavaFX developers, I'm currently working on a project that involves using a ComboBox in JavaFX, and I've run into a bit of an issue....
0
by: tammygombez | last post by:
Hey everyone! I've been researching gaming laptops lately, and I must say, they can get pretty expensive. However, I've come across some great...
0
by: concettolabs | last post by:
In today's business world, businesses are increasingly turning to PowerApps to develop custom business applications. PowerApps is a powerful tool...
0
by: teenabhardwaj | last post by:
How would one discover a valid source for learning news, comfort, and help for engineering designs? Covering through piles of books takes a lot of...
0
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...
0
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. ...
1
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...

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.