Add reference (ACCPAC.Advantage & ACCPAC.Advantage.Types); ( you can also get the ddl from GAC_MSIL - > c:\windows\assembly\GAC_MSIL from cmd prompt..)
Retrieving the COM class factory for component with CLSID {13898C04-C674-4B4E-B5C0-D78AF3E566CA} failed due to the following error: 8007007e.
At the line: session.Init("", "XX", "XX1000", "55A");
Please help me to fix this error. I've been struggling with this error for awhile. Even Accpac DPP Helpdesk couldn't help me.
Here is what I have:
- Accpac 5.5 for SQL & SDK 5.5
- Both of them installed on my server
I built an intranet web site using C#. Add those 2 DLLs reference as you mentioned above. And put those codes you have it above in. When I run it from IDE it works fine but when I view it from my localhost I got error at the line it says: session.init("",
"XX", "XX1000", "55A"), the same application.
Please help me out of this if anybody out there know this problem. I'm really really appreciated for your helps.
dharnendra
Contributor
2955 Points
551 Posts
how to integret sage line 500 with c# (Urgent)
Aug 02, 2008 04:41 AM|LINK
Hello friends,
I am developing accounting application in c#.net.
I require to integrate 'Sage line 500' 3rd party component for 'asset management' functionality in my web application.
I am completely new with accounting concepts as well as the component integration.
Please can anyone guide me how i can integrate the 'Sage line 500' component with my application.
Please help me out...its urgent!
Thanks
Technical Leader
GTL-Ahmedabad
dharnendra
Contributor
2955 Points
551 Posts
how to integret sage line 500 with c# (Urgent)
Aug 05, 2008 09:27 AM|LINK
Please Reply if you have any information.Its urgent
Thanks
Technical Leader
GTL-Ahmedabad
sheryarnizar
Member
30 Points
21 Posts
Re: how to integret sage line 500 with c# (Urgent)
Oct 13, 2008 06:34 PM|LINK
After installing SAGE SDK for .net 55
Add reference (ACCPAC.Advantage & ACCPAC.Advantage.Types); ( you can also get the ddl from GAC_MSIL - > c:\windows\assembly\GAC_MSIL from cmd prompt..)
in C#..write code
using ACCPAC.Advantage;
private ACCPAC.Advantage.Session session;
private DBLink mDBLinkCmpRW;
session = new ACCPAC.Advantage.Session();
session.Init("", "XX", "XX1000", "55A");
session.Open("ADMIN", "ADMIN", "SAMINC", DateTime.Today, 0);
mDBLinkCmpRW = session.OpenDBLink(ACCPAC.Advantage.DBLinkType.Company, ACCPAC.Advantage.DBLinkFlags.ReadWrite);
This is how you can connect to DATABASE OF ACCPAC (55a)
--
Sheryar Nizar
http://www.sheryar.net
ASP.NET Forums ASP.NET .Net asp.net 2.0 ACCPAC DATABASE CONNECTION IN C# Sheryar Nizar SAGE C#
Sheryar Nizar
VATP
Member
2 Points
1 Post
Re: how to integret sage line 500 with c# (Urgent)
Dec 17, 2008 06:46 PM|LINK
Hello Sheryar,
I did that but I got error:
Retrieving the COM class factory for component with CLSID {13898C04-C674-4B4E-B5C0-D78AF3E566CA} failed due to the following error: 8007007e.
At the line: session.Init("", "XX", "XX1000", "55A");
Please help me to fix this error. I've been struggling with this error for awhile. Even Accpac DPP Helpdesk couldn't help me.
Here is what I have:
- Accpac 5.5 for SQL & SDK 5.5
- Both of them installed on my server
I built an intranet web site using C#. Add those 2 DLLs reference as you mentioned above. And put those codes you have it above in. When I run it from IDE it works fine but when I view it from my localhost I got error at the line it says: session.init("", "XX", "XX1000", "55A"), the same application.
Please help me out of this if anybody out there know this problem. I'm really really appreciated for your helps.
vacavdev
Member
4 Points
2 Posts
Re: how to integret sage line 500 with c# (Urgent)
Mar 10, 2009 08:46 PM|LINK
Having the same problem
Retrieving the COM class factory for component with CLSID {13898C04-C674-4B4E-B5C0-D78AF3E566CA}
failed due to the following error: 800701e7.
at ACCPAC.Advantage.Server.Session..ctor(Int32 key)