Skip to main content
Home Forums Silverlight Programming Report a Silverlight Bug Name 'Initialize Component' is not declared Error When I create A new App
4 replies. Latest Post by Min-Hong Tang - MSFT on November 9, 2009.
(0)
zakkar
Member
14 points
67 Posts
11-04-2009 11:05 AM |
HI ,
I'm using VS2008 and SL3. I 'm trying to create a new Silverlight Application with Ria Services support.
But when I create from the template the app I'm getting in the error list the InitializeComponent Error.
I haven't done anything ,meaning by this mixing with namespaces or even add a single button. Just left the defaults.
And I got the error. If I run the app I'm getting from my IE8 that I need to configurre the webserver settings. Why my IIS is configured with the nessacary MIME types. I don't know if it is much of a help but everything started behaving strangelly after installing the Last IE8 update which was released on 11/3/2009.
I have tried to uninstall Silverlight and Install but still the error remains.
I have installed SP1 for VS in my machine.
What should I do ? Any ideas ?
Can anyone of you MVPs has an answer ?
Ardman
Contributor
3408 points
938 Posts
11-04-2009 11:43 AM |
Try doing the following to get more details:
11-04-2009 2:29 PM |
Hi and thank you for your answer.
Line: 56Error: Unhandled Error in Silverlight Application Code: 2104 Category: InitializeError Message: Could not download the Silverlight application. Check web server settings
The above is what I got from IE8. I google for that error and it says about the MIME in IIS. But I have all these configured. I have the mime for xap,xaml and xasb (If I remember correctly).
Why I got the error although my IIS is configured ?
Is there any solution for that ?
11-04-2009 2:36 PM |
Not to forget .
I have windows vista business and IIS 7
Min-Hong...
3562 points
400 Posts
11-09-2009 2:23 AM |
Hi,
Based on my experience, could not download xap error's probable causes are:
1. Did not configure iis(It seems you have wiped out this possibilty).
2. Mistype of the xap file's name(I've done that before,,,,)
3.SL application did not build successfully.
You can give these a try. Hope it helps you.
Best Regards