[Mono-list] Hosting Silverlight applications on Apache2

Timothy Parez timothyparez at gmail.com
Wed Jan 30 12:16:47 EST 2008


Hi,

While this is not purely mono related, I think some of you might be  
able to help.
I had a sample application which worked fine when hosted with IIS, but  
doesn't work when hosted on Apache2.

http://www.itcrowd.be/silverlight/netrissilver.html

The exception I get it this:

The Page at http://www.itcrowd.be says:

Silverlight error message
ErrorCode: 1001
ErrorType: ParserError
Message: AG_E_UNKNOWN_ERROR
XamlFile: netris.xaml
Line: 11
Position: 9

If you check out a sample by someone else, also hosted on Apache:
http://www.zendurl.com/t/timheuer/v1_1/Default.html

You get this
The page at http://www.zendurl.com says:
Silverlight error message
Errorcode: 1001
ErrorType: ParserError
Message: AG_E_UNKNOWN_ERROR
XamleFile: Page.xaml
Line: 9
Position: 2

Quite similar, so I'm guessing it's not my code.

I've added the following Mime types to the Apache configuration, but  
it still doesn't work:

AddType application/xaml+xml xaml
AddType application/x-ms-application application
AddType application/x-ms-xbap xbap
AddType application/manifest manifest
AddType application/octet-stream deploy
AddType application/vnd.ms-xpsdocument xps
AddType application/x-msdownload dll


Since the Mono team is working on Moonlight,
I assume they also know how to host these applications on Linux?

It's all client side isn't it? So it shouldn't require Mono/ASP.NET  
right?
(Even though it's an ASP.NET site, so even then it should still work)
(Mono is installed on my server. It's version 1.2.6 --with-preview=yes  
--with-moonlight=yes)

Thank you for any suggestions.

Timothy.


More information about the Mono-list mailing list