Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles
(untagged)

Error 2103 “Unhandled Error in Silverlight Application

0.00/5 (No votes)
29 May 2012 1  
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 has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here