Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. Version error

Version error

Scheduled Pinned Locked Moved ASP.NET
helpcsharpsysadmindebuggingperformance
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    netsooz Amir Hamidi
    wrote on last edited by
    #1

    hi I'm trying to put this aspx page in my host and run it, I've coded it using VS2010, so version of .netFrameWork is 4. But appearntly the server is running on .netFramework 3.5. so I get this error when I try to locate the page in browser: Line 25: system.web; Line 26: compilation debug="true" targetFrameworkMoniker=".NETFramework,Version=v4.0"; so is there anyway I can fix this or not? thanks

    Proper Prepration Prevents Poor Performance! h

    N L 2 Replies Last reply
    0
    • N netsooz Amir Hamidi

      hi I'm trying to put this aspx page in my host and run it, I've coded it using VS2010, so version of .netFrameWork is 4. But appearntly the server is running on .netFramework 3.5. so I get this error when I try to locate the page in browser: Line 25: system.web; Line 26: compilation debug="true" targetFrameworkMoniker=".NETFramework,Version=v4.0"; so is there anyway I can fix this or not? thanks

      Proper Prepration Prevents Poor Performance! h

      N Offline
      N Offline
      netsooz Amir Hamidi
      wrote on last edited by
      #2

      I'm so sorry I guess that was a really stupid question to ask, since I could just choose the version when I was creating the project. That's what an amateur does! sorry.

      Proper Prepration Prevents Poor Performance! h

      1 Reply Last reply
      0
      • N netsooz Amir Hamidi

        hi I'm trying to put this aspx page in my host and run it, I've coded it using VS2010, so version of .netFrameWork is 4. But appearntly the server is running on .netFramework 3.5. so I get this error when I try to locate the page in browser: Line 25: system.web; Line 26: compilation debug="true" targetFrameworkMoniker=".NETFramework,Version=v4.0"; so is there anyway I can fix this or not? thanks

        Proper Prepration Prevents Poor Performance! h

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        I am sorry, but .net is not forward compatible. i.e. you cannot run the code developed using 4.0 in 3.5. Now, either you contact your host to provide the .net 4.0 support OR you shift project to 3.5.

        Regards Aman Bhullar www.arlivesupport.com[^]

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups