PC Review


Reply
Thread Tools Rate Thread

ADOMD.Position Error Object is no longer valid

 
 
vipul.tankariya@gmail.com
Guest
Posts: n/a
 
      14th Oct 2006
We have a .NET application that uses ADOMD to query a MS analysis OLAP
cube. In a typical query, we get data for about 3 dimensions (800 x 15
x 2 entities) and then iterate over the resulting cell set to extract
information. Occasionally, we see "Object is no longer valid"
exceptions being thrown. The object (whose access usually throws this
error) is of the type "ADOMD.Position". Sometimes the error appears
while executing Cell.Get_Item(). We have a mechanism to retry the query
if these exceptions are thrown in a (vain) hope that on the retry the
whole thing will go off successfully.

This works sometimes, but not always, so this isn't satisfactory. Does
anyone have any idea why this would be happening? Is this something to
do with garbage collection?
Or is it because ADOMD is an unmanaged component? Are there any
workarounds/fixes? I would be grateful to know.

Thanks
Vipul

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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
ASP.Net ADOMD error Object is no longer valid vipul.tankariya@gmail.com Microsoft Dot NET 0 18th Oct 2006 11:35 AM
Error code 4312: The object identifier does not represent a valid object Nicolas Caron Microsoft Windows 2000 Fax 1 19th Dec 2004 08:35 AM
Re: Global collection - 'object no longer valid' message Albert D. Kallal Microsoft Access VBA Modules 0 2nd Apr 2004 08:08 PM
error message - no longer a valid entry =?Utf-8?B?S2VpdGhh?= Microsoft Outlook Contacts 1 10th Nov 2003 09:37 PM
Object no longer valid or no longer set error Margo Microsoft Access 1 26th Aug 2003 08:59 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:07 AM.