cancel
Showing results for 
Search instead for 
Did you mean: 

hi experts error while adding UDF ,UDT and UDO

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Raj,

I think these links will help u....

Regards,

dileep varma.

Former Member
0 Kudos

thanks dileep varma

my problem got solved

thanks again

Answers (1)

Answers (1)

Former Member
0 Kudos

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.