Hi Andrew,
As for the ASP.NET page that contains the silverlight control, does it
report error both at your debugging time and just "view in browser"? Also,
if you have IIS server, have you tried publish or deploy the project to IIS
server to see whether it works?
Since you mentioned that another project with the same assembly works, it
does likely to be a project specific data corruption. One common approach
for such issue is creating a new project and import the pages and files
from the original project manually so as to eliminate those problems that
are potentially caused by project data corruption. I think you can also try
this.
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(E-Mail Removed).
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subs...#notifications.
--------------------
>From: "J055" <(E-Mail Removed)>
>Subject: Could not load file or assembly 'System.Web.Silverlight' or one
of its dependencies
>Date: Wed, 10 Jun 2009 17:55:28 +0100
>Hi
>
>I had a blue screen on my Windows Server 2008 x64 today. I had a VS
solution
>open at the time. Now when I go to debug the solution I get this error:
>
>Could not load file or assembly 'System.Web.Silverlight' or one of its
>dependencies. The parameter is incorrect. (Exception from HRESULT:
>0x80070057 (E_INVALIDARG))
>
>It work before the crash. The file is in the web project bin folder. The
>solution builds without errors. I can open another project which uses the
>Silverlight assembly and that works fine. I've tried removing and adding
>assembly references to the projects. I cleared the files from here:
>
>C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files
>
>It seems something has got corrupted but I've no idea what it can be and
how
>to fix it.
>
>What can I do to fix the problem?
>
>Thanks
>Andrew
>
>This is the stack trace in case this helps:
>
>
>[FileLoadExc