Netdot | Network Documentation Tool | TCP library
kandi X-RAY | Netdot Summary
kandi X-RAY | Netdot Summary
Network Documentation Tool
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of Netdot
Netdot Key Features
Netdot Examples and Code Snippets
Community Discussions
Trending Discussions on Netdot
QUESTION
I am trying to set up wfastcgi on IIS6 for Windows 7, but it can't find my 'app.py' file. I used http://netdot.co/2015/03/09/flask-on-iis/ as my directions for setting it up. Below is the error message I am receiving. In my search for finding the answer, the most likely solution was that it was a permissions issue, I believe I gave the permissions correctly, but still no luck.
...ANSWER
Answered 2017-Aug-11 at 18:33I figured out what I had been doing wrong. It was a silly mistake, but based on my searches I probably am not the only one. I installed python, but i did not pip install Flask. Once I got that running everything else was much easier to figure out.
QUESTION
I've been working to get Flask applications up running on my IIS server and have made some progress thanks to the below link:
http://netdot.co/2015/03/09/flask-on-iis
With that stated, I am running into a head scratcher when attempting to use the "requests" python module when I deploy over IIS. The application works fine when I launch it locally -- that is, I get a proper <200> response when requesting the JSON data if I launch the app via terminal
> python app.py
.
Essentially, the application requests JSON data from my Stash repository via their API. Stash's API requires user authentication for this get request. The requests module made it easy to do... I'm avoiding raw HTML as much as possible (web noob... >.<;).
I am getting the following error exception in Python when deployment is on IIS and not sure why:
...ANSWER
Answered 2017-Feb-08 at 02:46I found the answer. Posting to help out anyone who decides to implement Flask on IIS that might run into this same issue.
The permission error was indeed an issue on the IIS side. You have to change IIS's permission settings. This link helped me out:
IIS7 Permission Denied - ASP File Write
In IIS Manager I clicked Application Pools in the Connections pane. Then instead selected my Flask application (not DefaultAppPool as stated in the link). I right-clicked it and selected Advanced settings. Then I changed the Identity field under Process Model section to LocalSystem. Hit OK.
After this change, the python requests module gets a <200> response with successful authentication credentials & avoids the connection error! ^^
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install Netdot
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page