
Hello there ,
i was working to create a new web service for Microsoft Dynamic GP by following the reference document give by GP WebService Document .
i created all the classes , dll, Resource file but during the Deployment i m having exception
this is the exception log from Event Viewer
Exception type:
Microsoft.Dynamics.Security.NonExistentSecurityObjectException
Exception message:
The security object does not exist. Key = 8EEFB5BE-6907-488A-89BE-775330C1254E
SecurityContext:
ApplicationKey: 25cc1a21-2cc4-4b13-a1c8-eea186fb688a
ScopeKey: null
User: jeganee\vineeths
Action:
Create
Input parameters:
<RequestObjects>
<Task xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<BaseKey xsi:type="TaskKey" xmlns="http://schemas.microsoft.com/dynamics/security/2006/01">
<Id>8E0B7B13-8029-46D0-A145-C25DB7B4632D</Id>
</BaseKey>
<Description xmlns="http://schemas.microsoft.com/dynamics/security/2006/01">View customProject</Description>
<Key xmlns="http://schemas.microsoft.com/dynamics/security/2006/01">
<Id>8E0B7B13-8029-46D0-A145-C25DB7B4632D</Id>
</Key>
<KeywordType xsi:nil="true" xmlns="http://schemas.microsoft.com/dynamics/security/2006/01" />
<Name xmlns="http://schemas.microsoft.com/dynamics/security/2006/01">View customProject</Name>
<Operations xmlns="http://schemas.microsoft.com/dynamics/security/2006/01">
<OperationKey>
<Id>8EEFB5BE-6907-488A-89BE-775330C1254E</Id>
</OperationKey>
<OperationKey>
<Id>8EEFB5BE-6907-488A-89BE-775330C1254EGetList</Id>
</OperationKey>
</Operations>
<Tasks xmlns="http://schemas.microsoft.com/dynamics/security/2006/01" />
</Task></RequestObjects>
Stack Trace:
at Microsoft.Dynamics.Security.AzManOperationServiceImplementation.RetrieveForGetByKey(SecurityContext context, Key key)
at Microsoft.Dynamics.Security.SecurityService.InvokeRetrieveForGetByKey(SecurityContext context, Key key, String categoryName, String operationName)
at Microsoft.Dynamics.Security.SecurityService.Get(SecurityContext context, Key key)
at Microsoft.Dynamics.Security.AzManOperationServiceImplementation.GetOperation(SecurityContext context, OperationKey operationKey)
at Microsoft.Dynamics.Security.ConcreteValidator.ValidateOperationKeyList(SecurityContext context, List`1 keyList)
at Microsoft.Dynamics.Security.SecurityService.Create(SecurityContext context, SecurityObject securityObject)
i have tried all possibilities what can i ..! but no result can some body help me how to come out from here .
i m using sql 2008 r2 , GP 2013 Sp1, windows 7
*This post is locked for comments
I have the same question (0)It sounds like you haven't set up the security metadata for your web service operation. Have you followed the steps discussed in this portion of the documentation?
msdn.microsoft.com/.../dd996523.aspx
Steve