I'm trying to connect Dataport 7.0.2 to a remote TEST server (shared hosting). This worked the last time (about 2 weeks ago) I tried it.
I have verified my user name and password on the admin login and both work. The only change was the installation of a TEST license key.
If I access the site via a browser window, I get the detailed error information below. Mike Randolph suggested this was an access error but
the rest of the store works fine so I'm not sure what access rights I would need to change. To quote him, "... it looks like the files are not
located in a place where they have access to the /bin directory."
Any ideas on what the problem is?
Server Error in '/secure/StorkGifts' 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: CS0234: The type or namespace name 'Api' does not exist in the namespace 'CommerceBuilder.DataClient' (are you missing an assembly reference?)
Source Error:
Line 5: using System.IO;
Line 6: using System.Security.Principal;
Line 7: using CommerceBuilder.DataClient.Api;
Line 8: using CommerceBuilder.DataClient.Api.Schema;
Line 9:
Source File: e:\web\zlasolution\htdocs\secure\StorkGifts\ClientApi\ClientApiService.ashx Line: 7
Compiler Warning Messages:
Warning: CS1668: Invalid search path 'C:\Program Files\SQLXML 3.0\bin\' specified in 'LIB environment variable' -- 'Access is denied. '
Source Error:
[No relevant source lines]
Warning: CS1668: Invalid search path 'C:\Program Files\SQLXML 4.0\bin\' specified in 'LIB environment variable' -- 'Access is denied. '
Source Error:
[No relevant source lines]
Show Detailed Compiler Output:
c:\windows\system32\inetsrv> "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\csc.exe" /t:library /utf8output /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\secure_storkgifts\f6d7f328\8fe8d130\App_Code.3mq3-lt-.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.IdentityModel\3.0.0.0__b77a5c561934e089\System.IdentityModel.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\secure_storkgifts\f6d7f328\8fe8d130\assembly\dl3\79611b33\b5670254_9cd8c901\CommerceBuilder.AcTestProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\secure_storkgifts\f6d7f328\8fe8d130\assembly\dl3\e9c878e3\c4c96e4a_9dd8c901\ICSharpCode.SharpZipLib.DLL" /R:"C:\WINDOWS\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.ServiceModel.Web\3.5.0.0__31bf3856ad364e35\System.ServiceModel.Web.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Configuration.Install\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.Install.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\secure_storkgifts\f6d7f328\8fe8d130\assembly\dl3\ca89c982\681ccfa5_9cd8c901\CommerceBuilder.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\secure_storkgifts\f6d7f328\8fe8d130\assembly\dl3\e6fccf17\630f3eb2_9cd8c901\CommerceBuilder.InternetSecure.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\secure_storkgifts\f6d7f328\8fe8d130\assembly\dl3\aac70b83\e48e05c4_9cd8c901\CommerceBuilder.UPS.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\secure_storkgifts\f6d7f328\8fe8d130\assembly\dl3\7a13d650\c0a46c3d_9cd8c901\AjaxControlToolkit.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\secure_storkgifts\f6d7f328\8fe8d130\assembly\dl3\df3e3636\37ebba32_9dd8c901\CyberSource.Clients.XmlSerializers.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\secure_storkgifts\f6d7f328\8fe8d130\assembly\dl3\82c494b7\e435bb58_9cd8c901\CommerceBuilder.CanadaPost.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\secure_storkgifts\f6d7f328\8fe8d130\assembly\dl3\78ad7b43\16ecb4af_9dd8c901\WebChart.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Mobile\2.0.0.0__b03f5f7f11d50a3a\System.Web.Mobile.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\secure_storkgifts\f6d7f328\8fe8d130\assembly\dl3\15cd96ef\69ddd628_9dd8c901\CyberSource.Base.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\secure_storkgifts\f6d7f328\8fe8d130\assembly\dl3\fe71cabd\ebcaffb4_9cd8c901\CommerceBuilder.Paradata.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\secure_storkgifts\f6d7f328\8fe8d130\assembly\dl3\dfb1a277\b707a3a9_9cd8c901\CommerceBuilder.FedEx.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\secure_storkgifts\f6d7f328\8fe8d130\assembly\dl3\3623c270\ec642372_9cd8c901\CommerceBuilder.DHL.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\secure_storkgifts\f6d7f328\8fe8d130\assembly\dl3\952099cd\c6e68ebd_9cd8c901\CommerceBuilder.Protx.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\secure_storkgifts\f6d7f328\8fe8d130\assembly\dl3\d25091c8\da9e1954_9dd8c901\log4net.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\secure_storkgifts\f6d7f328\8fe8d130\assembly\dl3\8afef812\54e05aa9_9dd8c901\paypal_base.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\secure_storkgifts\f6d7f328\8fe8d130\assembly\dl3\acfb314d\56b4ed6f_9dd8c901\Microsoft.Practices.ObjectBuilder.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\secure_storkgifts\f6d7f328\8fe8d130\assembly\dl3\c8bc4d0a\34d04d55_9cd8c901\CommerceBuilder.AustraliaPost.DLL" /R:"C:\WINDOWS\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\secure_storkgifts\f6d7f328\8fe8d130\assembly\dl3\d03c85f1\900bf0bb_9cd8c901\CommerceBuilder.PayPal.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\secure_storkgifts\f6d7f328\8fe8d130\assembly\dl3\82349edf\d192a433_9dd8c901\CyberSource.WSSecurity.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Extensions.Design\1.0.61025.0__31bf3856ad364e35\System.Web.Extensions.Design.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\secure_storkgifts\f6d7f328\8fe8d130\assembly\dl3\6596e909\51f81957_9cd8c901\CommerceBuilder.AuthorizeNet.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\secure_storkgifts\f6d7f328\8fe8d130\assembly\dl3\da2e10b8\b1f20852_9cd8c901\CommerceBuilder.AbleCommerceTax.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\secure_storkgifts\f6d7f328\8fe8d130\assembly\dl3\d5877b85\48567246_9dd8c901\FredCK.FCKeditorV2.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\secure_storkgifts\f6d7f328\8fe8d130\assembly\dl3\850a7225\c05953c5_9cd8c901\CommerceBuilder.USPS.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\secure_storkgifts\f6d7f328\8fe8d130\assembly\dl3\9987d450\ef651797_9dd8c901\Microsoft.Web.Preview.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\secure_storkgifts\f6d7f328\8fe8d130\assembly\dl3\119e9864\d82623aa_9dd8c901\PFProCOMLib.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\secure_storkgifts\f6d7f328\8fe8d130\assembly\dl3\2f6d9974\68d341f9_9cd8c901\ComponentArt.Web.UI.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\secure_storkgifts\f6d7f328\8fe8d130\assembly\dl3\51e8db45\f8d8aab3_9cd8c901\CommerceBuilder.LinkPoint.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\secure_storkgifts\f6d7f328\8fe8d130\assembly\dl3\aafea32f\0e633c45_9dd8c901\CybsWSSecurityIOP.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.WorkflowServices\3.5.0.0__31bf3856ad364e35\System.WorkflowServices.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\secure_storkgifts\f6d7f328\8fe8d130\assembly\dl3\cb5a9885\00026f6a_9dd8c901\Microsoft.Practices.EnterpriseLibrary.Common.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\secure_storkgifts\f6d7f328\8fe8d130\assembly\dl3\1ef1dcbc\c9f55673_9cd8c901\CommerceBuilder.DHLInternational.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Extensions\1.0.61025.0__31bf3856ad364e35\System.Web.Extensions.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\secure_storkgifts\f6d7f328\8fe8d130\assembly\dl3\9c61a79f\54a315c2_9cd8c901\CommerceBuilder.SkipJack.DLL" /R:"C:\WINDOWS\assembly\GAC_32\System.Data.OracleClient\2.0.0.0__b77a5c561934e089\System.Data.OracleClient.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Management\2.0.0.0__b03f5f7f11d50a3a\System.Management.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\secure_storkgifts\f6d7f328\8fe8d130\assembly\dl3\a1588c52\66144a6e_9dd8c901\Microsoft.Practices.EnterpriseLibrary.Data.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\secure_storkgifts\f6d7f328\8fe8d130\assembly\dl3\d79aa4a1\a1b7044e_9dd8c901\LinkPointTransaction.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\secure_storkgifts\f6d7f328\8fe8d130\assembly\dl3\c3904ea5\ab90c9b6_9cd8c901\CommerceBuilder.PayFlowPro.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\secure_storkgifts\f6d7f328\8fe8d130\assembly\dl3\50cb92d5\d79b9963_9cd8c901\CommerceBuilder.Data.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\secure_storkgifts\f6d7f328\8fe8d130\assembly\dl3\59a60b78\67a3b32e_31dac901\CommerceBuilder.DataClient.Csv.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\secure_storkgifts\f6d7f328\8fe8d130\App_global.asax.5gvajzth.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\secure_storkgifts\f6d7f328\8fe8d130\assembly\dl3\3b40e8d1\211132ac_9dd8c901\Validators.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\secure_storkgifts\f6d7f328\8fe8d130\assembly\dl3\8add606f\9498d6aa_9cd8c901\CommerceBuilder.FRBNY.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Design\2.0.0.0__b03f5f7f11d50a3a\System.Design.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Windows.Forms\2.0.0.0__b77a5c561934e089\System.Windows.Forms.dll" /R:"C:\WINDOWS\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Services\2.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Runtime.Serialization\3.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\secure_storkgifts\f6d7f328\8fe8d130\assembly\dl3\068175ed\d48b0bc8_9cd8c901\CommerceBuilder.Web.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\secure_storkgifts\f6d7f328\8fe8d130\assembly\dl3\37fbf616\b4b0132d_9dd8c901\CyberSource.Clients.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\secure_storkgifts\f6d7f328\8fe8d130\assembly\dl3\4e73bad1\e8e3e1aa_9dd8c901\PFProdotNET.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\secure_storkgifts\f6d7f328\8fe8d130\assembly\dl3\0be1bea9\dd32eeb7_9dd8c901\wwHoverPanel.DLL" /R:"C:\WINDOWS\assembly\GAC_32\System.Transactions\2.0.0.0__b77a5c561934e089\System.Transactions.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\secure_storkgifts\f6d7f328\8fe8d130\assembly\dl3\502742be\e83213ba_9cd8c901\CommerceBuilder.PayJunction.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\secure_storkgifts\f6d7f328\8fe8d130\assembly\dl3\bdd06fd0\89c7c59c_9dd8c901\NVelocity.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\secure_storkgifts\f6d7f328\8fe8d130\assembly\dl3\1fda9f8f\3d974d60_9cd8c901\CommerceBuilder.Configuration.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\secure_storkgifts\f6d7f328\8fe8d130\assembly\dl3\dd247b48\24ca01a8_9cd8c901\CommerceBuilder.ECB.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.ServiceModel\3.0.0.0__b77a5c561934e089\System.ServiceModel.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\secure_storkgifts\f6d7f328\8fe8d130\assembly\dl3\4accc211\f8cfb49f_9dd8c901\PaygatewayNET.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\secure_storkgifts\f6d7f328\8fe8d130\assembly\dl3\109133a8\8eae38b0_9cd8c901\CommerceBuilder.GoogleCheckout.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\secure_storkgifts\f6d7f328\8fe8d130\assembly\dl3\08313103\e8c1db61_9cd8c901\CommerceBuilder.CyberSource.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\secure_storkgifts\f6d7f328\8fe8d130\assembly\dl3\5aab44eb\d7c695c0_9cd8c901\CommerceBuilder.Services.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\secure_storkgifts\f6d7f328\8fe8d130\assembly\dl3\ae679321\c475025c_9cd8c901\CommerceBuilder.CCH.DLL" /out:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\secure_storkgifts\f6d7f328\8fe8d130\App_Web_clientapiservice.ashx.5754a6db.hmyoii5p.dll" /D:DEBUG /debug+ /optimize- /w:4 /nowarn:1659;1699;1701 "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\secure_storkgifts\f6d7f328\8fe8d130\App_Web_clientapiservice.ashx.5754a6db.hmyoii5p.0.cs" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\secure_storkgifts\f6d7f328\8fe8d130\App_Web_clientapiservice.ashx.5754a6db.hmyoii5p.1.cs"
Microsoft (R) Visual C# 2005 Compiler version 8.00.50727.3053
for Microsoft (R) Windows (R) 2005 Framework version 2.0.50727
Copyright (C) Microsoft Corporation 2001-2005. All rights reserved.
warning CS1668: Invalid search path 'C:\Program Files\SQLXML 3.0\bin\' specified in 'LIB environment variable' -- 'Access is denied. '
warning CS1668: Invalid search path 'C:\Program Files\SQLXML 4.0\bin\' specified in 'LIB environment variable' -- 'Access is denied. '
e:\web\zlasolution\htdocs\secure\StorkGifts\ClientApi\ClientApiService.ashx(7,34): error CS0234: The type or namespace name 'Api' does not exist in the namespace 'CommerceBuilder.DataClient' (are you missing an assembly reference?)
e:\web\zlasolution\htdocs\secure\StorkGifts\ClientApi\ClientApiService.ashx(8,34): error CS0234: The type or namespace name 'Api' does not exist in the namespace 'CommerceBuilder.DataClient' (are you missing an assembly reference?)
e:\web\zlasolution\htdocs\secure\StorkGifts\ClientApi\ClientApiService.ashx(10,33): error CS0246: The type or namespace name 'AuthenticationHandler' could not be found (are you missing a using directive or an assembly reference?)
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.3082; ASP.NET Version:2.0.50727.3082
Can't connect dataport to test after test license key
Re: Can't connect dataport to test after test license key
This seems to be an access error. Please make sure that you have uploaded the correct API dll file (CommerceBuilder.DataClient.Api.dll) to Website/Bin directory. And also make sure that there is only one instance of API dll file in bin directory. Some time it happens that during uploading a file the old file is re-named and this way 2 or more instances of same file may cause these type of issues.
If every thing is OK then try to remove the existing (CommerceBuilder.DataClient.Api.dll) file and re-upload to the Bin directory.
If every thing is OK then try to remove the existing (CommerceBuilder.DataClient.Api.dll) file and re-upload to the Bin directory.
Thanks for your support
Naveed Ashraf
.com
AbleCommerce Help Center
AbleCommerce Developer WIKI
Follow us on Twitter
Naveed Ashraf
.com
AbleCommerce Help Center
AbleCommerce Developer WIKI
Follow us on Twitter
Re: Can't connect dataport to test after test license key
Thank you Naveed. That was the problem. CommerceBuilder.DataClient.Api.dll was only partially uploaded to the server. Replacing it did the trick.