Menu

Provider in the AtomsFrameWork 2.2

2005-05-13
2013-03-07
  • Nobody/Anonymous

    Hi,

    I am starting the to use the framework 2.2 now. I configured the tag for database of the following form:

    <database name="MyDataBase" class="CMsSqlDatabase" provider="AF_MSSQL.dll">
            <parameter name="name" value="MyDataBase" />
            <parameter name="serverName" value="MyServer" />
            <parameter name="user" value="myuser" />
            <parameter name="password" value="mypassword" />
            <parameter name="OIDTable" value="OID"/>
    </database>

    However, to run the my application, the following error appear:

    AtomsFramework.XmlMappingException: Error Initializing Database Provider AF_MSSQL.dll. Error is: No foi encontrado nenhum nome de arquivo ou de conjunto de mdulos (assembly) AF_MSSQL.dll, nem nenhuma de suas dependncias.

    The AF_MSSQL.dll it is in the paste bin of the application, as well as the AtomsFrameWork.dll. What to make?

    Thanks.

     
    • Richard Banks

      Richard Banks - 2005-05-15

      The naming seems right.  If the .DLL is in the same directory as the application you should be OK.

      Maybe you have a typing error?.

      By the way, you can delete the class="CMsSqlDatabase" text as it is no longer needed.

       
    • Nobody/Anonymous

      I have this problem too,please help meeeee

       

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.