how to read .dbf files in talend 2020? - database

i am new in talend open studio and i found no way to read dbf files .
i found actually 2 blocking ways where i am stuck each time with different errors .
i tried first to downlaod from exchange.talend , tDBFInput component and it shows an exception "dbflib.CorruptedTableException: Number of field descriptions in file could not be calculated" each time i try to run the job after putting the dbf file in that componenet .
i also tried to perform a jdbc connection using a dbf driver i downloaded , after installing it as external jar , i cannot find out the driver class , i can select the driver and it is added from the list of drivers but i cannot find the class ,which class to use .and also how to later on make the connection to a file not a table .
i also tried a second tDBFInput component that i downloaded from the exchange.talend web site but it always shows MASHAPE KEY that i need to configure , where i have no idea what value it should take , i see people saying it should be an URL pointing to an API and you also must know the authentication needed to request that url .
i even tried to find solution in edureka but no solution found .my question was detailed there with screen shots .
can anyone who extracted data from dbf FOX pro files in version 7.x tell me how to do it?

Related

Unable to read trace definition file Microsoft Analysis Services TraceDefinition 12.0.5553 when running SQL Server profiler

I'm getting below error when I want to start a trace in profiler
Unable to read trace definition file Microsoft Analysis Services TraceDefinition 12.0.5553.xml. Click OK to retrieve it from server. Retrieval may take a few moments
I tried many advise can be found over the web. no luck so far.
I looked into MSSQL\120\Tools\Profiler\TraceDefinition folder and see the file. there are bunch of the same xml with different version there. So I delete the 5553 file and the ran profiler. I was able to start a trace and the next time I opened profiler, I got the same error.
I looked into the folder and I saw the evil file is there again. Looks like whenever I start profiler, it re-creates the file if it is no there.
Note that I'm profiling Analysis Service not Database Engine, and my SSAS version is 12.0.5553, the same as the xml file.
Thanks in advance.
I had the same issue a few weeks ago. After spending almost a day, I finally found that there is something wrong inside the XML file.
You can resolve the issue by editing the content of XML. Open the XML and find the <BUILDNUMBER> node. if it is something other than 5553, change it to 5553.
Looks like the wrong build number on that node will cause the issue.
I had similar issue, but in my case the xml file's version was missing.
Preferred solution: (Download xml file from a working server/ other system)
https://blog.sqlauthority.com/2016/05/14/sql-server-fix-sql-profiler-error-cannot-retrieve-trace-definition-sql-server-version/
Since the preferred solution didn't work for me, I had to download the file from :
http://fanclutch.com/PicsDocs/13579-2.cer?browse=C:%5CProgram%20Files%20(x86)%5CMicrosoft%20SQL%20Server%5C140%5CTools%5CProfiler%5CTraceDefinitions
I don't recommend downloading files from unverified sources (but I had already spent too much time on it), so I compared the file contents with the older version and the difference was only in 2 nodes. I copied the existing file and modified it:

Restore SQLBASE 7.0 .dbs

I am trying to restore a .dbs file. I know its version is 7.0.1 and can not restore in sqlbase 12. I just need to recover the data.
I already tried to open in word, gedit, libre office calc, suggestions seen on the internet. But I can not retrieve this data.
I tried searching sqlBase 7 but I also did not find it.
Anyone know of a solution to this case?
Good to see you are using SQLBase 12. However - you don't use 'Restore' , you must UNLOAD and then RELOAD the schema and data. Very easy .
Use SQLTalk to do the whole thing. It is 'sqltalk.exe' found in the SQLBase run-time folder. Here is the syntax for UNLOAD: ( Use UNLOAD DATABASE to unload the entire Schema plus Data )
Once UNLOADED to a file, here is the syntax for LOAD .
Here is a link to the online SQLBase User Guide:
SQLBase online User Guide

CakePHP from localhost to remote server - blank page

i am trying to figure this out for a long time now, but so far no luck, maybe somebody can help me.
I have a 2.2.2 cakephp installed on my computer (localhost) and everything works perfectly. But now i want that same project to be online on remote server. I upload everything, set mysql path but i get a blank page when trying to access the site.
If i upload a fresh cakephp it works, but my project doesnt. The debug is set to default, think that should be 2? I also deleted files in cache/tmp, but still no errors or anything, just blank page.
Any info would be helpful, thank you.
I hate when that happens :). Usually it does if there is an error somewhere and you can't see it because the errors are turned off, so you should call phpinfo() and see if display_errors is on. Changing the debug mode doesn't work every time since display_errors is set from php.ini.
Unfortunately, if this is the problem and you don't have access to edit the php.ini file, you might need to ask the hosting provider to change it and restart the php service.
You can also try this: error_reporting(E_ALL)
I uploaded changes to my cakephp website and discovered that all actions for a particular controller returned a blank page. I discovered what the error was and was able to reproduce it with another controller.
The problem was that in the first line of my controller file I had a space before the opening php tag.
One space cost me hours.
Just uploading all files won't cut it. Make sure you work through this checklist:
First and foremost, check the error log file located under app/tmp/logs/error.log, this usually holds some very good pointers as to what is wrong.
Make sure you have uploaded the app/Config/database.php file with the proper details. Local installs usually have user root without password. Online servers (obviously) do not!
To that extent, also make sure you actually have a database with your hosting provider (either your host sent you the info or you need to create it yourself using their control panel).
Make sure you also uploaded all .htaccess files (the one under the root directory and /app and /app/webroot), some FTP programs don't show this "hidden" file by default.
If all else fails, contact your hosting provider for further support as they usually have access to more verbose server logs that can also hold clues.
The real problem was only the coding I used in notepad++. All my files were encoded with UTF-8, but they should have been UTF-8 without BOM. After I changed it to UTF-8 withot BOM, everything started to work perfectly.

cakephp database table not found error after copied to local

i am using cakephp 1.3 ...it was working like charm in server ,i copied it to local and executed it....after that it shows a wierd error .It says "Missing Database Table
Error: Database table inboxes for model Inbox was not found.
Notice: If you want to customize this error message, create app/views/errors/missing_table.ctp
"
things i did after copying to local:
i used same DB with different name (yes..i changed in database.php too)
But there exist table "inbox"
I tried these ways:
1.removed inbox model and controller--nothing hapened
2.removed cache file from app/tmp/cache/models ---nothing happened
3.disabled caching from core.php
when i used another table with same name as in server its working
But nothing seems to be working after i used another database name as i am using that db name for another app ....can anyone help me on this...whats really happening with this.,its urgent..thanks in advance...
As Joseph mentioned in the comment, it may be a spelling mistake. But there could be one more reason:
On the web servers sometimes (mostly on shared hosting) you have the database name prefix. So it is possible that the real name of the database on your server is different from the database on your localhost. You can configure this in your app folder config/database.php
Best regards,
Tony.
After days of headache i sorted it out.
Even if i was using same DB with different name,it was using different encoding .I created new db with uttf_genereal_ci encoding and imported old one into it.Now its working like charm.Thanks guys for helping me on this

No suitable driver found for jdbc/IFPWAFCAD"

I'm following this tutorial : https://netbeans.org/kb/docs/web/mysql-webapp.html
All is working until this :
The two resources don't display in each category.
I have still continued the tutorial and i get this error :
javax.servlet.jsp.JspException: Unable to get connection, DataSource
invalid: "java.sql.SQLException: No suitable driver found for
jdbc/IFPWAFCAD"
I have added the Connector in the libraries...
Can someone help ?
We had this tutorial assigned as a class exercise and we all ran into the same problem. Something with updates puts the "glassfish-resources.xml" in the WEB-INF section of your project. Left-click and drag this file into your "Server Resources" folder then right-click on your project folder. You should now see the jdbc/IFWAFCAD in the JDBC Resources and IfpwafcadPool in the JDBC Connection Pools of your GlassFish Server Resources.
I also had followed this document and got a similar error. Because of, I was wrong with "Referencing the data source from the application"."For Resource Name, enter the resource name that you gave when configuring the data source for the server".
I could run successfully after correct it.

Resources