Tag Info

Hot answers tagged

4

When I've ran C# within PowerShell, I've done the assembly bit differently (I'm in O365, so only use CSOM): $path = "path to folder containing dll's (e.g.,ISAPI folder in 15 Hive)" $assemblies = @( "$path\Microsoft.SharePoint.Client.dll", "$path\Microsoft.SharePoint.Client.Runtime.dll" "System.Core" ) $cSharp = @" using System; using ...


4

Please try deleting "Error Web Part" from web part maintenance page. This is your "LightningConductorWebPart" which is throwing error.


4

Add below code in OnInIt event of web part, if (Page.Request.Browser.Type.ToUpper().Contains("SAFARI")) { ScriptManager sm = ScriptManager.GetCurrent(this.Page); if (sm != null) { sm.EnablePartialRendering = false; } } Build and deploy. It fixes your issue :)


3

You might be using a wrong 'Web' object. It shouldn't be System.Web or Microsoft.Web. It should be from Microsoft.SharePoint.SPWeb namespace. So first of all you need to get an 'SPWeb' object from 'properties'. Depending on where you are activating the feature, it should be something like this: If you are activating a Web scoped feature: SPWeb web = ...


3

This is because you are passing the full url instead of relative url Replace http://dev-env/sites/site/subsite/ With subsite i.e elevatedWeb.Webs.Add(title, title, strDescription, nLCID, WebTemplate, uniquePerms, bConvertIfThere);


3

The problem is the URL format that you are providing to the net use command. Take a look at the PowerShell script here http://www.lieben.nu/numb3rs/?page_id=129 which automates mapping a drive letter. You will see the format of the parameter is like this: \\domain.sharepoint.com@SSL\DavWWWRoot\sites\codesite\example\Shared Documents If you would ...


3

With the peace of the mp you provided what I can see is that it is 99% equal to oslo.master. The main difference is that you removed all security trimmed controls, which should not affect in this case. I cannot tell what is going on, I don't know how you deploy the masterpage, so if you have a composed look, difficult to say. So if you want to reset the ...


2

Did you enable the OUtput Cache on the Site? Also could you please Confirm that Object Cache Configured for the web app properly. If Object Cache Configure then try below resolution. Disabled and re-enabled Publishing feature and Navigation feature for all sites using the powershell script which would loop through all subsites: Get-SPWeb -site ...


2

$siteUrl = "http://ukreddy:3456/" $siteCollection = Get-SPSite $siteUrl Enable-SPFeature "PublishingSite" -Url $siteCollection.Url -force Enable-SPFeature "PublishingWeb" -Url $siteCollection.Url -force http://ukreddysharepoint2010.blogspot.co.uk/2014/05/error-systemargumentexception-value.html Sharepoint was failing to activate the feature PublishingWeb. ...


2

Re-index feature has been introduced in SharePoint 2013.I don't think it is available in SharePoint 2010 . Please ensure the crawl account should have a "Full Read" property, using a Web Application policy.I think your crawl account do not have full control for those items. To ensure that crawl account have permissions to read those items log in using the ...


2

The way that visual web parts were implemented changed in SharePoint 2013. Previously, visual web parts could use an .ascx file located in the 14 hive, while in 2013 the .ascx file was embedded in the .dll and no file was deployed to the file system. This enabled visual web parts to be used in a sandboxed scenario. So your 2013 wsp is probably failing on ...


2

This was exactly our issue. We had extended the Array.prototype and for whatever reason it caused the SP scripts to start failing. We already had another prototype extension that caused no issues. We ended up just moving it into a utility function instead.


1

Appear to have got to the bottom of this. The compiling was going round in circles due to McAfee AV blocking access to C:\Windows\Microsoft.NET\Framework64\v2.0.50727. Digging deeper this inherited environment didn't have the best practice AV exclusions published by Microsoft applied. Once the exclusions were added, the issue went away. Still intrigued why ...


1

I am not sure, if you can drill down till items but you can do for the list/library or site itself. Re-index a document library or a list On the site, go to the list or library that you want to re-index. In the ribbon, click the Library tab or the List tab. In the Library ribbon, choose Library Settings, or, In the List ribbon choose List Settings. On ...


1

If you deploy a web part for a farm and you try to activate it from the feature it will not work because you need to activate it from a site, you cannot do it a deployment time and it will give you an error.


1

You are ending the calculation with ="<, that would not be valid.


1

Similar to the above answer but check if the web application time zone and the server time zone are identical, you could refer this article: Time zone issue


1

From the error logs UserAgent not available, file operations may not be optimized. To solve this check If the site storage quota is not exceeded SQL drive has enough free space Check you mysite webapplication Unable to connect to any of the specified MySQL hosts This shows some issues with the SQL itself. Check connecting to the SQL using ...


1

Try to update your Workflow Manager 1.0 with CU2. Will resolve your problem, no need to change ID. (This CU2 update worked for me.)


1

You can delete the existing service and create a new one using PowerShell $serviceApp = New-SPStateServiceApplication -Name "State Service Application" New-SPStateServiceDatabase -Name "SharePoint_Service_State" -ServiceApplication $serviceApp New-SPStateServiceApplicationProxy -Name "State Service Application Proxy" -ServiceApplication $serviceApp ...


1

The SP 2013 exe installer needs a file named servermanagercmd.exe, which is not present in the windows server 2012 R2 OS. So we need to rename the file servermanager.exe, to servermanagercmd.exe which is located in windows\system32 directory. This is what has solved my problem.


1

I figured this out. When switching to Greek Language, SharePoint also switches Sort Order to Greek automatically. Switching back to General Sort Order fixes this issue. I surelly cannot explain that, but tested it with outher Locales too, and for some reason it does the trick!


1

I've done some extensive research on this issue and I finally have a working solution. I've done the same as @tomvanderhoek, i.e. installed VS 2013 side by side with VS 2012. This is a bad idea if you're developing workflows. For a reason specified on another thread (Retract WSP in VS 2013 - Delete Content Types) I cannot use VS 2013. So I rolled back to VS ...


1

Seems like my problem is fixed. I added .Load() for a list item in the Rename method: try { item["Title"] = newName; item["FileLeafRef"] = newName; item.Update(); _clientContext.Load( item, i => i, i => i.FileSystemObjectType, i ...


1

If the error is with the custom site template, you need to upgrade your SP2010 visual studio olution that contains site definition/templates to visual studio 2012 and deploy your solution in the target SP2013 environment. To be able to use custom site templates in SP2013, it has to be in the 15 HIVE. Also, while doing a visual upgrade from SP2010 to SP2013 ...


1

The correlation id is only a reference to find log messages that are related to this issue in your log. In Central Administration you can check where your log is stored. For SharePoint 2013 (and 2010 iirc): Central admin > Monitoring > Configure diagnostic logging You can open the files with a simple text editor, but you might want to use a tool called ULS ...


1

Please go to C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\LOGS if you are using sharepoint 2010 or if sharepoint 2013 then C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\LOGS. Below the message where you are getting correlation Id you will get a time stamp. search for the logfile which is modified at this ...


1

If user have permission based in a AD Group in the site or list, the workflow 2013 is not start. You need configure the permission explicit to user. This bug exist only in workflow 2013, the workflow 2013 does not recognise permissions to AD Groups.


1

I just had this same issue and figured out what was causing it in my case. I had a list that triggered a workflow to create a folder in a document library based on the list item's Title. The user that kept having the issue was copying and pasting the titles. This was occasionally causing a space at the end of the title. I'm not sure exactly why it caused ...


1

In my case this error occurred since non-default language was selected during root site provision. It seems Variation labels application page retrieves Variations List by its title and expects Variation Labels value. Solution Update Variations List title to Variation Labels. The below example demonstrates how to update Variations List title using CSOM. ...



Only top voted, non community-wiki answers of a minimum length are eligible