•   Mountain View 1600, CA 94043
  •   +1 650-253-0000
  •   name@example.com
     Search
 
  • Register
 
Login
InteractiveWebs
  • InteractiveWebs Home
  • Services
    • -DotNetNuke Support
    • -CRM Systems
    • -Domain Names
  • DotNetNuke Modules
    • -DotNetNuke Modules
    • -Module Downloads
    • -Module Upgrade Policy
  • Support
    • -Module Update News
    • -Knowledge Base
    • -License Management
    • -Invoice History
  • Blog
  • Contact Us
    • -About Us
  • Store
SearchHome
  • 1
  • 2
  • 3
  • 4
  • 5
HomeHomeSupportSupportSliverLight Vid...SliverLight Vid...Error Code 2104 Initialize ErrorError Code 2104 Initialize Error
Previous
 
Next
New Post
9/8/2008 9:32 PM
 
User is offline DNN Module Support
1st Level Poster

Joined: 8/28/2006
Posts: 2056
Error Code 2104 Initialize Error  (Australia)
This relates to the IIS settings.
 
add MIME types to IIS to resolve.

inetmgr -- > select ur silverlight applciation -->Right click Properties --> HTTP Headers -- MIME Map --> File Types -- New Types -->

Add one by one the below mentioned:

Associated Extension        Content Type(MIME)

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

.manifest                         application/manifest
.application                      application/x-ms-application
.xbap                              application/x-ms-xbap
.deploy                           application/octet-stream
.xps                               application/vnd.ms-xpsdocument

 
New Post
3/13/2010 5:35 AM
 
User is offline Joe Perkins
No Ranking

Joined: 2/19/2010
Posts: 4
Re: Error Code 2104 Initialize Error  (United States)
That would be negative.  I double checked my MIME types and all is correct...in fact, I edited all of my MIME ytpes, just in case there eas a typo..  The error still appears with my Ubuntu/Firefox machines.
 
New Post
6/18/2010 3:30 PM
 
User is offline DNN Module Support
1st Level Poster

Joined: 8/28/2006
Posts: 2056
Re: Error Code 2104 Initialize Error  (Australia)
Configuring IIS for Silverlight Applications
KBA-01067-8Q0ZNL
Purpose & Scope

Microsoft® SilverlightTM is a cross-browser, cross-platform plug-in for delivering the next generation of .NET based media experiences and rich interactive applications for the Web. Silverlight offers a flexible programming model that supports AJAX, VB, C#, Python, and Ruby, and integrates with existing Web applications. Silverlight supports fast, cost-effective delivery of high-quality video to all major browsers running on the Mac OS or Windows.

In most cases, hosters do not need to perform particular deployments to support Silverlight. However, check for the following basic items that could prevent Silverlight from functioning correctly.

Procedure

MIME Types

In Windows Server 2008 IIS 7.0 

All MIME types needed to support Silverlight are implemented by default in Windows Server 2008 IIS 7.0 and Windows Vista SP1.  Windows Vista RTM customers can add mime types by running 'IIS Manager', clicking on 'Mime Types', then clicking 'add' and adding the following mime types:

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

Alternatively, you can add the following mime types to your %windir%\system32\inetsrv\config\applicationHost.config file in the <staticContent> section.

<mimeMap fileExtension='.xaml' mimeType='application/xaml+xml' />
<mimeMap fileExtension='.xap' mimeType='application/x-silverlight-app' />
<mimeMap fileExtension='.xbap' mimeType='application/x-ms-xbap' />

In Windows Server 2003 IIS 6.0 

To enable IIS 6.0 in Windows Server 2003 or IIS7 in Windows Vista RTM with the appropriate MIME Types, add: 

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

Here is a VBS script you could run to enable each of these types:

Const ADS_PROPERTY_UPDATE = 2  
'
if WScript.Arguments.Count < 2 then
 WScript.Echo 'Usage: ' + WScript.ScriptName + ' extension mimetype'
 WScript.Quit
end if 
'
'Get the mimemap object.  
Set MimeMapObj = GetObject('IIS://LocalHost/MimeMap')  
'
'Get the mappings from the MimeMap property.  
aMimeMap = MimeMapObj.GetEx('MimeMap')  
'
' Add a new mapping.  
i = UBound(aMimeMap) + 1  
Redim Preserve aMimeMap(i)  
Set aMimeMap(i) = CreateObject('MimeMap')  
aMimeMap(i).Extension = WScript.Arguments(0)  
aMimeMap(i).MimeType = WScript.Arguments(1)  
MimeMapObj.PutEx ADS_PROPERTY_UPDATE, 'MimeMap', aMimeMap  
MimeMapObj.SetInfo  
'
WScript.Echo 'MimeMap successfully added: '
WScript.Echo '    Extension: ' + WScript.Arguments(0)
WScript.Echo '    Type:      ' + WScript.Arguments(1)

If you copy and paste the code above into a VBS file and save it as ADDMIMETYPE.VBS the syntax to add each type would be:

ADDMIMETYPE.VBS  .xap  application/x-silverlight-app ADDMIMETYPE.VBS  .xaml application/xaml+xmlADDMIMETYPE.VBS  .xbap application/x-ms-xbap

Using the IIS Manager User Interface in Windows Server 2003 IIS 6.0

1. Go to Start\Administrative Tools and run IIS Manager, see figure below:

2. Right click on the server name and select 'Properties', see figure below:

3. In the Properties Dialog, click on the 'MIME Types' button, see figure below:

4. In the 'MIME Types' Dialog, click the 'New' button, see figure below:

5. In the 'MIME Type' Dialog enter one MIME Type at the time:

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

    see figure below:

    For detailed information on Silverlight, visit http://silverlight.net/.

  •  
    New Post
    10/28/2010 1:02 AM
     
    User is offline larry
    No Ranking

    Joined: 12/11/2009
    Posts: 5
    Re: Error Code 2104 Initialize Error  (United States)
    I'm having the same issue.  I have a 64 bit Windows Server 2003 that I've added the mime types to but to no avail.  I've tried to run the script but I get an error on the
    Set MimeMapObj = GetObject('IIS://localhost/MimeMap')
    line where it gives a 800A03Ea error code.  I've tried to edit the config file directly but can't locate it.  Any help is appreciated.
     
    Thanks
     
    New Post
    10/28/2010 1:53 PM
     
    User is offline DNN Module Support
    1st Level Poster

    Joined: 8/28/2006
    Posts: 2056
    Re: Error Code 2104 Initialize Error  (Australia)
    Check through the GUI that it has been added, or manually add it yourself.
     
    New Post
    10/28/2010 11:25 PM
     
    User is offline larry
    No Ranking

    Joined: 12/11/2009
    Posts: 5
    Re: Error Code 2104 Initialize Error  (United States)
    I have verified and that is why I'm confused.  I've also verified that Silverlight is installed with Frameworks 2, 3.5 SP 1
     
    Thanks
     
    New Post
    10/28/2010 11:37 PM
     
    User is offline larry
    No Ranking

    Joined: 12/11/2009
    Posts: 5
    Re: Error Code 2104 Initialize Error  (United States)
    As a curious point, the two alternatives (directly writing the file and the vbscript) do not work.  The file does not seem to exist while the vbscript produces an 800A03EA error when trying to do the Set MimeMapObj = GetObject('IIS://localhost/MimeMap') command.
     
    Thanks
     
    New Post
    10/29/2010 12:57 AM
     
    User is offline DNN Module Support
    1st Level Poster

    Joined: 8/28/2006
    Posts: 2056
    Re: Error Code 2104 Initialize Error  (Australia)
    Because this is a Server Configuration issue, our ability to assist you is limited.
     
    As you no doubt are aware, the configuration of a server to deliver Silverlight is up to the server Administrator. Our suggestions would go something like this.
     
    1. Gain help form a professional Administrator or host company to get them to configure - or
    2. Check permissions, and file availability, Google the error and check Silverlight Forums for tips - or
    3. Put in a ticket with Microsoft for Assistance in configuring the server - or
    4. Use another server.
     
    As you would expect, once you get the server configured to setup silverlight, the module should work just fine. We are not doing anything special in the way silverlight is served up. 
     
    New Post
    10/29/2010 7:03 AM
     
    User is offline larry
    No Ranking

    Joined: 12/11/2009
    Posts: 5
    Re: Error Code 2104 Initialize Error  (United States)
    I understand what you're saying.  The interesting thing is that I have a working hello world silverlight application working under the DNN site (just have put it up there) at http://gtt.com/SilverlightApplication1TestPage.aspx .  Because that is working, I'm rather confused as to why your module is not working.  Any ideas?
     
    Thanks 
     
    New Post
    10/29/2010 5:32 PM
     
    User is offline DNN Module Support
    1st Level Poster

    Joined: 8/28/2006
    Posts: 2056
    Re: Error Code 2104 Initialize Error  (Australia)
    Untitled Document

    Interestingly….
    I downloaded and ran the html source locally for the test url given for the test page, all I modified was the source pointing to the live URL (changed this line to <param name="source" value="http://gtt.com/ClientBin/SilverlightA..."/>). This never worked, just a blank screen with the browser never downloading the xap to the test page
     
    unlike here where its accessing their live test page http://gtt.com/SilverlightApplication... (note the xap file present)

    Also ran some things in fiddler…
    Our site (correctly configured) returns a Result 200 OK. The customer’s website returns a 304
    In a browser pasting our url prompts a download to the xap file, their url does nothing.

     

    http://www.interactivewebs.com/deskto...

     

    http://gtt.com/desktopmodules/silverl...

    This page has some info on the http response code http://www.checkupdown.com/status/E30...
    Strange there’s these odd results.

     
    New Post
    10/29/2010 9:45 PM
     
    User is offline larry
    No Ranking

    Joined: 12/11/2009
    Posts: 5
    Re: Error Code 2104 Initialize Error  (United States)
    Thank you so much for your time!  I'm trying to digest what your post means.  Obviously that the server is not configured correctly but I'm trying to digest exactly what you did so I can take next steps in removing DNN (and the module) from the mix of problems.  I will read your link and report any new observations and the eventual fix as to what my problem exactly was once I have it fixed.
     
    Thank You!
     
    New Post
    11/21/2010 4:48 AM
     
    User is offline DNN Module Support
    1st Level Poster

    Joined: 8/28/2006
    Posts: 2056
    Re: Error Code 2104 Initialize Error  (Australia)
    Sometimes the best way to troubleshoot is to load a really simple test silverlight file, and get that working.
     
     Page 1 of 1
    Previous
     
    Next
    HomeHomeSupportSupportSliverLight Vid...SliverLight Vid...Error Code 2104 Initialize ErrorError Code 2104 Initialize Error


    Connect to us

    Copyright (c) 2018 InteractiveWebs : Terms Of Use : Privacy Statement
    Login Register

    Need to Register? Forgot password?

    Just want to login?
    Copyright (c) 2018 InteractiveWebs : Terms Of Use : Privacy Statement