Re: 404 downloading DLLs (solved?)

2011-02-10 Thread Craig Richards
Sorry all, mixed emails here :)

ME BAD !!

On Fri, Feb 11, 2011 at 10:13 AM, Craig Richards <
craiganthonyricha...@gmail.com> wrote:

> Hi Greg,
> Do you mean if i want to use SS4 i need to change my code base? If so I
> don't mind using 3 until this has been resolved. I don't fully understand
> the workaround either. Is there a reference that i can look at?
>
> Thanks
> Craig
>
> On Fri, Feb 11, 2011 at 10:08 AM, Greg Keogh  wrote:
>
>> For the moment my workaround is to async Read ZIP files from the web
>> server, unzip them on the SL client side and add them as assemblies. This is
>> working on my Win7 dev machine and the Win2003 server. Luckily C1 supply a
>> class to make unzipping quite easy.
>>
>>
>>
>> I also found out why my error logging was vanishing ... deep inside the
>> code where I send a buffer of logging objects to the web server I found I
>> was attempting to serialize an Exception (actually a WebException), which
>> threw an error in the error logging, which was then swallowed and vanished.
>> So don't attempt to stupidly serialize core CLR objects back to the full CLR
>> server.
>>
>>
>>
>> Greg
>>
>> ___
>> ozsilverlight mailing list
>> ozsilverlight@ozsilverlight.com
>> http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight
>>
>>
>
___
ozsilverlight mailing list
ozsilverlight@ozsilverlight.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight


Re: 404 downloading DLLs (solved?)

2011-02-10 Thread Craig Richards
Hi Greg,
Do you mean if i want to use SS4 i need to change my code base? If so I
don't mind using 3 until this has been resolved. I don't fully understand
the workaround either. Is there a reference that i can look at?

Thanks
Craig

On Fri, Feb 11, 2011 at 10:08 AM, Greg Keogh  wrote:

> For the moment my workaround is to async Read ZIP files from the web
> server, unzip them on the SL client side and add them as assemblies. This is
> working on my Win7 dev machine and the Win2003 server. Luckily C1 supply a
> class to make unzipping quite easy.
>
>
>
> I also found out why my error logging was vanishing ... deep inside the
> code where I send a buffer of logging objects to the web server I found I
> was attempting to serialize an Exception (actually a WebException), which
> threw an error in the error logging, which was then swallowed and vanished.
> So don't attempt to stupidly serialize core CLR objects back to the full CLR
> server.
>
>
>
> Greg
>
> ___
> ozsilverlight mailing list
> ozsilverlight@ozsilverlight.com
> http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight
>
>
___
ozsilverlight mailing list
ozsilverlight@ozsilverlight.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight


RE: 404 downloading DLLs (solved?)

2011-02-10 Thread Greg Keogh
For the moment my workaround is to async Read ZIP files from the web server,
unzip them on the SL client side and add them as assemblies. This is working
on my Win7 dev machine and the Win2003 server. Luckily C1 supply a class to
make unzipping quite easy.

 

I also found out why my error logging was vanishing ... deep inside the code
where I send a buffer of logging objects to the web server I found I was
attempting to serialize an Exception (actually a WebException), which threw
an error in the error logging, which was then swallowed and vanished. So
don't attempt to stupidly serialize core CLR objects back to the full CLR
server.

 

Greg

___
ozsilverlight mailing list
ozsilverlight@ozsilverlight.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight


404 downloading DLLs

2011-02-10 Thread Greg Keogh
Folks, after finding the reference workaround last night to allow me to keep
DLLs out of the XAP, I stumbled across a new problem... On my development
machine my background loading of the DLLs is working nicely. When I deploy
the app to my server it fails, but it took me hours to find out why.

 

It turns out that the OpenReadCompleted handler is reporting an Exception,
which killed my logging code and the error was not being logged. In
desperation I put a throw inside the SL4 code and this finally caused an
error in the browser and I could click the icon and popup the details. The
details say NotFound (what a surprise!!), but at least it told me that a
file load failed.

 

I fire up Fiddler and I see the following:

 



 

So I'm getting a 404 on some DLL files, which I know are present. I tried
reading a ZIP of the DLL and it works okay. I presume therefore that there
is a configuration difference between my Win7 dev machine and the Win2003
server. I seem stuck in a Catch-22 ... It's not safe to allow IIS to serve
DLL files on my server and I presume IIS is stopping this, but all of the
samples I've seen do get DLL files from IIS. So how come it works on Win7
but not and Win2003, and what do I do? Surely I can't be the only person who
has hit this problem.

 

Maybe I can download ZIPs or XAP file containing the DLLs instead?!

 

Greg

<>___
ozsilverlight mailing list
ozsilverlight@ozsilverlight.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight