Tuesday, October 16, 2012

SharePoint Foundation 2013 Error : ErrorCode:SubStatus:Service running under Network Service account in workgroup environment is not supported.

Environment: Windows Server 2012, SharePoint Foundation 2013 in Stand-Alone mode

Error: ErrorCode:SubStatus:Service running under Network Service account in workgroup environment is not supported.

Resolution: 
  • Go to Run > Type "Services.msc" 
  • Start "AppFabric Caching Service" with proper login account.
  • Go to SQL Server in then add role to login account as below.
  • Add role: Public, Sysadmin, Setupadmin, Serveradmin
  • Then Go to Run > Type "Cmd" & run as Administrator
  • Set Psconfig.exe path as below command 
  • Type "cd C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\BIN" then click ENTER.
  • Now run command for silent installation "psconfig.exe -cmd Configdb Create SkipRegisterAsDistributedCacheHost"

Happy SharePointing...!!!

Tuesday, July 17, 2012

SharePoint 2013 : Hardware and software requirements

You can check hardware & software requirements on below MSDN Url.
http://technet.microsoft.com/en-us/library/cc262485(v=office.15)  

Happy SharePointing...!!!

Tuesday, May 1, 2012

Access denied. You do not have permission to perform this action or access this resource.

Error:
Access denied. You do not have permission to perform this action or access this resource.

Stack Trace:
at Microsoft.SharePoint.Client.ClientRequest.ProcessResponseStream(Stream responseStream)
at Microsoft.SharePoint.Client.ClientRequest.ProcessResponse()
at Microsoft.SharePoint.Client.ClientRequest.ExecuteQueryToServer(ChunkStringBuilder sb)
at Microsoft.SharePoint.Client.ClientRequest.ExecuteQuery()
at Microsoft.SharePoint.Client.ClientRuntimeContext.ExecuteQuery()
at Microsoft.SharePoint.Client.ClientContext.ExecuteQuery()
at ConsoleApplication2.Program.getSubWebs(Web orootweb, String path)

Error Code:
clientContext.Load(oWebsite, website => website.Webs, website => website.Title);
clientContext.ExecuteQuery();
 
Error Cause:
There lots of SubSites and some Webs has not permission so when we call  "website => website.Webs" above error file.
 
Error Resolution:
There is one out of the box method for fetch Current User's site (WebCollection result = oWebsite.GetSubwebsForCurrentUser(new SubwebQuery());).
 
Working Code:
WebCollection result = oWebsite.GetSubwebsForCurrentUser(new SubwebQuery());
clientContext.Load(result, n => n.Include(o => o.Title));
clientContext.ExecuteQuery();
 

Happy SharePointing...!!!

Wednesday, April 18, 2012

The form cannot be rendered. This may be due to a misconfiguration of the Microsoft SharePoint Server State Service. For more information, contact your server administrator.

Error:
The form cannot be rendered. This may be due to a misconfiguration of the Microsoft SharePoint Server State Service. For more information, contact your server administrator.

Solution:
1.Open Central Administration
2.Click on Configuration Wizard right hand side navigation links and then Launch the Farm Configuration Wizard.
3.Start the Wizard
4.Make sure checkbox along with State Service is checked.
5.Click Next.
 
 
Happy SharePointing...!!!

Error occurred in deployment step 'Recycle IIS Application Pool'

Error:
Error occurred in deployment step 'Recycle IIS Application Pool': The open operation did not complete within the allotted timeout of 00:01:00. The time allotted to this operation may have been a portion of a longer timeout.

Solution :
Close you VisualStudio Project & open again.


Happy SharePointing...!!!

Wednesday, March 28, 2012

Error occurred in deployment step 'Activate Features': Unable to locate the workflow's association data.

Error :  "Error occurred in deployment step 'Activate Features': Unable to locate the workflow's association data. To restore the association data to the workflow, restart the workflow settings wizard by selecting the workflow node in Solution Explorer and then clicking the ellipsis button (…) on one of the properties in the Properties window that has an ellipsis button"

Solution : Goto Visual Studio 2010 > Right Click on Workflow file > Property Window  >  Click on any one of (History List/ Target List / Task List ) ...
Then, one popup window will opend and fill required details.

Happy SharePointing...!!!