473,770 Members | 1,861 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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="Col or.aspx.vb" Inherits="Aucti on.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 2476
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**********@g mail.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="Col or.aspx.vb" Inherits="Aucti on.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
949
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, the conversion is absolute crap. It loses my page/usercontrol inheritance. I notice that the Page namespace is replaced with the ClientScript namespace but there aren'y any conversions done there either.
9
1634
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 ? -- Michael Tissington http://www.oaklodge.com
0
4752
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: Target CoreCompile: C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Vbc.exe
1
944
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 continue without any conversion ? thanks B
0
953
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 vs2005 and NAnt RC4 build. Once after the cs files are modfied for 2005 to remove the warnings , i am checking the files in my Source Safe.
1
1266
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 vs2005 and NAnt RC4 build. Once after the cs files are modfied for 2005 to remove the warnings , i am checking the files in my Source Safe.
1
1337
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 contains some other 3-4 projects (Class libraries, Windows Application) in it. What I tried is - 1. Conversion of VS2003 project to VS2005 project through VS2005 editor. 2. Compiled the VS2003 project under VS2005 editor with no errors. 3. I...
0
1261
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 rather than in .Designer.vb. To fix a project file I'd create a .designer.vb file and move code from .vb to it. I also had to change the .vbproj file
2
3664
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 compiles and runs fine, built in VS 2005 Pro. This application displays a bunch of thumb jpg images using PictureBoxes on its main Form. the PictureBoxes are created dynamically on startup.
0
9617
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10254
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10036
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9904
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7451
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6710
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5354
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5481
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2849
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.