Page 1 of 1

Can't find Nexus provider

Posted: Fri 19 Oct 2012 14:29
by Tsagoth
I followed the instructions in the Readme to build package. It compiles with no error but it doesn't produce any NexusProvider105.bpl (this is with D2007). Only one I can find is in UniDac/bin directory from 7/27/2012. What am I missing to rebuild this ? I had to do it because attempting to connect at designtime with TUniconnect produces message "Nexus provider must be rebuilt".

Re: Can't find Nexus provider

Posted: Fri 19 Oct 2012 18:37
by Tsagoth
I found the Nexusprovider105.bpl in the Rad Studio/bpl directory. I restarted the IDE but TUniConnection still says provider must be rebuilt. NexusDB3 is installed, so I don't know what is wrong now.

Re: Can't find Nexus provider

Posted: Mon 22 Oct 2012 08:42
by AndreyZ
Hello,

The point is that in the latest UniDAC version we did not include the Dac.inc file that is needed to re-build the NexusDB provider. We already fixed this problem. This fix will be included in the next UniDAC build. We are sorry for the inconvenience.
Please send an email to andreyz*devart*com and I will send you the Dac.inc file.

Re: Can't find Nexus provider

Posted: Tue 23 Oct 2012 14:24
by Tsagoth
I copied the Dac.inc file to the directory and recompiled the bpl. TUniconnection still says "The Nexusprovider must be rebuilt". So it is not fixed.

Re: Can't find Nexus provider

Posted: Wed 24 Oct 2012 07:32
by AndreyZ
I cannot reproduce the problem. Please perform the following steps:
- remove UniDAC you are using now;
- install UniDAC 4.5.9;
- copy the Dac.inc file to the UniDAC_Install_Directory\Source\NexusDBProvider directory;
- go to the UniDAC_Install_Directory\Source\NexusDBProvider\Delphi11 directory;
- find in the Make.bat file the line containing

Code: Select all

set IdeDir="%PROGRAMFILES%\CodeGear\RAD Studio\5.0
, and make sure that the correct path to Delphi 2007 is set (always include forward quote and do not include ending quote);
- run Make.bat.
After you have performed these steps, please check if the 'NexusDB provider should be recompiled' error persists.

Re: Can't find Nexus provider

Posted: Wed 24 Oct 2012 14:08
by Tsagoth
The batch file is all wrong and doesn't work. I'm using Windows 7 Enterprise and "%PROGRAMFILES%" resolves to "C:\Program Files" wherease DCC32 is located in "C:\Program Files (X86)". The NexusLibDir is wrong as well; "%ALLUSERSPROFILE%" resolves to "C:\ProgramData" when in fact the files are installed to "C:\Users\Public\Documents".

I have tried editing the make file to get the paths correct but I keep getting "The filename, directory name or volume name syntax is incorrect".

Re: Can't find Nexus provider

Posted: Wed 24 Oct 2012 14:20
by Tsagoth
I finally got the batch file to run and now my Delphi installation is broken. When I launch Delphi I get "NexusDB310||110.bpl is missing".

I give up. It's obvious this feature is broken, so I will wait for the next Unidac release. Maybe it will work in that once.

Re: Can't find Nexus provider

Posted: Wed 24 Oct 2012 15:37
by AndreyZ
Thank you for the information. We have fixed the problem with the Make.bat file. This fix will be included in the next UniDAC build.
I have sent you the correct Make.bat file. You should copy it to the UniDAC_Install_Directory\Source\NexusDBProvider\Delphi11 directory (replace the old one). After this, please perform the steps I wrote in my previous post.

Re: Can't find Nexus provider

Posted: Thu 25 Oct 2012 00:39
by Tsagoth
The batch file now runs. After it does the IDE fails to start saying "NexusDB310sql10.bpl is missing from your computer".

Re: Can't find Nexus provider

Posted: Thu 25 Oct 2012 00:45
by Tsagoth
Ok, problem is that you don't support current NexusDB 3.11 only previous version. If I install Nexus 3.1004 then it seems Nexusprovider works.

Re: Can't find Nexus provider

Posted: Thu 25 Oct 2012 07:32
by AndreyZ
For the time being, UniDAC supports NexusDB version 3.10. We will add support of NexusDB version 3.11 to one of the next UniDAC builds.