Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

new web services for Dynamic GP

(0) ShareShare
ReportReport
Posted on by

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

  • Steve Kubis Profile Picture
    Steve Kubis on at
    RE: new web services for Dynamic GP

    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

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,409 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans