Solved

VS2013 -- External component has thrown an exception

Posted on 2014-12-02
4
171 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 75

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I have developed many web applications with asp & asp.net and to add and use a dropdownlist was always a very simple task, but with the new asp.net, setting the value is a bit tricky and its not similar to the old traditional method. So in this a…
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…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

863 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