Solved

VS2013 -- External component has thrown an exception

Posted on 2014-12-02
4
156 Views
Last Modified: 2014-12-09
Just started working with Visual Studio 2013 Express web.  I create a responsive web site the other day.  Each day I have been trying to learn more about making changes to the layout.  Tonight, I added one addition menu item to the default menu items.

                        <li><a runat="server" href="~/">Home</a></li>
                        <li><a runat="server" href="~/About">About</a></li>
                        <li><a runat="server" href="~/Daily_Living">Daily Living</a></li>
                        <li><a runat="server" href="~/Contact">Contact</a></li>

The next time I ran it (Debug --> Start Debugging), I get 2 errors.  Both errors are the same: "External Component has thrown an exception."  Sheesh!?  Just because I added a menu item?  I took the menu item out, but I still get the two errors.
0
Comment
Question by:rrhandle8
  • 3
4 Comments
 
LVL 74

Assisted Solution

by:käµfm³d 👽
käµfm³d   👽 earned 500 total points
ID: 40477730
Basically, you have an issue with the code portions--i.e. the Razor, not the HTML--of your views. You need to track down what it is. It's most likely a syntax error. If you care to post the whole view, then we can probably help you track it down.
0
 

Author Comment

by:rrhandle8
ID: 40477751
I am using ASP Forms not MVC
0
 

Accepted Solution

by:
rrhandle8 earned 0 total points
ID: 40477752
Well, shutting VS2013 down and restarting it got rid of the error. Go figure.  Any explanations for this behavior?  I would like to understand what just happened.
0
 

Author Closing Comment

by:rrhandle8
ID: 40488477
Just a simple restart fixed the problem.
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

In an ASP.NET application, I faced some technical problems. In this article, I list them out and show the solutions that I found.  I hope it will be useful. Problem: After closing a pop-up window, the parent page should be refreshed automaticall…
In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now