Coder Social home page Coder Social logo

Comments (2)

lathavairamani avatar lathavairamani commented on August 19, 2024

Thanks for reporting this. We fixed this issue in core SDK, fix is available in https://github.com/paypal/sdk-core-dotnet/tree/fix-log4net-stream. Currently fix is available in branch, will include this in next release.

from paypal-net-sdk.

Astucia avatar Astucia commented on August 19, 2024

I have the same problem, but the error message are diferent:
What am I missing?

Error details:

Access denied

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Management.ManagementException: Access denied

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[ManagementException: Access denied ]
System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode) +471484
System.Management.ManagementScope.InitializeGuts(Object o) +362
System.Management.ManagementScope.Initialize() +177
System.Management.ManagementObjectSearcher.Initialize() +196
System.Management.ManagementObjectSearcher.Get() +35
PayPal.UserAgentHeader.get_OperatingSystemFriendlyName() +75
PayPal.UserAgentHeader.GetOSHeader() +291
PayPal.UserAgentHeader..cctor() +25

[TypeInitializationException: The type initializer for 'PayPal.UserAgentHeader' threw an exception.]
PayPal.UserAgentHeader..ctor(String productId, String productVersion) +0
PayPal.OAuthTokenCredential.GenerateOAuthToken(String base64ClientId) +622
PayPal.OAuthTokenCredential.GenerateAccessToken() +42
PayPal.OAuthTokenCredential.GetAccessToken() +100
ClienteBIMA.Configuration.GetAccessToken() +50
ClienteBIMA.Configuration.GetAPIContext() +21
ClienteBIMA.Transacciones.ucPaypal.GenerarPago(cDatosPago Pago) +60
ClienteBIMA.Transacciones.ucPaypal.PagarPayPalImageButton_Click(Object sender, ImageClickEventArgs e) +62
System.Web.UI.WebControls.ImageButton.OnClick(ImageClickEventArgs e) +115
System.Web.UI.WebControls.ImageButton.RaisePostBackEvent(String eventArgument) +124
System.Web.UI.WebControls.ImageButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +35
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1724

from paypal-net-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.