I placed the providers en sqlmap config in bin/debug, then it worked.
It isn't that straight-forward.....

The only problem left now is that it doesn't find the newest mysql.data library I added myself. The bytefx provider is really too old .... 2004 (?!) Or is it still a better option for a mysql db?

I have not changed the publickeytoken, can this cause problems? If so, where do I find this token? I tried adding the reference provided by the visual studio integration and also 'the hard way' by providing and
copying the library. None of the two works :-S

Could not load file or assembly 'MySql.Data, Version=2.0.50727, Culture=neutral' or one of its dependencies.

[code]
 <provider
    name="MySql"
    description="MySQL, MySQL provider v2.0.50727"
    enabled="true"
    default="true"
assemblyName="MySql.Data, Version=2.0.50727, Culture=neutral, PublicKeyToken=c5687fc88969c44d"
    connectionClass="MySql.Data.MySqlClient.MySqlConnection"
    commandClass="MySql.Data.MySqlClient.MySqlCommand"
    parameterClass="MySql.Data.MySqlClient.MySqlParameter"
    parameterDbTypeClass="MySql.Data.MySqlClient.MySqlDbType"
    parameterDbTypeProperty="MySqlDbType"
    dataAdapterClass="MySql.Data.MySqlClient.MySqlDataAdapter"
    commandBuilderClass="MySql.Data.MySqlClient.MySqlCommandBuilder"
    usePositionalParameters="false"
    useParameterPrefixInSql="true"
    useParameterPrefixInParameter="true"
    parameterPrefix="?"
    allowMARS="false"
  />
[/code]


On 21 Apr 2008, at 01:59, Juan Pablo Araya wrote:
You have to put your sqlmap.config in the web root directory, or in
bin/debug in the test project.

Anyway, you can change the path of your sqlmap.config. See section
4.4.1.2. of the datamapper manual.

Pieter Baele
[EMAIL PROTECTED]
LinuxUser: #310384

testing? What's that? If it compiles, it is good, if it boots up it is
perfect.

                        --- Linus Torvalds






Reply via email to