26 Nov 2012 4:02 AM #1
Sencha Touch 2.0.1 problem on Windows 7 IIS7
This is strange - up until now I have used Version 220.127.116.11 without issue. As packaging doesn't appear to work using that version, I've downloaded 2.0.1 last night and browsing to any examples (kitchen sink, etc.) doesn't work. When creating a new app using "sencha generate app test ./test" command I also get the same error when browsing to "test". The details are below.
Ext version tested:
- Sencha Touch 2.0.1
- Google Chrome on Windows 7 (IIS7)
- Previously I have used Sencha Touch 18.104.22.168 without issue on same machine. I downloaded and installed 2.0.1 version and now get errors
in console when browsing any examples, i.e. in my address bar is "http://localhost/sencha/examples/device", and I get:
"Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost/sencha/examples/device/app.json
Uncaught SyntaxError: Unexpected token < index.html:1"
I need the latest install to fix bugs when packaging for iOS as I believe version 22.214.171.124 contains bugs when packaging. Pleas see my post
for more info http://lalexgraham.wordpress.com/201...ing-windows-7/
- Download and extract the latest Sencha Touch Commerical release, then browse to examples
- Windows 7
26 Nov 2012 6:28 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
You are getting a 404 when the Ajax is fired for the app.json. Sencha Touch isn't firing the 404, the server is.Mitchell Simoens @LikelyMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services email@example.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
29 Nov 2012 1:23 PM #3
thanks for that. Adding the mime type json to IIS fixed the issue.