Dreaded Red X BUT The trace says I am getting the data - but lightswitch is not rendering/loading it

Locked Dreaded Red X BUT The trace says I am getting the data - but lightswitch is not rendering/loading it

  • Wednesday, July 18, 2012 7:24 AM
     
      Has Code

    I am getting the dreaded Red X however the fiddler trace implies I get the data.  I have a single screen connected to a remote server database table (Hello world stuff).  I am unable to publish to the server using Lightswitch (another problem) but I can transfer the package and install it.  When I run this I get no data showing up.

    The fiddler overview trace data consists of:

    # Result Protocol Host URL Body Caching Content-Type Process Comments Custom
    1 304 HTTP 111.118.221.200 /test5/ 0 tmproxy:3332
    2 304 HTTP 111.118.221.200 /test5/Silverlight.js 0 tmproxy:3332
    3 302 HTTP go.microsoft.com /fwlink/?LinkId=108181 242 private Expires: Wed, 18 Jul 2012 07:04:05 GMT text/html; charset=utf-8 tmproxy:3332
    4 304 HTTP 111.118.221.200 /test5/Web/test5.Client.xap?v=1.0.0.0?v=1.0.0.0 0 tmproxy:3332
    5 200 HTTP 111.118.221.200 /test5/Web/Microsoft-LightSwitch-Security-ServerGenerated-Implementation-AuthenticationService.svc/binary/GetAuthenticationInfo 597 no-cache Expires: -1 application/msbin1 tmproxy:3332
    6 304 HTTP silverlight.dlservice.microsoft.com /download/d/2/9/d29e5571-4b68-4d95-b43a-4e81ba178455/2.0/ENU/InstallSilverlight.png 0 application/octet-stream tmproxy:3332
    7 404 HTTP 111.118.221.200 /favicon.ico 1,245 text/html tmproxy:3332
    8 200 HTTP 111.118.221.200 /test5/testXPressDBData.svc/Microsoft_LightSwitch_GetCanInformation?dataServiceMembers='dogs' 269 no-cache application/xml;charset=iso-8859-1 tmproxy:3332
    9 200 HTTP 111.118.221.200 /test5/testXPressDBData.svc/dogs()?$skip=0&$top=45&$inlinecount=allpages 2,200 no-cache application/atom+xml;type=feed;charset=iso-8859-1 tmproxy:3332

    The specific trace on the last item above is:

    <?xml version="1.0" encoding="ISO-8859-1"?>
    -<feed xmlns="http://www.w3.org/2005/Atom" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xml:base="http://111.000.000.000/test5/testXPressDBData.svc/"><m:count>3</m:count><id>http://pocketsize/test5/testXPressDBData.svc/dogs</id><title type="text">dogs</title><updated>2012-07-18T07:05:06Z</updated><link title="dogs" href="dogs" rel="self"/>-<entry m:etag="W/"3""><id>http://111.118.221.200/test5/testXPressDBData.svc/dogs(1)</id><category scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" term="LightSwitchApplication.dog"/><link title="dog" href="dogs(1)" rel="edit"/><title/><updated>2012-07-18T07:05:06Z</updated>-<author><name/></author>-<content type="application/xml">-<m:properties><d:id m:type="Edm.Int32">1</d:id><d:name>hammy</d:name><d:age m:type="Edm.Int32">3</d:age><d:weight m:type="Edm.Single">25</d:weight><d:colour>brown</d:colour></m:properties></content></entry>-<entry m:etag="W/"5""><id>http://111.118.221.200/test5/testXPressDBData.svc/dogs(2)</id><category scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" term="LightSwitchApplication.dog"/><link title="dog" href="dogs(2)" rel="edit"/><title/><updated>2012-07-18T07:05:06Z</updated>-<author><name/></author>-<content type="application/xml">-<m:properties><d:id m:type="Edm.Int32">2</d:id><d:name>rufus</d:name><d:age m:type="Edm.Int32">5</d:age><d:weight m:type="Edm.Single">10</d:weight><d:colour>blonde</d:colour></m:properties></content></entry>-<entry m:etag="W/"1""><id>http://111.118.221.200/test5/testXPressDBData.svc/dogs(3)</id><category scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" term="LightSwitchApplication.dog"/><link title="dog" href="dogs(3)" rel="edit"/><title/><updated>2012-07-18T07:05:06Z</updated>-<author><name/></author>-<content type="application/xml">-<m:properties><d:id m:type="Edm.Int32">3</d:id><d:name>jenkins</d:name><d:age m:type="Edm.Int32">1</d:age><d:weight m:type="Edm.Single">5</d:weight><d:colour>spotted</d:colour></m:properties></content></entry></

     which seems to be good - as my 3 records of data are contained in there  - SO WHY ISN'T LIGHTSWITCH SHOWING IT ON THE SCREEN?

    The only error I can see is a warning that /favicon.ico is missing - I don't think this could be it and I don't know why it's there anyway.

    thanks

    anton


    Anton


All Replies