View Single Post
  #2 (permalink)  
Old April 23rd, 2006, 11:33 AM
Imar's Avatar
Imar Imar is offline
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Hi there,

This is code from a ASP.NET 1.x page, which will not run as is on 2005

For example, you need to change the page directive attribute of Codebehind to CodeFile. There may be more errors though. The easiest things is to create a new page in VS 2005, and then manually copy the relevant parts from the old page to the new page. Alternatively, you can use the upgrade wizard to upgrade your old site to VS 2005 / .NET 2 format.

HtH,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
Reply With Quote