473,782 Members | 2,479 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Invalid 'name' attribute name

Hi all.

I have 2 problems when I try to open and convert an ASP.NET VS 2003
web-applikation in VS 2005.
In VS 2003 I have no problems at all!

First: One subfolder with will not be converted! The converted web project
are missing this subfolder completely.
39 errors are displayed in the Conversion Report saying: ERROR: Unable to
get local copy of file <file>. Why? All files are there and readable!!

Secondly:
When I try to build the web, this error is displayed:
--->
Error 5 Unable to convert input xml file content to a DataSet.
Invalid 'name' attribute value 'Företag': 'The '¶' character, hexadecimal
value 0xB6, at position 2 within the name, cannot be included in a name.'.
<start path>My
Webs\ProAra\www root\App_Code\k appsegling\ProA ra.KappSegling. rorsmandataset. xsd
-->

This applies to all Dataset definitiion files with Swedish characters used
to specifiy elements in a database table. The problem seems to be that the
xsd file can't handle Swedish characters as åäö. Locale is set to
Swedish(Swedish ).

Anyone have any ideas?

/Thanks

Jan 20 '06 #1
3 2220

The stacktrace of "Invalid Name" attribute:

<<--
The following message may help in diagnosing the problem: Unable to convert
input xml file content to a DataSet. Invalid 'name' attribute value
'Företag': 'The '¶' character, hexadecimal value 0xB6, at position 2 within
the name, cannot be included in a name.'. at
System.Web.Comp ilation.BuildMa nager.ReportTop LevelCompilatio nException() at
System.Web.Comp ilation.BuildMa nager.EnsureTop LevelFilesCompi led() at
System.Web.Host ing.HostingEnvi ronment.Initial ize(Application Manager
appManager, IApplicationHos t appHost, IConfigMapPathF actory
configMapPathFa ctory, HostingEnvironm entParameters hostingParamete rs) at
System.Web.Host ing.HostingEnvi ronment.Initial ize(Application Manager
appManager, IApplicationHos t appHost, IConfigMapPathF actory
configMapPathFa ctory, HostingEnvironm entParameters hostingParamete rs) at
System.Web.Host ing.Application Manager.CreateA ppDomainWithHos tingEnvironment (String
appId, IApplicationHos t appHost, HostingEnvironm entParameters
hostingParamete rs) at
System.Web.Host ing.Application Manager.CreateA ppDomainWithHos tingEnvironment AndReportErrors (String
appId, IApplicationHos t appHost, HostingEnvironm entParameters
hostingParamete rs) at
System.Web.Host ing.Application Manager.GetAppD omainWithHostin gEnvironment(St ring
appId, IApplicationHos t appHost, HostingEnvironm entParameters
hostingParamete rs) at
System.Web.Host ing.Application Manager.CreateO bjectInternal(S tring appId, Type
type, IApplicationHos t appHost, Boolean failIfExists,
HostingEnvironm entParameters hostingParamete rs) at
System.Web.Host ing.Application Manager.CreateO bject(String appId, Type type,
String virtualPath, String physicalPath, Boolean failIfExists, Boolean
throwOnError) at System.Web.Host ing.Application Manager.CreateO bject(String
appId, Type type, String virtualPath, String physicalPath, Boolean
failIfExists, Boolean throwOnError) at
System.Web.Admi nistration.WebA dminRemotingMan ager.CreateConf igurationHelper ()
at
System.Web.Admi nistration.WebA dminRemotingMan ager.GetVirtual Directory(Strin g
virtualDir) at
System.Web.Admi nistration.WebA dminPage.GetVir tualDirectory(S tring virtualDir)
at ASP.appconfig_d efineerrorpage_ aspx.PopulateDi rectoriesAndFil es(TreeNode
parent) at ASP.appconfig_d efineerrorpage_ aspx.Page_Init( ) at
System.Web.Util .CalliHelper.Ar glessFunctionCa ller(IntPtr fp, Object o) at
System.Web.Util .CalliEventHand lerDelegateProx y.Callback(Obje ct sender,
EventArgs e) at System.Web.UI.C ontrol.OnInit(E ventArgs e) at
System.Web.UI.P age.OnInit(Even tArgs e) at
System.Web.Admi nistration.WebA dminPage.OnInit (EventArgs e) at
System.Web.Admi nistration.Appl icationConfigur ationPage.OnIni t(EventArgs e) at
System.Web.UI.C ontrol.InitRecu rsive(Control namingContainer ) at
System.Web.UI.P age.ProcessRequ estMain(Boolean includeStagesBe foreAsyncPoint,
Boolean includeStagesAf terAsyncPoint)
-->>
_______________ _____________
Anders Jansson
ProAra Consulting
http://www.proara.se
"Anders Jansson" wrote:
Hi all.

I have 2 problems when I try to open and convert an ASP.NET VS 2003
web-applikation in VS 2005.
In VS 2003 I have no problems at all!

First: One subfolder with will not be converted! The converted web project
are missing this subfolder completely.
39 errors are displayed in the Conversion Report saying: ERROR: Unable to
get local copy of file <file>. Why? All files are there and readable!!

Secondly:
When I try to build the web, this error is displayed:
--->
Error 5 Unable to convert input xml file content to a DataSet.
Invalid 'name' attribute value 'Företag': 'The '¶' character, hexadecimal
value 0xB6, at position 2 within the name, cannot be included in a name.'.
<start path>My
Webs\ProAra\www root\App_Code\k appsegling\ProA ra.KappSegling. rorsmandataset. xsd
-->

This applies to all Dataset definitiion files with Swedish characters used
to specifiy elements in a database table. The problem seems to be that the
xsd file can't handle Swedish characters as åäö. Locale is set to
Swedish(Swedish ).

Anyone have any ideas?

/Thanks

Jan 26 '06 #2
I assume you found a solution but for the benefit of anyone else
dealing with this I was able to fix the problem by doing a pull from
VSS (not from the 2005 IDE), then deleting all VSS bindings from the
..proj file, and then running the conversion. The problem seems to have
something to do with the conversion wizard trying to synchronize with
VSS.

Feb 13 '06 #3
Hi!

I have not found any solution to the problem my self.
I just continue to use VS 2003, but this can help. Because
I remeber that I tried to use VSS at the begining of this project,
and I will directly try to remove all leftover VSS bindings and try again.

/Thanks
--
_______________ _____________
Anders Jansson
ProAra Consulting
http://www.proara.se
"sd********@gma il.com" wrote:
I assume you found a solution but for the benefit of anyone else
dealing with this I was able to fix the problem by doing a pull from
VSS (not from the 2005 IDE), then deleting all VSS bindings from the
..proj file, and then running the conversion. The problem seems to have
something to do with the conversion wizard trying to synchronize with
VSS.

Feb 14 '06 #4

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

Similar topics

1
11249
by: yamini | last post by:
Here I am trying to use tag files in JSP2.0 with tomcat 5. test.jsp ------- %@ taglib prefix="test" tagdir="/WEB-INF/tags" %> <html> <head> <title>Untitled Document</title> </head> <body>
4
2660
by: Nate | last post by:
Hello, I'd like to somehow put minIncl and maxIncl around the data I am sending from my producer. One of the requirements is to allow the producer to send an invalid number to the consumer. The consumer will know what the invalid value is based on an INV attribute being set. Here's a partial schema of what I'm talking about: <xs:element name="data" minOccurs="0"> <xs:complexType>
2
3305
by: Jason Cartwright | last post by:
I have an abstract base class and two derived classes that I want to serialize and deserialize with schema validation. When I serialize instances of the derived classes the XmlSerializer adds the xsi:type="DerivedClass" attribute and the Instance Namespace. When I attempt to validate the xml upon deserialization the XmlValidatingReader chokes on this attribute value. I can't seem to find a way around this. Any suggestions?
6
13597
by: TS | last post by:
Hi, i have a problem validating xml against schema. I used http://apps.gotdotnet.com/xmltools/xsdvalidator/Default.aspx validator and it says it is fine. Can you tell me why this doesn't work? Thanks! Schema: <?xml version="1.0"?> <xs:schema id="ReportInfo" targetNamespace="http://tempuri.org/Reports.xsd"
0
1577
by: Deep Purple | last post by:
I started with the following error... ------------------------------------------------------- An error occured while loading the schema with TargetNamespace 'http://www.w3.org/2001/XMLSchema' referenced in this document. The value for the 'base' attribute is invalid - 'xsd:string' is an invalid value for the 'base' attribute. An error occured at the file:///C:Program Files/Microsoft Visual Studio .NET 2003...
6
2149
by: Vaclav Jedlicka | last post by:
Hi all The code generated by the server side control asp:form generates invalid code. The HTML tag FORM always contains attribute "name". When I validate the page with the online validator (http://www.htmlhelp.com/tools/validator/direct.html) it says that: <form name="browse" method="post" action="browse_employees.a ... ^Error: there is no attribute NAME for this element (in this HTML
1
1734
by: jm | last post by:
I get "data at the root level is invalid." I have changed security for the IUSR_xx to be in the adminstrators (tried anonymous access); changed all the file security I could; tried virtual directories and file paths. I have googled and googled. Any ideas why it cannot load this file? It is not the files, I believe, I didn't make them they are from 4guysfromrolla. Any ideas what is causing this bug? Thanks for any help. ...
1
1762
by: jm | last post by:
I get "data at the root level is invalid." I have changed security for the IUSR_xx to be in the adminstrators (tried anonymous access); changed all the file security I could; tried virtual directories and file paths. I have googled and googled. Any ideas why it cannot load this file? It is not the files, I believe, I didn't make them they are from 4guysfromrolla. Any ideas what is causing this bug? Thanks for any help. ...
4
8170
by: johnsonkt | last post by:
hi all , when m trying to validate my xml using xsd file it gives me the following error "Data at the root level is invalid. Line 1, position 1" i tried to open the XML file using IE and there are no errors and there are no blank space before the root element.the xml is created dynamically and it is send as a string to validate. the dynamically generated xml string is the following. <?xml version="1.0" encoding="utf-8" ?> ...
0
9639
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
9479
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10311
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...
0
10146
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10080
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
5378
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...
1
4043
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3639
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2874
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.