>> I have installed the latest dot net provider for Firebird as well as
the
>> latest dot net provider for Visual Studio 2005.
>> When I try to set up a connection in Visual Studio the dialog closes
the
>> moment I try to type something into any of the controls.
>did you have modified the maching.config file ??

If you are using the latest DDEX provider and you follow the instruction
in the DDEX read me, you may run into a problem if you do not change the
%placeholder%, also there is a typo which I will show you how to fix in
the machine.config entries.

First, you need to make sure in the registry entries you used that you
fix this error
Line 14
Is
"CodeBase"="%Path\\%FirebirdSql.VisualStudio.DataTools.dll"
Should be
"CodeBase"="%Path%\\FirebirdSql.VisualStudio.DataTools.dll"

Next if you look at the read me file in ddex install folder you need to
add a couple of line into your machine.config file

The lines doesn't match the newest provider so you may need to change
this, and in the second entry the version, culture, and public key are
all using placeholders. You need to define the place holders to use the
correct entries. The first example is what it is out of the box, the
second is what it should be. I have experienced this problem when any of
the entries are not correct.

IS

<configuration>
    <configSections>
        ...
        <section name="firebirdsql.data.firebirdclient"
type="System.Data.Common.DbProviderConfigurationHandler, System.Data,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
        ...
    <configSections>

    <system.data>
        <DbProviderFactories>
                ...
                <add name="FirebirdClient Data Provider"
invariant="FirebirdSql.Data.FirebirdClient" description=".Net Framework
Data Provider for Firebird"
type="FirebirdSql.Data.FirebirdClient.FirebirdClientFactory,
FirebirdSql.Data.FirebirdClient, Version=%Version%, Culture=%Culture%,
PublicKeyToken=%PublicKeyToken%" />
                ...
        </DbProviderFactories>
        </system.data>
        ....
</configuration>


What it Should be

<configuration>
    <configSections>
        ...
        <section name="firebirdsql.data.firebirdclient"
type="System.Data.Common.DbProviderConfigurationHandler, System.Data,
Version=2.0.1.0, Culture=neutral, PublicKeyToken=3750abcc3150b00c" />
        ...
    <configSections>

    <system.data>
        <DbProviderFactories>
                ...
                <add name="FirebirdClient Data Provider"
invariant="FirebirdSql.Data.FirebirdClient" description=".Net Framework
Data Provider for Firebird"
type="FirebirdSql.Data.FirebirdClient.FirebirdClientFactory,
FirebirdSql.Data.FirebirdClient, Version=2.0.1.0, Culture=neutral,
PublicKeyToken=3750abcc3150b00c" />
                ...
        </DbProviderFactories>
        </system.data>
        ....
</configuration>

Please feel free to ask write if you need help with this.

Steven
[EMAIL PROTECTED]


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Firebird-net-provider mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to