I have a problem on a large corporate network, i am trying to open a notes URL that was created when saving a mail draft via notes interop. The returned notes URL appears valid, but we get “Invalid directory name or Device not ready” whenever we try to launch it. This server is firewalled, but i don’t know much more about it nor do i have direct access to it (its another company i’m coding for).
The code works in house, and at many other locations. anyone ran into anything like this? Sorry for being so ambiguous, but i’m limited on what I can discuss.
Thans
Subject: Notes URL not working
Hi JadeThere is not alot to go on here but I understand your situation. When you say notes url is not working does that mean you are trying to access a document via the notes protocol(ie your url looks like notes://servername/database.nsf/view/1222222222) or via http?
It is not a link to a local database correct?
You may also want to start digging through
http://www-10.lotus.com/ldd/nd6forum.nsf/Search?SearchView&Query="device%20n%3Ft%20ready"&SearchOrder=0&Start=1&Count=100
Subject: RE: Notes URL not working
Hello, and thanks for the reply. Yes, this is a notes://servername/… url. If we get the url to the document in the local database after replication, I can paste the local URL in the run box (Start->Run), and the document will open. However, if i try using the URL pointing to the server where the document was saved to, I get the “Invalid directory name or device not ready”
Subject: RE: Notes URL not working
I sent those instructions to the customer to try. We did verify that there were no quotes around the %1 a while back, so if this is a fix for the “%1” issue, that won’t work. But he’s gonna try it anyway. I was about to try it on my machine, but I don’t have an NSF option under file types (my notes works fine though, its the customer who’s having the problem). Also, it’s not just one user, it is their entire network having this issue from what i can tell. I’ll let you know the customers results. Thanks
Subject: RE: Notes URL not working
Ok, the customer just replied to me and they do not have .NSF in their list of file types either. They are able to open local notes URL’s just fine (e.g. notes:///…), but URL’s to the server (e.g. notes:///…) don’t work
Subject: RE: Notes URL not working
Anybody?
Subject: RE: Notes URL not working
Hi Jade
Just in case it helps, I’ve found a solution for my situation.
I notice you tried the quotes around the %1 issue. However, I found that the issue was as follows:
The client is using “Terminal Server” for their desktops. In the registry for each user, the following keys
My Computer\HKEY_CLASSES_ROOT\Notes\DefaultIcon
My Computer\HKEY_CLASSES_ROOT\Notes\Shell\Open\Command
My Computer\HKEY_CURRENT_USER\Software\Classes\Notes\DefaultIcon
My Computer\HKEY_CURRENT_USER\Software\Classes\Notes\Shell\Open\Command
had a path to the notes.exe, followed by a path to the notes.ini file, then the %1:
“C:\lotus\notes\notes.exe” =C:\Documents and Settings\user\Application Data\notes\data\notes.ini %1
The problem seemed to be that the second path had spaces in it which meant that the command was treating them as separate parameters. Putting quotes around the path fixed it (as follows)
“C:\lotus\notes\notes.exe” “=C:\Documents and Settings\user\Application Data\notes\data\notes.ini” %1
Hope that helps you…
Kieran
Subject: RE: Notes URL not working
Hi Jade
I’ve got the exact same problem, except that it works fine for 2 users…
I’ve cross checked the notes.ini files between the working users and non-working ones, and can’t see anything obvious.
I’ll keep looking, but just wanted to see if you’ve have any breakthru’s since yesterday!
Thanks
Kieran
Subject: RE: Notes URL not working
nope
I don’t have direct access to their machines, so I won’t likely be breaking through on my own.