你好,
我用dynamics public template建了EP internet site. IIS, AX 里guest账户等都设好了。站点可以匿名访问了,products都可以看,其他信息需要signin后才能看,但是进入signin, signup界面都报错。
An unexpected error has occurred.
Microsoft.Dynamics.Framework.Metadata.Ax.InvalidMetadataNodeException: Extended Data Type 'TSDInsCode' has an invalid relation, the following properties are required for 'Normal' type relations: Table, and RelatedField.
at Microsoft.Dynamics.Framework.Metadata.Ax.ExtendedDataTypeRelationshipMetadata.GetExtendedDataTypeRelationshipMetadata(DictRelation dictRel, ExtendedDataTypeMetadata edt)
at Microsoft.Dynamics.Framework.Metadata.Ax.ExtendedDataTypeMetadata.InitEDTProperties(SysDictType dictType)
at Microsoft.Dynamics.Framework.Metadata.Ax.StringExtendedDataTypeMetadata.InitEDTProperties(SysDictType dictType)
at Microsoft.Dynamics.Framework.Metadata.Ax.ExtendedDataTypeMetadata.GetExtendedDataTypeMetadata(ISession session, Int32 id)
at Microsoft.Dynamics.Framework.Metadata.Ax.DictionaryCache`2.GetItem(ISession session, IdType id)
at Microsoft.Dynamics.Framework.Metadata.Ax.MetadataCache.GetExtendedDataTypeMetadata(ISession session, Int32 edtId)
at Microsoft.Dynamics.Framework.Metadata.Ax.TableDataFieldMetadata.GetTableDataFieldMetadata(ISession session, TableMetadata table, Int32 fieldId)
at Microsoft.Dynamics.Framework.Metadata.Ax.TableMetadata.InitializeFields(ISession session, TableMetadata table, DictTable dictTable)
at Microsoft.Dynamics.Framework.Metadata.Ax.TableMetadata.GetTableMetadata(ISession session, Int32 tableId)
at Microsoft.Dynamics.Framework.Metadata.Ax.DictionaryCache`2.GetItem(ISession session, IdType id)
at Microsoft.Dynamics.Framework.Metadata.Ax.MetadataCache.GetTableMetadata(ISession session, Int32 tableId)
at Microsoft.Dynamics.Framework.Metadata.Ax.MetadataCache.GetTableMetadata(ISession session, String tableName)
at Microsoft.Dynamics.Framework.Metadata.Ax.DataSourceMetadata.GetDataSourceMetadata(ISession session, DataSetMetadata dataSet, TreeNode dataSourceNode)
at Microsoft.Dynamics.Framework.Metadata.Ax.DataSetMetadata.GetDataSetMetadata(ISession session, String dataSetName)
at Microsoft.Dynamics.Framework.Metadata.Ax.DictionaryCache`2.GetItem(ISession session, IdType id)
at Microsoft.Dynamics.Framework.Metadata.Ax.MetadataCache.GetDataSetMetadata(ISession session, String dataSetName)
at Microsoft.Dynamics.Framework.Portal.UI.WebControls.AxDataSource.GetMetadata(String dsName, Boolean reThrow)
at Microsoft.Dynamics.Framework.Portal.UI.WebControls.AxDataSource.ValidateDataSetNameAndProviderView(String dsName, String providerName, DataSetMetadata& metadata)
at Microsoft.Dynamics.Framework.Portal.UI.WebControls.AxDataSource.set_DataSetName(String value)
at ASP._layouts_ep_epcsscustsignup_ascx.__BuildControldsEPCSSCustSignUp() in c:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\LAYOUTS\ep\EPCSSCustSignUp.ascx:line 5
at ASP._layouts_ep_epcsscustsignup_ascx.__BuildControlTree(_layouts_ep_epcsscustsignup_ascx __ctrl) in c:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\LAYOUTS\ep\EPCSSCustSignUp.ascx:line 1
at ASP._layouts_ep_epcsscustsignup_ascx.FrameworkInitialize() in c:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\LAYOUTS\ep\EPCSSCustSignUp.ascx.cs:line 912307
at System.Web.UI.TemplateControl.LoadControl(IWebObjectFactory objectFactory, VirtualPath virtualPath, Type t, Object[] parameters)
at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath)
at Microsoft.Dynamics.Framework.Portal.UI.WebControls.AxContentPanel.LoadHostedControl()
at Microsoft.Dynamics.Framework.Portal.UI.WebControls.AxContentPanel.AddHostedControl()
at Microsoft.Dynamics.Framework.Portal.UI.WebControls.AxContentPanel.OnInit(EventArgs e)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.AddedControl(Control control, Int32 index)
at Microsoft.Dynamics.Framework.Portal.UI.WebControls.WebParts.AxBaseWebPart.AddContentPanel()
at Microsoft.Dynamics.Framework.Portal.UI.WebControls.WebParts.AxUserControlWebPart.CreateChildControls()
at System.Web.UI.Control.EnsureChildControls()
at Microsoft.Dynamics.Framework.Portal.UI.WebControls.WebParts.AxBaseWebPart.OnInit(EventArgs e)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.AddedControl(Control control, Int32 index)
at System.Web.UI.WebControls.WebParts.WebPartManager.WebPartManagerControlCollection.AddWebPartHelper(WebPart webPart)
at System.Web.UI.WebControls.WebParts.WebPartManager.WebPartManagerControlCollection.AddWebPart(WebPart webPart)
at System.Web.UI.WebControls.WebParts.WebPartManagerInternals.AddWebPart(WebPart webPart)
at Microsoft.SharePoint.WebPartPages.SPWebPartManager.AddWebPartWithRetry(WebPart webPart)
at Microsoft.SharePoint.WebPartPages.SPWebPartManager.AddDynamicWebPart(WebPart webPart)
at Microsoft.SharePoint.WebPartPages.SPWebPartManager.CreateWebPartsFromRowSetData(Boolean onlyInitializeClosedWebParts)
at Microsoft.SharePoint.WebPartPages.SPWebPartManager.LoadWebParts()
at Microsoft.SharePoint.WebPartPages.SPWebPartManager.OnPageInitComplete(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Web.UI.Page.OnInitComplete(EventArgs e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
怎么办呢?
谢谢
Alan