Skip to main content

Notifications

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

  • Tim Wappat Profile Picture
    5,703 on at
    RE: GP serialization from .net hosted site

    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.

  • Community Member Profile Picture
    on at
    RE: GP serialization from .net hosted site

    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,703 on at
    RE: GP serialization from .net hosted site

    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...

  • Suggested answer
    Almas Mahfooz Profile Picture
    11,009 User Group Leader on at
    RE: GP serialization from .net hosted site

    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/

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