Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5942739
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T16:17:45+00:00 2026-05-22T16:17:45+00:00

I am trying to run a python sample test page but am unable to

  • 0

I am trying to run a python sample test page but am unable to do so.. I have installed python27 and it installed fine. Then I created a test folder in inetpub/wwwroot. Here I placed my test.py file. Then I opened IIS 6.

Select the test site.

Right clicked it -> properties -> select create button. Then select scripts and executables from dropdown for execute permissions. Then I clicked the configuration button and added a new mapping with executable c:\Python27\python.exe -u “%s” “%s”and select all verbs.

Then I tried to run the file and it didn’t work:
http://localhost/test/test.py

I received the following error
Error Type:
Active Server Pages, ASP 0129 (0x80004005)
The scripting language ‘Python’ is not found on the server.
/test/python.asp, line 1

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T16:17:46+00:00Added an answer on May 22, 2026 at 4:17 pm

    A quick google search find this tutorial about using IIS with python. It seems that you missed following steps:

    Verify that application mapping for .py files is set up.
    To do this, perform the following steps:

    1. In the ISM, under Internet Information Server, right-click the computer name, and then click Properties.

    2. From the Master Properties drop-down list, click WWW Service and then click Edit.

    3. Click the Home Directory tab, and then click Configuration.
      To add the application mapping, click Add, and then create a new mapping by using the following information (substituting the correct path on your computer):
      Executable: “C:\Python20\python.exe %s %s” (The two “%s” after the executable are required for console-based script interpreters but would not be required for an Internet Server API [ISAPI]-based script interpreter).
      Extension: .py
      Script engine: selected.
    4. Check that File Exists: selected (for security) Click OK.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to use Python to run pdftotext, but for some reason, my code
I'm new to python but I've run into a hitch when trying to implement
I'm trying to run Adobe's sample python policy server script, linked to here: http://www.adobe.com/devnet/flashplayer/articles/socket_policy_files.html
I am trying to run a simple multiple processes application in Python. The main
I am using Python 2.6 and am trying to run a simple random number
I'm trying to run Python scripts using Xcode's User Scripts menu. The issue I'm
I'm trying to run some python code under Apache 2.2 / mod_python 3.2.8. Eventually
I'm trying to write a program in Python and I'm told to run an
I'm trying to schedule a repeating event to run every minute in Python 3.
i'm trying making a com dll in python. but i try register to compiled

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.