473,387 Members | 1,517 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Error after converting to VS2005

I converted my VS2003 ASP.Net project to VS2005.
In 1 of my aspx page, the first line was:
<%@ Page Language="vb" AutoEventWireup="false"
Codebehind="Color.aspx.vb" Inherits="Auction.Color"%>

It gave me an error when I hit F5 (Start Debugging): "Attribute
'Codebehind' in the @ Page directive is no longer supported. Convert
this page to the new code-behind model by opening the Web site
(project) containing the page in the Visual Web Developer."
and another error "Could not load type 'Auction.Color'"

Also, an error on the following line:
<body MS_POSITIONING="GridLayout">
"Validation (Internet Explorer 6): Attribute 'MS_POSITIONING' is not a
valid attribute of element 'body'.

How can I fix this error ?
Thank you.

Apr 15 '07 #1
1 2467
Try using CodeFile directive instead of Codebehind.
Peter

--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net


"fi**********@gmail.com" wrote:
I converted my VS2003 ASP.Net project to VS2005.
In 1 of my aspx page, the first line was:
<%@ Page Language="vb" AutoEventWireup="false"
Codebehind="Color.aspx.vb" Inherits="Auction.Color"%>

It gave me an error when I hit F5 (Start Debugging): "Attribute
'Codebehind' in the @ Page directive is no longer supported. Convert
this page to the new code-behind model by opening the Web site
(project) containing the page in the Visual Web Developer."
and another error "Could not load type 'Auction.Color'"

Also, an error on the following line:
<body MS_POSITIONING="GridLayout">
"Validation (Internet Explorer 6): Attribute 'MS_POSITIONING' is not a
valid attribute of element 'body'.

How can I fix this error ?
Thank you.

Apr 15 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: John | last post by:
Hi all, I have a couple of web sites I want to convert from VS2003 to VS2005 for testing and messing around with. The problem I have is that in VS2005 when I take the 'open web site' option,...
9
by: Michael Tissington | last post by:
After converting from 6.0 to 2005 when I try to Compile my project I'm getting a LINK error Error 1 fatal error LNK1181: cannot open input file " ?/.obj" Any ideas how to fx this please ? ...
0
by: mchuc7719 | last post by:
Hello, I have a Vb.Net 2005 ClassLibrary, when I try to compile using MSBee, only get errors. Before I to run the command line, I open in notepad the .vbproj and I was add the next line: ...
1
by: B N | last post by:
Hi, When I try to open ASP Project written with Visual Studio 2002 with VS2005 it automatically tries to convert to latest version. How do I stop this automatic conversion of Asp project and...
0
by: SenthilVel | last post by:
Hi All I am in the process of converting my 1.1 written CLR to 2.0 CLR in vs2005. In this process i am meeting all the abosolete and the warnings which are given up with building with the...
1
by: SenthilVel | last post by:
Hi All I am in the process of converting my 1.1 written CLR to 2.0 CLR in vs2005. In this process i am meeting all the abosolete and the warnings which are given up with building with the...
1
by: sureshhalade | last post by:
I want to migrate VS2003 Windows/Class library/console project to VS2005 Windows/Class library/console project. And the DLL out of VS2005 project should work as previously. Note: My main project...
0
by: Academia | last post by:
I have a vs2003 solution that I want to convert to VS2005 format. These projects have been converted and now compile in VS2005. But they had the older format - they is the UI code was in .vb...
2
by: Rainer Queck | last post by:
Hello Microsoft Support, It looks like there is a bug inside the VS2008 Pro IDE. I did quite a bit of debugging to narrow the problem down. Here is the result of my efforts: A VS2005 project...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.