Logo 
Search:

Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Config database to virtaul server

  Asked By: Nishita    Date: Jan 29    Category: Sharepoint    Views: 663

I am beginner for SPS. I wanted to create my webpart. It is throwing
following exception:
The virtual server that is referenced here is not in the config
database

For the code:
SPWeb myWeb = SPControl.GetContextWeb(Context);
Response.Write(myWeb.Lists.Count.ToString());

This is simple program. Can you please tell me how to configer
database to virtaul server.

Share: 

 

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

 
Didn't find what you were looking for? Find more on Config database to virtaul server Or get search suggestion and latest updates.




Tagged: