I am trying to use IBM ODBC Driver for Notes/Domino 9.0 with Lotus Notes 9 to access distribution lists. I have successfully added a datasource (referencing a server) in ODBC Manager like so:
I have added the ...\IBM\Notes\ location to my PATH, as well as the driver's location, ...\NotesSQL\ as suggested elsewhere. However when testing the connection using ODBCTest (or other software), the following error occurs:
I suspect this has something to do with not finding the correct notes.ini file (which is mentioned here). I see there are multiple notes.ini files on my filesystem, so I attempted to test each one. I tried appending the location of each of these files to the beginning of PATH in turn, but none of these changes fixed the issue. I also noticed none of the existing notes.ini files are in the ...\IBM\Notes folder with notes.exe where IBM suggests notes.ini lives by default.
How do I:
1) determine which is the correct notes.ini
2) get Notes SQL to recognize that notes.ini, assuming that's the underlying issue.
Check the properties of the desktop/menu shortcut that starts your Notes client. The target should look like this:
"C:\Program Files (x86)\IBM\Notes\notes.exe" "=C:\Some\Path\To\notes.ini"
That should be the correct notes.ini file for your installation.
If you need to re-download the driver you can find the link here:
https://www-01.ibm.com/marketing/iwm/tnd/nochargesearch.jsp?cat=&q0=&pf=&k=ALL&pn=&pid=&rs=&S_TACT=104CBW71&status=Active&S_CMP=&b=&sr=1&q=IBM+ODBC+Driver+for+Notes%2FDomino&ibm-search.x=0&ibm-search.y=0
Related
I've just started to work with Node-webkit, and think it's great.
I've setup a db using the "Web SQL Database" option, mentioned here, and it seems to work well. Much like Sqlite, which I'm a bit familiar with.
From the docs, this is implemented using sqlite, so I'd like to be able to find the actual db file this create on disk and look at it with a Sqlite editor, like sqliteman.
Where is the db file saved to?
I couldn't find it in the docs, or by googling it ;-)
Since node-webkit version 0.6.1, you may retrieve the dataPath from the App object. The WebSQL files will be stored within the databases folder.
Wiki: https://github.com/rogerwang/node-webkit/wiki/App
Get the application's data path in user's directory.
Windows: %LOCALAPPDATA%/;
Linux: ~/.config/;
OSX: ~/Library/Application Support/ where is the field in the manifest.
Example:
require('nw.gui').App.dataPath;
I'm on a mac, and I used the tool Sloth to see the files that are opened by an application... Basically it's a GUI version of the command line lsof (list open files)
It pointed me to the following path:
~/Library/Application Support/YOUR_APP_NAME/databases/file__0/
and the sqlite db file was in there!
i had downloaded the latest version of oracle 11g 64 bit (which is compatible to my system) From oracle Website. while Installing the Oracle into my getting The Following Error.
- java.lang.NullPointerException
what all i did ?
1. Double click on the setup Application File in the Database folder of Oracle 11g
2. i did not give the email details in Condigure Security Updates Pod.
3.In Installation Options i have selectd the Create and Configure a Database Option.
When i click on Next i am getting the Error
![enter image description here][1]
I was having a similar problem (mentioned in another thread I'm still looking for to respond), but it would fail (without notice) when selecting "desktop class" (step 3). We found that there was a problem with the included javaw.exe file, so used the following start line in the command line (from wherever setup.exe is located):
setup -jreLoc c:\PROGRA~1\java\jdk1.6.0_25
(Modify to reflect the location of an alternate JRE, like the one I used above.)
Hopefully this helps. If not, good luck!
Run the setup file as administrator with a user account that does not have an exclamation mark in it.
After downloading both the files , Keep the second file in first file
In my case i copied the file in file2 in to file 1
from
D:....\win64_11gR2_database_2of2\database\stage\Components
to
D:....\win64_11gR2_database_1of2\database\stage\Components
and don't forgot to update Oraparm configuration settings file under install
according to your jre location and version
I've been trying to get this work for two days and tried all suggestions that I could find. Alas, without success, so far.
This is what I'm trying to do: I am building a small (java swing) desktop database application. I'm using Netbeans 7.0 and SQLite, and found the JDBC driver from http://www.xerial.org/trac/Xerial/wiki/SQLiteJDBC to work fine as long as I specify an absolute path in the JDBC URL:
jdbc:sqlite://Users.../lib/db/ithildin.db
Here's how it looks in Netbeans' Services -> Databases tab, using an absolute URL:
opening the connection and then the tables node shows the available tables.
But because I intend to distribute this application to other people, using an absolute path is not going to work. From what I have read here and there it seems to be possible to also specify a relative path to the SQLite database file, but I cannot get it to work whatever I try.
The strange thing is that when I create a connection in Netbeans it initially seems to work when I put both the sqlite jdbc driver jar and the sqlite database file in a /db subdirectory in /lib (in the Netbeans project directory):
and when I open the new connection it maintains that illusion -
but when I open the "Tables" node it turns out to be empty:
Similary, this connection seems valid but as soon as I try to use it - for instance in "Generating Entity Classes From Database" it tells me that there aren't any tables in that database.
Does anyone know a way out of this? I'd much appreciate it.
Lúthien
I've followed the same steps that you have and my findings suggest that the relative path in the New Connection Wizard is relative to NetBeans' working directory which is the directory that NetBeans is installed to.
For example, in your connection string you are "connecting" to a database that resides at <NetBeans-Install-Dir>/ithildin-13-11-11.db. Since this database does not exist, SQLite is creating it for you which is giving you the "illusion" that you are seeing. In my tests, the database that I was trying to connect to with a relative path was created in the NetBeans install directory.
In other words, everything is working as designed.
In your code you can use a relative path and it should be relative to the top of your project's directory. In NetBeans' Databases Service you will need to either use an absolute path to connect to the database that exists (in your project) or you will need to provide a relative path that begins at NetBeans' install directory.
My suggestion is that you use a relative path in your code and an absolute path in the New Connection Wizard.
I installed Oracle JDeveloper 11g (11.1.1.4.0). I also installed IBM Websphere 7.0.0.15 without any profile as suggested in the documentation. Next I wanted to install Oracle Fusion Middleware 11g. But during installation, I was asked Application Server Location for which I gave
C:\Program
Files\IBM\SDP\runtimes\base_v7
When I click next, I am getting this error
INST-07004: Application Server
Location location contains one or more
invalid characters. The directory name
may only contain alphanumeric,
underscore(_), hyphen(-), or dot(.)
characters, and it must begin with an
alphanumeric charater. Provide a
different directory name.
Server location is proper and link specified satisfies condition. I dont understand why I am getting that error. If it is because of : in the location, how else do I specify the path ? Any solution to this ?
Provide a path which does not contain spaces
The issue was that I was using WAS Test Environment. After I tried with standalone WAS, it succeeded but I am not able to configure after install. The changes are not being saved to WAS.
I am getting a strange issue where I seem to have read access, because I can
1. Get a list of files from a directory (Directory.GetFiles())
2. Load an XML document using XmlDocument instance's Load() method
But I can't use File.ReadAllText() to load a text file into memory. Gives me an System.UnauthorizedAccessException. I am not even trying to read from a network directory, just a local one. I've also used System.Security.Principal.WindowsIdentity.GetCurrent().Name to check the working user which is [CompanyDomain]/[MyUserName] and this user has full access to the directory I am using. I've also checked that the directory actually exists.
My environment
1. Windows Server 2003 Standard Edition
2. Visual Studio 2008
3. Just using the built in web server that launches every time i run the project.
Note: I couldn't find the IUSR_MACHINENAME user on this machine.
Any idea what steps I should take next?
Cheers,
James
One thing to assert:
the file that can be Xml Load()-ed is the very same file that cannot be ReadAlText()-ed ?
When things get odd like this, I found that turning auditing on, at the level of the directory or even of the file, often ends up pointing me towards a proper diagnostic and hence resolving the issue.
Also: In looking online reference for ReadAllText() I noted that (oddly, I think), this exception can be caused by:
path specified a file that is read-only.
Not sure why write access should be sought by this apparent read-only operation, but, maybe just try to make the file r/w-able.
http://msdn.microsoft.com/en-us/library/72wdk8cc%28VS.71%29.aspx
<identity impersonate="true" />