MOSSDW -d problem

Dec 24, 2008 at 12:33 PM
Hi all,
I try it on a Moss2007 installation. The data population test for "My site" polpulation (mossdw.exe MySiteSample.xml) work fine, see below.

C:\MSL>MOSSDW.exe MySiteSample.xml
Processing: TestTopology
   Attributes:
Setting environment variable startat=1
Setting environment variable numofusers=1
Setting environment variable endat=1
Setting global property propertyfile=TestPropertyFile.xml
Setting global property addblog=false
Processing: TestPortalSite
   Attributes: Url: http://ramvmoss;
Impersonating: RAM\user1
Processing: TestPersonalSite
   Attributes: AccountName: RAM\user1; ListOfColleaguesToAdd: RAM\user101;RAM\us
er102; NumberOfDocumentsToAdd: 10; NumberOfLinksToAdd: 20; NumberOfWorkspacesToA
dd: 1; PropertyValueFileName: TestPropertyFile.xml; EmailAddress: user1@someone.
com; ActivateBlog: false;
Creating personal site for RAM\user1...
StringGenerator seed set to: 1343296591
StringGenerator LCID set to: 1040
StringGenerator seed set to: 1342827826
StringGenerator LCID set to: 1040
StringGenerator seed set to: 1364547271
StringGenerator LCID set to: 1040
Creation complete!
Current identity: RAM\sp_service

Time to complete execution: 00:00:50.2516938




When I try to delete with -d switch I receive the following message

C:\MSL>MOSSDW.exe -d MySiteSample.xml
Processing: TestTopology
   Attributes:
Setting environment variable startat=1
Setting environment variable numofusers=1
Setting environment variable endat=1
Setting global property propertyfile=TestPropertyFile.xml
Setting global property addblog=false
Processing: TestPortalSite
   Attributes: Url: http://ramvmoss;
Impersonating: RAM\user1
Processing: TestPersonalSite
   Attributes: AccountName: RAM\user1; ListOfColleaguesToAdd: RAM\user101;RAM\us
er102; NumberOfDocumentsToAdd: 10; NumberOfLinksToAdd: 20; NumberOfWorkspacesToA
dd: 1; PropertyValueFileName: TestPropertyFile.xml; EmailAddress: user1@someone.
com; ActivateBlog: false;
Error: Exception has been thrown: System.UnauthorizedAccessException: Access Den
ied: Only an administrator may enumerate through all user profiles.
   at Microsoft.Office.Server.UserProfiles.UserProfileManager.GetEnumerator()
   at MOSSPerfTools.Portal.TestPortalSite.ConnectInternal()
   at MOSSPerfTools.ContentDataManagement.ContentObjectBase.Connect()
   at MOSSPerfTools.ContentDataManagement.ContentObjectBase.Delete()
   at MOSSPerfTools.MOSSDW_Base.DoDataWriteOperation(IContentObject co)
   at MOSSPerfTools.MOSSDW_Base.ProcessTag()
Current identity: RAM\sp_service
Error: Exception has been thrown: MOSSPerfTools.ContentDataManagement.CdmNotImpl
ementedException: DeleteInternal() is not implemented in MOSSPerfTools.Portal.Te
stTopology
   at MOSSPerfTools.ContentDataManagement.ContentObjectBase.DeleteInternal()
   at MOSSPerfTools.ContentDataManagement.ContentObjectBase.Delete()
   at MOSSPerfTools.MOSSDW_Base.DoDataWriteOperation(IContentObject co)
   at MOSSPerfTools.MOSSDW_Base.ProcessTag()

Time to complete execution: 00:00:01.7032340

Error #1: Exception has been thrown: System.UnauthorizedAccessException: Access
Denied: Only an administrator may enumerate through all user profiles.
   at Microsoft.Office.Server.UserProfiles.UserProfileManager.GetEnumerator()
   at MOSSPerfTools.Portal.TestPortalSite.ConnectInternal()
   at MOSSPerfTools.ContentDataManagement.ContentObjectBase.Connect()
   at MOSSPerfTools.ContentDataManagement.ContentObjectBase.Delete()
   at MOSSPerfTools.MOSSDW_Base.DoDataWriteOperation(IContentObject co)
   at MOSSPerfTools.MOSSDW_Base.ProcessTag() (Node: <TestPersonalSite AccountNam
e="%USERDOMAIN%\user$userIndex$" num="1" start="$userIndex$" ListOfColleaguesToA
dd="%USERDOMAIN%\user101;%USERDOMAIN%\user102" NumberOfDocumentsToAdd="10" Numbe
rOfLinksToAdd="20" NumberOfWorkspacesToAdd="1" PropertyValueFileName="$propertyf
ile$" EmailAddress="user$num$@someone.com" GCForceCollectEach="True" ActivateBlo
g="$addblog$"></TestPersonalSite>)
Error #2: Exception has been thrown: MOSSPerfTools.ContentDataManagement.CdmNotI
mplementedException: DeleteInternal() is not implemented in MOSSPerfTools.Portal
.TestTopology
   at MOSSPerfTools.ContentDataManagement.ContentObjectBase.DeleteInternal()
   at MOSSPerfTools.ContentDataManagement.ContentObjectBase.Delete()
   at MOSSPerfTools.MOSSDW_Base.DoDataWriteOperation(IContentObject co)
   at MOSSPerfTools.MOSSDW_Base.ProcessTag() (Node: <TestTopology><!-- *********
*********************************************************
 Define a loop from 1 to 100.
******************************************************************  --><SetVarEq
u startat="1" /><SetVarEqu numofusers="1" /><SetVarEqu endat="%startat%+%numofus
ers%-1" /><!-- *****************************************************************
*
 Set path to property file used to modify profile properties.
******************************************************************  --><SetGloba
lProperty propertyfile="TestPropertyFile.xml" /><SetGlobalProperty addblog="fals
e" /><!-- ******************************************************************
 Connect to the portal.
******************************************************************  --><TestPort
alSite Url="http://ramvmoss"><!-- **********************************************
********************
 Create the specified number of MySites.
******************************************************************  --><ForLoop
name="userIndex" start="%startat%" end="%endat%" increment="1"><!-- ************
******************************************************
 Create MySite with impersonation. Each MySite has two colleagues,
10 documents, 20 links, 1 workspace.
******************************************************************  --><Imperson
ate user="user$userIndex$" domain="%USERDOMAIN%" password="Password123"><TestPer
sonalSite AccountName="%USERDOMAIN%\user$userIndex$" num="1" start="$userIndex$"
 ListOfColleaguesToAdd="%USERDOMAIN%\user101;%USERDOMAIN%\user102" NumberOfDocum
entsToAdd="10" NumberOfLinksToAdd="20" NumberOfWorkspacesToAdd="1" PropertyValue
FileName="$propertyfile$" EmailAddress="user$num$@someone.com" GCForceCollectEac
h="True" ActivateBlog="$addblog$"></TestPersonalSite></Impersonate></ForLoop></T
estPortalSite></TestTopology>)



Thank you for reply