NPM stop working in Visual Studio 2015 after node.js Upgrade - node.js

I had to upgrade my machine Node.js and NPM to fix the Long Path issue in Windows, but this broke VS 2015.
I tried to reinstall VS 2015 but without any success.
When I try to install any package from VS 2015 the console pop this message below:
System.AggregateException: One or more errors occurred. --->
Microsoft.NodejsTools.Npm.PackageJsonException: Error reading
package.json at
'C:\Users\FilipeAugusto\AppData\Roaming\npm\node_modules\npm\node_modules\graceful-fs\package.json':
Error reading package.json. The file may be parseable JSON but may
contain objects with duplicate properties.
The following error occurred:
Can not add Newtonsoft.Json.Linq.JValue to
Newtonsoft.Json.Linq.JObject. --->
Microsoft.NodejsTools.Npm.PackageJsonException: Error reading
package.json. The file may be parseable JSON but may contain objects
with duplicate properties.
The following error occurred:
Can not add Newtonsoft.Json.Linq.JValue to
Newtonsoft.Json.Linq.JObject. ---> System.ArgumentException: Can not
add Newtonsoft.Json.Linq.JValue to Newtonsoft.Json.Linq.JObject. at
Newtonsoft.Json.Linq.JObject.ValidateToken(JToken o, JToken existing)
at Newtonsoft.Json.Linq.JContainer.InsertItem(Int32 index, JToken
item, Boolean skipParentCheck) at
Newtonsoft.Json.Linq.JObject.InsertItem(Int32 index, JToken item,
Boolean skipParentCheck) at
Newtonsoft.Json.Linq.JContainer.AddInternal(Int32 index, Object
content, Boolean skipParentCheck) at
Newtonsoft.Json.Linq.JContainer.Add(Object content) at
Newtonsoft.Json.Linq.JTokenWriter.AddValue(JValue value, JsonToken
token) at Newtonsoft.Json.Linq.JTokenWriter.WriteNull() at
Newtonsoft.Json.JsonWriter.AutoCompleteClose(JsonContainerType type)
at Newtonsoft.Json.JsonWriter.WriteEndObject() at
Newtonsoft.Json.JsonWriter.WriteEnd(JsonContainerType type) at
Newtonsoft.Json.JsonWriter.WriteEnd() at
Newtonsoft.Json.JsonWriter.AutoCompleteAll() at
Newtonsoft.Json.Linq.JTokenWriter.Close() at
Newtonsoft.Json.JsonWriter.System.IDisposable.Dispose() at
Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateJObject(JsonReader
reader) at
Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader
reader, Type objectType, JsonContract contract, JsonProperty member,
JsonContainerContract containerContract, JsonProperty containerMember,
Object existingValue) at
Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader
reader, Type objectType, JsonContract contract, JsonProperty member,
JsonContainerContract containerContract, JsonProperty containerMember,
Object existingValue) at
Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader
reader, Type objectType, Boolean checkAdditionalContent) at
Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader,
Type objectType) at
Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type,
JsonSerializerSettings settings) at
Microsoft.NodejsTools.Npm.ReaderPackageJsonSource..ctor(TextReader
reader) --- End of inner exception stack trace --- at
Microsoft.NodejsTools.Npm.ReaderPackageJsonSource..ctor(TextReader
reader) at
Microsoft.NodejsTools.Npm.FilePackageJsonSource..ctor(String
fullPathToFile) --- End of inner exception stack trace --- at
Microsoft.NodejsTools.Npm.FilePackageJsonSource.WrapExceptionAndRethrow(String
fullPathToFile, Exception ex) at
Microsoft.NodejsTools.Npm.FilePackageJsonSource..ctor(String
fullPathToFile) at
Microsoft.NodejsTools.Npm.DirectoryPackageJsonSource..ctor(String
fullDirectoryPath) at
Microsoft.NodejsTools.Npm.SPI.RootPackage..ctor(String
fullPathToRootDirectory, Boolean showMissingDevOptionalSubPackages)
at Microsoft.NodejsTools.Npm.SPI.NodeModules..ctor(IRootPackage
parent, Boolean showMissingDevOptionalSubPackages) at
Microsoft.NodejsTools.Npm.SPI.RootPackage..ctor(String
fullPathToRootDirectory, Boolean showMissingDevOptionalSubPackages)
at Microsoft.NodejsTools.Npm.SPI.NodeModules..ctor(IRootPackage
parent, Boolean showMissingDevOptionalSubPackages) at
Microsoft.NodejsTools.Npm.SPI.RootPackage..ctor(String
fullPathToRootDirectory, Boolean showMissingDevOptionalSubPackages)
at
Microsoft.NodejsTools.Npm.SPI.NpmController.d__1.MoveNext()
--- End of inner exception stack trace ---
---> (Inner Exception #0) Microsoft.NodejsTools.Npm.PackageJsonException: Error reading
package.json at
'C:\Users\FilipeAugusto\AppData\Roaming\npm\node_modules\npm\node_modules\graceful-fs\package.json':
Error reading package.json. The file may be parseable JSON but may
contain objects with duplicate properties.
The following error occurred:
Can not add Newtonsoft.Json.Linq.JValue to
Newtonsoft.Json.Linq.JObject. --->
Microsoft.NodejsTools.Npm.PackageJsonException: Error reading
package.json. The file may be parseable JSON but may contain objects
with duplicate properties.
The following error occurred:
Can not add Newtonsoft.Json.Linq.JValue to
Newtonsoft.Json.Linq.JObject. ---> System.ArgumentException: Can not
add Newtonsoft.Json.Linq.JValue to Newtonsoft.Json.Linq.JObject. at
Newtonsoft.Json.Linq.JObject.ValidateToken(JToken o, JToken existing)
at Newtonsoft.Json.Linq.JContainer.InsertItem(Int32 index, JToken
item, Boolean skipParentCheck) at
Newtonsoft.Json.Linq.JObject.InsertItem(Int32 index, JToken item,
Boolean skipParentCheck) at
Newtonsoft.Json.Linq.JContainer.AddInternal(Int32 index, Object
content, Boolean skipParentCheck) at
Newtonsoft.Json.Linq.JContainer.Add(Object content) at
Newtonsoft.Json.Linq.JTokenWriter.AddValue(JValue value, JsonToken
token) at Newtonsoft.Json.Linq.JTokenWriter.WriteNull() at
Newtonsoft.Json.JsonWriter.AutoCompleteClose(JsonContainerType type)
at Newtonsoft.Json.JsonWriter.WriteEndObject() at
Newtonsoft.Json.JsonWriter.WriteEnd(JsonContainerType type) at
Newtonsoft.Json.JsonWriter.WriteEnd() at
Newtonsoft.Json.JsonWriter.AutoCompleteAll() at
Newtonsoft.Json.Linq.JTokenWriter.Close() at
Newtonsoft.Json.JsonWriter.System.IDisposable.Dispose() at
Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateJObject(JsonReader
reader) at
Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader
reader, Type objectType, JsonContract contract, JsonProperty member,
JsonContainerContract containerContract, JsonProperty containerMember,
Object existingValue) at
Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader
reader, Type objectType, JsonContract contract, JsonProperty member,
JsonContainerContract containerContract, JsonProperty containerMember,
Object existingValue) at
Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader
reader, Type objectType, Boolean checkAdditionalContent) at
Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader,
Type objectType) at
Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type,
JsonSerializerSettings settings) at
Microsoft.NodejsTools.Npm.ReaderPackageJsonSource..ctor(TextReader
reader) --- End of inner exception stack trace --- at
Microsoft.NodejsTools.Npm.ReaderPackageJsonSource..ctor(TextReader
reader) at
Microsoft.NodejsTools.Npm.FilePackageJsonSource..ctor(String
fullPathToFile) --- End of inner exception stack trace --- at
Microsoft.NodejsTools.Npm.FilePackageJsonSource.WrapExceptionAndRethrow(String
fullPathToFile, Exception ex) at
Microsoft.NodejsTools.Npm.FilePackageJsonSource..ctor(String
fullPathToFile) at
Microsoft.NodejsTools.Npm.DirectoryPackageJsonSource..ctor(String
fullDirectoryPath) at
Microsoft.NodejsTools.Npm.SPI.RootPackage..ctor(String
fullPathToRootDirectory, Boolean showMissingDevOptionalSubPackages)
at Microsoft.NodejsTools.Npm.SPI.NodeModules..ctor(IRootPackage
parent, Boolean showMissingDevOptionalSubPackages) at
Microsoft.NodejsTools.Npm.SPI.RootPackage..ctor(String
fullPathToRootDirectory, Boolean showMissingDevOptionalSubPackages)
at Microsoft.NodejsTools.Npm.SPI.NodeModules..ctor(IRootPackage
parent, Boolean showMissingDevOptionalSubPackages) at
Microsoft.NodejsTools.Npm.SPI.RootPackage..ctor(String
fullPathToRootDirectory, Boolean showMissingDevOptionalSubPackages)
at
Microsoft.NodejsTools.Npm.SPI.NpmController.d__1.MoveNext()<---
I tried this links that may fix the issue, but none of those help me:
Can not add Newtonsoft.Json.Linq.JValue to Newtonsoft.Json.Linq.JObject. ---> Microsoft.NodejsTools.Npm.PackageJsonException: Error reading package.json. The file may be parseable JSON but may contain objects with duplicate properties
Global packages not loading due to Microsoft.NodejsTools.Npm.PackageJsonException with npm dependency
Error - Cannot load global packages." after fresh install of node/npm

Related

Can not select value in a combo box in coded UI test using coded UI test builder

I am working on a WPF application which has several custom controls. I am using coded UI test builder to create a script for my application testing. When I run the test, it gives me an exception and the exception occurs at the line shown below.
uIRadComboBoxComboBox.SelectedItem = this.SelectingWeddingParams.UIRadComboBoxComboBoxSelectedItem;
I have tried using mouse clicks and changing the coordinates but that does not work as well.
The code for the function is
region Variable Declarations
WpfCustom uIItemCustom = this.UIIntelliClientWindow.UIItemCustom;
WpfComboBox uIRadComboBoxComboBox = this.UIIntelliClientWindow.UIEventInfoRegionCustom1.UIPleasewaitProgressBar.UIRadComboBoxComboBox;
#endregion
// Click custom control
Mouse.Click(uIItemCustom, new Point(448, 307));
// Select 'Wedding' in 'RadComboBox' combo box
uIRadComboBoxComboBox.SelectedItem = this.SelectingWeddingParams.UIRadComboBoxComboBoxSelectedItem;
The exception is pasted below.
Result StackTrace:
at Microsoft.VisualStudio.TestTools.UITest.Playback.Engine.IScreenElement.FindAllDescendants(String bstrQueryId, Object& pvarResKeys, Int32 cResKeys, Int32 nMaxDepth)
at Microsoft.VisualStudio.TestTools.UITest.Playback.ScreenElement.FindAllScreenElement(String queryId, Int32 depth, Boolean singleQueryId, Boolean throwException, Boolean resetSkipStep)
at Microsoft.VisualStudio.TestTools.UITest.Playback.ScreenElement.FindScreenElement(String queryId, Int32 depth, Boolean resetSkipStep)
at Microsoft.VisualStudio.TestTools.UITesting.UITestControl.FindFirstDescendant(String queryId, Int32 maxDepth, Int32& timeLeft)
--- End of inner exception stack trace ---
at Microsoft.VisualStudio.TestTools.UITesting.Playback.MapControlNotFoundException(COMException ex, IPlaybackContext context)
at Microsoft.VisualStudio.TestTools.UITesting.Playback.MapAndThrowComException(COMException innerException, IPlaybackContext context)
at Microsoft.VisualStudio.TestTools.UITesting.Playback.MapAndThrowException(Exception exception, IPlaybackContext context)
at Microsoft.VisualStudio.TestTools.UITesting.Playback.MapAndThrowException(Exception exception, String queryId)
at Microsoft.VisualStudio.TestTools.UITesting.UITestControl.FindFirstDescendant(String queryId, Int32 maxDepth, Int32& timeLeft)
at Microsoft.VisualStudio.TestTools.UITesting.SearchHelper.GetElement(Boolean useCache, ISearchArgument searchArg)
at Microsoft.VisualStudio.TestTools.UITesting.SearchHelper.Search(ISearchArgument searchArg)
at Microsoft.VisualStudio.TestTools.UITesting.UITestControl.FindInternal()
at Microsoft.VisualStudio.TestTools.UITesting.UITestControl.FindControlIfNecessary()
at Microsoft.VisualStudio.TestTools.UITesting.UITestControl.SetPropertyPrivate(String propertyName, Object value)
at Microsoft.VisualStudio.TestTools.UITesting.UITestControl.<>c__DisplayClass180_0.b__0()
at Microsoft.VisualStudio.TestTools.UITesting.CodedUITestMethodInvoker.InvokeMethod[T](Func`1 function, UITestControl control, Boolean firePlaybackErrorEvent, Boolean logAsAction)
at Microsoft.VisualStudio.TestTools.UITesting.UITestControl.SetProperty(String propertyName, Object value)
at Microsoft.VisualStudio.TestTools.UITesting.WpfControls.WpfComboBox.set_SelectedItem(String value)
at AddingEventUsingDataDrivenTesting.UIMap.SelectingWedding() in C:\Users\Dev2\source\repos\AddingEventUsingDataDrivenTesting\AddingEventUsingDataDrivenTesting\UIMap.Designer.cs:line 166
at AddingEventUsingDataDrivenTesting.CodedUITest1.CodedUITestMethod1() in C:\Users\Dev2\source\repos\AddingEventUsingDataDrivenTesting\AddingEventUsingDataDrivenTesting\CodedUITest1.cs:line 30
Result Message:
Test method AddingEventUsingDataDrivenTesting.CodedUITest1.CodedUITestMethod1 threw exception:
Microsoft.VisualStudio.TestTools.UITest.Extension.UITestControlNotFoundException: The playback failed to find the control with the given search properties. Additional Details:
TechnologyName: 'UIA'
FrameworkId: 'Wpf'
ControlType: 'ComboBox'
HelpText: 'RadComboBox'
Instance: '2'
Search may have failed at '' TabList as it may have virtualized children. If the control being searched is descendant of '' TabList then including it as the parent container may solve the problem. ---> System.Runtime.InteropServices.COMException: Error HRESULT E_FAIL has been returned from a call to a COM component.
I face the same issue when I try to automate the wpf controls with coded UI.
The best solution I would like to suggest is to use Appium WinAppDriver(If it is possible for you) as it supports the wpf controls as mentioned my Microsoft team.
here is the guide to : How to use WinAppDriver
CodedUI will be deprecated after Visual studio 2019(mentioned by one of the member of microsoft team in a video) although support will be there.
And for the work around I would suggest you to use the Keyboard.Sendkeys() to set the combobox.
for exmaple :-
UITestControl combobox = new UITestControl();
//add properties of combobox
WinEdit textboxOfCombobox = new WinEdit(comboBox);
textboxOfCombobox.SendKeys("value to enter");
// Add code to verify if the combobox has the correct value selected.
This workaround I use personally and it works for me.
I hope this helps.

Font error when clicking Attribute Relationships tab in Dimension Designer in SSDT

I am new to SSDT and I'm following the Analysis Services Tutorial called Multidimensional Modeling (Adventure Works Tutorial). And I'm currently on Lesson 3, on the step Modifying the Customer Dimensions under the heading "Modifying Attribute Relationships".
When I open the Dimension Designer window for my Customer Dimension, if I click on the attribute tab, I receive a long error message. I've been searching online and found nothing about this error. does anyone know what is the cause of this error? I've checked my font folder and I have Arial font already.
===================================
An error prevented the view from loading. (Microsoft Visual Studio)
===================================
Exception has been thrown by the target of an invocation. (mscorlib)
------------------------------
Program Location:
at System.RuntimeMethodHandle.SerializationInvoke(IRuntimeMethodInfo method, Object target, SerializationInfo info, StreamingContext& context)
at System.Runtime.Serialization.ObjectManager.CompleteISerializableObject(Object obj, SerializationInfo info, StreamingContext context)
at System.Runtime.Serialization.ObjectManager.FixupSpecialObject(ObjectHolder holder)
at System.Runtime.Serialization.ObjectManager.DoFixups()
at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
at System.Resources.ResourceReader.DeserializeObject(Int32 typeIndex)
at System.Resources.ResourceReader._LoadObjectV2(Int32 pos, ResourceTypeCode& typeCode)
at System.Resources.ResourceReader.LoadObjectV2(Int32 pos, ResourceTypeCode& typeCode)
at System.Resources.ResourceReader.ResourceEnumerator.get_Entry()
at System.Resources.ResourceReader.ResourceEnumerator.get_Current()
at System.ComponentModel.ComponentResourceManager.FillResources(CultureInfo culture, ResourceSet& resourceSet)
at System.ComponentModel.ComponentResourceManager.ApplyResources(Object value, String objectName, CultureInfo culture)
at Microsoft.AnalysisServices.Graphing.GraphCtrl.InitializeComponent()
at Microsoft.AnalysisServices.Graphing.GraphCtrl..ctor()
at Microsoft.AnalysisServices.Design.AR.ARDiagram..ctor()
at Microsoft.AnalysisServices.Design.AR.AREditor..ctor()
at Microsoft.AnalysisServices.Design.DimensionDesigner.CreateAREditor(VsStyleToolBar pageViewToolBar)
at Microsoft.DataWarehouse.Design.EditorWindow.EnsureViewIsLoaded(EditorView view)
===================================
Font 'Arial' does not support style 'Regular'. (System.Drawing)
------------------------------
Program Location:
at System.Drawing.Font.CreateNativeFont()
at System.Drawing.Font.Initialize(FontFamily family, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont)
at System.Drawing.Font.Initialize(String familyName, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont)
at System.Drawing.Font..ctor(SerializationInfo info, StreamingContext context)

Orchard CMS Duplicate Content Error

We have a web site built with Orchard CMS v1.8. We have had a couple of instances where the person that manages content has not been able to save changes to a Page. They receive the following error.
An unhandled exception has occurred and the request was terminated. Please refresh the page. If the error persists, go back
Sequence contains more than one matching element
System.InvalidOperationException: Sequence contains more than one matching element at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable1 source, Func2 predicate) at Orchard.ContentManagement.DefaultContentManager.BuildNewVersion(ContentItem existingContentItem) in c:\Orchard\src\Orchard\ContentManagement\DefaultContentManager.cs:line 450 at Orchard.ContentManagement.DefaultContentManager.Get(Int32 id, VersionOptions options, QueryHints hints) in c:\Orchard\src\Orchard\ContentManagement\DefaultContentManager.cs:line 234 at Orchard.Core.Contents.Controllers.AdminController.EditPOST(Int32 id, String returnUrl, Action1 conditionallyPublish) in c:\Orchard\src\Orchard.Web\Core\Contents\Controllers\AdminController.cs:line 308 at lambda_method(Closure , ControllerBase , Object[] ) at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary2 parameters) at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary2 parameters) at System.Web.Mvc.Async.AsyncControllerActionInvoker.<BeginInvokeSynchronousActionMethod>b__39(IAsyncResult asyncResult, ActionInvocation innerInvokeState) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult2.CallEndDelegate(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.b__3f() at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass48.b__41() at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass48.b__41() at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass48.b__41()
What can I do to elimiate the extra record(s) returned in the SingleOrDefault() call? I don't know the database structure behind Orchard enough to find the "content records" but if I was able to find them I could delete the extra record(s).
Thanks!
The cause for this error that you have more than one version of the same content item with value Latest = 1 (orchard use this value to determine the latest version for content item), to solve it you can run the following query to find the duplicate versions:
SELECT *
FROM Orchard_Framework_ContentItemVersionRecord
WHERE ContentItemRecord_id = #Id
then be sure that there is only one record with value Latest = 1, published = 1, and Number is in sequence without duplicates.
FYI, in query use value Id for content item which has the error.

Power Query error - Unable to get the NumberFormat property of the Range class

I can't find any search results on this error:
Unable to **get** the NumberFormat property of the Range class
There are tons of search results about this Excel error:
Unable to **set** the NumberFormat property of the Range class
Here is error screenshot.
I am getting this error when refreshing Power Query using VBA, but not when refreshing query directly:
ThisWorkbook.Worksheets("mySheet").Range("myQueryRange").ListObject.QueryTable.Refresh
This is the error message:
Error Message:
Unable to get the NumberFormat property of the Range class
Stack Trace:
Microsoft.Mashup.Client.ClientShared.Com.ComWrapperException: Unable to get the NumberFormat property of the Range class ---> System.Runtime.InteropServices.COMException: Unable to get the NumberFormat property of the Range class
--- End of inner exception stack trace ---
at Microsoft.Mashup.Client.ClientShared.Com.ComWrapper.InvokeMember(String memberName, BindingFlags bindingFlags, Object[] args)
at Microsoft.Mashup.Client.Excel.Renderers.TableRenderer.ApplyColumnFormats(IListObject listObject, FillColumnType[] columnTypes, FillColumnType[] previousColumnTypes)
at Microsoft.Mashup.Client.Excel.Renderers.TableRenderer.ApplyFormatting(IApplication application, IListObject listObject, FillColumnType[] columnTypes, IEnumerable`1 recordFieldTypes, FillColumnType[] previousColumnTypes)
at Microsoft.Mashup.Client.Excel.Shim.AddInFillServices.<>c__DisplayClass19.<PerformPostRefreshFixups>b__17()
at Microsoft.Mashup.Client.Excel.BufferedPainter.<>c__DisplayClass1.<TryPaint>b__0()
at Microsoft.Mashup.Client.Excel.BufferedPainter.TryPaint(Func`1 paintAction)
at Microsoft.Mashup.Client.Excel.BufferedPainter.TryPaint(IApplication application, Func`1 paintAction)
at Microsoft.Mashup.Client.Excel.FillManager.RefreshFillSession.CompleteRefresh(IWorkbook workbook, Boolean onTimer)
at Microsoft.Mashup.Client.Excel.FillManager.RefreshFillSession.UpdateRefreshStatus(IWorkbook workbook, Boolean onTimer)
at Microsoft.Mashup.Client.Excel.FillManager.RefreshFillSession.ResumeFill(Boolean onTimer)
at Microsoft.Mashup.Client.Excel.FillManager.UpdateQueries()
at Microsoft.Mashup.Client.Excel.FillManager.<OnFillUpdateTimerTick>b__5()
at Microsoft.Mashup.Host.Document.ExceptionHandlerExtensions.HandleExceptions(IExceptionHandler exceptionHandler, Action action)
Invocation Stack Trace:
at Microsoft.Mashup.Host.Document.ExceptionExtensions.GetCurrentInvocationStackTrace()
at Microsoft.Mashup.Client.ClientShared.StackTraceInfo..ctor(String exceptionStackTrace, String invocationStackTrace)
at Microsoft.Mashup.Client.ClientShared.UnexpectedExceptionHandler.<>c__DisplayClass1.<HandleException>b__0()
at Microsoft.Mashup.Client.ClientShared.UnexpectedExceptionHandler.HandleException(Exception e)
at Microsoft.Mashup.Host.Document.ExceptionHandlerExtensions.HandleExceptions(IExceptionHandler exceptionHandler, Action action)
at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Any ideas on what is happening?
My environment:
Windows 7
Excel 2010 64 bit
Power Query Version: 2.29.4217.1861
If you can click that send-a-frown button, can you send the error details to our excellent troubleshooting team? Maybe we've seen it before, but I don't see any issue in our bug database filed for this.
(To save you some time, the first thing we'll probably recommend is to try updating Power Query add-in. The latest version is at 2.32.)

The "GenerateResource" task failed unexpectedly

Windows 10, VS2013 professional
Window phone silverlight 8.1 application.
The error is:
The "GenerateResource" task failed unexpectedly.
System.InvalidOperationException: Item named 'xamls/simplelogin.xaml' of type 'System.IO.UnmanagedMemoryStream' cannot be added to the resource file because it is not serializable.
at Microsoft.Build.Tasks.ProcessResourceFiles.WriteResources(ReaderInfo reader, IResourceWriter writer)
at Microsoft.Build.Tasks.ProcessResourceFiles.WriteResources(ReaderInfo reader, String filename)
at Microsoft.Build.Tasks.ProcessResourceFiles.ProcessFile(String inFile, String outFileOrDir)
at Microsoft.Build.Tasks.ProcessResourceFiles.Run(TaskLoggingHelper log, ITaskItem[] assemblyFilesList, List`1 inputs, List`1 satelliteInputs, List`1 outputs, Boolean sourcePath, String language, String namespacename, String resourcesNamespace, String filename, String classname, Boolean publicClass, Boolean extractingResWFiles, String resWOutputDirectory)
at Microsoft.Build.Tasks.ProcessResourceFiles.Run(TaskLoggingHelper log, ITaskItem[] assemblyFilesList, List`1 inputs, List`1 satelliteInputs, List`1 outputs, Boolean sourcePath, String language, String namespacename, String resourcesNamespace, String filename, String classname, Boolean publicClass, Boolean extractingResWFiles, String resWOutputDirectory)
at Microsoft.Build.Tasks.GenerateResource.Execute()
at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__20.MoveNext() CarManagerWpApp
When i remove the "Microsoft.Sharepoint.Client.Phone.Auth.UI" reference, everything is allright. Unfortunately, this dll is crutial for me. I have seen a lot of 'The "GenerateResource" task failed unexpectedly' errors on net, none of solutions helped me.
Anyone has any idea? Thank you

Resources