Client Object Model in SharePoint 2010 – Part 1

Client Object Model in SharePoint 2010 is one of the developers dream. It enables developers to
access the SharePoint data from client, the code need not to be deployed in to the server.

Client Object Model can be used in the following three ways.

.Net CLR
Silverlight Object Model
JavaScript

.Net CLR Example:

Create the context to the SharePoint site. No traffic/requests [...]


Cannot open database requested by the login the login failed

I got into the below issue, when I try to access the site collection search scopes.

Cannot open database “Uday_SharePoint_SSP_Content” requested by the login. The login failed. Login failed for user ‘Uday\Uday.Ethirajulu$’. at Microsoft.SharePoint.Portal.Search.Admin.Pages.SearchAdminPageBase.ErrorHandler(Object sender, EventArgs e) at System.Web.UI.TemplateControl.OnError(EventArgs e) at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean [...]