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.
Related
I'm trying to figure out the root cause of a strange TFS error we are seeing in our current instance. It wasn't noticed until after a server move, but I'm not sure if they're directly related, because the error seems to be showing up for check-ins about a week prior to the move, as well as all those following it.
We first noticed the problem when I tried to get latest, and got several errors indicating:
"The downloaded file is corrupt. Please get the file again."
Upon looking into the error, we have noticed that starting as of a single check-in every code update has resulted in files being replaced with the contents of other files, ranging from project files to binary executable files (presumably assembly DLLs), rather than the expected content which is still present on our local development machines.
I don't have admin access to the servers myself, but am looking for ideas on possible causes and/or fixes for our team to investigate.
After weeks of searching, I finally found another mention of this sort of thing happening, along with a solution that appears to have worked.
Clear the Application Tier cache.
MSDN Archived Forums: TFS swapping contents of files
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 :-)
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.
Suddenly I'm getting an odd error popping up every few minutes.
'Periodic workspace save.' has encountered a problem.
Could not write workspace metadata '{workspace}.metadata.plugins\org.eclipse.core.resources.snap'.
I've checked and the file is there. It's not marked "read-only".
Nothing's changed recently. I am on a Citrix VM running Windows 7 and my workspace is on a mapped drive. However, this setup has been running fine for over a year.
Any ideas?
I ended up creating a new workspace and moving my projects over there. Fortunately there weren't many (nor did I have too many snippets) and I could recustomize the way I wanted.
This is not a very good solution, however, and I'd love to see a better way to fix this issue.
The company that I am working at is still using visual foxpro, and I am doing a fingerprint scanner using vfp9 and Griaule Fingerprint SDK 2009.
Everything is doing fine during the first run of the program. But when I re-run it againg. The error will happen. Any ideas why I keep on having that problem? Missing GRFINGER.DLL.
It's getting hard for me to find any support today because foxpro application development is getting obsolete.
The rub of the problem seems to be that the first run causes Fox to be somehow unable to find the DLL or to load it. The latter can occur if the DLL itself is findable but one of its dependencies (like its C runtime DLL) is not.
This may be due to a changed search path (SET PATH). If the search path contains relative directories then a simple change of the current working directory changes the effective search path, even though the actual text (set("PATH")) remains unchanged. That can happen because of things like file open/save dialogues, for example.
P.S.: sorry for the belated answer - the question was at the top of the recent/active list because someone had edited the question recently, and only after posting the answer did I realise how old the question was. However, the answer might still be useful for someone with a similar problem.