Click here to Skip to main content
Click here to Skip to main content

Tagged as

Go to top

Error 2103 “Unhandled Error in Silverlight Application

, 29 May 2012
Rate this:
Please Sign up or sign in to vote.
Unhandled error in Silverlight application-Error 2103.

Introduction

If you getting given bellow image error in silverlight then try this...

Line: 54 
Error: Unhandled Error in Silverlight Application 
Code: 2103 
Category: InitializeError 
Message: Invalid or malformed application: Check manifest

This error “usually happens when you changed the namespace of your app [and] then did not change the Startup Object in the project property.” I did just do a big refactoring and renamed a lot of stuff – including renaming the Silverlight project – so I figured that this was the problem. Unfortunately, I didn’t immediately know what he meant.

The answer, open the Solution (sln) that has your Silverlight 4 project. Go to the Silverlight project (not the *.Web project), right-click the project and choose Properties. When the Project Properties page comes up, click the Silverlight tab and you should see the screen below.

When I went to the Silverlight tab for my project, I found that the Startup object was indeed set to the old name and namespace for App.xaml.

Now, open the Startup object dropdown. The old value isn’t even available in the list anymore. Choose the right value from the Startup object dropdown list, Save the project, and now your Silverlight application should run.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Savalia Manoj M
Software Developer (Senior)
India India
No Biography provided

Comments and Discussions

 
QuestionError 2103 “Unhandled Error in Silverlight Application PinmemberBikram Panjikar20-Nov-13 5:49 
QuestionMy Vote Of 5 PinmemberAlexey Chepelev15-Oct-13 2:29 
GeneralMy vote of 4 Pinmemberjophyjob5-Feb-13 3:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Mobile
Web03 | 2.8.140926.1 | Last Updated 29 May 2012
Article Copyright 2012 by Savalia Manoj M
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid