Menu

xml file problem

T.Mo
2005-04-06
2013-03-07
  • T.Mo

    T.Mo - 2005-04-06

    I always got the error msg, which says no mapping from class to table. But i did created a mapping ...

    i go to the debug folder, i saw the xml mapping file actually were re-gerated to be a much bigger file, and i cant find any term related to my classes, is this normal??

     
    • Richard Banks

      Richard Banks - 2005-04-06

      My guess is that you have VBCommenter installed and you have it set to generate the XML comments file.

      It won't affect deployment just the development environment.  There are a few options

      1.  Turn of XML comment generation until it's needed
      -or-
      2.  Rename the XML mapping file to something else (eg settings.XML) and use that name as the parameter for the persistence broker init() method.
      -or-
      3.  Keep a copy of the XML file somewhere else and copy it over the top after compilation completes.

      Finally if you reference the framework as a .DLL (not as a project) you can turn off Copy Local on the reference properties.  The will prevent the compilation copying the contents of the frameworks bin directory to your projects bin directory (and this overwriting the XML file).

      I hope that helps.
      - Richard.

       
    • Nobody/Anonymous

      i get the following error when trying to run the sample:
      AtomsFramework.XmlMappingException: XML Database Mapping is missing provider and/or name attributes.

      But when i turned off Copy Local i get:

      System.IO.FileNotFoundException: File or assembly name AtomsFramework, or one of its dependencies, was not found.
      File name: "AtomsFramework"
      I hope to get some help
      .Uma
       

       
    • Nobody/Anonymous

      Hi Uma,

      I get the exact same problem.  Has this project stopped? 

      Thanks,
      SK

       
      • Richard Banks

        Richard Banks - 2006-07-18

        Has the project stopped?  Pretty much yes (at least for the forseeable future).

        I've got no time to devote to it (and haven't had for some time now).  I would love others to pick it up and move it forward as much as I would like to have the time to work on it again as well.

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.