on 07-17-2006 3:13 PM
i have done the following using visual studio 2005/2003
i have built a project in 2003 and add the sap proxy and the objects that i needed. i compiled this(sap6.dll)
i have opened 2005. i have referenced
sap.dll
sapconnector.dll
sapconnector.rfc.dll
now i added
using sap.connector;
protected SAP.Connector.SAPIDocSender sapiDocSender2;
SAPProxy1 proxy = new SAPProxy1();
when i try to compile i get the following error
Error 1 The type 'SAP.Connector.SAPIDocSender' exists in both 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\sap1\93028739\9eb0381d\assembly\dl3\bdc01a3b\009640e4_c576c501\SAP.Connector.Rfc.DLL' and 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\sap1\93028739\9eb0381d\assembly\dl3\44904c2d\00a0a66f_ae93c401\SAP.Connector.DLL' c:\inetpub\wwwroot\sap1\Default.aspx.cs 21 29 http://psbeh192/sap1/
Error 2 The type or namespace name 'SAPProxy1' could not be found (are you missing a using directive or an assembly reference?) c:\inetpub\wwwroot\sap1\Default.aspx.cs 24 5 http://psbeh192/sap1/
i do not know what this means or what to do
please help
thanks in advance
To solve the fist problem, best put SAP.Connector.dll and SAP.Connector.Rfc.dll into GAC. Make sure that they are referenced without copying to the application folder.
For the second problem, make sure that SAP.dll appears in web.config's "compilation" section.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.