Error in Client Preview with Contoso Construction

Category: visual studio lshtml

Question

zack142 on Mon, 01 Apr 2013 19:08:10


I added the client to the sample code and I get: TypeError: Cannot read property of 'length' undefined.

I looked at the console and this is what it shows

Updating because HTML element modified highcontrast.js:112
Updating because HTML element modified highcontrast.js:112
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:39339/MobileClient/Content/Resources/service.lang-EN-US.resjson
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:39339/MobileClient/Content/Resources/client.lang-EN-US.resjson
Updating because HTML element modified highcontrast.js:112

How do I resolve this?

Thanks

 

Replies

Sven Elm on Mon, 01 Apr 2013 19:52:23


Hi

its a bug. It has to do with extensions.

there is a workaround but the best is to uninstall extensions.

It will be resolved in the next release.

regards

sven

zack142 on Mon, 01 Apr 2013 21:03:36


ok, I unistalled all extensions except for what the project required, bing maps, office integration

and filter control. Restarted VS, rebuilt project, same result. Do I have to uninstall all extensions?

Seems silly that I cannot use the ones that came with the project for Contoso Construction. I got the client to work once I installed it just fine, once I added a table and put it in debug mode, it didn't work anymore. Works from just upgrading project right after install, but now it doesn't work at all.

Can you tell me where the work around is?

Sven Elm on Mon, 01 Apr 2013 21:21:03


hi

search for the beloe thread. In the thread is a link to a workaround.

error after installing the vs2012 update ctp4.......

good luck

sven

zack142 on Mon, 01 Apr 2013 22:53:49


good luck to you too, sucks you can't use extensions.......