Posts

Showing posts from August, 2014
the 'microsoft.ace.oledb.12.0' provider is not registered on the local machine solution ) install missing files . 1:  http://www.microsoft.com/download/en/details.aspx?id=13255 download and install this:  http://www.microsoft.com/download/en/confirmation.aspx?id=23734 open in visual studio and follow the wizard
Sharepoint 2013 App Uninstall error :500 internal server  error . Solution: Restart your IIS .this happend because of app pool being filled out. you can do it from start -> run -> cmd -> iisrestart on server
UnInstall App from sharepoint 2013 You can do it from UI by : Site content --> click on ... of aqpp and you will see remove . click on remove and it should work . If it says refresh page and try again  try it and if you are still not able to do it just try powershell command below it will do the magic for you . from powershell: $instances = Get-SPAppInstance -Web http:/sharepointsite:1234/sites/test1 $instance = $instances | where {$_.Title -eq 'App1'} Uninstall-SPAppInstance -Identity $instance
Sharepoint  on adding a list /any action. Sorry, something went wrong Additions to this Web site have been blocked. Please contact the administrator to resolve this problem. solution: Unlock the site through central admin. application managment . site collections. configure quotas and locks select site collection and select radio button not locked . and your site should be good to go. central admin  or powershell Set - SPSite http : //SiteCollectionUrl -LockState Unlock
The local SharePoint server is not available. Check that the server is running and connected to the SharePoint farm. Solution: Cause: Your login user has no 'db_owner' access for SharePoint Databases. 1. SharePoint_Config 2. SharePoint_AdminContent_[XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX] 3.Your web application DB in which you want to deploy WSP (Example. WSS_Content_XXXX) Solution: Now connect your SQL Server with admin user. Then select your user which has error in deployment.
Delete a subsite sharepoint 2013  Use this procedure to delete a subsite. After completing this procedure, the selected subsite including all document libraries, lists and list data, Web Parts, site settings, and configuration applied for that site is deleted. Delete a subsite Open the parent site by using any one of the following methods: Type the URL of the site in the Internet Explorer. On the View Site Collection page, click the site collection that you want to view. Click  Site Actions , and then click  Site Settings . The Site Settings page appears. In the  Site Administration  section, click  Sites and workspaces . The Sites and Workspaces page lists all subsites that are available in the parent site in a table. Click the delete icon corresponding to the subsite that you want to delete. The Delete This Site page displays a message to confirm the deletion of the site. Click  Delete . A message appears to confirm that...
Sharepoint 2013 ADD CHOICE  to sharepoint list Programatically CSOM . CODE: baseUrl = "http://sharepointsite:1234/sites/abcd";                     context = new ClientContext(baseUrl);                     network = context.Web;                     List People = network.Lists.GetByTitle("List Name");                     Field f = People.Fields.AddFieldAsXml("<Field Type='Choice' DisplayName='col name ' Name='col name ' Format='Dropdown' Required='TRUE' Indexed='TRUE'><CHOICES><CHOICE>A</CHOICE><CHOICE>B</CHOICE><CHOICE>C</CHOICE></CHOICES><Default>A</Default><Description>choices </Description></Field>", false, AddFieldOptions.DefaultValue);                ...
 DELETE A VIEW  from sharepoint list Programatically Sharepoint 2013  try                 {                     baseUrl =  "http://sharepointsite:1224:/sites/mysite"; ;                     context = new ClientContext(baseUrl);                     network = context.Web;                     List sd = network.Lists.GetByTitle(" xyz ");                     Microsoft.SharePoint.Client.View approveRejectView = sd.Views.GetByTitle("view1");                     approveRejectView.DeleteObject();                     context.ExecuteQuery();             ...
Sharepoint 2013,2010 Change LIST COLUMN to Required Field CSOM . Solution: Marking abcd column in xyz list as required                 try                 {                     baseUrl = "http://sharepointsite:1224:/sites/mysite";                     context = new ClientContext(baseUrl);                     network = context.Web;                     List People = network.Lists.GetByTitle("xyz");                     Field f1 = People.Fields.GetByTitle("abcd");                     context.Load(f1);                     context.ExecuteQuery();   ...