Invalid 'name' attribute name

G

Guest

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
 
G

Guest

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
 
S

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.
 
G

Guest

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,578
Members
45,052
Latest member
LucyCarper

Latest Threads

Top