Home All Groups Group Topic Archive Search About

Invalid 'name' attribute name

Author
20 Jan 2006 7:13 PM
Anders Jansson
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\wwwroot\App_Code\kappsegling\ProAra.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

Author
26 Jan 2006 9:57 AM
Anders Jansson
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.Compilation.BuildManager.ReportTopLevelCompilationException() at
System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() at
System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager
appManager, IApplicationHost appHost, IConfigMapPathFactory
configMapPathFactory, HostingEnvironmentParameters hostingParameters) at
System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager
appManager, IApplicationHost appHost, IConfigMapPathFactory
configMapPathFactory, HostingEnvironmentParameters hostingParameters) at
System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironment(String
appId, IApplicationHost appHost, HostingEnvironmentParameters
hostingParameters) at
System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironmentAndReportErrors(String
appId, IApplicationHost appHost, HostingEnvironmentParameters
hostingParameters) at
System.Web.Hosting.ApplicationManager.GetAppDomainWithHostingEnvironment(String
appId, IApplicationHost appHost, HostingEnvironmentParameters
hostingParameters) at
System.Web.Hosting.ApplicationManager.CreateObjectInternal(String appId, Type
type, IApplicationHost appHost, Boolean failIfExists,
HostingEnvironmentParameters hostingParameters) at
System.Web.Hosting.ApplicationManager.CreateObject(String appId, Type type,
String virtualPath, String physicalPath, Boolean failIfExists, Boolean
throwOnError) at System.Web.Hosting.ApplicationManager.CreateObject(String
appId, Type type, String virtualPath, String physicalPath, Boolean
failIfExists, Boolean throwOnError) at
System.Web.Administration.WebAdminRemotingManager.CreateConfigurationHelper()
at
System.Web.Administration.WebAdminRemotingManager.GetVirtualDirectory(String
virtualDir) at
System.Web.Administration.WebAdminPage.GetVirtualDirectory(String virtualDir)
at ASP.appconfig_defineerrorpage_aspx.PopulateDirectoriesAndFiles(TreeNode
parent) at ASP.appconfig_defineerrorpage_aspx.Page_Init() at
System.Web.Util.CalliHelper.ArglessFunctionCaller(IntPtr fp, Object o) at
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender,
EventArgs e) at System.Web.UI.Control.OnInit(EventArgs e) at
System.Web.UI.Page.OnInit(EventArgs e) at
System.Web.Administration.WebAdminPage.OnInit(EventArgs e) at
System.Web.Administration.ApplicationConfigurationPage.OnInit(EventArgs e) at
System.Web.UI.Control.InitRecursive(Control namingContainer) at
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint,
Boolean includeStagesAfterAsyncPoint)
-->>
____________________________
Anders Jansson
ProAra Consulting
http://www.proara.se


Show quoteHide quote
"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\wwwroot\App_Code\kappsegling\ProAra.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
>
Are all your drivers up to date? click for free checkup

Author
13 Feb 2006 10:43 PM
sdbillsfan
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.
Author
14 Feb 2006 6:05 PM
Anders Jansson
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


Show quoteHide quote
"sdbills***@gmail.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.
>
>

Bookmark and Share