XAML unhadled exception - xaml

I have windows store application. On old systems it worked but now when I run my application on Windows 10 I get strange error
System.ArgumentException: The parameter is incorrect.
Failed to get pointer input transform history.
at Windows.UI.Xaml.Controls.Control.OnPointerMoved(PointerRoutedEventArgs e)
Inner exception is null and I don't know how to resolve this issue. Do you have any tips how do explore source of unhandled exceptions in WPF? Because I have any clue which from my huge amount of controls can cause this error.

Related

Exception thrown: 'System.Deployment.Application.InvalidDeploymentException' in System.Deployment.dll

.Net 4.7.1/.2 4.8 vb.net
I left my computer on overnight running a task on analyzing some text and when I try to run any project this morning, Application.CommonAppDataPath and Application.LocalUserDataPath throw this exception, but they return the correct values.
I have many projects that use Application.CommonAppDataPath and it's happening in all of them. I created a new project and it happens there, too.
Aside from the clutter in the Immediate window, I'm concerned about what else I may find that throws the exception, so that I spend another hour tracking it down, and what else won't work at all that I haven't encountered yet.
I read every article I could find, there is stuff about ClickOnce (not sure how that is relevant) and corruption in app.config but it shouldn't be happening in new projects.

RDLC report randomly crashes application with compiler error -1073741502

The error as seen in the image is a compiler error -1073741502. I have searched SO and Google with little success. Tried to debug the process and was not able to determine what the issue is causing the error. The error has been occurring for some time and is random with no apparent pattern in the data or operation. This is also in a VB website using .net 4.0. The report RDLC has been recreated 2 times to see if the issue would be resolved but was not successful.
The only way to get the application to continue past this error once it occurs is to do an app pool reset. This is something we would like to avoid doing for obvious reasons.
Any help and suggestions are appreicated.

Getting Error 'HasFile' is not a member of 'FileUpload' VB.NET

I randomly get an error saying HasFile is not a member of FileUpolad.
I'm using a file upload button to upload images to a server. This usually runs; however, every once in a while it errors out. Sometimes the error is caught by Visual Studio during run time, other times it will be a Server Error in Application. Compilation Error when I load the page in debug mode. I've check dependencies and everything seems to be fine. Even the IntelliSense brings up HasFile with I am writing the code.
Usually re-writing the line or restarting Visual Studio resolves the issue, but it keeps coming up randomly.
I happened to figure out what the problem was. Since it was my first time doing this I had a test class in the solution. The test class was named FileUpload. Rookie mistake. I can't believe I didn't catch that earlier!

Strange Exception from HRESULT: 0x80030102 (STG_E_REVERTED) error

I have a strange one here.
I've added a 2010 sharepoint workflow to sharepoint, without any problems. The workflow works without any problems.
However, when I try to add the workflow column to the default view (so I can see the status of any running workflows, while I'm browsing the document library) I get the following error:
Attempted to use an object that has ceased to exist. (Exception from
HRESULT: 0x80030102 (STG_E_REVERTED))
If I remove the column from the view, the view works correctly. Add the column back, and I get that error.
Any suggestions on how to fix this one?
Thanks!

An unhandled exception of type 'System.TypeInitializationException' occurred in System.dll

My visual basic application (targeting Framework 4) was running perfectly until I added code that was originally targeted for Framework 2.0 (specifically altering the column headers of a datagridview). The code executed without problem the first time (when debugging), and thereafter my application won't start. I deleted all the newly added code and debugged, but the errors stayed. I even loaded my backup into Visual Studio, but no change.
I get the following errors and have no idea where to find the source of this problem:
First-chance exception at 0x77cd708f in "app.name".exe: 0xC0000008: An
invalid handle was specified. An unhandled exception of type
'System.TypeInitializationException' occurred in System.dll.
Additional information: The type initializer for 'System.Net.ComNetOS'
threw an exception.
I re-installed Visual Studio and Framework 4. I googled the errors, but nothing pointed me to the location causing the error. I don't believe it's in my code, because I built in try/catch blocks from the very start of the code, even using application events 'startup' and 'unhandledexception', but the app doesn't even start that I may catch the exception stacktrace.
Visual Studio indicates that no symbols are loaded for call stack frame and no source is available. I'm not aware of an error log that might provide details.
Hope someone can help.
This should explain First Chance Exceptions. and how to debug the .dll that causes them