VB webform in IronPython asp.net website

Last post 11-28-2009 7:25 AM by pablodalma93. 0 replies.

Sort Posts:

  • VB webform in IronPython asp.net website

    11-28-2009, 7:25 AM
    • Member
      1 point Member
    • pablodalma93
    • Member since 10-23-2009, 9:21 AM
    • Posts 6

    Hi, I tried to bring a previously done webform made in vb.net to an IronPython asp.net website with no luck. After seeing it didnt work, I tried to write the simplest codebehind vb.net webform to see if there was a problem with vb.net in an IronPython website and I got the following usual error "be sure that the defined class in this file matchs with the one in the attribute inherits and that it extends the right base page (page or control)" (sorry if the translation isnt the most accurate I get that message in spanish) but if I create a vb.net webform in the same website, with the sourcecode in the same file (with the vb.net code between script runat="server" tags in the same page) I get no problem. Do I have to configure something for both kind of sourcecode languages to run in such way in the same IronPython website, like configuring something in the webconfig file or is there some compatibility issue for doing that which can't be resolved?

    I figured out that in some cases I can solve it by creating the app_folder and moving the vb files there, but if these files dont inherit other classes which are in the app_folder


Page 1 of 1 (1 items)