OLAP Cube creation error

E

e

I get the following message when I try to update the OLAP cube.

The cube scheduled to be built on 10/26/2005 at 10:55 AM failed.
(457) This key is already associated with an element of this collection

The event Viewer logs are as follows:
Event Type: Error
Event Source: Microsoft Project Server Tracing Eventlog Provider
Event Category: None
Event ID: 2
Date: 10/26/2005
Time: 10:55:13 AM
User: NT AUTHORITY\LOCAL SERVICE
Computer: SERVER4
Description:
Component: MSP Resource Availablity Refresh and OLAP Cube Creation Component
(ProjOLAP)
File: PROJOLAPProcess
Line: 457
Description: <Description><![CDATA[Error populating the staging tables.
Error: 'This key is already associated with an element of this
collection']]></Description>

Event Type: Error
Event Source: Microsoft Project Server Tracing Eventlog Provider
Event Category: None
Event ID: 2
Date: 10/26/2005
Time: 10:55:13 AM
User: NT AUTHORITY\LOCAL SERVICE
Computer: SERVER4
Description:
Component: MSP Resource Availablity Refresh and OLAP Cube Creation Component
(ProjOLAP)
File: PROJOLAPProcess
Line: 1052
Description: <Description><![CDATA[Error #: 457 Desc. :This key is already
associated with an element of this collection]]></Description>

Event Type: Error
Event Source: Microsoft Project Server Tracing Eventlog Provider
Event Category: None
Event ID: 2
Date: 10/26/2005
Time: 10:55:13 AM
User: NT AUTHORITY\LOCAL SERVICE
Computer: SERVER4
Description:
Component: PCSViews
File: ViewsDrop.cls
Line: -1
Error Number: 0x80004005
Description: <Description><![CDATA[Failed to generate OLAP Cube for the
following Request :

<BuildCubeRequest><CubeUpdate><CubeStart>20051016</CubeStart><CubeFinish>20060108</CubeFinish><DBType>0</DBType><DSOConnection>Provider=SQLOLEDB.1;Persist
Security Info=False;Initial Catalog=ProjectServer;Data
Source=server4</DSOConnection><Server>Server4</Server><CubeDB>FASCube</CubeDB><CubeDesc>other
cube</CubeDesc><BasePath>projectserver</BasePath><CubeGUID>B8649470-6A32-48F8-8CD3-C691939CEBEB</CubeGUID></CubeUpdate></BuildCubeRequest>]]></Description>

Event Type: Error
Event Source: Microsoft Project Server Tracing Eventlog Provider
Event Category: None
Event ID: 2
Date: 10/26/2005
Time: 10:55:13 AM
User: NT AUTHORITY\LOCAL SERVICE
Computer: SERVER4
Description:
Component: PCSViews
File: ViewsDrop.cls
Line: -1
Description: <Description><![CDATA[Error Information:
Additional Information: An error occured calling
CallViewGenerator(projectserver, -1, <ProjectData>
<EntProjectName><![CDATA[resglobal] ]></EntProjectName>
<EntResourceIDList>*</EntResourceIDList>
<EntResourceStartDate>2005-10-16T00:00:00</EntResourceStartDate>
<EntResourceFinishDate>2006-01-08T00:00:00</EntResourceFinishDate>
<BuildCubeRequest><CubeUpdate><CubeStart>20051016</CubeStart><CubeFinish>20060108</CubeFinish><DBType>0</DBType><DSOConnection>Provider=SQLOLEDB.1;Persist
Security Info=False;Initial Catalog=ProjectServer;Data
Source=server4</DSOConnection><Server>Server4</Server><CubeDB>FASCube</CubeDB><CubeDesc>other
cube</CubeDesc><BasePath>projectserver</BasePath><CubeGUID>B8649470-6A32-48F8-8CD3-C691939CEBEB</CubeGUID></CubeUpdate></BuildCubeRequest>
</ProjectData>)]]></Description>

Event Type: Error
Event Source: Microsoft Project Server Tracing Eventlog Provider
Event Category: None
Event ID: 2
Date: 10/26/2005
Time: 10:55:13 AM
User: NT AUTHORITY\LOCAL SERVICE
Computer: SERVER4
Description:
Component: PCSViews
File: ViewsDrop.cls
Line: -1
Error Number: 0x5
Description: <Description><![CDATA[Error Information: Invalid procedure call
or argument
Additional Information: An error occured processing the following view :-

<ViewsDropData>
<ProjectData>
<EntProjectName><![CDATA[resglobal] ]></EntProjectName>
<EntResourceIDList>*</EntResourceIDList>
<EntResourceStartDate>2005-10-16T00:00:00</EntResourceStartDate>
<EntResourceFinishDate>2006-01-08T00:00:00</EntResourceFinishDate>
<BuildCubeRequest><CubeUpdate><CubeStart>20051016</CubeStart><CubeFinish>20060108</CubeFinish><Connection>Provider=SQLOLEDB;
Initial Catalog=ProjectServer;Data
Source=server4</Connection><DBType>0</DBType><DSOConnection>Provider=SQLOLEDB.1;Persist
Security Info=False;Initial Catalog=ProjectServer;Data
Source=server4</DSOConnection><Server>Server4</Server><CubeDB>FASCube</CubeDB><CubeDesc>other
cube</CubeDesc><BasePath>projectserver</BasePath><CubeGUID>B8649470-6A32-48F8-8CD3-C691939CEBEB</CubeGUID></CubeUpdate></BuildCubeRequest>
</ProjectData>
<OrgGuid>projectserver</OrgGuid>
<BasePath>projectserver</BasePath>
<TimeStamp>2005-10-26T10:54:45</TimeStamp>
</ViewsDropData>]]></Description>

Event Type: Warning
Event Source: Microsoft Project Server Tracing Eventlog Provider
Event Category: None
Event ID: 1
Date: 10/26/2005
Time: 10:55:13 AM
User: NT AUTHORITY\LOCAL SERVICE
Computer: SERVER4
Description:
Component: Views Notification Service
File: C:\Office\devsp\project\pcportal\source\viewsnotify\ViewNotify.cpp
Line: 132
Error Number: 0x800a0005
Description: <Description><![CDATA[The views processor failed to process the
following document:


<ViewsDropData>
<ProjectData>
<EntProjectName><![CDATA[resglobal] ]></EntProjectName>
<EntResourceIDList>*</EntResourceIDList>
<EntResourceStartDate>2005-10-16T00:00:00</EntResourceStartDate>
<EntResourceFinishDate>2006-01-08T00:00:00</EntResourceFinishDate>
<BuildCubeRequest><CubeUpdate><CubeStart>20051016</CubeStart><CubeFinish>20060108</CubeFinish><Connection>Provider=SQLOLEDB;
Initial Catalog=ProjectServer;Data
Source=server4</Connection><DBType>0</DBType><DSOConnection>Provider=SQLOLEDB.1;Persist
Security Info=False;Initial Catalog=ProjectServer;Data
Source=server4</DSOConnection><Server>Server4</Server><CubeDB>FASCube</CubeDB><CubeDesc>other
cube</CubeDesc><BasePath>projectserver</BasePath><CubeGUID>B8649470-6A32-48F8-8CD3-C691939CEBEB</CubeGUID></CubeUpdate></BuildCubeRequest>
</ProjectData>
<OrgGuid>projectserver</OrgGuid>
<BasePath>projectserver</BasePath>
<TimeStamp>2005-10-26T10:54:45</TimeStamp>
</ViewsDropData>]]></Description>

Event Type: Warning
Event Source: Microsoft Project Server Tracing Eventlog Provider
Event Category: None
Event ID: 1
Date: 10/26/2005
Time: 10:55:13 AM
User: NT AUTHORITY\LOCAL SERVICE
Computer: SERVER4
Description:
Component: Views Notification Service
File: C:\Office\devsp\project\pcportal\source\viewsnotify\ViewNotify.cpp
Line: 127
Error Number: 0x800a0005
Description: <Description><![CDATA[View scheduler received error while
scheduling views]]></Description>
___________________________________

Component: PCSViews
File: ViewsDrop.cls
Line: -1
Error Number: 0x5
Description: <Description><![CDATA[Error Information: Invalid procedure call
or argument
Additional Information: An error occured processing the following view :-

<ViewsDropData>
<ProjectData>
<EntProjectName><![CDATA[resglobal] ]></EntProjectName>
<EntResourceIDList>*</EntResourceIDList>
<EntResourceStartDate>2005-10-16T00:00:00</EntResourceStartDate>
<EntResourceFinishDate>2006-01-08T00:00:00</EntResourceFinishDate>
<BuildCubeRequest><CubeUpdate><CubeStart>20051016</CubeStart><CubeFinish>20060108</CubeFinish><Connection>Provider=SQLOLEDB;
Initial Catalog=ProjectServer;Data
Source=server4</Connection><DBType>0</DBType><DSOConnection>Provider=SQLOLEDB.1;Persist
Security Info=False;Initial Catalog=ProjectServer;Data
Source=server4</DSOConnection><Server>Server4</Server><CubeDB>FASCube</CubeDB><CubeDesc>other
cube</CubeDesc><BasePath>projectserver</BasePath><CubeGUID>B8649470-6A32-48F8-8CD3-C691939CEBEB</CubeGUID></CubeUpdate></BuildCubeRequest>
</ProjectData>
<OrgGuid>projectserver</OrgGuid>
<BasePath>projectserver</BasePath>
<TimeStamp>2005-10-26T10:54:45</TimeStamp>
</ViewsDropData>]]></Description>

Thanks.
 
K

Kevin W Flanagan

Since the OLAP cube mainly deals with resource assignmnets to tasks and the
fact you are getting a "key" error, my feeling is that someone copied and
pasted an entire line within the project schedule.

e said:
I get the following message when I try to update the OLAP cube.

The cube scheduled to be built on 10/26/2005 at 10:55 AM failed.
(457) This key is already associated with an element of this collection

The event Viewer logs are as follows:
Event Type: Error
Event Source: Microsoft Project Server Tracing Eventlog Provider
Event Category: None
Event ID: 2
Date: 10/26/2005
Time: 10:55:13 AM
User: NT AUTHORITY\LOCAL SERVICE
Computer: SERVER4
Description:
Component: MSP Resource Availablity Refresh and OLAP Cube Creation Component
(ProjOLAP)
File: PROJOLAPProcess
Line: 457
Description: <Description><![CDATA[Error populating the staging tables.
Error: 'This key is already associated with an element of this
collection']]></Description>

Event Type: Error
Event Source: Microsoft Project Server Tracing Eventlog Provider
Event Category: None
Event ID: 2
Date: 10/26/2005
Time: 10:55:13 AM
User: NT AUTHORITY\LOCAL SERVICE
Computer: SERVER4
Description:
Component: MSP Resource Availablity Refresh and OLAP Cube Creation Component
(ProjOLAP)
File: PROJOLAPProcess
Line: 1052
Description: <Description><![CDATA[Error #: 457 Desc. :This key is already
associated with an element of this collection]]></Description>

Event Type: Error
Event Source: Microsoft Project Server Tracing Eventlog Provider
Event Category: None
Event ID: 2
Date: 10/26/2005
Time: 10:55:13 AM
User: NT AUTHORITY\LOCAL SERVICE
Computer: SERVER4
Description:
Component: PCSViews
File: ViewsDrop.cls
Line: -1
Error Number: 0x80004005
Description: <Description><![CDATA[Failed to generate OLAP Cube for the
following Request :

<BuildCubeRequest><CubeUpdate><CubeStart>20051016</CubeStart><CubeFinish>20060108</CubeFinish><DBType>0</DBType><DSOConnection>Provider=SQLOLEDB.1;Persist
Security Info=False;Initial Catalog=ProjectServer;Data
Source=server4</DSOConnection><Server>Server4</Server><CubeDB>FASCube</CubeDB><CubeDesc>other
cube</CubeDesc><BasePath>projectserver</BasePath><CubeGUID>B8649470-6A32-48F8-8CD3-C691939CEBEB</CubeGUID></CubeUpdate></BuildCubeRequest>]]></Description>

Event Type: Error
Event Source: Microsoft Project Server Tracing Eventlog Provider
Event Category: None
Event ID: 2
Date: 10/26/2005
Time: 10:55:13 AM
User: NT AUTHORITY\LOCAL SERVICE
Computer: SERVER4
Description:
Component: PCSViews
File: ViewsDrop.cls
Line: -1
Description: <Description><![CDATA[Error Information:
Additional Information: An error occured calling
CallViewGenerator(projectserver, -1, <ProjectData>
<EntProjectName><![CDATA[resglobal] ]></EntProjectName>
<EntResourceIDList>*</EntResourceIDList>
<EntResourceStartDate>2005-10-16T00:00:00</EntResourceStartDate>
<EntResourceFinishDate>2006-01-08T00:00:00</EntResourceFinishDate>
<BuildCubeRequest><CubeUpdate><CubeStart>20051016</CubeStart><CubeFinish>20060108</CubeFinish><DBType>0</DBType><DSOConnection>Provider=SQLOLEDB.1;Persist
Security Info=False;Initial Catalog=ProjectServer;Data
Source=server4</DSOConnection><Server>Server4</Server><CubeDB>FASCube</CubeDB><CubeDesc>other
cube</CubeDesc><BasePath>projectserver</BasePath><CubeGUID>B8649470-6A32-48F8-8CD3-C691939CEBEB</CubeGUID></CubeUpdate></BuildCubeRequest>
</ProjectData>)]]></Description>

Event Type: Error
Event Source: Microsoft Project Server Tracing Eventlog Provider
Event Category: None
Event ID: 2
Date: 10/26/2005
Time: 10:55:13 AM
User: NT AUTHORITY\LOCAL SERVICE
Computer: SERVER4
Description:
Component: PCSViews
File: ViewsDrop.cls
Line: -1
Error Number: 0x5
Description: <Description><![CDATA[Error Information: Invalid procedure call
or argument
Additional Information: An error occured processing the following view :-

<ViewsDropData>
<ProjectData>
<EntProjectName><![CDATA[resglobal] ]></EntProjectName>
<EntResourceIDList>*</EntResourceIDList>
<EntResourceStartDate>2005-10-16T00:00:00</EntResourceStartDate>
<EntResourceFinishDate>2006-01-08T00:00:00</EntResourceFinishDate>
<BuildCubeRequest><CubeUpdate><CubeStart>20051016</CubeStart><CubeFinish>20060108</CubeFinish><Connection>Provider=SQLOLEDB;
Initial Catalog=ProjectServer;Data
Source=server4</Connection><DBType>0</DBType><DSOConnection>Provider=SQLOLEDB.1;Persist
Security Info=False;Initial Catalog=ProjectServer;Data
Source=server4</DSOConnection><Server>Server4</Server><CubeDB>FASCube</CubeDB><CubeDesc>other
cube</CubeDesc><BasePath>projectserver</BasePath><CubeGUID>B8649470-6A32-48F8-8CD3-C691939CEBEB</CubeGUID></CubeUpdate></BuildCubeRequest>
</ProjectData>
<OrgGuid>projectserver</OrgGuid>
<BasePath>projectserver</BasePath>
<TimeStamp>2005-10-26T10:54:45</TimeStamp>
</ViewsDropData>]]></Description>

Event Type: Warning
Event Source: Microsoft Project Server Tracing Eventlog Provider
Event Category: None
Event ID: 1
Date: 10/26/2005
Time: 10:55:13 AM
User: NT AUTHORITY\LOCAL SERVICE
Computer: SERVER4
Description:
Component: Views Notification Service
File: C:\Office\devsp\project\pcportal\source\viewsnotify\ViewNotify.cpp
Line: 132
Error Number: 0x800a0005
Description: <Description><![CDATA[The views processor failed to process the
following document:


<ViewsDropData>
<ProjectData>
<EntProjectName><![CDATA[resglobal] ]></EntProjectName>
<EntResourceIDList>*</EntResourceIDList>
<EntResourceStartDate>2005-10-16T00:00:00</EntResourceStartDate>
<EntResourceFinishDate>2006-01-08T00:00:00</EntResourceFinishDate>
<BuildCubeRequest><CubeUpdate><CubeStart>20051016</CubeStart><CubeFinish>20060108</CubeFinish><Connection>Provider=SQLOLEDB;
Initial Catalog=ProjectServer;Data
Source=server4</Connection><DBType>0</DBType><DSOConnection>Provider=SQLOLEDB.1;Persist
Security Info=False;Initial Catalog=ProjectServer;Data
Source=server4</DSOConnection><Server>Server4</Server><CubeDB>FASCube</CubeDB><CubeDesc>other
cube</CubeDesc><BasePath>projectserver</BasePath><CubeGUID>B8649470-6A32-48F8-8CD3-C691939CEBEB</CubeGUID></CubeUpdate></BuildCubeRequest>
</ProjectData>
<OrgGuid>projectserver</OrgGuid>
<BasePath>projectserver</BasePath>
<TimeStamp>2005-10-26T10:54:45</TimeStamp>
</ViewsDropData>]]></Description>

Event Type: Warning
Event Source: Microsoft Project Server Tracing Eventlog Provider
Event Category: None
Event ID: 1
Date: 10/26/2005
Time: 10:55:13 AM
User: NT AUTHORITY\LOCAL SERVICE
Computer: SERVER4
Description:
Component: Views Notification Service
File: C:\Office\devsp\project\pcportal\source\viewsnotify\ViewNotify.cpp
Line: 127
Error Number: 0x800a0005
Description: <Description><![CDATA[View scheduler received error while
scheduling views]]></Description>
___________________________________

Component: PCSViews
File: ViewsDrop.cls
Line: -1
Error Number: 0x5
Description: <Description><![CDATA[Error Information: Invalid procedure call
or argument
Additional Information: An error occured processing the following view :-

<ViewsDropData>
<ProjectData>
<EntProjectName><![CDATA[resglobal] ]></EntProjectName>
<EntResourceIDList>*</EntResourceIDList>
<EntResourceStartDate>2005-10-16T00:00:00</EntResourceStartDate>
<EntResourceFinishDate>2006-01-08T00:00:00</EntResourceFinishDate>
<BuildCubeRequest><CubeUpdate><CubeStart>20051016</CubeStart><CubeFinish>20060108</CubeFinish><Connection>Provider=SQLOLEDB;
Initial Catalog=ProjectServer;Data
Source=server4</Connection><DBType>0</DBType><DSOConnection>Provider=SQLOLEDB.1;Persist
Security Info=False;Initial Catalog=ProjectServer;Data
Source=server4</DSOConnection><Server>Server4</Server><CubeDB>FASCube</CubeDB><CubeDesc>other
cube</CubeDesc><BasePath>projectserver</BasePath><CubeGUID>B8649470-6A32-48F8-8CD3-C691939CEBEB</CubeGUID></CubeUpdate></BuildCubeRequest>
</ProjectData>
<OrgGuid>projectserver</OrgGuid>
<BasePath>projectserver</BasePath>
<TimeStamp>2005-10-26T10:54:45</TimeStamp>
</ViewsDropData>]]></Description>

Thanks.
 
M

MikeFrye

Things to check....
1) If you modified the cube and have an error, then you can get this
1a) Go inside each cube and process it by hand. See if you get an
error.
2) Cube gets corrupted:
Backup cube, all local program files(some cube data can be in the
programs directory), sql server,etc...
Delete the entire cube, restart analysis services and then rebuild
the cube.
3) Is analyis sever up to the latest service pack?
4) I have had severe cases where I have to completely uninstall
analysis services, remove all data and then reinstall and rebuild.

great luck!

mikehfrye "at" gmail
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top