Friday, February 10, 2012

Cannot find SMO namespace in Visual C# 2005

I know that this may sound like a stupid question... but I install visual C# express and SQL server express, and I still couldn't access the SMO namespace. When I install SQL express I went in the details to make sure that I installed everything in the package. However when I try to use SMO in C#, it just couldn't find the Microsoft.SqlServer.Management namespace that SMO is under.

Any help is appreciated!!

Thanks

I must be really stupid... didn't know you have to add SqlServer.smo under project -> add reference before you can use the smo namespace... Sorry guys... can just ignore my last post

No comments:

Post a Comment