Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 help and support Forum Windows 8 Forum Vista Tutorials

Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroup Archive > Misc Newsgroups > Avalon

Vista - Help: Unable to serve XBAP from Apache?


 
 
08-29-2006   #1 (permalink)
Michael G. Emmons


 

Help: Unable to serve XBAP from Apache?

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/SmileyB...eyButton.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 System SpecsSystem Spec
08-29-2006   #2 (permalink)
Douglas Stockwell


 

Re: Help: Unable to serve XBAP from Apache?

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/SmileyB...eyButton.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 System SpecsSystem Spec
08-30-2006   #3 (permalink)
Laurent Bugnion


 

Re: Help: Unable to serve XBAP from Apache?

Hi,

Michael G. Emmons wrote:

<snip>

> Yet, the xbap still seems to be streaming as xml instead of a binary
> (http://xamlxaml.com/examples/SmileyB...eyButton.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 System SpecsSystem Spec
08-30-2006   #4 (permalink)
Michael G. Emmons


 

Re: Help: Unable to serve XBAP from Apache?

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" <doug@remove.11011.net> wrote in message
news:eca9ec38189a6f8c89a42b6dcde10@news.microsoft.com...
> 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/SmileyB...eyButton.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 System SpecsSystem Spec
08-30-2006   #5 (permalink)
Michael G. Emmons


 

Re: Help: Unable to serve XBAP from Apache?

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" <galasoft-lb@bluewin.ch> wrote in message
news:O1vjIn$yGHA.4968@TK2MSFTNGP05.phx.gbl...
> Hi,
>
> Michael G. Emmons wrote:
>
> <snip>
>
>> Yet, the xbap still seems to be streaming as xml instead of a binary
>> (http://xamlxaml.com/examples/SmileyB...eyButton.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 System SpecsSystem Spec
09-03-2006   #6 (permalink)
Jon Davis


 

Re: Help: Unable to serve XBAP from Apache?

I suspect MIME type registration.

Jon


My System SpecsSystem Spec
09-04-2006   #7 (permalink)
Laurent Bugnion


 

Re: Help: Unable to serve XBAP from Apache?

Hi,

Jon Davis wrote:
> I suspect MIME type registration.
>
> Jon


As we found out already 5 days ago, the MIME types are fine. It was a
client-side problem.

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 System SpecsSystem Spec
 

Help: Unable to serve XBAP from Apache? problems?



Thread Tools


Similar topics to: Help: Unable to serve XBAP from Apache?
Thread Forum
Apache Velocity or Freemarker equivalent in .Net / C#? .NET General
Installing Apache Vista installation & setup
Installing PHP and Apache Vista installation & setup
Windows vista apache server Vista networking & sharing
Vista & Apache Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50