Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error running powershell script #17

Closed
chappy1972 opened this issue Mar 3, 2016 · 8 comments
Closed

Error running powershell script #17

chappy1972 opened this issue Mar 3, 2016 · 8 comments

Comments

@chappy1972
Copy link

Hi All,

When I run the enable-spresponsiveui poweshell script I receive the following error:

Apply-SPOProvisioningTemplate : Could not load type 'Microsoft.SharePoint.Client.AuditMaskType' from assembly 'Microsoft.SharePoint.Client,
Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c'.

Can anybody help?

Many Thanks
Nick

@phungui
Copy link

phungui commented Mar 4, 2016

I am getting the same error as poster above:
Apply-SPOProvisioningTemplate : Could not load type
'Microsoft.SharePoint.Client.AuditMaskType' from assembly
'Microsoft.SharePoint.Client, Version=15.0.0.0, Culture=neutral,
PublicKeyToken=71e9bce111e9429c'.

Any ideas?

Jason

@VesaJuvonen
Copy link
Contributor

It seems that the machine which you are running the script has really old CSOM version installed. If you are running the script directly in server side, you are using old SP2013 version and you'd need to update that at least to April 2015 CU.

If you are running the code remotely and you get this exception, you should ensure that you have newer version of the client side components installed from here - https://www.microsoft.com/en-us/download/details.aspx?id=35585

Not closing this one yet, please respond. thx.

@phungui
Copy link

phungui commented Mar 4, 2016

Thanks for the quick feedback, I will apply the recommended CU and try
again. Will post an update once I'm done.

Jason

On Fri, Mar 4, 2016 at 10:26 AM, Vesa Juvonen notifications@github.com
wrote:

It seems that the machine which you are running the script has really old
CSOM version installed. If you are running the script directly in server
side, you are using old SP2013 version and you'd need to update that at
least to April 2015 CU.

If you are running the code remotely and you get this exception, you
should ensure that you have newer version of the client side components
installed from here -
https://www.microsoft.com/en-us/download/details.aspx?id=35585

Not closing this one yet, please respond. thx.


Reply to this email directly or view it on GitHub
#17 (comment).

@rdrisgill
Copy link

Yep I had this problem. Updating to May 2015 CU fixed it

@chappy1972
Copy link
Author

Thanks folks, I have not had chance to update yet, but just to confirm we are currently on version 15.0.4571.1502 (Revised SP1)

@jquintozamora
Copy link
Contributor

Thanks. I had the same issue and it was solved installing latest SharePoint Server 2013 Client Components SDK.

@phungui
Copy link

phungui commented Mar 21, 2016

Confirmed, installing the April CU resolved.

Thanks!

Sent from my iPhone, please excuse brevity and typos.

On Mar 21, 2016, at 11:51 AM, Jose Quinto notifications@github.com wrote:

Thanks. I had the same issue and it was solved installing latest SharePoint Server 2013 Client Components SDK.


You are receiving this because you commented.
Reply to this email directly or view it on GitHub

@VesaJuvonen
Copy link
Contributor

thx for reporting the status. Will close this issue, since resolution is clear. We also have updated the documentation with minimal version requirements and also released a new PnP web cast on explaining the pre-requisites for making this work at http://dev.office.com/blogs/web-cast-responsive-ui-package-for-sharepoint.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants