Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

VS2013 -- External component has thrown an exception

Posted on 2014-12-02
4
Medium Priority
?
286 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 1500 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Suggested Courses

972 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