I used “SQLDMO.dll” to take Sql Server Database Backup.
It worked fined.
But now that I have installed Sql Server 2008, I have the following error in my code Whenever I try to run it.
SQLDMO._SQLServer SQLServer = new SQLDMO.SQLServerClass();
{When I try to run In this line I see the following error}
[Retrieving the COM class factory for component with CLSID {10020200-E260-11CF-AE68-00AA004A34D5} failed due to the following error: 80040154.]
Blanking on the exact name of the library, but there is a native .NET SQL maintainence API that you should be using. SQLDMO is an old COM library that I think might no longer be supported.