Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

How to configure dynamic Gp 2010 web service with C#.net ?

(0) ShareShare
ReportReport
Posted on by 115

Hi,

I configure the dynamic GP 2010 webservice , below mention is the app.config file 

<?xml version="1.0"?>
<configuration>
<configSections>
</configSections>
<startup><supportedRuntime version="v2.0.50727"/></startup><system.serviceModel>
<bindings>
<wsHttpBinding>
<binding name="GPWebService" />
</wsHttpBinding>
</bindings>
<client>
<endpoint address="http://abc:48620/Dynamics/GPService/GPService"
binding="wsHttpBinding" bindingConfiguration="GPWebService"
contract="GPWS2010.DynamicsGP" name="GPWebService">
<identity>
<userPrincipalName value="administrator@abc.com" />
</identity>
</endpoint>
</client>
</system.serviceModel>
</configuration>

I  have added webservice url ,userPrincipalName  and company ID as (1).

when i run the program it prompt me an error mention below ,

"An exception of type 'System.ServiceModel.Security.SecurityNegotiationException' occurred in mscorlib.dll but was not handled in user code

Additional information: The caller was not authenticated by the service. "

Please guide to get rid of this issue.

Thanks,

Ajay

*This post is locked for comments

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
Almas Mahfooz Profile Picture

Almas Mahfooz 3 User Group Leader

Featured topics

Product updates

Dynamics 365 release plans