We are attempting to set up the C# Hello World within an ASP.net website. Our project currently has ChargeCreditCard.cs imported from the sample code, and an index.cshtml that calls ChargeCreditCard.Run as soon as the page loads.
When we test the page, we are given the following error message:
"FileNotFoundException: Could not load file or assembly 'System.Configuration.ConfigurationManager, Version=0.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
AuthorizeNet.Environment.GetProperty(string propertyName)
AuthorizeNet.Util.HttpUtility.GetPostUrl(Environment env)"
Using breakpoints, we have determined that the error is thrown when "controller.Execute();" is called on line 66. We can't determine the cause of the error.
Can anyone explain the solution to this error, or provide us with a proper guide on setting up a Hello World transaction using ASP.net?
11-22-2021 04:58 PM