Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / September 2007

Tip: Looking for answers? Try searching our database.

Failed to generate code while converting from .Net 2003 to 2005

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Maxsan - 25 Sep 2007 19:06 GMT
I received an error while converting a windows application from .Net 2003 to
.Net 2005. The followinf error occurred in a dataset that was automatically
generated:
Error    18    Custom tool error: Failed to generate code. Unable to convert input
xml file content to a DataSet. The following text is not allowed in this
context: '
             //'. The following text is not allowed in this context: '
             //'.    C:\DocMgmtTest\dataset1.xsd    1    1    DocMgmtTest
sloan - 25 Sep 2007 19:27 GMT
This is a long about way to try and rectify, but an idea:

Get an xml file that is an example of your strong dataset.
Use the XSD tool (command line) to create an xsd of that xml file.  Use the
2005(2.0) version of the tool.
Create a blank dataset (strong) in your 2005 project.
Open the .xsd file in notepad.
Copy the results from above (xsd output) into the notepad opened xsd file.
Save the file, go back to 2005.

See if that might work.

>I received an error while converting a windows application from .Net 2003
>to
[quoted text clipped - 7 lines]
>              //'. The following text is not allowed in this context: '
>              //'. C:\DocMgmtTest\dataset1.xsd 1 1 DocMgmtTest

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.