Workflow XAML failed validation Invalid type(s) ‘Microsoft.Activities.CacheScope’.

+ CategoryInfo          : InvalidData: (Microsoft.Share…WorkflowService: RegisterSPWorkflowService) [Register-SPWorkflowService], WorkflowCommunica tionException + FullyQualifiedErrorId : Microsoft.SharePoint.WorkflowServices.PowerShell .RegisterSPWorkflowService PS C:\Users\Asish.Punnose> Register-SPWorkflowService -SPSite “http://SharePointSite/sites/dev” -WorkflowHostUri “https://WorkFlowServer:12290” -AllowOAuthHttp -fo rce Register-SPWorkflowService : Workflow XAML failed validation due to the following errors: Invalid type(s) ‘Microsoft.Activities.CacheScope’. HTTP headers received from the server –… Read More

Could not load file or assembly ‘Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed’ or one of its dependencies. The located assembly’s manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

Solution: Update your Web.config with latest dependent assembly   <runtime> <assemblyBinding xmlns=”urn:schemas-microsoft-com:asm.v1″> <dependentAssembly> <assemblyIdentity name=”Newtonsoft.Json” culture=”neutral” publicKeyToken=”30ad4fe6b2a6aeed” /> <bindingRedirect oldVersion=”0.0.0.0-7.0.0.0″ newVersion=”7.0.0.0″ /> </dependentAssembly> </assemblyBinding> </runtime> Server Error in ‘/’ Application. Could not load file or assembly ‘Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed’ or one of its dependencies.… Read More

Resolved:- No Entity Framework provider found for the ADO.NET provider with invariant name ‘System.Data.SqlClient’. Make sure the provider is registered in the ‘entityFramework’ section of the application config file.

No Entity Framework provider found for the ADO.NET provider with invariant name ‘System.Data.SqlClient’. Make sure the provider is registered in the ‘entityFramework’ section of the application config file. See http://go.microsoft.com/fwlink/?LinkId=260882 for more information. Solution:- Install Entity Framework using NuGet, right click on Reference and click… Read More

The connection string ‘Connect’ in the application’s configuration file does not contain the required providerName attribute.\

<connectionStrings> <clear/> <add name=”ApplicationServices” connectionString=”Data Source=PC-X;Initial Catalog=MYdb;Integrated Security=True”/> </connectionStrings>   Solution:-   You’re missing the following piece of code after the connectionString attribute (assuming that you’re using SQL): providerName=”System.Data.SqlClient”   Change to <connectionStrings> <clear/> <add name=”ApplicationServices” connectionString=”Data Source=PC-X;Initial Catalog=MYdb;Integrated Security=True” providerName=”System.Data.SqlClient” /> </connectionStrings>