Sharepoint Forum

 
Home » Forum » Sharepoint       Ask a questionRSS Feeds

Creating Folder in Document workspace thru code

  Asked By: Abhishek Bapat         Date: Mar 18, 2010      Category: Sharepoint      Views: 340
 

Facing some problems :

1. When i use the createFolder method of Document Workspace to create
folder in sharepoint(the code which does this is in a Web
Application), The folder is getting created in the specified Shared
Documents, but the Web application itself is throwing an error. The
exact error is as follows :

The virtual server that is referenced here is not in the config
database.
Description: An unhandled exception occurred during the execution of
the current web request. Please review the stack trace for more
information about the error and where it originated in the code.

Exception Details: System.Runtime.InteropServices.COMException: The
virtual server that is referenced here is not in the config database.

2. The same code when run from a windows application runs
successfully.


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 Creating Folder in Document workspace thru code Or get search suggestion and latest updates.


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