469,625 Members | 1,879 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,625 developers. It's quick & easy.

ASP.Net ADOMD error Object is no longer valid

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

Oct 18 '06 #1
0 1340

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Wayno | last post: by
5 posts views Thread by Enos Meroka | last post: by
10 posts views Thread by Sharon | last post: by
13 posts views Thread by Jack MacRank | last post: by
reply views Thread by Avi Perez | last post: by
1 post views Thread by Charlotte | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.