Python is not a supported language

Last post 12-05-2007 2:41 PM by qingye. 5 replies.

Sort Posts:

  • Python is not a supported language

    11-07-2007, 3:08 PM
    • Loading...
    • Hotaru
    • Joined on 11-07-2007, 7:57 PM
    • Posts 3

    I know .aspx files work because I just tested one using C#. But Python is what I want to be working in. The test script I have been using is at http://www.4guysfromrolla.com/webtech/082201-1.shtml . I get an error that Python is not a supported language.

    I have installed:

    PyWin32 at http://starship.python.net/crew/mhammond/win32/Downloads.html

    IronPython 1.1 (Nov. 2nd)

     Ajax Extension

     ASP.NET Visual Studio Futures

    Visual Studio 2005 plus 2007.02 SDK

    WinXP-SP2

    What do I still need to do to be able to use Python is my .aspx?

     


     

  • Re: Python is not a supported language

    11-28-2007, 10:31 PM
    • Loading...
    • vinz9969
    • Joined on 11-26-2007, 3:57 AM
    • Posts 25

    Hi Hotaru,

    It definitely works. you can see here:

    http://weblogs.asp.net/scottgu/archive/2006/11/16/ironpython-for-asp-net-ctp.aspx

    the IDE mentioned is Visual Web Developer, so Visual Studio 2005 should be able to work too. But no installation steps mentioned.
     

  • Re: Python is not a supported language

    12-04-2007, 3:21 PM
    • Loading...
    • Hotaru
    • Joined on 11-07-2007, 7:57 PM
    • Posts 3

    I know it is supposed to work, but it doesn't.

    http://img143.imageshack.us/img143/8206/clipboard01uo7.png

     

  • Re: Python is not a supported language

    12-04-2007, 4:25 PM
    • Loading...
    • qingye
    • Joined on 07-10-2002, 12:12 PM
    • Posts 46
    • AspNetTeam

    It is IronPython that is supported. Smile

  • Re: Python is not a supported language

    12-05-2007, 10:15 AM
    • Loading...
    • Hotaru
    • Joined on 11-07-2007, 7:57 PM
    • Posts 3

    Then what about this?

    http://img141.imageshack.us/img141/550/clipboard01ng7.png

     

  • Re: Python is not a supported language

    12-05-2007, 2:41 PM
    • Loading...
    • qingye
    • Joined on 07-10-2002, 12:12 PM
    • Posts 46
    • AspNetTeam

    You likely don't have the right bits installed.

    - do all assemblies exist under bin of your web app?
       Microsoft.Web.Scripting.dll
       Microsoft.Scripting.dll
       IronPython.dll
       IronPython.Modules.dll

    - does web.config have the needed settings?

            <pages compilationMode="Auto"
                pageParserFilterType="Microsoft.Web.Scripting.UI.NoCompileCodePageParserFilter">
            </pages>

            <httpHandlers>
                <add path="*.py" verb="*" type="System.Web.HttpForbiddenHandler" validate="true" />
            </httpHandlers>

            <httpModules>
                <add name="DynamicLanguageHttpModule" type="Microsoft.Web.Scripting.DynamicLanguageHttpModule"/>
            </httpModules>

     

Page 1 of 1 (6 items)
Microsoft Communities
Page view counter