Comments on: Running Django, Rails and Mojolicious on Windows Server 2008 with IIS 7 http://www.helicontech.com/articles/run-django-apps-on-iis/ Web Server Enhancements Fri, 06 Sep 2013 22:01:50 +0000 hourly 1 https://wordpress.org/?v=5.2.4 By: Gabriel Smith http://www.helicontech.com/articles/run-django-apps-on-iis/#comment-3216 Mon, 12 Sep 2011 17:40:48 +0000 http://www.helicontech.com/articles/?p=497#comment-3216 Fantastically useful bless you, I reckon your visitors will probably want further stories such as this keep up the excellent content.

]]>
By: Grant Callaghan http://www.helicontech.com/articles/run-django-apps-on-iis/#comment-2625 Thu, 01 Sep 2011 20:15:19 +0000 http://www.helicontech.com/articles/?p=497#comment-2625 Can you give more information about how you were able to look at the live process? I am having a file upload problem and would love some visibility into what’s going on. I usually develop for linux but this client has windows service level agreement : (.

Thanks for any help you can provide!

]]>
By: Ebru Yatkin Ajans http://www.helicontech.com/articles/run-django-apps-on-iis/#comment-2351 Fri, 19 Aug 2011 12:04:18 +0000 http://www.helicontech.com/articles/?p=497#comment-2351 really good job.. thanks

]]>
By: nonhlanhla http://www.helicontech.com/articles/run-django-apps-on-iis/#comment-2262 Tue, 16 Aug 2011 06:54:33 +0000 http://www.helicontech.com/articles/?p=497#comment-2262 Thank you guys for an amazing product

]]>
By: Robert http://www.helicontech.com/articles/run-django-apps-on-iis/#comment-2225 Fri, 12 Aug 2011 15:57:26 +0000 http://www.helicontech.com/articles/?p=497#comment-2225 Thanks for your answer. I resolved my issue.

Personally I think this HeliconZoo dll beats all other solutions including pyIsapi which isn’t even rightly compiled for Python27 and then I couldn’t get it to work anyway *shrug*

I’m trying to understand how the connection, port communication etc with IIS works so I wanted to step through flup code etc. I can now do that.

I use WingIDE and found out it was actually a well justified security block that was resolved with a minor tweak . I can debug like a champ now, easy as sliced bread. It’s actually kind of logical since the IIS process runs as a different user.

I have IIS on my local laptop to mimic as must as possible a live server, I think it’s suitable to develop that way, but that’s a whole different discussion.

I think you should promote this dll more, right now it’s well hidden in the products you deliver but it could be more of a flag on your ship.

Another thing is, the moment I ever encounter a problem on my live windows server I can now easily hook into the live process and troubleshoot a Python request. I understand that it’s not the ‘proper’ way but this way of working helped me out tons of times in my life. The database on my server is about 1 terrabyte and the functionality of my application is largely dynamically steered by the contents of my database, including code snippets and the evaluation of logical expressions that are in the database. No way I can copy and reproduce everything 1 on 1 to my development machine.

Thanks. I’ll leave php behind and never look back.

]]>
By: Grant Callaghan http://www.helicontech.com/articles/run-django-apps-on-iis/#comment-2054 Thu, 28 Jul 2011 23:22:48 +0000 http://www.helicontech.com/articles/?p=497#comment-2054 Try running python ./manage.py syncdb on the server from the commandline. I did this and found I had a dependency missing.

]]>
By: ruslan http://www.helicontech.com/articles/run-django-apps-on-iis/#comment-2042 Wed, 27 Jul 2011 08:48:37 +0000 http://www.helicontech.com/articles/?p=497#comment-2042 Hello Robert,

Helicon Zoo was developed as solution for running python and django projects in production.
The right common way is debugging your project locally, inside your IDE. All modern Python IDE (WingIDE, Komodo, PyCharm and PyDev) have good debugging tools.
Debugging python applications running in IIS via Helicon Zoo is unsuitable way.

]]>
By: Robert http://www.helicontech.com/articles/run-django-apps-on-iis/#comment-2011 Mon, 18 Jul 2011 20:10:45 +0000 http://www.helicontech.com/articles/?p=497#comment-2011 In two words: bril jant.

After pulling my hair out for weeks trying to get Python to work on IIS on any protocol but old cgi, you finally solved that part of my problem by really enabling FastCGI..

There remains a challenge though: debugging. I use WingIDE to step through code etc but I can’t get it up and running nor hook into it within the IIS embedded process. I guess I can tweak things by loading a nix server, pointing it at tcp port X not listening to it, while in reality having a long running process (manually started) listening to that port. It’s not trivial to set up from where I stand so if somebody has a better idea or pointers towards it I’m eager for it.

I have to say: I used some php and I can really understand why so many people are drawn to it because of the zend-debugger and ease of setup. If Python would reach that ease it would pull in a lot more of serious programmers and give it really the momentum it deserves.

]]>
By: ruslan http://www.helicontech.com/articles/run-django-apps-on-iis/#comment-1820 Fri, 01 Jul 2011 13:30:34 +0000 http://www.helicontech.com/articles/?p=497#comment-1820 Alex,
please write letter to [email protected] and we will investigate your case.

Thanks.

]]>
By: Alex http://www.helicontech.com/articles/run-django-apps-on-iis/#comment-1808 Thu, 30 Jun 2011 12:20:28 +0000 http://www.helicontech.com/articles/?p=497#comment-1808 The default Python project works fine but I have a problem with a more complex project that I’m trying to launch with IIS7. The same project launches in the development server but in IIS it returns an error:

Unhandled Exception
An unhandled exception was thrown by the application.

How can I know what went wrong? It looks like the error happens before Python captures the exception. Could that be a problem with the pipe?

]]>