I am using this code to create Xrm.cs file through the code that runs in CMD.
CrmSvcUtil.exe /codeCustomization:"Microsoft.Xrm.Client.CodeGeneration.CodeCustomization, Microsoft.Xrm.Client.CodeGeneration" /out:"Xrm\Xrm.cs" /url:"fonecrm/.../Organization.svc" /domain:"techvedic.net" /username:"foneadmin" /password:"Vedic$123" /namespace:"Xrm" /serviceContextName:"XrmServiceContext" /serviceContextPrefix:"Xrm"
though i am successfully able to create the file but it appears as if there is some problem. Everytime I run my aspx page, I get an error message
Access is denied.
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.ServiceModel.Security.SecurityAccessDeniedException: Access is denied.
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. |
Can anyone suggest what could be the cause of this problem?
*This post is locked for comments
I have the same question (0)