Error while opening DBeaver for Mac: You can’t open the application “DBeaver” because it is not supported on this type of Mac - database

I have two accounts on my mac and Dbeaver only works on one account at the same time. In the another account, i get the following message "You can’t open the application “DBeaver” because it is not supported on this type of Mac."

this has worked for me.
Uninstalling the broken instance, and re-installing it with brew has worked for me for some reason. It also restored my old connections.
brew reinstall --cask dbeaver-community

I'm not much of a Mac user myself however I'm aware that running something like SQL LocalDB/Express on Windows concurrently between two accounts isn't possible either.I believe it has something to do with the pre-existing instance you've launched on the other account. I'm going to assume it works swell on one account at a time?

System Preferences-->Security & Privacy-->General, set 'Allow Apps etc' to 'Anywhere'
This helps me.

Related

SSMS 18.6 crashes on startup

Running SSMS 18.6 causes the program to launch, hang, and then crash. There is no error message given, the program simply terminates before any action is taken and nothing is connected.
I've uninstalled and deleted all files for SSMS, Visual Studio, and SQL Complete.
I tried the 18.6 and 18.5.1 versions of SSMS to no avail.
From https://dba.stackexchange.com/questions/237086/sql-server-management-studio-18-wont-open-only-splash-screen-pops-up/237087#237087 :
I have tried copying the Interop.8.0.dll file from privateassemblies into public. No effect. The line in the config file mentioned here is already commented out in the recent release of SSMS.
From Sql Server Management Studio closes immediately after startup :
I have tried renaming or deleting the package file listed here and removed the relevant registry key. This causes SSMS not to open at all and Windows to issue an alert sound. No other effect.
From https://social.msdn.microsoft.com/Forums/silverlight/en-US/9d0e2459-eb74-46e8-a983-05ae2ba18977/ssms-crashes-on-startup?forum=sqltools :
I tried to repair .NET framework. No effect.
I was only able to install and successfully connect on SSMS version 17.9.1
I can provide Event Viewer details if anyone is willing to help me troubleshoot. I have a .NET Runtime error and two application errors- one is event name CLR20r3 and the other is APPCRASH. Happy to provide more information if needed.
While I can't speak to the exact reason it happened, I found a solution. Whatever the issue was, I discovered it was user specific and limited to my machine. Other users were able to access SSMS as normal on my machine as was I on theirs.
I happened to remember that the AppData folder exists and is just hidden, so I used an administrator account to copy that from a working user and rewrite the files in both of mine that were not used in some background process. This allowed me to once again access SSMS both as my regular user and with my elevated administrator account.
I had this same issue (it happened all of a sudden perhaps due to a windows update). I also tried all the other solutions listed above, but the only thing that worked for me was to uninstall and then reinstall version 7.9.1 like the original poster recommended.
In my case I only have 1 user on the computer, so the other user accounts being able to access was not applicable.

pgAdmin 4 opens but clicking on server won't show anything (not even error)

I am on MacBook Pro (late 2015). I have a fresh install on macOS Catalina 10.15.2.
I have PostgreSQL 12 which is running with no issues.
Running which psql gives me the correct path: /Applications/Postgres.app/Contents/Versions/latest/bin/psql
I can run psql commands with no issues (create user for example).
I have installed pgAdmin 4 (version 4.16). The installation went well with no issues. pgAdmin 4 will open with no issues BUT clicking the server section instead of opening all the users, groups and databases seem to freeze the process (in other words it won't show any).
I have tried to reinstall, restart numerous times. I have downgraded to 4.12 thinking there might be an issue having the latest version. I am getting, however, the same result. I have tried to Google out but haven't seen anyone experiencing a similar issue. Thank you for all your help with this.
Weirdly I managed to resolve this by chance. Out of desperation, I clicked on Object => Create => Server Group and I have named it Postgres. Clicking again on the Servers in the sidebar opened all the usual databases, Login/Group Roles. If anyone knows why I had to do this and how come it did not work as usual I will be grateful.

Need assistance with SQL 2017 Installation Errors

I get the error in the attachment during SQL Server 2017 installation. I would like some assistance please.
Look at the Pinal Dave post. It looks like he describes similar issue https://blog.sqlauthority.com/2016/03/07/sql-server-setup-closed-exit-code-0x80004005/
All I can see is that there is something wrong with .NET security. I
asked my .NET expert friend to know if there is any tool to reset the
permission? He told CASPOL.EXE can be used to reset the policies.
Caspol.exe (Code Access Security Policy Tool)
So, we went into following directory
“C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727” and ran this
command: – caspol.exe -machine -reset
C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727>caspol.exe -machine
-reset
If it would have been a 32-bit machine, we would have run the same
command under “C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727” folder.
After doing above, the setup was able to start and finish as well.
Have you simply tried fully uninstalling and reinstalling? Including the .net frameworks? Usually, if you completely remove everything that is related in some way to SQL and reinstall, it should complete successfully.

xampp apache wont start after oracle db 10g is installed. how to fix?

I've been doing php before but as usual,I used mysql as a database. So everything seems easy when using xampp.
Now, for some reason I am required to use Oracle as the database but after installing Oracle database 10g on my pc, I can't seem to start apache from the control panel at all! When I press start,instead of it being started it goes back to the stopped state. I tried making it a service and starting it from, it pops out an error.
What is making this conflict, I can use IIS to do this but I prefer xampp so I'm eager to make this thing work.
Does anyone know whats the conflict? Is it the port?
I know how to configure the oracle extension and all with php to get it to work, but I am just confused why apache can't be started when oracle db 10g is installed.
Hope someone can help me out.
I just had this problem with startup.pl not starting (according to the log files), so I went into xampp\apache\conf\httpd.conf and editted out this include line by putting a hash (or pound as it is called in the states) (#) in front of it:
Perl settings
Include "conf/extra/httpd-perl.conf"
it seems to work now and I have now got oracle and apache working on my machine.
Im not sure if there will be any problems later on because of removing the line, but I don't think I need to use anything perl related so hopefully it will be fine
Sounds like platform is Windows. Oracle has the habit to alter the PATH setting, system wide. There is also an Apache installation in the Oracle installation. Maybe you can tweak the Apache service to use the Oracle Apache installation. Otherwise, make sure that your Apache start service does not have ORACLE_HOME or sub-directories of ORACLE_HOME/bin in the PATH. The services that Oracle installs normally are not on the standard ports so it's not very likely that it is a port conflict.

How to: Configure IIS7 for Web Synchronization

I have followed the instructions here.
To cut a long story short, I just cannot connect to:
https://machine/site/virtual directory/replisapi.dll?diag
I get:
HTTP Error 500.0 - Internal Server Error
Module IsapiModule
Notification ExecuteRequestHandler
Handler ISAPI-dll
Error Code 0x800700c1
Requested URL https://machine:443/site/virtual directory/replisapi.dll
Physical Path C:\inetpub\SQLReplication\replisapi.dll
Logon Method Basic
Logon User machine\user
When browsing to the DLL it does ask for my username and password then shows this error.
We're using a self signed certificate as this is just for testing.
I'm not really a server person so don't know what is going on? There's nothing in the event logs.
Does anyone have any bright ideas of things I could try?
P.S.
I also ran the wizard through SQL 2008 R2 which said it was successful (the wizard only works with IIS6) could there be a conflict between IIS6 and 7 now I have tried to set it up on both?
Ok, this was me being dumb.
After I retraced my steps backwards and unregistered replisapi.dll and moved into a backup directory.
I then removed my module mappings from IIS7.
I then ran the SQL wizard again, which copied replisapi.dll back to the directory.
I noticed it was a different size to the one I was using.
This was because I had got it from "Program Files" but being a 64bit machine the wizard got it from "Program Files(x86)" and now it works.
How simple yet frustrating!
I had to install the 32bit version of the DLL for this to work
I solved this (IIS8 and sql server 2008 x64) by entering ApplicationPool advanced settings and changing "Enable 32-bit Applications" to "True".
Hope this helps. This topic (web sync) is really bad documented

Resources