DOORS URL in Word

Using DOORS v9.2.0.1 and Office-2007, I am unable to do the following: Select a DOORS folder, properties, and copy-URL. Open Word, Insert a Hyperlink, paste the URL. When I cntl-Click on the Hyperlink, I get errors:


-- DOORS URL handler -- Unable to open DOORS URL. Invalid URL: unsupported URL version (You must have access to an authenticated DOORS session in order to open a DOORS URL.)

Hyperlink text looks like this:
doors://123.45.678.890:36677/?version=2&prodID=0&urn=urn:telelogic::1-0000000000000000-F-0001bb60

Thoughts?

  • Louie

llandale - Wed May 12 12:02:42 EDT 2010

Re: DOORS URL in Word
Craig_Cordrey - Wed May 12 12:15:55 EDT 2010

Louie,

A problem limited to Word 2007, perhaps? I am able to do what you describe using v9.2.0.2 with Word 2003.

We use Citrix to access DOORS, but as long as I use the Word also hosted via Citrix I can follow a link whether or not a DOORS instance is running. Are your Word and DOORS applications running in the same 'environment'?

Re: DOORS URL in Word
llandale - Wed May 12 13:30:47 EDT 2010

Craig_Cordrey - Wed May 12 12:15:55 EDT 2010
Louie,

A problem limited to Word 2007, perhaps? I am able to do what you describe using v9.2.0.2 with Word 2003.

We use Citrix to access DOORS, but as long as I use the Word also hosted via Citrix I can follow a link whether or not a DOORS instance is running. Are your Word and DOORS applications running in the same 'environment'?

Same environment. Could you perhaps copy the text of the Hyperlink and post it?

Re: DOORS URL in Word
kbmurphy - Wed May 12 15:44:36 EDT 2010

llandale - Wed May 12 13:30:47 EDT 2010
Same environment. Could you perhaps copy the text of the Hyperlink and post it?

Louie,
What happens when you navigate the URL some other way (like in Windows Explorer)?

Re: DOORS URL in Word
Craig_Cordrey - Thu May 13 03:51:12 EDT 2010

llandale - Wed May 12 13:30:47 EDT 2010
Same environment. Could you perhaps copy the text of the Hyperlink and post it?

My URL is of the form

doors://server.name:36677/?version=2&prodID=0&view=00000009&urn=urn:telelogic::1-459d379e5c8b3a49-M-0003ed02

This URL has a server name rather than an IP address, and includes a view number - we default to something other than Standard View - but otherwise looks the same.

I get this in Word by selecting Insert -> Hyperlink and pasting the URL into the Address line.

Re: DOORS URL in Word
kierant - Thu May 13 05:39:26 EDT 2010

Hi Louie - Do you have Doors Web Access installed too? It introduced a 'Redirector service' allowing users to be directed to DWA/browser instead of Doors client from URLs (according to install guide, the client should still be the default if not configured).
However, that came in DWA 1.3, which requires Doors 9.2.0.2 and you say you're still on 9.2.0.1 so this may not be relevant.

Kieran

Re: DOORS URL in Word
llandale - Thu May 13 16:01:23 EDT 2010

This format, generated by DOORS v8.1, works:

doors:
//123.45.678.890:36677/?version=1,prodID=0,dbid=0000000000000000,container=0001bb60

The format is the same for selected Folders and Modules. When you hyperlink to the module it opens it.

During a phone meeting, when there was nothing else to do, I wrote a dxl-ette to read the selected folder/module/object and copy the URL in v8.1 format, if its in v9.1 format.

  • Louie

Having some trouble with the hyperlinks associated with having multiple DOORS versions intalled. Problems go away when I open a SINGLE DOORS session of the requisite version, before attempting hyperlinking to it.

Re: DOORS URL in Word
SudarshanRao - Fri May 14 04:14:24 EDT 2010

I think it depends on the version of DOORS protocolhandler being registered. There are situations when protocol handler is not registered correctly if you install with a non-Administrator account.
This is where you can see what version is registered:
HKEY_CLASSES_ROOT\doors\shell\open\command

If 9.2 is registered, then the value should be:
C:\Program Files\IBM\Rational\DOORS\9.2\bin\protocolhandler.exe -r 120 -url %1

Hope it helps..

Cheers,
Sudarshan

Re: DOORS URL in Word
llandale - Fri May 14 13:24:52 EDT 2010

SudarshanRao - Fri May 14 04:14:24 EDT 2010
I think it depends on the version of DOORS protocolhandler being registered. There are situations when protocol handler is not registered correctly if you install with a non-Administrator account.
This is where you can see what version is registered:
HKEY_CLASSES_ROOT\doors\shell\open\command

If 9.2 is registered, then the value should be:
C:\Program Files\IBM\Rational\DOORS\9.2\bin\protocolhandler.exe -r 120 -url %1

Hope it helps..

Cheers,
Sudarshan

The Registry is actually pointing to my v8.1 handler. But when I rename that and copy the v9.1 ProtocolHandler.exe into the v8.1 spot, it still doesn't work. Same when I reboot. When I remove it such that there is no such file at all, I get the same error. So, it appears the error is before the task gets to the ProtocolHandler.exe file.

  • Louie

Re: DOORS URL in Word
SystemAdmin - Mon May 17 15:55:09 EDT 2010

llandale - Fri May 14 13:24:52 EDT 2010
The Registry is actually pointing to my v8.1 handler. But when I rename that and copy the v9.1 ProtocolHandler.exe into the v8.1 spot, it still doesn't work. Same when I reboot. When I remove it such that there is no such file at all, I get the same error. So, it appears the error is before the task gets to the ProtocolHandler.exe file.

  • Louie

Louie,

You are logged into your DOORS session prior to trying to connect via the word doc hyperlink...just sayin....

hmmmnnn....

gsdguy

Re: DOORS URL in Word
SystemAdmin - Mon May 17 15:58:44 EDT 2010

SystemAdmin - Mon May 17 15:55:09 EDT 2010
Louie,

You are logged into your DOORS session prior to trying to connect via the word doc hyperlink...just sayin....

hmmmnnn....

gsdguy

Louie,

I just tried it on a simple DOORS training module url,
copie and pasted the url and turned it into a hyperlink in a word document works ok in DOORS v9.1.0.3 client with Word 2007....

gsdguy

Re: DOORS URL in Word
SystemAdmin - Mon May 17 16:02:56 EDT 2010

SystemAdmin - Mon May 17 15:58:44 EDT 2010
Louie,

I just tried it on a simple DOORS training module url,
copie and pasted the url and turned it into a hyperlink in a word document works ok in DOORS v9.1.0.3 client with Word 2007....

gsdguy

Louie,

well...even if i am not logged into DOORS, it starts up DOORS and waits for me to log in as if normally starting DOORS, then it opens the module...pretty slick.
Not that we export everything into Word and use the requirements that way, but nice to know it is an option.

gsdguy

Re: DOORS URL in Word
SystemAdmin - Thu May 27 09:18:42 EDT 2010

llandale - Fri May 14 13:24:52 EDT 2010
The Registry is actually pointing to my v8.1 handler. But when I rename that and copy the v9.1 ProtocolHandler.exe into the v8.1 spot, it still doesn't work. Same when I reboot. When I remove it such that there is no such file at all, I get the same error. So, it appears the error is before the task gets to the ProtocolHandler.exe file.

  • Louie

Hi,

i had the same issue after change from 8.2 to 9.2.
I think the problem was, that we first installed 9.2 and then uninstalled 8.2.
The registry item for protocolhandler was deleted.
Just create a new one

HKEY_CLASSES_ROOT\doors
@="URL:DOORS protocol"
"URL Protocol"=""

HKEY_CLASSES_ROOT\doors\Default Icon
@="C:\\Program Files\\IBM\\Rational\\Doors\\bin\\protocolhandler.exe"

HKEY_CLASSES_ROOT\doors\shell

HKEY_CLASSES_ROOT\doors\shell\open

HKEY_CLASSES_ROOT\doors\shell\open\command
@="C:\\Program Files\\IBM\\Rational\\Doors\\bin\\protocolhandler.exe -r 120 -url %1"

or install attachment, hope that helps
Attachments

attachment_14471222_DOORS_9_2_regkey_protocolhandler.reg