Показать сообщение отдельно
Старый 23.04.2016, 23:20   #1  
mnt_dx is offline
mnt_dx
Участник
Axapta Retail User
Лучший по профессии 2014
 
1,744 / 188 (10) ++++++
Регистрация: 17.02.2011
Адрес: К Северу через Северо-Запад
Перестал работать enterprise portal
Виртуалка DAX 2012 r3, портал отлично работал, ничто не предвещало беды, но вдруг открываю портал (адрес http://intranet.contoso.com/sites/Dy...WDPK=initial/0
и вижу ошибку(!)
Цитата:
Error

Message: An unhandled error has occurred. To view details about this error, enable debugging in the web.config file or view the Windows event logs.
Пошел в евент вьюер, а там так:
Цитата:
An unhandled error has occurred. To view details about this error, enable debugging in the web.config file or view the Windows event logs.

Cannot create file mapping.

System

at System.Diagnostics.SharedPerformanceCounter.FileMapping.Initialize(String fileMappingName, Int32 fileMappingSize, Int32 initialOffset)
at System.Diagnostics.SharedPerformanceCounter.GetCategoryData()
at System.Diagnostics.SharedPerformanceCounter..ctor(String catName, String counterName, String instanceName, PerformanceCounterInstanceLifetime lifetime)
at System.Diagnostics.PerformanceCounter.InitializeImpl()
at System.Diagnostics.PerformanceCounter..ctor(String categoryName, String counterName, String instanceName, Boolean readOnly)
at Microsoft.Dynamics.AX.ManagedInterop.RuntimeContext.InitializePerformanceCounters(String categoryName)
at Microsoft.Dynamics.Framework.BusinessConnector.PerformanceCounters..cctor()


Microsoft Dynamics AX could not locate the Web server. Verify that Enterprise Portal is installed on the Web server. If Enterprise Portal is installed, verify that the server is available on the network.
Пошел в гуголь, там посоветовали сделать Deploy портала в DAX. Стал деплоить, но и тут ошибка:
Цитата:
Microsoft Dynamics AX could not locate the Web server. Verify that Enterprise Portal is installed on the Web server. If Enterprise Portal is installed, verify that the server is available on the network.
Рецепт отсюда не помог.

В эвент вьюере пачка ошибок после деплоя. Последняя такая:
Цитата:
Setup encountered an error during deployment of the Role Center and Enterprise Portal framework.
\Web
Microsoft.Dynamics.Framework.BusinessConnector.Session.Exceptions.FatalSessionException: Dynamics Object Adapter Call failed. ---> System.Threading.ThreadAbortException: Thread was being aborted.
at cqlClass.callEx(cqlClass* , Char* , interpret* )
at AxCore.AxRuntime.Call(AxRuntime* , IAxObject* axObject, String methodName, Type returnType, Object& result, Object[] paramList)
at Microsoft.Dynamics.AX.ManagedInterop.Object.CallWithReturnType(String methodName, Type returnType, Object[] paramList)
at Microsoft.Dynamics.AX.ManagedInterop.Object.Call(String methodName, Object param1, Object param2, Object param3)
at Microsoft.Dynamics.Framework.BusinessConnector.Session.DynamicsObjectAdapter.Call(String methodName, Object param1, Object param2, Object param3)
--- End of inner exception stack trace ---
at Microsoft.Dynamics.Framework.BusinessConnector.Session.DynamicsSession.HandleException(String message, Exception exception, HandleExceptionCallback callback)
at Microsoft.Dynamics.Framework.BusinessConnector.Session.DynamicsObjectAdapter.Call(String methodName, Object param1, Object param2, Object param3)
at Microsoft.Dynamics.Framework.BusinessConnector.Proxy.SysEPDeployment.deployWebComponent(String treeNodePath, String virtualServerUrl, String siteUrl)
at Microsoft.Dynamics.Framework.Deployment.Portal.EPDeployment.DeployWebComponent(String treeNodePath, String virtualServerUrl, String webSiteUrl, Boolean resetIIS, Nullable`1 modifiedAfter)
Что делать, как починить?
За это сообщение автора поблагодарили: Logger (1).