Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 46379

Exception in Vendor Profile Enterprise Portal Page

$
0
0

Hi,

When I open VendProfile screen in Enterprise Portal (Ax 2012) , I am getting below exception:

An unexpected error has occurred. Microsoft.Dynamics.AX.Framework.Services.Client.MetadataServiceException: Exception occurred on the metadata service on client or server. See exception details below: >Status Enum with ID -1 does not exist. ---> System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: Status Enum with ID -1 does not exist. (Fault Detail is equal to An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is: Microsoft.Dynamics.Ax.Services.XppBridgeException: Status Enum with ID -1 does not exist. at Microsoft.Dynamics.Ax.Services.XppBridge.CallBridge(XppBridgeSecurityAuthSettings securityAuthSettings, String methodName, Type returnType, Object[] methodParams) at Microsoft.Dynamics.Ax.Services.XppProxies.Bridge.XppObjectBridge.CallMethod[T](XppBridgeSecurityAuthSettings securityAuthSettings, String name, Object[] parameters) at Microsoft.Dynamics.Ax.Services.XppProxies.Bridge.XppObjectBridge.CallMethod[T](String name, Object[] parameters) at Microsoft.Dynamics.AX.Framework.Services.Metadata.Service.FieldMetadataAccessor.GetItem(DataFieldKey fieldIdentifier) at Microsoft.Dynamics.AX.Framework.Services.Metadata.Service.TableMetadataAccessor.AssignFields(TableMetadata table, DictTable dictTable) at Microsoft.Dynamics.AX.Framework.Services.Metadata.Service.TableMetadataAccessor.GetItem(Int32 tableId) ...). --- End of inner exception stack trace --- at Microsoft.Dynamics.AX.Framework.Services.Client.ServiceClientHelper.InvokeChannelOperation[TResult,TChannel](IServiceClient`1 client, Func`2 operationInvoker, Func`2 exceptionWrapper) at Microsoft.Dynamics.AX.Framework.Services.Client.MetadataServiceProxyFactory.<>c__DisplayClass1a.<CreateTableMetadataProxy>b__18() at Microsoft.Dynamics.AX.Framework.Services.Client.MetadataServiceProxyFactory.GetMetadata[TMetadata](Func`1 metadataServiceInvoker, Func`1 nodeNotFoundErrorMessage) at Microsoft.Dynamics.AX.Framework.Services.Client.MetadataServiceProxyFactory.CreateTableMetadataProxy(String tableName) at Microsoft.Dynamics.AX.Framework.Services.Client.MetadataCache.<.cctor>b__30(String alternateKey) at Microsoft.Dynamics.AX.Framework.Services.Client.CustomMetadataAccessor`4.GetItemByAlternateKey(TAlternateKey alternateKey) at Microsoft.Dynamics.AX.Framework.Services.Client.CustomMetadataAccessor`4.GetMainKeyFromAlternate(TAlternateKey alternateKey) at Microsoft.Dynamics.AX.Framework.Services.Metadata.Caching.TripleKeyedItemCache`4.<>c__DisplayClassc.<GetItemInternal>b__a() at Microsoft.Dynamics.AX.Framework.Services.Metadata.Caching.CacheBase.CacheRead(ICacheReadArgs cacheReadArgs, Action tryReadAction, Action readThroughAction) at Microsoft.Dynamics.AX.Framework.Services.Metadata.Caching.TripleKeyedItemCache`4.GetItemInternal(CacheItemReadArgs itemReadArgs) at Microsoft.Dynamics.AX.Framework.Services.Metadata.Caching.TripleKeyedItemCache`4.GetItemByAlternateKey(TAlternateKey alternateKey) at Microsoft.Dynamics.AX.Framework.Services.Client.MetadataCache.GetTableMetadata(String tableName) at Microsoft.Dynamics.AX.Framework.Services.Client.DataSourceMetadata.GetDataSourceMetadata(ISession session, DataSetMetadata dataSet, TreeNode dataSourceNode) at Microsoft.Dynamics.AX.Framework.Services.Client.DataSetMetadata.GetDataSetMetadata(ISession session, String dataSetName) at Microsoft.Dynamics.AX.Framework.Services.Client.SessionBasedCustomMetadataAccessor`2.GetItem(ISession session, TKey key) at Microsoft.Dynamics.AX.Framework.Services.Client.SessionBasedItemCache`2.<>c__DisplayClass1.<GetItem>b__0(TKey k) at Microsoft.Dynamics.AX.Framework.Services.Metadata.Caching.ItemCache`2.<>c__DisplayClassc.<GetItemCustom>b__b() at Microsoft.Dynamics.AX.Framework.Services.Metadata.Caching.CacheBase.CacheRead(ICacheReadArgs cacheReadArgs, Action tryReadAction, Action readThroughAction) at Microsoft.Dynamics.AX.Framework.Services.Metadata.Caching.ItemCache`2.GetItemCustom(TKey key, Func`2 itemAccessor) at Microsoft.Dynamics.AX.Framework.Services.Client.SessionBasedItemCache`2.GetItem(ISession session, TKey key) at Microsoft.Dynamics.AX.Framework.Services.Client.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_vendprofile_ascx.__BuildControlAxDataSource_VendProfile() in c:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\ep\VendProfile.ascx:line 6 at ASP._layouts_ep_vendprofile_ascx.__BuildControlTree(_layouts_ep_vendprofile_ascx __ctrl) in c:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\ep\VendProfile.ascx:line 1 at ASP._layouts_ep_vendprofile_ascx.FrameworkInitialize() in c:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\ep\VendProfile.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.AxUserControlUpdatePanel.LoadControl() at Microsoft.Dynamics.Framework.Portal.UI.WebControls.AxUserControlUpdatePanel.LoadHostedControl() at Microsoft.Dynamics.Framework.Portal.UI.WebControls.AxUserControlUpdatePanel.AddHostedControl() at Microsoft.Dynamics.Framework.Portal.UI.WebControls.AxUserControlUpdatePanel.OnInit(EventArgs e) Please check the event log or contact your administrator. 

Can anybody help me to resolve the issue. Thanks in advance.


Viewing all articles
Browse latest Browse all 46379

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>