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.D ata.DataFo rm.Toolkit , Version=4.0.5.0, Culture=neutral, PublicKeyToken=31bf3856ad3 64e35' 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
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.D
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-
When I run the silverlight app on my local machine it runs fine and there are no issues.
Dan
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
See the above comment. I figured out the problem.