Web EDI Application Sample Program
Below are example programs to demonstrate how one can easily use the Framework EDI component in ASP .NET applications to translate, generate and acknowledge EDI files.
EDI X12 810 Invoice translator
This EDI ASP .NET program translates an EDI 810 document, and at the same time checks if there were any errors in the 810 file. Simply paste your
EDI 810 (version 4010) into the text box, then click on the "Translate" button.
[Run
example program] [View source
code] [Download program 64-bit]
EDI X12 810 Invoice generator
This is an example ASP .NET program that creates an EDI 810 document. Simply enter arbitrary values into the fields then click on the "Generate"
button.
[Run
example program] [View source
code] [Download program 64-bit]
HIPAA EDI Validation program
This program is an example Visual Basic ASP .NET program that uses FREDI-NET component to validate HIPAA EDI files (with no addenda). Simply paste your
HIPAA EDI file into the text box, and then click on the "Validate" button.
[Run example
program] [View source
code] [Download program 64-bit]
HIPAA EDI Acknowledgment program
This EDI ASP .NET web example program uses FREDI-NET component to acknowledge HIPAA EDI files. Simply paste your EDI file into the text box, and then click on the
"Acknowledge" button.
[Run example
program] [View source
code] [Download program 64-bit]
EDI X12 832 Price Catalog (with Image)
This EDI ASP .NET example program generates and translates an EDI 832 document that contain image files for each item. It also shows how the SEF file was
edited to support binary files.
[Run example
program] [Download program 64-bit]
Common Error Messages and Solutions
-
Could not load file or assembly 'EDIdEv.FrameworkEDI.NET4.x64, Version=5.6.724.432, Culture=neutral,
PublicKeyToken=366ef3324f08b1d2' or one of its dependencies.
The system cannot find the file specified.
This may happen if you are missing some files needed by the Framework EDI (FREDI) component. Install the following prerequisite files, and then reinstall FREDI- Microsoft Visual C++ 2005 Redistributable Package (x86)
- Microsoft Visual C++ 2010 Redistributable Package (x86)
- Microsoft Visual C++ 2005 Redistributable Package (x64)
- Microsoft Visual C++ 2010 Redistributable Package (x64)
- Microsoft Visual C++ 2005 Service Pack 1 Redistributable Package MFC Security Update
-
Could not load file or assembly ‘EDIdEv.FrameworkEI.NET … or one of its dependencies. An attempt was made to load a program
with an incorrect format.
This happens on 64-bit machines when your program has not been specified to run on x64 or x86 platform. Read above topics on "Compiling 64-bit applications" and "Compiling 32-bit applications to run on 64-bit platforms".
Also, verify that the application pool of your ASP .NET application is consistent with your application platform. So, if your web application is 64-bit, then select a 64-bit application pool. You must also disable the 32-bit application setting by going to the Advanced Settings of the Application Pool, and then set the “Enable 32-bit Application” field to false.
Similarly, if your web application is 32-bit, then select a 32-bit application pool, and keep the “Enable 32-bit Application” field to true.
Click here to evaluate the Framework EDI
The example programs provided in this article are for illustration only and have no purpose other than to show software developers how to use the Framework EDI component in programming languages to process EDI files. If you have any questions, don't hesitate to contact us: