VB error - The Call Stack Contains Only External Code
I've programmed a small application in visual studio 2012 using VB.NET 3.5 framework. It was running perfectly when I last modified the project, and published it. However today when I go in and try to run the code I get an error (see pic/below). I don't know what's causing this. Nothing has changed in the project since it was last published, this just seems to have suddenly happened!
Can anyone explain what's happened, and how to resolve it?
I'm not entirely sure how to do that? Can you provide details and I will give it a try. Like I said, last time I ran the app build/public it was fine, and I've got a working build. But for some reason, just going into yesterday and running debug it's giving that error. Nothing should have changed/been added to the code.
I don't know what this 'ApplicationActivator' or 'ActivationContext' is trying to do. I don't have any kind of application activation in the code. It's just a small 200kb app for updating user details in AD.
There has to be something outside the code that's causing this error, as I just copied & pasted the code & form into a totally new project, and it's working. I could just keep the new project, but I'd love to know what caused the old one to throw up that error, in case it happens again!
I went through all of the application settings, and restored them to default, and checked against the new clean project, there was 1 extra reference (system.threading) which I removed and also did the clean solution. Seems to have fixed it, not sure exactly which of those, but at least it's working now!
Many thanks
The .NET Framework is not specific to any one programming language; rather, it includes a library of functions that allows developers to rapidly build applications. Several supported languages include C#, VB.NET, C++ or ASP.NET.