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.
Do you know someone who can help? Share a link to this thread on twitter, or facebook.