web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

GP serialization from .net hosted site

(1) ShareShare
ReportReport
Posted on by

I'm trying to get the Microsoft.Dynamics.GP.eConnect.Serialization.dll running on a .net website.

I can get the 64 bit dll functioning on my development PC by setting the Tools/Options/Projects/Web Projects 'Use 64 bit version...' But haven't found a way to get it running on the production website. It always throws the "incorrect format" error anytime it attempts to access the dll indicating a 32/64 bit mismatch.

I can get past the "incorrect format" error using the 32 bit dll functioning on the production website. But both development and production tells me I can't resize the eConnect.UPRCreateEmployeeType array in order to add additional entries.

Does anyone have this dll working on a .net website? 

thanks

Note: our GP is hosted on a third parties site and we are required to first create the XML file, then ftp it to the third party server where an application will read the XML and perform the actual interface into GP.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Almas Mahfooz Profile Picture
    11,009 User Group Leader on at

    Try the resolutions in  '.NET Assembly Incorrect Format Error' post. it worked for me when working for VSTools project.

    http://cknotes.com/tag/64-bit/

  • Tim Wappat Profile Picture
    5,711 on at

    I use x86 specific platform to get around this.

    2018_2D00_01_2D00_12_5F00_14_2D00_42_2D00_37.jpg

    I think this is the same as what Almas said...

  • Community Member Profile Picture
    on at

    Thanks for your response. This is what I did to get a c# winforms application properly running. But I can find no method of porting this setting from VS Express for Web to the actual web site. So I can get it running from with my development's VS environment - but haven't found a way to get the hosted web site to use the same settings.

  • Tim Wappat Profile Picture
    5,711 on at

    I use WCF "microservice(s)" to handle the GP interaction and keep that separated from the website code so the website does not directly reference any GP assemblies. So that architecture avoids this problem.

    Tim.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
mtabor Profile Picture

mtabor 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans