Excel Crashes on Debug (and others) - windows

I'm currently having a problem where Excel will crash on multiple occasions. The ones I've noticed so far are as follows:
Debugging an error
Deleting an entire function (Note: does not occur when only deleting contents)
Other random developer type problems
My current analysis is that it was caused by the automatic Windows update KB3114564 issued this morning. I have not been able to securely link the problem to this update, however.
I am going to try moving all my code to a new workbook, which will be a pain since it's a multi-module, multi-form project.
Please let me know if you have experienced any problems of the type today/before.
Update 1:
Moving code to new workbook does not effect performance of Excel
Update 2:
It appears that the problem I had with the debugger crashing had to do with trying to multiply a string by a double. This still shouldn't have caused the DEBUGGER to crash, but at least that problem is diagnosed.

Tried several things, not sure which attempt fixed this.
I first unregistered and registerd mscomctl.ocx and mscomct2.ocx in windows\syswow64
Still had a problem; next I unchecked solver add-in in excel options.
this seemed to work.
I then checked recent KB updates and uninstalled KB3114564, re-added solver add-in and problem was resolved.
This does not keep KB3114564 from showing up again, but good enough for immediate emergency.

Related

Uninstall of Managed Solution Keeps Timing Out

I'm trying to uninstall a Managed solution within a Sandbox. The solution was for a Contact Center that we no longer use. Nothing appears when I view dependencies on the solution, so it should be good to uninstall. However, in both times that I have tried to uninstall the solution, it fails with a runtime error (will usually happen about 15-20 minutes after beginning the uninstall process).
One weird behavior that keeps happening is that even though the uninstall fails, which is stated when I view the Sandbox solution history, the solution will disappear from the Solutions menu. All the components from that Solution are still published within our sandbox CRM, but I'm now unable to access that Solution even though the delete failed.
I've had to restore our Sandbox 3 times now so that I can get the Contact Center solution to appear again after the failed uninstall attempt.
How can I successfully uninstall the managed Solution without causing a runtime error (how can I reduce the runtime of the uninstall), and has anyone else had this weird behavior where a solution disappears even though it failed to delete?
Thanks for the feedback!

Visual Basic 6 vbp file corrupting randomly

Ok, I know this is a very old product so I'm hoping there are still a few of us old timers still out there who can help me.
Internally we have several old systems which are in the process of being migrated to c# however routine work is still required within them.
We have had a problem for quite some time and it appears to be getting worse, in fact it was mostly noticed since upgrading to Windows 10.
To give an example one project consists of the main application and 19 dll's all grouped within the project. Any part of the project can be compiled and works fine, but other times I can compile a dll and the dll vbp file gets corrupted.
Corruption could be...
Duplication
Reference=*\G{72F49028-2BDA-4107-9870-FA71E3F7DFA9}#3.3#0#..\..\..\..\..\DLLStore\VB6\Search.dll#
Reference=*\G{72F49028-2BDA-4107-9870-FA71E3F7DFA9}#3.3#0#..\..\..\..\..\DLLStore\VB6\Search.dll#
Or incorrect reference guid
Reference=*\G{72F6675-2BDA-4133-9778-FA71E3F7DE3}#1.2#0#..\windows\---\COMDLG32.OCX (I've forgotten the exact text)
Object={F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0; COMDLG32.OCX
Removing the reference line fixes this.
I know I could mark the vbp to be read only and then keep changing it as required but I need to get to the bottom of what is causing it in the first place.
Any pointers are greatly received :-)

Can't run a VS Universal Windows App project

I'm very new to Visual Studio and Universal Windows Apps Development. As a part of the course, I have this codeSHOW project provided.
I've cloned it successfully in VS 2015, but I can't run the project using the .sln file. Error:
Here's the error log: http://pastebin.com/c012Bba4
I have no clue how to fix it, and the issues on github go unanswered so I can't expect much from there.
This is an known issue in Visual Studio 2015.
The problem is with files with the exact same name under different folders in a Shared project, which in your case is "resources.resjson".
The only workarounds are either to make the file names unique and if that is not an option, to duplicate the files in the projects instead of sharing them out of the Shared project.
This is a VS2015 specific bug, the solution loads just fine on VS2013. You can get some insight into what is going wrong. First note that your got two message boxes that announced this error. Barely visible in your screenshot.
The failure.txt file gives more hints, you can see the stack traces of the two AggregateException that are raised when the solution is loaded. You'll see that two tasks are trying to load the same resources.resjon project item. Not correct of course, quacks like a standard concurrency bug.
Nothing actually goes wrong, Visual Studio can handle the exception and declares it "Recoverable", the projects are still loaded correctly. And compile just fine. Only other thing you need is the Bing Maps SDK, you can download the correct version here.
If you have VS2013 then prefer that version, it doesn't have this bug and loads the solution without any complaint. And minimizes the odds that you'll run into other quirky problems. Given the current stability of VS2015, not great, it is the best way to avoid losing time. Otherwise just ignore the mishap and close the message boxes, some future Update will no doubt fix the bug. You can report it at connect.microsoft.com if you wish. Not actually necessary I think, it looks like VS is phoning home.

VS2013 is suddenly not working

I have a MVC5 app using Entity Framework code-first. It has been fine, working for months while I develop it. This morning it worked fine too. Then suddenly I run it for the 10th time of the day, and it won't run. I'm getting a crazy set of errors that aren't consistent.
First off it said it couldn't find mscorlib.pdb. I researched that and downloaded the latest symbols (first place didn't have it, second place did), and now I have the pdb. But I continue to get errors whenever I try to access the DB.
I have seen entityframework.dll and mscorlib.dll mentioned, but very little info is given because it usually just says:
An unhandled exception of type 'System.StackOverflowException' occurred in mscorlib.dll
{Cannot evaluate expression because the current thread is in a stack overflow state.}
I did try to turn on stepping and then I get this file box that is asking me to find files, that I have no idea where they are. The first time, it asked me for enumerable.cs, the second was RType.cs, and the third was IPipelineRuntime.cs. It tries to look in a very obscure folder structure (f:\dd\ndp\clr\src\BCL\System\RtType.cs) but I don't have these files on my machine.
Suddenly none of my projects are working that need EF. I even created a brand new project, with a simple code-first model to try it out and got the same issue.
Please help!
Answer found.
I kept reading on other issues where a lot of people were saying that it was due to someone's own code and not a system issue.
I used the datemodified stamp of the files to determine all the files I had worked on in the few days leading up to the issue.
I went back through and began removing them one by one, and discovered the issue. It was my own recursive code.

What is causing this error on loading a project in Visual Studio?

Every other time (or so) lately, when I open a particular project in VS Ultimate 2012 (Version 11.0.60315.01 Update 2), it first hangs (No Response) until I have to Ctrl+Alt+Del out of it. Then, when I open it again, it gives me this err msg:
An error was encountered while opening associated documents the last time this solution was loaded. Document load is being skipped during this solution load in order to avoid that error.
And after that it's fine for the rest of the session (or seems to be). What sort of "associated documents" might this be, and should I get rid of them?
Note: When it opens on the second try (after the err msg about the failure on the first try), none of my files are open in the project - I have to open them from the Solution Exploder.
UPDATE
I have a suspicion this is actually a serious problem, as after the latest such "experience," my site doesn't work as it should - it compiles and it runs, but it's not fully functional and WebMatrix seems to be confused about it (generating all kinds of vague and nonsensical errors and warnings in the report).

Resources