By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,512 Members | 3,847 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,512 IT Pros & Developers. It's quick & easy.

Invalid 'name' attribute name

P: n/a
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

Jan 20 '06 #1
Share this Question
Share on Google+
3 Replies


P: n/a

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:
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

Jan 26 '06 #2

P: n/a
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

P: n/a
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********@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.

Feb 14 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.