Senthilmurugan, ANGLER - EIT wrote:
Hi,
Thanks for your help. As you said, I have changed sqlmap.config like this

<sqlMapConfig xmlns="http://ibatis.apache.org/dataMapper"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>

and changed in PersonHelper.xml also.

<sqlMap namespace="Person" xmlns=http://ibatis.apache.org/mapping xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>

But still I am facing the problem. Can you send me the following files.
properties.config
providers.config
sqlmap.config
personhelper.xml
I have attached my files for your reference.

------------------------------------------------------------------------
*From:* Dorin Manoli [mailto:[EMAIL PROTECTED]
*Sent:* Wednesday, November 15, 2006 10:51 PM
*To:* [email protected]
*Subject:* RE: Problem in SqlMapConfig.xsd configuration - Reg.

Ok Guys I got the problem fixed. I have the iBatis tutorial and had the same problems as Senthilmurugan

And I fixed the problem. Here are attached xml files

------------------------------------------------------------------------

*From:* Dorin Manoli [mailto:[EMAIL PROTECTED]
*Sent:* Wednesday, November 15, 2006 4:31 PM
*To:* [email protected]
*Subject:* RE: Problem in SqlMapConfig.xsd configuration - Reg.

I got the same problem configuring iBATIS tutorial project.

Look in your sqlmap.config file. If there is a node <providers .../>

If not add : <providers resource ="providers.config"/>

------------------------------------------------------------------------

*From:* Senthilmurugan, ANGLER - EIT [mailto:[EMAIL PROTECTED]
*Sent:* Wednesday, November 15, 2006 5:24 AM
*To:* [email protected]
*Subject:* RE: Problem in SqlMapConfig.xsd configuration - Reg.

Hi Nikhil,

Thanks for your response.

I replaced the line as you said, That error has gone now. It goes to next step. While executing the application, the following exception was thrown.

//"Error while configuring the Provider named "OleDb1.1". Cause : The provider is not in 'providers.config' or is not enabled"//

The provider is there, But It was not enabled. So I enabled it in "providers.config file". But still it shows the same error.

Do you have any idea. please help me.

Thanks & regards

Senthilmurugan.B

------------------------------------------------------------------------

*From:* Nikhil Vaghela [mailto:[EMAIL PROTECTED]
*Sent:* Wednesday, November 15, 2006 9:38 AM
*To:* [email protected]
*Subject:* RE: Problem in SqlMapConfig.xsd configuration - Reg.

I guess the problem is in your sqlmap.config

See if it works by replacing your xml name sapace with

<sqlMapConfig

xmlns="http://ibatis.apache.org/dataMapper"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>

in your config file.

Nikhil.

------------------------------------------------------------------------

*From:* Senthilmurugan, ANGLER - EIT [mailto:[EMAIL PROTECTED]
*Sent:* Wednesday, November 15, 2006 9:24 AM
*To:* [email protected]
*Cc:* Gopinath, ANGLER - EIT; Giridhar, ANGLER - CTO
*Subject:* RE: Problem in SqlMapConfig.xsd configuration - Reg.

Hi,

I am using "IBatisNet.DataMapper-bin-1.5.1". I have attached the above files for your ref.

Since it is my first application, I got struck. So help me to come out of this problem.

Thanks in advance.

Senthilmurugan

------------------------------------------------------------------------

*From:* Prosper [mailto:[EMAIL PROTECTED]
*Sent:* Tuesday, November 14, 2006 7:42 PM
*To:* [email protected]
*Subject:* Re: Problem in SqlMapConfig.xsd configuration - Reg.

Hi,

check the schema of your different Ibatis config file (sqlmap,properties)according to the version of Ibatis you are using.

Can you post sqlmap.config and give more info on the version of ibatis you use?

Regards

*/"Senthilmurugan, ANGLER - EIT" <[EMAIL PROTECTED]>/* wrote:

    **I have created new Asp.net application and configured
    everything. But I faced the following error. please help me.**


        *Invalid SqlMap.config document. cause :Cannot load schema for
        the namespace '' - Could not find file
        "C:\WINDOWS\system32\SqlMapConfig.xsd".. An error occurred at
        , (1, 2). The 'sqlMapConfig' element is not declared. An error
        occurred at , (1, 2). The 'properties' element is not
        declared. An error occurred at , (3, 6). Could not find schema
        information for the attribute 'resource'. An error occurred at
        , (3, 17). The 'settings' element is not declared. An error
        occurred at , (5, 3). The 'setting' element is not declared.
        An error occurred at , (5, 13). Could not find schema
        information for the attribute 'useStatementNamespaces'. An
        error occurred at , (5, 21). The 'setting' element is not
        declared. An error occurred at , (5, 55). Could not find
        schema information for the attribute 'cacheModelsEnabled'. An
        error occurred at , (5, 63). The 'setting' element is not
        declared. An error occurred at , (5, 92). Could not find
        schema information for the attribute 'validateSqlMap'. An
        error occurred at , (5, 100). The 'database' element is not
        declared. An error occurred at , (5, 136). The 'provider'
        element is not declared. An error occurred at , (5, 146).
        Could not find schema information for the attribute 'name'. An
        error occurred at , (5, 155). The 'dataSource' element is not
        declared. An error occurred at , (5, 177). Could not find
        schema information for the attribute 'name'. An error occurred
        at , (5, 188). Could not find schema information for the
        attribute 'connectionString'. An error occurred at , (5, 210).
        The 'sqlMaps' element is not declared. An error occurred at ,
        (5, 263). The 'sqlMap' element is not declared. An error
        occurred at , (5, 272). Could not find schema information for
        the attribute 'resource'. An error occurred at , (5, 279*).// //

    Thanks in Advance

    Regards

    **Senthilmurugan**

------------------------------------------------------------------------

Everyone is raving about the all-new Yahoo! Mail beta. <http://us.rd.yahoo.com/evt=45083/*http:/advision.webevents.yahoo.com/mailbeta>

In your providers.config file you have <providers> tag. Instead you should use :

<providers
xmlns="http://ibatis.apache.org/providers"; 
<http://ibatis.apache.org/providers%22>;
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
<http://www.w3.org/2001/XMLSchema-instance%22>;>

This should cure "The provider is not in 'providers.config' or is not enabled." 
error.

I had exactly the same issues as a beginner. All my fixes for this are 
described here:
http://www.mail-archive.com/[email protected]/msg01301.html

Unfortunately I had no time to correct "Quick start" tutorial which have many 
similar things.

Regards,

Robert Sosnowski

Reply via email to