Search the GP Tables
Search by TABLE NAME
Search by FIELD NAME
These are our SOP scripts. All of our scripts for Dynamics GP can be found here
DynDeveloper.com

DynDeveloper.com

Table Edits Forum Articles
Table Edits 0 Table Edits 0 Table Edits 0
Sign Up Now!Log In
david.eichner 6/18/2007 6:03:37 PM

eConnect 10 errors

I have used eConnect COM object with ASP pages in the past.  With version 10 requiring use of .NET assembly, I am trying to create an aspx web page that works with eConnect but I cant seem to get it to work.  I have added imports of namespaces at the top of the webpage as follows:

<%@ Import Namespace="System.IO" %>

<%@ Import Namespace="System.XML" %>

<%@ Import Namespace="System.XML.Serialization" %>

<%@ Import Namespace="System.Text" %>

<%@ Import Namespace="System.EnterpriseServices" %>

<%@ Import Namespace="System.EnterpriseService.ServicedComponent" %>

<%@ Import Namespace="Microsoft.Dynamics.GP.eConnect" %>

<%@ Import Namespace="Microsoft.Dynamics.GP.eConnect.Serialization" %>

<%@ Import Namespace="Microsoft.Dynamics.GP.eConnect.MiscRoutines" %>

 However, I am still getting an error at a part in the code when I try to do the following:

Dim eConnectObject As New eConnectMethods

Any suggestions would be greatly appreciated.  Thanks!

David 

 

Error follows below:

 

Server Error in '/Intranet' Application.

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: BC30002: Type 'eConnectMethods' is not defined.

Source Error:

Line 176:Dim ConnectionString As String
Line 177:Dim eConnectResult As Boolean
Line 178:Dim eConnectObject As New eConnectMethods
Line 179:Dim xmlDoc As XmlDocument
Line 180:

Source File: E:\Inetpub\Files\Intranet\General\ImportCreditCardInvoicesRUN.aspx    Line: 178



 

xxxxx language=JavaScript type=text/javascript> function OnToggleTOCLevel1() { var elemSrc = window.event.srcElement; var elemLevel2 = document.all(elemSrc.level2ID); if (elemLevel2.style.display == 'none') { elemLevel2.style.display = ''; if (elemSrc.usesGlyph == '1') elemSrc.innerHTML = '6'; } else { elemLevel2.style.display = 'none'; if (elemSrc.usesGlyph == '1') elemSrc.innerHTML = '4'; } }


Version Information: Microsoft .NET Framework Version:1.1.4322.2379; ASP.NET Version:1.1.4322.2379

Version: Unknown or N/A
Section: eConnect








Table Definition Quick Links
All Tables
SOP Tables
RM Tables
GL Tables
POP Tables
HR Tables
PM Tables
UPR Tables
IV Tables
Olympic Tables