0
votes
0answers
74 views

How to get SPContentDatabase object knowing only server and database name

I would like to retrieve SPContentDatabase object that corresponds to a specified server and database name (i.e. same that is specified in SqlConnection). Specifically, I would like to retrive ...
0
votes
1answer
53 views

Removing old content databases cleanly

I have created and deleted a web application without specifying to remove the content database. What is the cleanest way for me to delete the content database?
1
vote
1answer
70 views

Content DB not getting any permissions on web application created through central admin

I tried to create a Web Application using Central Admin. It created web app without displaying any error, I can browse site too after creating site collection and that, but content db got no ...
0
votes
0answers
601 views

Error while attaching content db to a different server

I got back up of content db from a demo server and trying to attach it to a newly created web application in my personal copy of same demo server but not up to date. however I am getting this error, ...
2
votes
2answers
2k views

Programmatically create a site collection in an existing, mounted content database

I'd like to create a site collection from a custom application page in central admin. The administrator needs the option to specify an existing, mounted content database to store the new site ...