Sharepoint Forum

 
Home » Forum » Sharepoint       Ask a questionRSS Feeds

Extending a virtual server Using sharepoint API

  Asked By: Tara Rogers         Date: Jun 30, 2006      Category: Sharepoint      Views: 201
 

While extending a virtual server, using globalAdmin.ExtendVirtualServer() method which is under Microsoft.Sharepoint.Administration, virtual server gets extend successfully but while browsing it gives "Unable to get global configuration data." - error.

Below is the exact piece of code i am using through a console application to extend a Virtual server:

SPVirtualServer spVServer = globalAdmin.ExtendVirtualServer(uri, false, "StsAppPool1", false, null, null,true);

SPContentDatabaseCollection dbCollection = spVServer.ContentDatabases;
dbCollection.Add("localhost", "SPSTest", null, null, 0, 0, 0);


Do you know someone who can help? Share a link to this thread on twitter, or facebook.

Tagged:            

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on Extending a virtual server Using sharepoint API Or get search suggestion and latest updates.


Your Answer
  • Answer should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].