|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Creating DB using SMOHi,
I am trying to create a new database using SMO, I am getting Set_Parent Failure Error when try to create a new database. This is the code I am using to create the database. Database database= new Database("DbServer", "MyNewDB"); database.Create(); I know if you just use the first line it will try to attach the database, and u will get set_parent failure error, but I am using .Create() also.... still I am getting the error.... can anyone help me in this ? Thanks Rujith |
|||||||||||||||||||||||