We have a rather large website and everything was working and loading fine. It has been in production for over two years now with constant updates with new pages. Recently we started looking into Silverlight development and after adding a silverlight project and silverlight class library reference to the website solution we started getting this error message on first run. Subsequent page requests run just fine, but the initial run of the project gets this error.
First thing I tried was to upgrade to latest version. Fail.
Next was to remove the system.windows dependency references from the bin and rebuild project. The files controls.data, controls.data.input, controls.navigation regenerated and are still in the bin as they should be. Fail.
Manually created a reference to system.windows and all child dll's. Fail.
Dumped all extra projects from solution and removed project references. Cleaned and rebuilt solution. Fail.
Any help or Idea's would be appreciated.
Server Error in '/ePikeMiracle' Application.
Could not load file or assembly 'System.Windows,
Version=220.127.116.11, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' or
one of its dependencies. The system cannot find the file specified.
Description: An unhandled exception occurred during
the execution of the current web request. Please review the stack trace
for more information about the error and where it originated in the
Exception Details: System.IO.FileNotFoundException:
Could not load file or assembly 'System.Windows, Version=18.104.22.168,
Culture=neutral, PublicKeyToken=7cec85d7bea7798e' or one of its
dependencies. The system cannot find the file specified.
Line 112:<body runat="server" id="body">
Line 113: <form id="form1" runat="server">
Line 114: <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
Line 115: </telerik:RadScriptManager>
Line 116: <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" DefaultLoadingPanelID="RadAjaxLoadingPanel1">