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
  1. Home
  2. Web Development
  3. ASP.NET
  4. Master Content Page and Studio 2003 errors

Master Content Page and Studio 2003 errors

Scheduled Pinned Locked Moved ASP.NET
csharphelpquestionvisual-studio
2 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.
  • D Offline
    D Offline
    DELETEUSER
    wrote on last edited by
    #1

    I have VS.NET 2003 installed on my computer. I downloaded the .NET 2.0 redistribution. I have designed a very basic Master-Content set of web pages but I'm unable to load any of the content pages. Basically when I compile the content pages the browser doesn't understand the 2.0 attributes like masterpagefile. Code: <%@ page language="C#" masterpagefile="WebForm1.master" %> Parser Error Message: The 'masterpagefile' attribute is not supported by the 'page' directive. My VS.NET 2003 Help --> About box the current framework is 1.1. Although I did install 2.0 , VS.NET 2003 doesn't grab it. How do I change to 2.0 in VS.NET 2003 or do I need to buy VS.NET 2005. Also is there a command line compiler for compiling the master-content pages? Thanks ---------- user9 A student knows little about a lot. A professor knows a lot about little. I know everything about nothing.

    G 1 Reply Last reply
    0
    • D DELETEUSER

      I have VS.NET 2003 installed on my computer. I downloaded the .NET 2.0 redistribution. I have designed a very basic Master-Content set of web pages but I'm unable to load any of the content pages. Basically when I compile the content pages the browser doesn't understand the 2.0 attributes like masterpagefile. Code: <%@ page language="C#" masterpagefile="WebForm1.master" %> Parser Error Message: The 'masterpagefile' attribute is not supported by the 'page' directive. My VS.NET 2003 Help --> About box the current framework is 1.1. Although I did install 2.0 , VS.NET 2003 doesn't grab it. How do I change to 2.0 in VS.NET 2003 or do I need to buy VS.NET 2005. Also is there a command line compiler for compiling the master-content pages? Thanks ---------- user9 A student knows little about a lot. A professor knows a lot about little. I know everything about nothing.

      G Offline
      G Offline
      gnjunge
      wrote on last edited by
      #2

      VS 2003 builds for .NET 1.1 . It uses the .NET 1.1 (or 1.0) compiler, so could you write in .NET 2.0 won't be compiled. You will indeed need to use VS 2005 for all your .NET 2.0 stuff. And I believe that if the syntax is right you can just run it on IIS and IIS will JIT compilation of all your files. That is a new thing in 2.0, that you don't have to do pre compilation of your code behind files (which actually don't really exist in 2.0) For 2.0 compilers: if you installed .NET 2.0, you should have all the compilers in the .NET directory: C:\windows\Microsoft.NET\Framework\v2.0.40607 The minor version might be different on your system, so just check under the Framework directory for the right directory. Gidon

      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