on 09-08-2008 1:16 PM
Hi ,
When i adding udf i getting error msg "Ref count for this object is higher then 0"
Plz reply as soon as possible
Awaiting Soon Reply
Rajkumar Gupta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
System.Runtime.InteropServices.Marshal.ReleaseComObject(rs)
rs = Nothing
GC.WaitForPendingFinalizers()
GC.Collect()
try the above code and before using the COM objects as there is a problem with the object ur getting the error.
If there is more than one component alive at same point of time, you will get this error.
After use of ur DI objects call Garbage collector and dump the objects.
Hope it helps,
Vasu Natari.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
107 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.