Logo 
Search:

Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Creating Folder in Document workspace thru code

  Asked By: Abhishek    Date: Mar 18    Category: Sharepoint    Views: 1169

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.

Share: 

 

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.




Tagged: