Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 72043

Could not deploy menu item to EP

$
0
0

Dear All,

 

While deploying menu item to EP(right click menu item and deploy to EP) I am facing below issue(infologmessage):

Server was unable to process request. --->

The type initializer for 'Microsoft.Dynamics.Framework.BusinessConnector.Session.SessionCache'

threw an exception. --->

The type initializer for 'Microsoft.Dynamics.Framework.BusinessConnector.PerformanceCounters'

threw an exception. ---> Requested registry access is not allowed.

 

The user which I used to log in AX client is axadmin and has full rights everywhere. Even I tried with multiple users. Sharepoint & IIS is installed on different machine than AOS. Also, Ax Database is on different machine. Below are things I tried so far, but no luck.

 

  1. Created new business connector client configuration and refreshed WCF configuration. Ensured that AOS server details are correct here.
  2. Did Full CIL compilation.
  3. Regenerated XPPIL folder.
  4. Did not see any message in windows event viewer.
  5. Regenerated the windows performance counter using this link: https://community.dynamics.com/ax/f/33/t/73781
  6. Moved production database and model database to this environment.
  7. Even tried to use AxUpdatePortal utility but faced some error. Although I am not very well verse with this utility.
  8. I do not remember anyone has made any changes to this environment.

 

Then I debugged the code (set a breakpoint at Classes\Info\Add) and could see that class\SysEpDeploymentProxy\DeployWebcomponent- Line 38 

If(useWebservice)

{

Return    epDeploymentServiceClient.DeployWebComponent(TreeNodePath,VirtualServerUrl,SiteURL);             

}

The above code under if condition threw this exception i.e CLR exception. VirtualSeverURL variable is empty here but SiteURL variable contains my EP site url path. Don’t know whats going wrong her.

I understand the epDeploymentServiceClient is trying to call webservice at IIS and then that webservice is supposed to call required method to deploy component.

 

But as of now I am stuck here and nobody can deploy anything. Please help ASAP.

Thanks

Manoj Parashar


Viewing all articles
Browse latest Browse all 72043

Trending Articles



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