I'm getting runtime errors every day.
One is: "Parser Error Message: Could not load file or assembly 'CommerceBuilder.BankOfCanada, Version=7.3.0.0"
Another: "Parser Error Message: Could not load file or assembly 'CommerceBuilder.FedEx, Version=7.0.9725.0"
But I see that the files are there:
PLATFORM: ASP.NET
VERSION: 7.0.3
BUILD: 12458
MSSQL v2005
AC SCHEMA v2005
AbsoluteLiveSupport: 0.0.0.0
AjaxControlToolkit: 1.0.20229.20821
CommerceBuilder: 7.3.12912.0
CommerceBuilder.AbleCommerceTax: 7.3.12396.0
CommerceBuilder.AcTestProvider: 1.0.0.0
CommerceBuilder.AustraliaPost: 7.1.0.0
CommerceBuilder.AuthorizeNet: 7.0.9764.0
CommerceBuilder.BankOfCanada: 7.3.0.0
CommerceBuilder.CanadaPost: 7.0.0.0
CommerceBuilder.Configuration: 7.3.12065.0
CommerceBuilder.CyberSource: 7.0.9310.0
CommerceBuilder.Data: 7.3.12065.0
CommerceBuilder.DataClient.Api: 7.3.130.0
CommerceBuilder.DataClient.Csv: 7.3.130.0
CommerceBuilder.DHLInternational: 7.2.11307.0
CommerceBuilder.ECB: 7.0.0.0
CommerceBuilder.FedEx: 7.0.9725.0
CommerceBuilder.GoogleCheckout: 7.0.10052.0
CommerceBuilder.InternetSecure: 7.0.9764.0
CommerceBuilder.LinkPoint: 7.0.9764.0
CommerceBuilder.Paradata: 7.0.9764.0
CommerceBuilder.PayFlowPro: 7.0.10061.0
CommerceBuilder.PayJunction: 7.2.11284.0
CommerceBuilder.PayPal: 7.3.12238.0
CommerceBuilder.Protx: 7.3.12327.0
CommerceBuilder.Services: 7.3.12065.0
CommerceBuilder.SkipJack: 7.0.9764.0
CommerceBuilder.UPS: 7.0.10041.0
CommerceBuilder.USPS: 7.0.9728.0
CommerceBuilder.Web: 7.3.12065.0
ComponentArt.Web.UI: 2008.2.1267.3
CyberSource.Base: 2.0.0.0
CyberSource.Clients: 5.0.2.0
CyberSource.Clients.XmlSerializers: 5.0.2.0
CyberSource.WSSecurity: 2.0.0.0
CybsWSSecurityIOP: 1.0.0.0
edtFTPnet: 1.2.4.0
FredCK.FCKeditorV2: 2.5.2912.21007
ICSharpCode.SharpZipLib: 0.85.5.452
LinkPointTransaction: 1.0.1797.29766
log4net: 1.2.10.0
Microsoft.Practices.EnterpriseLibrary.Common: 2.0.0.0
Microsoft.Practices.EnterpriseLibrary.Data: 2.0.0.0
Microsoft.Practices.ObjectBuilder: 1.0.51205.0
Microsoft.Web.Preview: 1.2.61025.0
NVelocity: 7.2.0.0
PaygatewayNET: 3.0.0.0
paypal_base: 4.2.1.0
PFProCOMLib: 1.0.0.0
PFProdotNET: 0.0.0.0
Validators: 1.0.0.0
WebChart: 1.1.1.6
wwHoverPanel: 1.85.0.0
And I don't use FedEx or Bank of Canada on my site.
I contacted my server (discountasp) and this is their response:
"Please make sure you upload all the required dll to the application's bin directory. If you confirmed the dll is in place and you are still getting error, please send us the replication procedure."
I don't know what they mean by "replication procedure".
Can anyone help?
Thanks
Can't load .dll errors
Re: Can't load .dll errors
I vaguely recall that you can delete DLL's that you do not use. Try renaming them with a .BAK extension to see if the errors go away and if the site continues to run.
"Replication procedure" just means, "tell us what to do to reproduce the errors". If the errors occur every time any page is loaded, then the replication procedure would be:
1. Load http://yourdomainhere.com in a browser.
"Replication procedure" just means, "tell us what to do to reproduce the errors". If the errors occur every time any page is loaded, then the replication procedure would be:
1. Load http://yourdomainhere.com in a browser.
Re: Can't load .dll errors
I read in a post that you could remove dll's for payment processors that aren't used except google and paypal. I don't remember anyone saying to remove shipping gateway dll's. I was going to go ahead and rename them as suggested but then I got another error and this time it was for CommerceBuilder.AcTestProvider.
So should I rename every dll that is referenced in the error messages? Any opinions or other ideas?
So should I rename every dll that is referenced in the error messages? Any opinions or other ideas?
Re: Can't load .dll errors
I wouldn't. I think something else is going on. For example, when ASP.NET starts or restarts a website, it copies all of the files from the bin directory to another directory called "Temporary ASP.NET Files" somewhere else on the server. The files are actually loaded from the temporary location...not from your original bin directory.triplw wrote:I read in a post that you could remove dll's for payment processors that aren't used except google and paypal. I don't remember anyone saying to remove shipping gateway dll's. I was going to go ahead and rename them as suggested but then I got another error and this time it was for CommerceBuilder.AcTestProvider.
So should I rename every dll that is referenced in the error messages? Any opinions or other ideas?
If the server has virus scanning software and the temporary directory is not excluded, then each time a files is copied over (which happens each time the site is started or restarted), the virus scanner may try to scan the file. If ASP.NET and the virus scanner are both trying to read/load/execute the file at the same time, you can can get an error like the ones you see.
Indexers can cause the same problem.
The most common fix is to exclude the temporary directory from scanners and indexers.
But discountasp should already know this and should automatically know to exclude the temporary directory. So I wonder if it is something else.
Anyway, your best bet might be to record each time an error occurs and then frequently post the date and times of every occurance to your support ticket. They may be able to sync the date/time with something on their end; or your frequent posts may cause them to find the root cause in some other way.
Re: Can't load .dll errors
Yeah, that's pretty much what I'm doing. Thanks for the reply.