Link to home
Start Free TrialLog in
Avatar of RecipeDan
RecipeDan

asked on

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
Avatar of Aaron Jabamani
Aaron Jabamani
Flag of United Kingdom of Great Britain and Northern Ireland image

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 ?
ASKER CERTIFIED SOLUTION
Avatar of RecipeDan
RecipeDan

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of RecipeDan
RecipeDan

ASKER

See the above comment. I figured out the problem.