home *** CD-ROM | disk | FTP | other *** search
/ Borland Programmer's Resource / Borland_Programmers_Resource_CD_1995.iso / info / ntkb / ntkb.exe / Q103 / 1 / 25.TXT < prev    next >
Encoding:
Text File  |  1993-11-16  |  4.1 KB  |  112 lines

  1. DOCUMENT:Q103125  04-NOV-1993  [W_NT]
  2. TITLE   :Cannot Access Clipbook Pages Created on Local Computer
  3. PRODUCT :Windows NT
  4. PROD/VER:3.10
  5. OPER/SYS:WINDOWS
  6. KEYWORDS:buglist
  7.  
  8. ----------------------------------------------------------------------
  9. The information in this article applies to:
  10.  
  11.  - Microsoft Windows NT operating system, version 3.1
  12.  - Microsoft Windows NT Advanced Server, version 3.1
  13. ----------------------------------------------------------------------
  14.  
  15. WARNING: Using Registry Editor incorrectly can cause
  16.      serious, system-wide problems that may require you to
  17.      reinstall Windows NT to correct them. Microsoft cannot
  18.      guarantee that any problems resulting from the use of
  19.      Registry Editor can be solved. Use this tool at your own
  20.      risk.
  21.  
  22.  
  23. SYMPTOMS
  24. ========
  25.  
  26. You cannot access Clipbook pages that were created on the computer to
  27. which you are logged on unless you created them. If you try to copy a
  28. page, a message is displayed telling you that the computer storing the
  29. page cannot be connected to.
  30.  
  31. CAUSE
  32. =====
  33.  
  34. When you create a Clipbook page, the default security applied to the
  35. page is Full Control for the Creator or Owner (you) and Read And Link
  36. for Everyone. If you share a page on the network, these permissions
  37. are preserved, making the page accessible for reading and linking to
  38. anyone who can connect to the sharing computer. However, even though
  39. the page grants permissions to Everyone, only the Creator or Owner of
  40. the page can access it locally. This is because the page is not
  41. trusted by any other users. This is because each Network DDE share (a
  42. Clipbook page for example) requires the currently logged-on user to
  43. trust it before it can be accessed by even that user.
  44.  
  45. RESOLUTION
  46. ==========
  47.  
  48. To work around this problem, you can establish the Clipbook page as a
  49. trusted share. To do so, you need to modify the Registry:
  50.  
  51. NOTE: You can also call the AddTrustedShare API from a program.
  52.  
  53.  
  54. 1. Log on to the computer with the shared Clipbook page using an
  55.    account that has administrative privileges.
  56.  
  57. 2. Start Registry Editor (REGEDT32.EXE).
  58.  
  59. 3. Go to
  60.  
  61.       HKEY_LOCAL_MACHINE\Software\Microsoft\NetDDE\DDE Shares
  62.  
  63.    and note the SerialNumber and ShareDBInstance values.
  64.  
  65. 4. Go deeper by choosing DDE Shares and note the name of the ShareName
  66.    value in the CLPBK$ key.
  67.  
  68. 5. Log off. Log on to your usual user account. Start Registry Editor
  69.    again.
  70.  
  71. 6. Go to the following subkey
  72.  
  73.       HKEY_CURRENT_USER\Software\Microsoft\NetDDE
  74.       \DDE Trusted Shares\DDEDBixxxxxx
  75.  
  76.    where xxxxxx is the ShareDBInstance under the key referenced in
  77.    Step 3.
  78.  
  79. 7. From the Edit menu, choose Add Key. Enter the name found in Step 3.
  80.  
  81. 8. From the Edit menu, choose Add Value for each of the following
  82.    values and enter the appropriate information:
  83.  
  84.       Name           Data Type    Value
  85.    ---------------------------------------------------------------
  86.       InitAllowed    REG_DWORD    0x1
  87.       SerialNumber   REG_BINARY   <serial number from Step 4>
  88.       StartApp       REG_DWORD    0x0
  89.  
  90. NOTE: Any changes to the shared Clipbook page result in the serial
  91. number in Step 4 changing. If this happens, you need to update the
  92. SerialNumber value in Step 8.
  93.  
  94. Additional reference words: 3.10
  95. KBCategory:
  96. KBSubCategory: NTAP NETSRV KEYREG
  97.  
  98. =============================================================================
  99.  
  100. THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS
  101. PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND.  MICROSOFT DISCLAIMS
  102. ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES
  103. OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  IN NO
  104. EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR
  105. ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL,
  106. CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF
  107. MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE
  108. POSSIBILITY OF SUCH DAMAGES.  SOME STATES DO NOT ALLOW THE EXCLUSION
  109. OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES
  110. SO THE FOREGOING LIMITATION MAY NOT APPLY.
  111.  
  112. Copyright Microsoft Corporation 1993.