Just downloaded oracle 21c, and am setting it up on my desktop. When I select the "option create and configure a single instance database" it gives me the error;
"[INS-32922] The detected Oracle home location C:\Users\asutt\Downloads\WINDOWS.X64_213000_db_home (1) is invalid since it contains spaces."
What are spaces in this context and how do I remove them?
Thanks for any help
C:\Users\asutt\Downloads\WINDOWS.X64_213000_db_home (1)
-
^
this is a space
What to do? It looks as if you downloaded the same file twice; one of them had the original name, while another - so that it wouldn't overwrite previous version - has (1) in its name.
I suggest you delete both and start over, possibly in a new location.
Or, you could rename it and add underline (e.g. home_(1) but I hate to see parenthesis when working with Oracle. Personally, I install my Oracle software into C:\Oracle.
Related
I've used the script from this thread: Run exe after msi installation? respectively this site: Mailbag: How can I customize an MSI in the Visual Studio setup/deployment project?
The checkbox on the finished dialog shows up but my application doesn't start after pressing finish. Nothing happens.
I've tried different lines:
sql = "INSERT INTO `CustomAction` (`Action`, `Type`, `Source`, `Target`) VALUES ('VSDCA_Launch', '210', '" + fileId + "', '')";
or
sql = "INSERT INTO `CustomAction` (`Action`, `Type`, `Source`, `Target`) VALUES ('VSDCA_Launch', '226', 'TARGETDIR', 'MyProgram.exe')";
Any ideas or is it possible to debug the script or write a log with further informations to find out what exactly doesn't work? The application need administrator rights. Does this matter?
Formatted: The fact that notepad.exe works probably means that you need a full path (notepad.exe is in the system path and can
hence be invoked without a path, other binaries need full path).
Did you try to do [#filekey] as in [#MyProgram.exe] as
value in the Target field? The reference must match a File table
entry. So look in the first column of the File table to
determine what the file identifier is, and use that in the Target
field.
Check out the documentation for Formatted.
WiX?: By the way, is it an option to migrate to WiX? Not to annoy you, but there are some major problems with Visual Studio
Projects for long term
use. Maybe give it a quick skim.
File Table:
Shortcut Table:
Leaving original answer below:
Quick Test: Maybe first check this: What VSDCA_Launch mean in Custom Action script
Logging: Have you enabled logging to determine what is going on? Please check the Logging section in this answer for a quick "how to".
Dry Run: I suppose you could slipstream notepad.exe in there instead of your own executable to see if it launches OK when admin rights are not required. All you need is a test build and a test run.
Incomplete: I am betting you have forgotten something when post processing the MSI though. My guess is a simple formatting issues such as described by the post linked above.
I have a very basic PostgreSql table. Despite the simple table schema, I cannot query it via PgAdmin4.
The View Data option is unresponsive; Query Tool option becomes unresponsive after a few attempts in opening and closing the panel. When the Query Tool is eventually (somehow) launched, a trivial SQL statement like
SELECT * FROM test_table
will spin forever and never display.
The diagram above shows the exact same table, which is okay under PgAdmin3.
The table was created empty. Then added with a row. But it threw errors about not having a Primary Key. Which also threw errors when I tried to set a Primary Key. So I used TeamPostgreSql to set a Primary Key. So all is good under PgAdmin3 now. Hence I'm really curious about what's going on with PgAdmin4?
I'm running pgAdmin4 v3.0 and I've put localhost as host name.
I mean, left panel > servers > create > server and then connection tab > host name
I could not query tables, clicking on view/edit data > all rows had no results (nor error log entries).
After I changed server name from localhost to 127.0.0.1, all worked as expected!
I hope it helps, because I've lost so much time on this and could not find a proper answer.
I find a way to view query result on Data Output window using the "Reset Layout" command from File menu. Save your current work (query) before as it will kind of restart pgAdmin4. Tested with pgAdmin 2.1
1) First delete the log file to get rid of older logs
2) Start pgAdmin4.
3) Try to view data again
Can you check log file for any errors & paste it here?
Linux log location: ~/.pgadmin/pgadmin4.log
Windows log location:
C:\Users\YOUR_USERNAME\AppData\Roaming\pgAdmin\pgadmin4.log
Try naming your columns with lower case letters.
Or try with a blank query and write the SQL commands manually:
SELECT * FROM “test_table”
ORDER BY “Apple” ASC
I think this is a bug. The command the pgAdmin 4 is sending, does not contain the double quotes in the order command on the column name, and if you have upper case letters, SQL is going to convert them to lower case letters, thus not finding the sorting criteria.
I had a similar problem.
For me the Query Tool did render, however I could not see the Query Tool until after I expanded the view.
Then even after expanding I was not able to see the result of the query until I ran ( File -> Reset Layout ) as Guillaume Raymond suggest.
Before Expand
After Expand
After Running Reset Layout
I fixed this by opening the connection, changing just the connection name and saving the connection.
Based on other comments, I'd say there is likely some difference in the persisted format of the connection and they need to be resaved by the new version to work.
Warning: You may need to recreate connections.
This worked for me.
1.) Shutdown pgadmin4 3.1
2.) Delete folder: C:\Users\YOUR_USERNAME\AppData\Roaming\pgAdmin
Faced a similar issue where the problem was caused by Firefox, pgADmin 4. Launching pgAdmin in Chrome solved the issue.
This problem I experienced with the internet explorer browser where the query tool was not loading at all. It just kept on spinning with a circle. I solved this issue by using chrome browser.
When you launch pgadmin4 it launches in internet explorer by deafult. it has a key attached to it like
http://127.0.0.1:57756/?key=0371aabd-b4c7-4454-8234-b1234416d7e5e.
you can just paste the above url in the browser directly and the pgadmin4 will open
and query tool works in it. Or you cna use cmd and paste the belwo command and pgadmin4 will open as a standlone application rather tahn another tab in the browser and you cna use it like old pgadmin3.
C:\windows\system32>"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --app=http://127.0.0.1:57756/?key=0371aabd-b4c7-4454-8234-b1234416d7e5e
I had the same problem (version 4.18). Only the following worked for me:
Create a new server group (!) by right-clicking on "servers" in the left-hand navigation.
In this new group I created the desired connection to the database (with host name 127.0.0.1)
After that I could finally work with it
You can remove pgadmin4, then reinstall it. It worked for me. I used Ubuntu 18.04.
Here is my command on terminal:
sudo apt autoremove pgadmin4
sudo apt install pgadmin4 pgadmin4-apache2 -y
When one googles something like this it pops out that one needs to change either JDEV_USER_DIR or set ide.user.dir parameter in Oracle_Home\jdeveloper\ide\bin\ide.boot file, but this is explicitly wrong. Changing ide.user.dir parameter relocates files where JDeveloper saves its parameters, not default folder for my projects. So, can someone give me the correct answer how do I replace the default folder for my projects (that is after installing JDeveloper)?
jdeveloper.exe -J-Dide.user.dir=C:\myWork
The first step in the wizard for application creation lets you choose where to place the application. I believe that after you set this for one application the next ones will follow along to the same directory by default.
According to the first link I found, http://www.catgovind.com/jdeveloper/where-is-jdeveloper-user-home-directory-in-windows/ and the explanation on https://tompeez.wordpress.com/2011/08/13/how-to-find-and-reset-the-system11-x-x-x-folder-for-a-jdeveloper-installation/ the way to set the working directory is to set the environment variable JDEV_USER_HOME. I set it to the value: %USERPROFILE%\Documents\JDeveloper
The proper answer here: https://agungor.wordpress.com/2012/12/06/how-to-change-default-open-application-folder-of-jdeveloper/
Just navigate to C:\Users....\AppData\Roaming\JDeveloper\system11.1.1.6.38.62.29\o.jdeveloper\applications.xml and change workDirectory attribute
I am using a Visual Studio 2013 Installer Project to install/update my C++ app. In order to update the client database I am installing the new master database under a temporary name. When my app starts it checks to see if the temp file is there - if present it runs the db update function and removes the temporary when done. The problem - when my app is then started, the user gets "Windows is configuring ... " because the temp database file that was installed is now missing. There is no property to control this in the VS installer project. In Orca I have found the row in the FeatureComponents table that sets DefaultFeature for this file. The event list tells me it is DefaultFeature on this file that triggers the behaviour. If I remove that table row in Orca, the file doesn't get installed. Does anyone know the correct method for me to use to install a file that I can subsequently delete without any consequence?
The official way to do this has no support in VS setup projects. You need to set the component id to null for the file you are going to remove after the install, see the ComponentId column:
https://msdn.microsoft.com/en-us/library/aa368007(v=vs.85).aspx
so you'd need to edit the MSI file with Orca to set that guid column to empty for that file. If you look at the Component column (starts with C_) you'll see that in the Component_ column of the file table, that should help you you find it.
Other methods are unreliable (because, for example, there are other ways a repair can start and attempt to restore the file).
I am getting this error while installing oracle 11g enterprise edition on windows 7 professional 64 bit. I checked the registry as some people have mention but the correct thing is already there. If try starting the service from Services.msc it says the service wss not found also
I ran into this same issue and this solved it:
When you get the error pop-up, leave it opened, open regedit and modify the ImagePath in the following key to point to the proper location:
computer\hkey_local_machine\system\controlset001\service\OracleMTSRecoveryService
The proper location may be something like this:
C:\app\myaccount\product\11.2.0\dbhome_1\bin\omtsreco.exe
All credit to:
http://yuanmengblog.blogspot.com/2011/08/oracle-standard-db-install-issue-with.html
The oracle download was split into two parts.
If you tried to install with only one part it will show many bugs and after installation oracle won't work.
Download two parts of oracle from the official site and extract in same place. The files will merge automatically into the same folder.
Now install the oracle. If you already installed the oracle once. It should taken some path like below.
In my system it took "E:\app\INDP\product\11.2.0\dbhome_1..."
If you are installing second time installation will take path, "E:\app\INDP\product\11.2.0\dbhome_2..."
Now the above erorr will come because of registry.
So, now yo need to edit the registry value like below.
ctrl+R will bring the run window. Type regedit and press ok
Then Under Computer, select HKEY_LOCAL_MACHINE -> SYSTEM ->ControlSet001-> Services -> OracleMTSRecoveryService.
Double click on ImagePath. It will prompt a window with old path or with wrong path under value data.
Now, you need to edit it with your curent path like below.
E:\app\INDP\product\11.2.0\dbhome_2\bin\omtsreco.exe OracleMTSRecoveryService
Now press "retry" button of the window, which shown that error. Now, it will work like charm.