Course Manager: Plan and Assign Web Part Issue

Topics: Developer Forum, Project Management Forum, User Forum
Jul 16, 2009 at 11:40 AM

HI,

I am installing and configuring course manager on a single server instance of moss which has SLK 1.3.1 installed and confgure on.  I go through the install instructions and get to the point of adding the Plan and Assign Web Part and get the moss standard error.  I have investigated this and have included all the details of my investigation, however unfortunately I am not sure why it is erroring:

Issue Description:

After adding the Plan and Assign web part to the plan and assign aspx page, I get the following error.

Server Error in '/' Application.

--------------------------------------------------------------------------------

 

There was no value in the registry. Please verify in the registry and try again

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

 

Exception Details: System.Exception: There was no value in the registry. Please verify in the registry and try again

 

Source Error:

 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. 

 

Stack Trace:

 

 

[Exception: There was no value in the registry. Please verify in the registry and try again]

   Axelerate.BusinessLayerFrameWork.DLCore.DataLayerAbstraction.GetConnectionString(String pName) +159

   Axelerate.BusinessLayerFrameWork.DLCore.DataLayerCommandBase.get_ConnectionString(String DataSourceName) +142

   Axelerate.BusinessLayerFrameWork.DLCore.DataLayerSQLCommand.OnExecute() +69

   Axelerate.BusinessLayerFrameWork.DLCore.DataLayerCommandBase.Execute() +14

   Axelerate.BusinessLayerFrameWork.BLCore.BLListBase`3.BLFetch(BLCriteria Criteria) +154

 

[Exception: Fetch operation for the business object failed]

   Axelerate.BusinessLayerFrameWork.BLCore.BLListBase`3.BLFetch(BLCriteria Criteria) +419

 

[Exception: Fetch operation for the business object failed]

   Axelerate.BusinessLayerFrameWork.BLCore.BLListBase`3.BLFetch(BLCriteria Criteria) +474

   Axelerate.BusinessLayerFrameWork.BLCore.BLListBase`3.DataPortal_Fetch(Object Criteria) +161

   Axelerate.BusinessLayerFrameWork.BLCore.BLListBase`3.Local_GetCollection(BLCriteria Criteria) +35

   Axelerate.BusinessLayerFrameWork.BLCore.BLListBase`3.GetCollection(BusinessListCriteria Criteria) +148

   Axelerate.BusinessLayerFrameWork.BLCore.BLListBase`3.GetCollection(BLCriteria NCriteria) +112

   Axelerate.BusinessLogic.SharedBusinessLogic.DynamicProperties.clsUILayout.PropertyLayout(Type ObjectType, String Name) +124

   Axelerate.BusinessLayerUITools.WebParts.wptHyperGrid.GetXMLLayout() +94

   Axelerate.BusinessLayerUITools.clsBaseLayoutWP.get_LayoutTextXML() +76

   Axelerate.BusinessLayerUITools.WebParts.wptHyperGrid.GetCriteria() +104

   Axelerate.BusinessLayerUITools.BaseClasses.clsCtrlWebPartBase.GetParams() +330

   Axelerate.BusinessLayerUITools.BaseClasses.clsCtrlWebPartBase.CheckParameters() +332

   Axelerate.BusinessLayerUITools.clsBaseLayoutWP.CheckDatasource() +173

   Axelerate.BusinessLayerUITools.clsBaseLayoutWP.CreateChildControls() +24

   System.Web.UI.Control.EnsureChildControls() +87

   System.Web.UI.Control.PreRenderRecursiveInternal() +44

   System.Web.UI.WebControls.WebParts.WebPart.PreRenderRecursiveInternal() +42

   System.Web.UI.Control.PreRenderRecursiveInternal() +171

   System.Web.UI.WebControls.WebParts.WebPart.PreRenderRecursiveInternal() +42

   System.Web.UI.Control.PreRenderRecursiveInternal() +171

   System.Web.UI.Control.PreRenderRecursiveInternal() +171

   System.Web.UI.Control.PreRenderRecursiveInternal() +171

   System.Web.UI.Control.PreRenderRecursiveInternal() +171

   System.Web.UI.Control.PreRenderRecursiveInternal() +171

   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +842

 

 

 

 

--------------------------------------------------------------------------------

Version Information: Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053

 

Environment:

Windows  2008

32-bit

Stand Alone Personal VPC

 

Steps to produce the issue:

 

After adding the Plan and Assign web part to the plan and assign aspx page, as an Instructor user. 

 

Suspected Cause:

 

Key Information:

Event log entries of relevance:

Log Name:      Application

Source:        ASP.NET 2.0.50727.0

Date:          16/07/2009 10:44:41

Event ID:      1309

Task Category: Web Event

Level:         Warning

Keywords:      Classic

User:          N/A

Computer:      WCIDEVVM.domain.local

Description:

Event code: 3005

Event message: An unhandled exception has occurred.

Event time: 16/07/2009 10:44:41

Event time (UTC): 16/07/2009 09:44:41

Event ID: 1caf7a635e2e455d9078e65a981726d5

Event sequence: 17

Event occurrence: 1

Event detail code: 0

 

Application information:

    Application domain: /LM/W3SVC/1699191669/ROOT-3-128922110204793120

    Trust level: WSS_Minimal

    Application Virtual Path: /

    Application Path: C:\inetpub\wwwroot\wss\VirtualDirectories\mhs-slk80\

    Machine name: WCIDEVVM

 

Process information:

    Process ID: 4224

    Process name: w3wp.exe

    Account name: DOMAIN\administrator

 

Exception information:

    Exception type: Exception

    Exception message: Fetch operation for the business object failed

 

Request information:

    Request URL: http://mhs-slk/sites/slk/CourseManagerPages/Forms/Plan_and_assign.aspx

    Request path: /sites/slk/CourseManagerPages/Forms/Plan_and_assign.aspx

    User host address: 192.168.1.253

    User: DOMAIN\instructor

    Is authenticated: True

    Authentication Type: NTLM

    Thread account name: DOMAIN\administrator

 

Thread information:

    Thread ID: 6

    Thread account name: DOMAIN\administrator

    Is impersonating: False

    Stack trace:    at Axelerate.BusinessLayerFrameWork.BLCore.BLListBase`3.BLFetch(BLCriteria Criteria)

   at Axelerate.BusinessLayerFrameWork.BLCore.BLListBase`3.DataPortal_Fetch(Object Criteria)

   at Axelerate.BusinessLayerFrameWork.BLCore.BLListBase`3.Local_GetCollection(BLCriteria Criteria)

   at Axelerate.BusinessLayerFrameWork.BLCore.BLListBase`3.GetCollection(BusinessListCriteria Criteria)

   at Axelerate.BusinessLayerFrameWork.BLCore.BLListBase`3.GetCollection(BLCriteria NCriteria)

   at Axelerate.BusinessLogic.SharedBusinessLogic.DynamicProperties.clsUILayout.PropertyLayout(Type ObjectType, String Name)

   at Axelerate.BusinessLayerUITools.WebParts.wptHyperGrid.GetXMLLayout()

   at Axelerate.BusinessLayerUITools.clsBaseLayoutWP.get_LayoutTextXML()

   at Axelerate.BusinessLayerUITools.WebParts.wptHyperGrid.GetCriteria()

   at Axelerate.BusinessLayerUITools.BaseClasses.clsCtrlWebPartBase.GetParams()

   at Axelerate.BusinessLayerUITools.BaseClasses.clsCtrlWebPartBase.CheckParameters()

   at Axelerate.BusinessLayerUITools.clsBaseLayoutWP.CheckDatasource()

   at Axelerate.BusinessLayerUITools.clsBaseLayoutWP.CreateChildControls()

   at System.Web.UI.Control.EnsureChildControls()

   at System.Web.UI.Control.PreRenderRecursiveInternal()

   at System.Web.UI.WebControls.WebParts.WebPart.PreRenderRecursiveInternal()

   at System.Web.UI.Control.PreRenderRecursiveInternal()

   at System.Web.UI.WebControls.WebParts.WebPart.PreRenderRecursiveInternal()

   at System.Web.UI.Control.PreRenderRecursiveInternal()

   at System.Web.UI.Control.PreRenderRecursiveInternal()

   at System.Web.UI.Control.PreRenderRecursiveInternal()

   at System.Web.UI.Control.PreRenderRecursiveInternal()

   at System.Web.UI.Control.PreRenderRecursiveInternal()

   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

 

 

Custom event details:

 

Event Xml:

<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">

  <System>

    <Provider />

    <EventID Qualifiers="32768">1309</EventID>

    <Level>3</Level>

    <Task>3</Task>

    <Keywords>0x80000000000000</Keywords>

    <TimeCreated SystemTime="2009-07-16T09:44:41.000Z" />

    <EventRecordID>12583</EventRecordID>

    <Channel>Application</Channel>

    <Computer>WCIDEVVM.domain.local</Computer>

    <Security />

  </System>

  <EventData>

    <Data>3005</Data>

    <Data>An unhandled exception has occurred.</Data>

    <Data>16/07/2009 10:44:41</Data>

    <Data>16/07/2009 09:44:41</Data>

    <Data>1caf7a635e2e455d9078e65a981726d5</Data>

    <Data>17</Data>

    <Data>1</Data>

    <Data>0</Data>

    <Data>/LM/W3SVC/1699191669/ROOT-3-128922110204793120</Data>

    <Data>WSS_Minimal</Data>

    <Data>/</Data>

    <Data>C:\inetpub\wwwroot\wss\VirtualDirectories\mhs-slk80\</Data>

    <Data>WCIDEVVM</Data>

    <Data>

    </Data>

    <Data>4224</Data>

    <Data>w3wp.exe</Data>

    <Data>DOMAIN\administrator</Data>

    <Data>Exception</Data>

    <Data>Fetch operation for the business object failed</Data>

    <Data>http://mhs-slk/sites/slk/CourseManagerPages/Forms/Plan_and_assign.aspx</Data>

    <Data>/sites/slk/CourseManagerPages/Forms/Plan_and_assign.aspx</Data>

    <Data>192.168.1.253</Data>

    <Data>DOMAIN\instructor</Data>

    <Data>True</Data>

    <Data>NTLM</Data>

    <Data>DOMAIN\administrator</Data>

    <Data>6</Data>

    <Data>DOMAIN\administrator</Data>

    <Data>False</Data>

    <Data>   at Axelerate.BusinessLayerFrameWork.BLCore.BLListBase`3.BLFetch(BLCriteria Criteria)

   at Axelerate.BusinessLayerFrameWork.BLCore.BLListBase`3.DataPortal_Fetch(Object Criteria)

   at Axelerate.BusinessLayerFrameWork.BLCore.BLListBase`3.Local_GetCollection(BLCriteria Criteria)

   at Axelerate.BusinessLayerFrameWork.BLCore.BLListBase`3.GetCollection(BusinessListCriteria Criteria)

   at Axelerate.BusinessLayerFrameWork.BLCore.BLListBase`3.GetCollection(BLCriteria NCriteria)

   at Axelerate.BusinessLogic.SharedBusinessLogic.DynamicProperties.clsUILayout.PropertyLayout(Type ObjectType, String Name)

   at Axelerate.BusinessLayerUITools.WebParts.wptHyperGrid.GetXMLLayout()

   at Axelerate.BusinessLayerUITools.clsBaseLayoutWP.get_LayoutTextXML()

   at Axelerate.BusinessLayerUITools.WebParts.wptHyperGrid.GetCriteria()

   at Axelerate.BusinessLayerUITools.BaseClasses.clsCtrlWebPartBase.GetParams()

   at Axelerate.BusinessLayerUITools.BaseClasses.clsCtrlWebPartBase.CheckParameters()

   at Axelerate.BusinessLayerUITools.clsBaseLayoutWP.CheckDatasource()

   at Axelerate.BusinessLayerUITools.clsBaseLayoutWP.CreateChildControls()

   at System.Web.UI.Control.EnsureChildControls()

   at System.Web.UI.Control.PreRenderRecursiveInternal()

   at System.Web.UI.WebControls.WebParts.WebPart.PreRenderRecursiveInternal()

   at System.Web.UI.Control.PreRenderRecursiveInternal()

   at System.Web.UI.WebControls.WebParts.WebPart.PreRenderRecursiveInternal()

   at System.Web.UI.Control.PreRenderRecursiveInternal()

   at System.Web.UI.Control.PreRenderRecursiveInternal()

   at System.Web.UI.Control.PreRenderRecursiveInternal()

   at System.Web.UI.Control.PreRenderRecursiveInternal()

   at System.Web.UI.Control.PreRenderRecursiveInternal()

   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

</Data>

  </EventData>

</Event>

Log Name:      Application

Source:        VSS

Date:          16/07/2009 09:49:15

Event ID:      12289

Task Category: None

Level:         Error

Keywords:      Classic

User:          N/A

Computer:      WCIDEVVM.domain.local

Description:

Volume Shadow Copy Service error: Unexpected error RegOpenKeyExW(-2147483646,SYSTEM\CurrentControlSet\Services\VSS\Diag,...).  hr = 0x80070005.

 

Operation:

   Initializing Writer

 

Context:

   Writer Class Id: {57af97e4-4a76-4ace-a756-d11e8f0294c7}

   Writer Name: SPSearch VSS Writer

   Writer Instance ID: {cfedb505-f640-4a6b-9fc4-0a63a42f5bef}

Event Xml:

<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">

  <System>

    <Provider />

    <EventID Qualifiers="0">12289</EventID>

    <Level>2</Level>

    <Task>0</Task>

    <Keywords>0x80000000000000</Keywords>

    <TimeCreated SystemTime="2009-07-16T08:49:15.000Z" />

    <EventRecordID>12577</EventRecordID>

    <Channel>Application</Channel>

    <Computer>WCIDEVVM.domain.local</Computer>

    <Security />

  </System>

  <EventData>

    <Data>RegOpenKeyExW(-2147483646,SYSTEM\CurrentControlSet\Services\VSS\Diag,...)</Data>

    <Data>0x80070005</Data>

    <Data>

 

Operation:

   Initializing Writer

 

Context:

   Writer Class Id: {57af97e4-4a76-4ace-a756-d11e8f0294c7}

   Writer Name: SPSearch VSS Writer

   Writer Instance ID: {cfedb505-f640-4a6b-9fc4-0a63a42f5bef}</Data>

    <Binary>2D20436F64653A20524547524547534330303030303135382D2043616C6C3A20524547524547534330303030303133312D205049443A202030303030343038342D205449443A202030303030323134302D20434D443A202022433A5C50726F6772616D2046696C65735C436F6D6D6F6E2046696C65735C4D6963726F736F6674205368617265645C5765622053657276657220457874656E73696F6E735C31325C42494E5C6D737365617263682E657865222020202020202D20557365723A20444F4D41494E5C6D6F73735F7370736561726368202020202D205369643A2020532D312D352D32312D323635323237363839372D333933323235393138302D3133373037353234382D313130392020202D204572726F723A5265674F70656E4B6579457857282D323134373438333634362C53595354454D5C43757272656E74436F6E74726F6C5365745C53657276696365735C5653535C446961672C2E2E2E2920202020202020</Binary>

  </EventData>

</Event>

 

Log Name:      Application

Source:        Office SharePoint Server

Date:          16/07/2009 09:45:16

Event ID:      7888

Task Category: Office Server General

Level:         Error

Keywords:      Classic

User:          N/A

Computer:      WCIDEVVM.domain.local

Description:

A runtime exception was detected. Details follow.

Message: Access Denied! Only site admin can access Data Source object from user profile DB.

 

Techinal Details:

System.UnauthorizedAccessException: Access Denied! Only site admin can access Data Source object from user profile DB.

   at Microsoft.Office.Server.UserProfiles.SRPSite.AdminCheck(String message)

   at Microsoft.Office.Server.UserProfiles.DataSource._LoadDataSourceDef(IDataRecord rec)

   at Microsoft.Office.Server.UserProfiles.DataSource._LoadDataSourceDef(String strDSName)

   at Microsoft.Office.Server.UserProfiles.DataSource..ctor(SRPSite site, Boolean fAllowEveryoneRead)

   at Microsoft.Office.Server.UserProfiles.DataSource..ctor(SRPSite site)

   at Microsoft.Office.Server.UserProfiles.UserProfileConfigManager.GetDataSource()

   at Microsoft.Office.Server.UserProfiles.BDCConnector.RefreshConfiguration(String sspName)

Event Xml:

<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">

  <System>

    <Provider />

    <EventID Qualifiers="0">7888</EventID>

    <Level>2</Level>

    <Task>1516</Task>

    <Keywords>0x80000000000000</Keywords>

    <TimeCreated SystemTime="2009-07-16T08:45:16.000Z" />

    <EventRecordID>12575</EventRecordID>

    <Channel>Application</Channel>

    <Computer>WCIDEVVM.domain.local</Computer>

    <Security />

  </System>

  <EventData>

    <Data>Access Denied! Only site admin can access Data Source object from user profile DB.</Data>

    <Data>System.UnauthorizedAccessException: Access Denied! Only site admin can access Data Source object from user profile DB.

   at Microsoft.Office.Server.UserProfiles.SRPSite.AdminCheck(String message)

   at Microsoft.Office.Server.UserProfiles.DataSource._LoadDataSourceDef(IDataRecord rec)

   at Microsoft.Office.Server.UserProfiles.DataSource._LoadDataSourceDef(String strDSName)

   at Microsoft.Office.Server.UserProfiles.DataSource..ctor(SRPSite site, Boolean fAllowEveryoneRead)

   at Microsoft.Office.Server.UserProfiles.DataSource..ctor(SRPSite site)

   at Microsoft.Office.Server.UserProfiles.UserProfileConfigManager.GetDataSource()

   at Microsoft.Office.Server.UserProfiles.BDCConnector.RefreshConfiguration(String sspName)</Data>

  </EventData>

</Event>

Log Name:      Application

Source:        Office SharePoint Server

Date:          16/07/2009 09:42:02

Event ID:      7888

Task Category: Office Server General

Level:         Error

Keywords:      Classic

User:          N/A

Computer:      WCIDEVVM.domain.local

Description:

A runtime exception was detected. Details follow.

Message: Access Denied! Only site admin can access Data Source object from user profile DB.

 

Techinal Details:

System.UnauthorizedAccessException: Access Denied! Only site admin can access Data Source object from user profile DB.

   at Microsoft.Office.Server.UserProfiles.SRPSite.AdminCheck(String message)

   at Microsoft.Office.Server.UserProfiles.DataSource._LoadDataSourceDef(IDataRecord rec)

   at Microsoft.Office.Server.UserProfiles.DataSource._LoadDataSourceDef(String strDSName)

   at Microsoft.Office.Server.UserProfiles.DataSource..ctor(SRPSite site, Boolean fAllowEveryoneRead)

   at Microsoft.Office.Server.UserProfiles.DataSource..ctor(SRPSite site)

   at Microsoft.Office.Server.UserProfiles.UserProfileConfigManager.GetDataSource()

   at Microsoft.Office.Server.UserProfiles.BDCConnector.RefreshConfiguration(String sspName)

Event Xml:

<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">

  <System>

    <Provider />

    <EventID Qualifiers="0">7888</EventID>

    <Level>2</Level>

    <Task>1516</Task>

    <Keywords>0x80000000000000</Keywords>

    <TimeCreated SystemTime="2009-07-16T08:42:02.000Z" />

    <EventRecordID>12574</EventRecordID>

    <Channel>Application</Channel>

    <Computer>WCIDEVVM.domain.local</Computer>

    <Security />

  </System>

  <EventData>

    <Data>Access Denied! Only site admin can access Data Source object from user profile DB.</Data>

    <Data>System.UnauthorizedAccessException: Access Denied! Only site admin can access Data Source object from user profile DB.

   at Microsoft.Office.Server.UserProfiles.SRPSite.AdminCheck(String message)

   at Microsoft.Office.Server.UserProfiles.DataSource._LoadDataSourceDef(IDataRecord rec)

   at Microsoft.Office.Server.UserProfiles.DataSource._LoadDataSourceDef(String strDSName)

   at Microsoft.Office.Server.UserProfiles.DataSource..ctor(SRPSite site, Boolean fAllowEveryoneRead)

   at Microsoft.Office.Server.UserProfiles.DataSource..ctor(SRPSite site)

   at Microsoft.Office.Server.UserProfiles.UserProfileConfigManager.GetDataSource()

   at Microsoft.Office.Server.UserProfiles.BDCConnector.RefreshConfiguration(String sspName)</Data>

  </EventData>

</Event>

Log Name:      Application

Source:        VSS

Date:          16/07/2009 09:41:07

Event ID:      12289

Task Category: None

Level:         Error

Keywords:      Classic

User:          N/A

Computer:      WCIDEVVM.domain.local

Description:

Volume Shadow Copy Service error: Unexpected error RegOpenKeyExW(-2147483646,SYSTEM\CurrentControlSet\Services\VSS\Diag,...).  hr = 0x80070005.

 

Operation:

   Initializing Writer

 

Context:

   Writer Class Id: {8d5f38cd-fb7a-49ca-ae1b-21d1f017d8f9}

   Writer Name: OSearch VSS Writer

   Writer Instance ID: {fb204c74-4c80-433e-8c56-c20929b14605}

Event Xml:

<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">

  <System>

    <Provider />

    <EventID Qualifiers="0">12289</EventID>

    <Level>2</Level>

    <Task>0</Task>

    <Keywords>0x80000000000000</Keywords>

    <TimeCreated SystemTime="2009-07-16T08:41:07.000Z" />

    <EventRecordID>12572</EventRecordID>

    <Channel>Application</Channel>

    <Computer>WCIDEVVM.domain.local</Computer>

    <Security />

  </System>

  <EventData>

    <Data>RegOpenKeyExW(-2147483646,SYSTEM\CurrentControlSet\Services\VSS\Diag,...)</Data>

    <Data>0x80070005</Data>

    <Data>

 

Operation:

   Initializing Writer

 

Context:

   Writer Class Id: {8d5f38cd-fb7a-49ca-ae1b-21d1f017d8f9}

   Writer Name: OSearch VSS Writer

   Writer Instance ID: {fb204c74-4c80-433e-8c56-c20929b14605}</Data>

    <Binary>2D20436F64653A20524547524547534330303030303135382D2043616C6C3A20524547524547534330303030303133312D205049443A202030303030333430382D205449443A202030303030333434302D20434D443A202022433A5C50726F6772616D2046696C65735C4D6963726F736F6674204F666669636520536572766572735C31322E305C42696E5C6D737365617263682E65786522202020202020202D20557365723A20444F4D41494E5C6D6F73735F7370736561726368202020202D205369643A2020532D312D352D32312D323635323237363839372D333933323235393138302D3133373037353234382D313130392020202D204572726F723A5265674F70656E4B6579457857282D323134373438333634362C53595354454D5C43757272656E74436F6E74726F6C5365745C53657276696365735C5653535C446961672C2E2E2E2920202020202020</Binary>

  </EventData>

</Event>

 

The GAC has relevant files

 

 

The registry has the relevant entries:

 

 

Suspected Cause:

I am not entirely sure of what is causing this as the registry seems to have the relevant entries as does the GAC.