Silverlight on Windows 2003 Server

Hello:

I am trying to run a silverlight application on a Windows 2003 server. I am getting the following error in Visual Studio 2010.

Could not load file or assembly 'System.Windows.Controls.Data.DataForm.Toolkit, Version=4.0.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)

I installed both Silverlight 4 and 5 toolkits on the server and add the mine types in IIS:

.xaml  application/xaml+xml
.xap   application/x-silverlight-app

When I run the silverlight app on my local machine it runs fine and there are no issues.

Dan
LVL 1
RecipeDanAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

apeterCommented:
When ur deploying the project in the server, make sure ur having the toolkit part of your xap file. In the project, if you see the properties of the "Data.DataForm.Toolkit", is part of the build and deployment ?
0
RecipeDanAuthor Commented:
I ended up installing VS 2010 Web Developer on the server and loaded Silverlight 4 & 5 extensions and it works fine. I am not really sure why though.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
RecipeDanAuthor Commented:
See the above comment. I figured out the problem.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2003

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.