« Running Teamstudio tools outside the Notes Client | Main| Running agents in Build Manger; Advanced Features »

CIAO make version not working?


Bookmark : del.icio.us  Technorati  Digg This  Add To Furl  Add To YahooMyWeb  Add To Reddit  Add To NewsVine 


While running the make version in CIAO you get the following error: You are not authorized to perform that operation.
This will aid in troubleshooting the error (  read more...)

This document will show you how to find hidden design elements causing issues making a version in CIAO

In my example db I have 4 views. I have hidden one based on a role named “Hide”
I do not have that role so I only see three views. Now, for this exercise, assume you don’t know about the hidden design element.

A picture named M2

While running the make version in CIAO you get the following error:

A picture named M3

Followed by

A picture named M4

Discovering the hidden design element can be challenging, but it is possible. To discover a design element you cannot access you should perform the following steps:
1.        Enable Client Debugging,
2.        Put the following in your Notes client’s notes.ini
a.        Console_LogLevel=2
b.        LOG_SESSIONS=1
c.        LOG_CONNECTIONS=1
d.        TCP_DEBUG_ALL=1
e.        CLIENT_CLOCK=1
f.        CONSOLE_LOG_ENABLED=1
g.        DEBUG_CONSOLE=1
3.        Restart your Notes client.
4.        You will see a console window open up with your Note Client. Run your make version step with this window open.
5.        When you get the error referenced above look at the logging console. It should contain data similar to this:

A picture named M5

6.        The line ending with “(You are not authorized to perform that operation)” indicates the offending (i.e. hidden) design element, and the element is identified by its NOTE_ID.

Now that you know the NOTE_ID of the hidden design element, how do you find and obtain access to it? The instructions for accomplishing this are as follows:

NOTE: Before beginning these next steps, you’ll need to work with someone who has been granted “Full Access Admin” rights, or you need to work with your Domino Administrator and obtain these rights for yourself.

You will also need to obtain a small, free tool known as Notespeek. Notespeek allows you to look at the “insides” of a Notes database – think of it as a “code x-ray” for Notes. You can obtain a copy of Notespeek from here:
http://www-01.ibm.com/support/docview.wss?uid=swg24005686

1.        Click on the top left corner of the log window and chose edit/mark:

A picture named M6

2.        Highlight the NOTEID contained on the error line and choose Edit/Copy. The NoteID begins with the letters “NT”, as shown below:

A picture named M7

3.        Open Notespeek and navigate to the problem database:

A picture named M8

4.        Choose Data/Open Note…

A picture named M9

5.        Enter in the NOTEID you copied from the previous step, and click ok:

A picture named M10

6.        You now see it found view 3, which is the “hidden” view. Look at the entry for the $Readers item and you will find the listing (“[Hide]”) causing the issue.


A picture named M11


Now that you know the role needed to access the hidden element, you can have your name added to this role in the database’s Access Control List (ACL). Once you’re in the [Hide] role for this database, you’ll be able to access the design element, and the publish action should work as well.

Comments

Gravatar Image1 - Good stuff.

I once twigged that it was a hidden view and happen to know the developer who would have created it but this ini settings would have saved a lot of work if you don't know who did what.Emoticon

Post A Comment

:-D:-o:-p:-x:-(:-):-\:angry::cool::cry::emb::grin::huh::laugh::lips::rolleyes:;-)