DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Fri, 10 Aug 2007 05:51:58 -0700,    posted on: microsoft.public.dotnet.framework.aspnet        back       

Thread Index
  1    unknown


migrating web application to VS2005 (.NET 2.0) (xposted in a few other groups)   
Hi, all. I tried to get the existing code for my website (originally
built on .NET 1.1 using VS2003 as the development tool) to compile
within VS2005 for .NET 2.0, but have run into the following problem :

The existing code uses include files (i.e. files that are included
in .aspx pages using the include macro) that contain inline VB
scripting code (for example,  <%=myvariable%> or <% if  IsValidFlag =
true then %> ) : The error message is "Character '<' , hexadecimal
value 0x3c is illegal in an XML attribute values.

If I remove the offending include file, then I cannot compile it
either because it says it's missing the include file. Also, I have
already set the HTML validation in Tools->Action to HTML 4.01 and
uncheck the "Show Errors" box.

There are other errors complaining about the inline code such as :

"Expecting '>'"

"Character '%', hexadecimal value 0x25 is illegal in an XML attribute
values"

"Entity 'nbsp' not defined"

(The error message above is complaining about the " " in the
include file.

How do I resolve this problem? Does VS2005 support inline scripting
like this or does it only support inline code that is within the
<script> block? Do I need to restructure the whole site using Master
Pages? Should I rewrite the code so that it doesn't contain inline
scripting code?

Thanks in advance for answering.

  -Andrew
Date:Fri, 10 Aug 2007 05:51:58 -0700   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us