Enterprise Architect crashes on Database Compare - crash

So the situation is as follows:
I have got online repo for EA project containing schema for database.
I also have this Oracle database, lets say host.cz:port/TESTDB.
<< This database is currently in use and works fine. It does contain some more tables (mostly backups) compared to EAREPO schema.
Now I would like to run a database compare function of Enterprise Architect. So far I did following:
Downloaded and installed ODBC driver for Oracle
Modified registry entry so that the driver is included
Ran odbcad32.exe, found the driver, created User DSN using the oracle driver
Tested the connection - No error.
Now I logged Enterprise Architect, went to Database builder and called "Show differences" against the DNS I created before (step 3).
EA starts spinning the wheel and goes into "Not Responding" mode and remains so until killed (tried up to 15 minutes)
There is ~30 tables in the DB so it should not be that complex task...
My coworker has same problem, so I guess it is not problem in configuration on my station.
My PC also has i7 4800MQ processor and 16GB of RAM so resource shortage seems unlikely as well. The internet connection is also stable.
I currently ran out of ideas, so I would appreciate if you could point me in directions I should check out to make EA running as necessary.

Related

SQL Developer Status : Failure - I/O Test failed: The Network Adapter could not establish the connection

I am a newbie don't know how to use SQL developer. whether I need Oracle database for installing in windows 10 what are these hr and sys users and how to know their passwords. please help me I know this question is asked many times but really, believe me, I have searched a lot but can't find a working solution for it.
Screenshot of my pc:
So you installed Oracle SQL Developer, and you don't know what to do next?
Here's the answer in long-form, with lots of pictures and links.
The short answer: SQL Developer is JUST a client. You need a server to connect to, and that server IS the Oracle Database.
You can get your own running on the same machine as SQL Developer. Oracle XE is free and lightweight.
Or you can get our VirtualBox appliance that has everything already going - a database with test data, hands-on-learning labs, and much more - also FREE.
Of the two, I recommend VirtualBox, because it's more up to date, and it's juts an image - it won't 'pollute' your machine in case you decide to stop using the DB. You can just nuke the image.

Database read/write collision through SQL

I have a program written in VB due to the simplicity and GUI when using Visual Studio 2010 as my IDE and compiler. In this program I built a "ticketing" system where approximately 40 users in my center have the authority to submit tickets to my coworkers and I for IT or Facilities assistance.
This system uses an access database on the local server using SQL as the language. The problem is that we have rare occurrences where two users are trying to write a "ticket" at the same time to the database or pull a report of the data at the same time from the database and it crashes on one of users. I use a "try, catch, finally" block to avoid the "unhandled exception error" and have the program setup that should an "unhandled exception error" occur that it closes automatically. The other concern is that once this collision has occurred, the user can no longer read/write to the database through the program until they restart their computer.
With all that in mind, my question is as follows, is there a 100% way to prevent these collisions from occurring (like checking if the database is in use before reading/writing) and if not is there a way to avoid them being locked out of the database until restarting their computer?
Since this post I have swapped to a virtual MySQL database server to run these at much better speeds. The issue I was having however, was resolved by clearing the pool. Since at the time I was using OLEDB I used the command:
OLEDBConnection.ReleaseObjectPool()
and it prevented any more of these computers being locked to where they had to restart the computer as well as help prevent collisions.
Assuming you are using OLEDB, you can try using Transactions, which are simple to implement as explained in the Developer Network article entitled OleDbConnection.BeginTransaction Method.
I must admit I do not understand the IsolationLevel settings, but try omitting it or using the default shown in the example before trying the other available cryptic ones.
As Tony suggests, converting to SQL-Server is a much more robust (long-term) solution that will ensure data integrity, especially if you plan to add more users. MS has a free migration tool that does an excellent job, even on queries. As for data integrity, see the last paragraph in the Microsoft Support article: Using Microsoft Jet with IIS

dbf slow connection over network

I'm working on a visual studio 2012 project which using vb.net.
In the project, the program need to link back (using oledb) to an old school .DBF database.
During development stage, which the db allocated in localhost, everything work fine.
Now, when implementing the program, which the database is sit in a server the connection become horribly slow.
All the clients who using the program facing the same problem when opening the program or retrieve data from the database.
Example,
Opening an Employee List Table, around 20 records with 2 columns.
Local : took around 1 second to load.
Over Network : took more than 5 minutes to load.
Anyone here facing the same problem before and any solution that may overcome this ?
Thanks in advance for your help.
I've been working on a similar application recently and I found that hosting DBF files from anything other than a windows server 2003 server showed similar SLOW results as to what you are describing... Something about how that server version serves files(I think it's related to opportunistic locking somehow) allows the client machines to receive the DBF data at a rate closer to what you were seeing at the development stage.
Overall I think doing anything other than allowing an DBF files for import to another type of database type (ie SQL ).. is a waste of time nowadays... DBF files are terrible and as you are learning don't serve well anymore anyway. Go XML or SQL or both! :)

How can I make a SQL database, and use it in VB2010 (having more than 1 computer accessing the database)

The background to my problem is based on distributed computing. I want to have a database with some numbers in them and then a number of computers go through each row calculating another number (a little bit of an over simplification).
The problems I'm having are routed in my poor understanding of SQL servers (I think). I've got Microsoft SQL server 2012 (and 2008) installed on this machine and I've somehow managed to make a server for this task but then the problems arise.
I can't add a table to the server (I'm trying to do this in VS2010). When I expand the server and right click on tables and select add new table i get the following error:
"The server version is not supported. Only servers up to Microsoft SQL Server 2008 are supported."
That stops me making a table and from there I can't move on. I've downloaded and installed the VS2010 SP1 (and re-installed it again when it didn't fix the problem) as I found this suggested for similar issues.
Any help on this would be greatly appreciated. I've read around but nothing seems to work, people suggest using "SQL Management Studio" but I don't seem to have this installed!
Also, I haven't gotten to this step yet, but if this gets fixed any advice/links on how to access the database from a different machine (over the same local network) would be greatly appreciated!
Many thanks,
Fraser
R Harvey gave you the pointer to SSMS - that's the ideal tool to use.
As for other computers accessing your local database - the name of your computer (where MSSQL is installed) is the name of the server in your connection string.

Problem with User /SQL Permissions

Please forgive me if this post is in the wrong place, but as your all the cleverest bunch of guys I know, advice would be appreciated.
Another user in my company wrote [and on another pc], installed the new application [written in vb.net I think - but maybe c#].
He left the company a month a go, and I have now started to get problems [or rather notice them for the first time] - the files were being logged to SQL Server on the network. Now I notice that a month ago the Network SQL Server 2008 has not been logging the data, but in fact it has been accumulating under SQL 2005 on the local machine that the software is installed on, and the temp file is over 100mb big...
I suspect that the IT department froze his account when he left, and this disrupted the SQL access and program network permissions. The Event Viewer seems to support this theory by logging red critical errors that basically say [unable to connect to SQL server etc etc].
The program runs now as a guest [It always ran as a guest]. So I cant see how freezing or deleting his account would affect things.
Do you know how I can fix this without re-installing everything?
Thanks in advance.
Jim.
here's a couple of things to check for starters:
what accounts the SQL services on the machine are running under e.g. http://sql-articles.com/articles/general/sql-server-service-accounts
which account is the application logging in as