I uploaded the license.  But when I when to use the designer the page came back with errors (see below).  A little background on my environment:  I am running a MS Virtual Machine Using Server 2003 SQL 2008 and Services 3.0,  I am running IE 8 and SilverLight.


Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.2)

Timestamp: Fri, 17 Jul 2009 13:33:54 UTC


Message: Unhandled Error in Silverlight 2 Application

Code: 2104   

Category: InitializeError      

Message: 2104 An error has occurred.

Views: 10

Reply to This

Replies to This Discussion

Dear Susan,

this is a common issue in some environments.

You can fix this error following the instructions in Chapter 6 - Administrator’s Guide (page 23)

 

Hope this helps.


When you're hosting Silverlight, you have to tweak your IIS settings to allow the server to know how to handle the extensions that it's not familiar with. I'm sure in the future, Microsoft will encode this
directly into new releases of IIS, but for now, you have to add these MIME
types yourself.

 .xaml application/xaml+xml
.xap application/x-silverlight-app
.xbap application/x-ms-xbap

To add the MIME types to IIS:

1.        Choose the Virtual Directory or Default Web Site in IIS

2.        Open the context menu and choose "Properties"

3.        Select the "HTTP-Headers" tab

4.        Click the button labeled "File Types..." in MIME Map section

5.        Choose "New Type" and type the extension from above into the extension field and the application type into
the MIME type field.

After adding all 3, click "OK" then
click "Apply" on the main menu. You're done. No restart needed.

Extract:

When you're hosting Silverlight, you have to tweak your IIS settings to allow the server to know how to handle the extensions that it's not familiar with. I'm sure in the future, Microsoft will encode this directly into new releases of IIS, but for now, you have to add these MIME types yourself.

 .xaml application/xaml+xml
.xap application/x-silverlight-app
.xbap application/x-ms-xbap

To add the MIME types to IIS:

1.        Choose the Virtual Directory or Default Web Site in IIS

2.        Open the context menu and choose "Properties"

3.        Select the "HTTP-Headers" tab

4.        Click the button labeled "File Types..." in MIME Map section

5.        Choose "New Type" and type the extension from above into the extension field and the application type into the MIME type field.


After adding all 3, click "OK" then click "Apply" on the main menu. You're done. No restart needed.

That worked great.

 

Thank you!

Reply to Discussion

RSS

© 2012   Created by Joan Trilla.

Badges  |  Report an Issue  |  Terms of Service