H
hrhoe
Hi,
I'm trying to create a reusable component with C#.
So, I created a user control that uses Microsoft SQLDMO
Object Library (SQLDMO).
And I could add that UserControl on Toolbox.
However, whenever I'm trying to add this user control on
the client program's form I'm getting the following error
message.
----------------------
An exception occurred while trying to create an instance
of RNCLoadCtl.UserControl.
The exception was "Unable to cast object of type
SQLDMO.ApplicationClass to type
SQLDMO.ApplicationClass.".
----------------------
Does anyone know about this error message?
Is there any walkaround of this?
Any comment would be helpful
I'm using the Visual Studio .NET 2002 Soultion
Architecture version on Windows XP professional machine.
Thank you.
I'm trying to create a reusable component with C#.
So, I created a user control that uses Microsoft SQLDMO
Object Library (SQLDMO).
And I could add that UserControl on Toolbox.
However, whenever I'm trying to add this user control on
the client program's form I'm getting the following error
message.
----------------------
An exception occurred while trying to create an instance
of RNCLoadCtl.UserControl.
The exception was "Unable to cast object of type
SQLDMO.ApplicationClass to type
SQLDMO.ApplicationClass.".
----------------------
Does anyone know about this error message?
Is there any walkaround of this?
Any comment would be helpful
I'm using the Visual Studio .NET 2002 Soultion
Architecture version on Windows XP professional machine.
Thank you.