Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > ASP / XML Reading / Error message

Reply
Thread Tools

ASP / XML Reading / Error message

 
 
Rob Meade
Guest
Posts: n/a
 
      10-05-2006
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



 
Reply With Quote
 
 
 
 
Anthony Jones
Guest
Posts: n/a
 
      10-05-2006

"Rob Meade" <> wrote in message
news:%...
> 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?



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error reading xml document in Asp Pim75 ASP General 3 03-21-2007 10:27 PM
ASP / XML Reading / Error message Rob Meade ASP .Net 1 10-05-2006 08:06 AM
UnauthorizedAccessException when reading XML files (no problem when reading other file-types) blabla120@gmx.net ASP .Net 0 09-15-2006 02:08 PM
Different results parsing a XML file with XML::Simple (XML::Sax vs. XML::Parser) Erik Wasser Perl Misc 5 03-05-2006 10:09 PM
ASP.Net reading XML SOAP error Jonathan ASP .Net 0 04-21-2005 07:51 AM



Advertisments