"XHTML: The name contains uppercase character, which is not allowe

G

Guest

Hello,

After upgrading from VS 2003 to VS 2005 I am getting an error:
"XHTML: The name contains uppercase character, which is not allowed"

Where can I locate this kind of issues between the two products?
What is concerned?

Thanks
 
H

Herfried K. Wagner [MVP]

Dominique said:
After upgrading from VS 2003 to VS 2005 I am getting an error:
"XHTML: The name contains uppercase character, which is not allowed"

Where can I locate this kind of issues between the two products?
What is concerned?

When/where exactly do you get this error message?
 
G

Guest

During the compilation within VS 2005 of the aspx page inside a project
developed on VS 2003. I have converted the pages and aftyer when I run the
Start Without Debugging I am getting these compilation error...

Thanks
 
G

Guest

oDuring the Start Without Debugging of an application developped on VS 2003
and converted to VS 2005.

The file is a VB Script and I had to chnage all the tags <HTML> to <html>
<MS_POSITIONING> to <ms_positioning> etc... to try to progress...

After changing all of them from uppercase to lower case the file was finally
compiled sucessfully but giving me another error now:
Compiler Error Message: BC2017: could not find library
‘C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\helpdesk_main\291ef481\bb352a23\App_global.asax.i-gn7pyg.dll’

I found a file ‘C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary
ASP.NET
Files\helpdesk_main\291ef481\bb352a23\App_global.asax.i-gn7pyg.dll.907ffd66.delete’

but the file has an additional extension .907ffd66.delete…

Trying to move from VS 2003 to VS 2005 but the path seems rocky...

Thanks,
 
H

Herfried K. Wagner [MVP]

Dominique said:
During the compilation within VS 2005 of the aspx page inside a project
developed on VS 2003. I have converted the pages and aftyer when I run the
Start Without Debugging I am getting these compilation error...

Could you post the XHTML code at the position the warning is pointing to?
Maybe you converted your HTML pages to XHTML, which is not straightforward.
HTML element and attribute names must be written in lowercase letters in
XHTML, for example.
 
G

Guest

<%@ Page Language="vb" AutoEventWireup="false"
Codebehind="Helpdesk_Main.aspx.vb" Inherits="Helpdesk_Main.WebForm1" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<title>WebForm1</title>
<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
<meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie5"
name="vs_targetSchema">
<LINK href="Styles.css" type="text/css" rel="stylesheet">
<LINK href="./css/CustomList.css" type="text/css" rel="stylesheet">
<script runat="server">
</script>
</HEAD>
<BODY bgColor="#000000">
<form id="Form1" method="post" runat="server">
<div style="Z-INDEX: 101; LEFT: 5px; TOP: 5px">

HTML, HEAD, BODY had to be changed to make it works....

I have installed VS 2005 and worked on the project developed on VS 2003. Foe
most of the file, when I opened the VS 2003 files it asked me to convert them
what I did without chaing any option, will it be the place where HTML changed
to XHTML???
 
H

Herfried K. Wagner [MVP]

Dominique said:
<%@ Page Language="vb" AutoEventWireup="false"
Codebehind="Helpdesk_Main.aspx.vb" Inherits="Helpdesk_Main.WebForm1" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<title>WebForm1</title>
<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
<meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie5"
name="vs_targetSchema">
<LINK href="Styles.css" type="text/css" rel="stylesheet">
<LINK href="./css/CustomList.css" type="text/css" rel="stylesheet">
<script runat="server">
</script>
</HEAD>
<BODY bgColor="#000000">
<form id="Form1" method="post" runat="server">
<div style="Z-INDEX: 101; LEFT: 5px; TOP: 5px">

HTML, HEAD, BODY had to be changed to make it works....

Some other things need to be changed too, the 'LINK' element, for example,
must be written as 'link' and closed ('<link .../>', note the slash!) and
'bgColor' should read 'bgcolor'. Oh, yes, your HTML document's DTD states
HTML 4.0 Transitional too. I'd try to configure VS to treat the file as
HTML 4.0 Traditional instead of taking the huge effort of updating
everything to XHTML.
I have installed VS 2005 and worked on the project developed on VS 2003.
Foe
most of the file, when I opened the VS 2003 files it asked me to convert
them
what I did without chaing any option, will it be the place where HTML
changed
to XHTML???

I feel sorry, but I am not very familiar with ASP.NET. I can only give
advice on XHTML. BTW, note that this is a Windows Forms group, you'll more
likely get an answer in a Web Forms group.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top