Connecting Tech Pros Worldwide Help | Site Map

Invalid 'name' attribute name

Anders Jansson
Guest
 
Posts: n/a
#1: Jan 20 '06
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.Ka ppSegling.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

Anders Jansson
Guest
 
Posts: n/a
#2: Jan 26 '06

re: Invalid 'name' attribute name



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.ReportTopLevel CompilationException() at
System.Web.Compilation.BuildManager.EnsureTopLevel FilesCompiled() at
System.Web.Hosting.HostingEnvironment.Initialize(A pplicationManager
appManager, IApplicationHost appHost, IConfigMapPathFactory
configMapPathFactory, HostingEnvironmentParameters hostingParameters) at
System.Web.Hosting.HostingEnvironment.Initialize(A pplicationManager
appManager, IApplicationHost appHost, IConfigMapPathFactory
configMapPathFactory, HostingEnvironmentParameters hostingParameters) at
System.Web.Hosting.ApplicationManager.CreateAppDom ainWithHostingEnvironment(String
appId, IApplicationHost appHost, HostingEnvironmentParameters
hostingParameters) at
System.Web.Hosting.ApplicationManager.CreateAppDom ainWithHostingEnvironmentAndReportErrors(String
appId, IApplicationHost appHost, HostingEnvironmentParameters
hostingParameters) at
System.Web.Hosting.ApplicationManager.GetAppDomain WithHostingEnvironment(String
appId, IApplicationHost appHost, HostingEnvironmentParameters
hostingParameters) at
System.Web.Hosting.ApplicationManager.CreateObject Internal(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.GetVirtualD irectory(String virtualDir)
at ASP.appconfig_defineerrorpage_aspx.PopulateDirecto riesAndFiles(TreeNode
parent) at ASP.appconfig_defineerrorpage_aspx.Page_Init() at
System.Web.Util.CalliHelper.ArglessFunctionCaller( IntPtr fp, Object o) at
System.Web.Util.CalliEventHandlerDelegateProxy.Cal lback(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(Even tArgs e) at
System.Web.Administration.ApplicationConfiguration Page.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


"Anders Jansson" wrote:
[color=blue]
> 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.Ka ppSegling.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
>[/color]
sdbillsfan@gmail.com
Guest
 
Posts: n/a
#3: Feb 13 '06

re: Invalid 'name' attribute name


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.

Anders Jansson
Guest
 
Posts: n/a
#4: Feb 14 '06

re: Invalid 'name' attribute name


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


"sdbillsfan@gmail.com" wrote:
[color=blue]
> 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.
>
>[/color]
Closed Thread