Help: Unable to serve XBAP from Apache?

M

Michael G. Emmons

My webhost provider is running Apache. I have added the following custom
mime types to the .htaccess file:

AddType application/manifest .manifest
AddType application/xaml+xml .xaml
AddType application/x-ms-application .application
AddType application/x-ms-xbap .xbap
AddType application/octet-stream .deploy

Yet, the xbap still seems to be streaming as xml instead of a binary
(http://xamlxaml.com/examples/SmileyButton/SmileyButton.xbap). The tech
support keeps insisting that their server would need custom file handlers in
addition to custom mime types, but all the information I've seen on serving
xbap apps indicates only the mime types are needed to get this working.

Anyone have any suggestions on getting this up and running? Any help would
be much appreciated.

Note: Oddly enough I can run this xbap correctly on the machine I developed
the app on, which is running Vista, but my other two laptops running XP +
..NET 3.0 show it as an xml stream.

Thanks!

-M
 

My Computer

D

Douglas Stockwell

Works fine for me on XP + July CTP and Vista 5536.

- Doug

> My webhost provider is running Apache. I have added the following
> custom mime types to the .htaccess file:
>
> AddType application/manifest .manifest
> AddType application/xaml+xml .xaml
> AddType application/x-ms-application .application
> AddType application/x-ms-xbap .xbap
> AddType application/octet-stream .deploy
> Yet, the xbap still seems to be streaming as xml instead of a binary
> (http://xamlxaml.com/examples/SmileyButton/SmileyButton.xbap). The
> tech support keeps insisting that their server would need custom file
> handlers in addition to custom mime types, but all the information
> I've seen on serving xbap apps indicates only the mime types are
> needed to get this working.
>
> Anyone have any suggestions on getting this up and running? Any help
> would be much appreciated.
>
> Note: Oddly enough I can run this xbap correctly on the machine I
> developed the app on, which is running Vista, but my other two laptops
> running XP + .NET 3.0 show it as an xml stream.
>
> Thanks!
>
> -M
>
 

My Computer

L

Laurent Bugnion

Hi,

Michael G. Emmons wrote:

<snip>

> Yet, the xbap still seems to be streaming as xml instead of a binary
> (http://xamlxaml.com/examples/SmileyButton/SmileyButton.xbap). The tech
> support keeps insisting that their server would need custom file
> handlers in addition to custom mime types, but all the information I've
> seen on serving xbap apps indicates only the mime types are needed to
> get this working.


Your XBAP is served correctly as far as I can say. On my XP + June CTP
machine, the Presentation host is started correctly. I cannot see the
application because I don't have July CTP installed, but the start
mechanism works flawlessly.

I think that the problem is client-side.

HTH,
Laurent
--
Laurent Bugnion, GalaSoft
Software engineering: http://www.galasoft-LB.ch
PhotoAlbum: http://www.galasoft-LB.ch/pictures
Support children in Calcutta: http://www.calcutta-espoir.ch
 

My Computer

M

Michael G. Emmons

Odd. I uninstalled NET 3.0 and reinstalled it and it works fine for me too.
However, I had other people with the same problem as myself. If anyone knows
why this could happen give me a shout.

Thanks again, Doug.

-M


"Douglas Stockwell" <[email protected]> wrote in message
news:[email protected]
> Works fine for me on XP + July CTP and Vista 5536.
>
> - Doug
>
>> My webhost provider is running Apache. I have added the following
>> custom mime types to the .htaccess file:
>>
>> AddType application/manifest .manifest
>> AddType application/xaml+xml .xaml
>> AddType application/x-ms-application .application
>> AddType application/x-ms-xbap .xbap
>> AddType application/octet-stream .deploy
>> Yet, the xbap still seems to be streaming as xml instead of a binary
>> (http://xamlxaml.com/examples/SmileyButton/SmileyButton.xbap). The
>> tech support keeps insisting that their server would need custom file
>> handlers in addition to custom mime types, but all the information
>> I've seen on serving xbap apps indicates only the mime types are
>> needed to get this working.
>>
>> Anyone have any suggestions on getting this up and running? Any help
>> would be much appreciated.
>>
>> Note: Oddly enough I can run this xbap correctly on the machine I
>> developed the app on, which is running Vista, but my other two laptops
>> running XP + .NET 3.0 show it as an xml stream.
>>
>> Thanks!
>>
>> -M
>>

>
>
 

My Computer

M

Michael G. Emmons

You were correct. The problem was client-side. Uninstalling and reinstalling
the July CTP fixed it. I wish I knew why it happened in the first place as
there were other people who had the same problem.

Thanks!

-M

"Laurent Bugnion" <[email protected]> wrote in message
news:[email protected]
> Hi,
>
> Michael G. Emmons wrote:
>
> <snip>
>
>> Yet, the xbap still seems to be streaming as xml instead of a binary
>> (http://xamlxaml.com/examples/SmileyButton/SmileyButton.xbap). The tech
>> support keeps insisting that their server would need custom file handlers
>> in addition to custom mime types, but all the information I've seen on
>> serving xbap apps indicates only the mime types are needed to get this
>> working.

>
> Your XBAP is served correctly as far as I can say. On my XP + June CTP
> machine, the Presentation host is started correctly. I cannot see the
> application because I don't have July CTP installed, but the start
> mechanism works flawlessly.
>
> I think that the problem is client-side.
>
> HTH,
> Laurent
> --
> Laurent Bugnion, GalaSoft
> Software engineering: http://www.galasoft-LB.ch
> PhotoAlbum: http://www.galasoft-LB.ch/pictures
> Support children in Calcutta: http://www.calcutta-espoir.ch
 

My Computer

Top