Getting Started: Sencha Touch 2 on IIS (Windows Server 2008 R2)

I'm a Visual Basic .NET Desktop and Web developer and an iOS developer.

I've got a native iOS application that I am considering porting to a web application using Sencha Touch.

I write websites for ASP.NET and would like to continue using IIS as my web server.

I've not gotten very far in the "Getting Started" area of things, but I have gotten the SDK installed on my server and browsing to http://localhost/sencha-touch-2.0.0-gpl (using a desktop browser) will indeed show me the documentation site.

The thing is, trying to browse there from an iOS device (tried iPhone and iPad) shows just a blank page.

I also tried the "GS" starter application. Upon loading that app, I get the 3 dot indicator, but it simply scrolls forever. I never get beyond that point to the HTML content.

I have only just started looking into Sencha Touch this morning, and I have no prior experience with anything but HTML, ASP.NET and jQuery, so the syntax and structure of the code is still a little bit unknown to me. (It's a bit disheartening that the "Getting Started" project is failing for me.)

As mitchellsimoens mentions, you should probably look at the websites 'bindings' in IIS (right-click the site in IIS --> bindings). It should listen to at least the servers ipaddress, so you can browse there from your iOS device. Make sure there's only 1 site listening to the ipaddress (otherwise IIS doesn't 'know' what site to show).

Sencha Touch progress indicator never stops

Same problem here. The Sencha Touch progress indicator, the three dots, never stops. Clearly the app has started and it is not a problem with the bindings, because this dots are the sencha touch progress dots, not IIS.
Sencha Progress:
Bindings:sencha_progress.png

The fix

The problem is that IIS does not have a mime type defined for .json. So app.json does not and fires a 404.3 with some iis error text about no mime type defined. Go into IIS manager, click Mime Types, Add. Extension json, the type is application/json.

First, I do believe it was a valid question even if it didn't solve the problem.

Second, couple days before this thread opened I had another thread with what sounded like the same issue. I asked the same thing and guess what the issue was? I'll wait.... Ok, it was because IIS was only listening to localhost so the device couldn't get to the app due to this. Changed that and it worked.

So I'm sorry my reply wasn't the issue but would you rather me not reply and have this thread go without anything?

Getting Started Example - IIS

The getting started app doesn't go past the three dots on the first example. i added the mime type json - application/json in IIS. The strange thing is that after I did this it worked, but then it stopped all of a sudden. I rebooted the computer, and created a brand new project. Now it just pulls up the screen with the three dots and doesn't go past that. Any ideas? Thanks,

The getting started app doesn't go past the three dots on the first example. i added the mime type json - application/json in IIS. The strange thing is that after I did this it worked, but then it stopped all of a sudden. I rebooted the computer, and created a brand new project. Now it just pulls up the screen with the three dots and doesn't go past that. Any ideas? Thanks,