sqldeveloper wont open - oracle11g

I've just installed Oracle 11g express on Windows 10, but I can't seem to launch SQLDeveloper.
i'm double clicking the sqldeveloper but nothing happens, no error , nothing.
sqldeveloper version: 20.2.0.175.1842-x64
I've also tried to run from sqldeveloper/bin/sqldeveloper.exe
and I've tried launching sqldeveloper.exe from the console, but I'm not getting error messages in the console.
how should i check what is the problem?
i have install java and java jdk8u271
this is my set:
ALLUSERSPROFILE=C:\ProgramData
APPDATA=C:\Users\snirbenyosef\AppData\Roaming
CommonProgramFiles=C:\Program Files\Common Files
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
CommonProgramW6432=C:\Program Files\Common Files
COMPUTERNAME=SNIRBENYOSEC8E4
ComSpec=C:\Windows\system32\cmd.exe
DriverData=C:\Windows\System32\Drivers\DriverData
FPS_BROWSER_APP_PROFILE_STRING=Internet Explorer
FPS_BROWSER_USER_PROFILE_STRING=Default
HOMEDRIVE=C:
HOMEPATH=\Users\snirbenyosef
LOCALAPPDATA=C:\Users\snirbenyosef\AppData\Local
LOGONSERVER=\\SNIRBENYOSEC8E4
NUMBER_OF_PROCESSORS=2
OS=Windows_NT
Path=C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\oraclexe\app\oracle\product\11.2.0\server\bin;;C:\Program Files (x86)\Parallels\Parallels Tools\Applications;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Users\snirbenyosef\AppData\Local\Microsoft\WindowsApps;
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE=AMD64
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 142 Stepping 10, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=8e0a
ProgramData=C:\ProgramData
ProgramFiles=C:\Program Files
ProgramFiles(x86)=C:\Program Files (x86)
ProgramW6432=C:\Program Files
PROMPT=$P$G
PSModulePath=C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules
PUBLIC=C:\Users\Public
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\Windows
TEMP=C:\Users\SNIRBE~1\AppData\Local\Temp
TMP=C:\Users\SNIRBE~1\AppData\Local\Temp
USERDOMAIN=SNIRBENYOSEC8E4
USERDOMAIN_ROAMINGPROFILE=SNIRBENYOSEC8E4
USERNAME=snirbenyosef
USERPROFILE=C:\Users\snirbenyosef
windir=C:\Windows

just move the sql developer to desktop of windows and not the linked to mac. solved it.

Related

SQL Error (1049): Unknown database 'unnamed' when copying database files to new server

I am getting an error after copying database files to new server. I copied all of the server files as well. Windows 10 Pro. MariaDB 10.3.10-MariaDB
The Error:
SQL Error (1049): Unknown database ‘unnamed’
I finally figured it out.
I copied ONLY the database folder I needed. (EG: mysql\data\DATABASE)
I copied ibdata1 file ONLY

Can't open lib '/usr/local/lib/libmsodbcsql.13.dylib' : file not found

I am working in python. I am using Macbook for development and OS version is Catalina. I am trying to connect MSSQL Server with pyodbc. I installed SQL Drivers and its dependencies as well. But while connecting I am getting this error.
Exception - ('01000', "[01000] [unixODBC][Driver Manager]Can't open lib '/usr/local/lib/libmsodbcsql.13.dylib' : file not found (0) (SQLDriverConnect)")
I Checked the file path '/usr/local/lib/libmsodbcsql.13.dylib'. Actually file is available there.
Can anyone help me?
Solution:
For 13 version need open ssl v 1.0.0 , you can try it.
brew install
https://github.com/tebelorg/Tump/releases/download/v1.0.0/openssl.rb

Missing component (ACE0DBC.DLL) when I try to use pyodbc in python 3.6

I am using the 32-bit version on python and, although my computer is a 64-bit computer, I have successfully installed pyodbc 32-bit windows version. My Microsoft Access is also the 32 bit version.
When I query pyodbc for drivers, it shows both drivers.
[x for x in pyodbc.drivers() if x.startswith('Microsoft Access Driver')]
yields
['Microsoft Access Driver (*.mdb)', 'Microsoft Access Driver (*.mdb, *.accdb)']
Using examples in other places, I build a connection string "c" as follows
c= (
r'DRIVER={Microsoft Access Driver (*.mdb, *.accdb)};'
r'DBQ=C:\users\815001\Documents\Database6.accdb;'
)
I then try to connect with
cnxn=pyodbc.connect(c)
This results in the following error message:
Traceback (most recent call last):
File "", line 1, in
cnxn=pyodbc.connect(c)
pyodbc.InterfaceError: ('IM003', '[IM003] Specified driver could not be loaded due to system error 126: The specified module could not be found. (Microsoft Access Driver (*.mdb, *.accdb), C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE16\ACEODBC.DLL). (160) (SQLDriverConnect)')
I have checked the location and indeed there is no ACE0DBC.DLL file in C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE 16.
Where do I go to get it? I tried looking up ACE0DBC.DLL in the search engine on this web page and it yielded no results.
You can get Microsoft Access Database Engine 2016 here:
https://www.microsoft.com/en-us/download/confirmation.aspx?id=54920

ubuntu to windows find file path r setwd

So I have an Access database that I am trying to see on a windows server 2008 R2 (server name: WrenLab02); this server has the network discovery on, has the folder shared with that title, and is able to be pinged from the ubuntu computer; however now I want to call the folder that the files are in (which I tested on the server itself and works), but on the Ubuntu it keeps saying file directory not found.
On the Ubuntu computer in R:
FilePath <- file.path("//WrenLab02/Clinical/")
if (file.exists(FilePath)) {
setwd(FilePath)
} else {
dir.create(file.path(FilePath))
setwd(FilePath)
}
I know the path exists; I've tried it from another computer (which worked). Even I tried putting "smb://Wrenlab02/Clinical/" as the file director and still the setwd() cannot set the file path.
Maybe I just don't have the folder properly mapped to the Ubuntu, I tried to mount it and it is logged in and I can look at the files inside the folder and indeed the path says smb://WrenLab02/Clinical/. So I don't know where to go from here.
I figured it out; if anyone else is trying to pull files from a windows machine and you are working on a Lynx or Unbuntu machine this code should help you out.
setwd("/run/user/1000/gvfs/smb-share:server=wrenlab02,share=clinical/")
However now I am trying to use odbcConnect from RODBC package; this will connect me to a database from another server
WrenLIS <- '/run/user/1000/gvfs/smb-share:server=wrenlab01,share=administration/DATABASE/CLINICAL DATABASE/PatientContactDB.accdb'
cns <- odbcConnect(dsn="WrenLIS", uid="nferranti", pwd="H0ckey")
but it wont connect I keep getting an error that says:
Warning messages:
1: In RODBC::odbcDriverConnect("DSN=WrenLIS;UID=nferranti;PWD=H0ckey") : [RODBC] ERROR: state IM002, code 0, message [unixODBC][Driver Manager]Data source name not found, and no default driver specified
2: In RODBC::odbcDriverConnect("DSN=WrenLIS;UID=nferranti;PWD=H0ckey") : ODBC connection failed

RStudio startup error

I am having problems opening RStudio, it worked fine before I got my mouse pad reconfigured. Here goes... When I open the program, it loads but appears blank. The menu tabs appear but do not populate when clicked. I've read a few answers to this one of which involved deleting the 'RStudio-Desktop' within the local files but did not solve the issue. I managed to run the RStudio diagnostic and below is the error message. OS is Windows 7.
I would be grateful if anyone can provide some insight regarding this.
Attempting to launch R session...
R_HOME=C:\PROGRA~1\R\R-33~1.1
PATH=C:\Program Files\R\R-3.3.1\bin\x64;C:\WINDOWS\Orant\product\11.2.0\client
_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\Syste>m
32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\OpenCL SDK\3.0\bin\x86;C
:\Program Files (x86)\Intel\OpenCL SDK\3.0\bin\x64;C:\Program Files\Intel\WiFi\b
in\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files (x86)\M
icrosoft Application Virtualization Client;C:\Program Files (x86)\QuickTime\QTSy
stem\
R session launched, attempting to connect on port 44157...
Connected to R session, attempting to initialize...
13 Oct 2016 16:04:22 [rsession-B859XXXX] ERROR system error 5 (Access is denied)
[path=//mshsrmsapppXXXX/B859XXXX$]; OCCURRED AT: rstudio::core::Error rstudio::
core::FilePath::makeCurrentPath(bool) const C:\Users\Administrator\rstudio\src\c
pp\core\FilePath.cpp:978; LOGGED FROM: int main(int, char* const*) C:\Users\Admi
nistrator\rstudio\src\cpp\session\SessionMain.cpp:3202
QApplication::qAppName: Please instantiate the QApplication object first
C:\Program Files\RStudio>
Thanks,
Mits
Error 5 would suggest that the application is being written to those directories which does not have write privileges.
Make sure those folders have write privileges.
You can also try running RStudio application as Administrator.
To do so, Click on Start -> RStudio ( right click) -> Run as administrator.
I had similar problems installing R and RStudio on Windows 8.1 in C:\Program Files. From Vista, Windows places multiple restrictions on systems folders such as %windir% and %ProgramFiles%.
Uninstall and re-install in a folder where you are not restricted, such as C:\Apps or similar. You should hopefully have no further issues.

Resources