locked
The exception message is 'Access is denied.' when we call an methods RRS feed

  • Question

  • User-1690179459 posted

    Hi,

    I hosted a silverlight function(.svc file) in IIS 8.0, when we call a method it is throwing the below "Access is Denied " exception.

    Application is working fine till .svc

    app-pool is running on .Netv2.0  and 32bit is false (so 64 bit) and app-pool is running with a specific account(domain\abc).

    Account(domain\abc) has full access to the code. DB connection sting user has dbowner access to database as well.

    The server encountered an error processing the request. The exception message is 'Access is denied.'. See server logs for more details. The exception stack trace is:

    at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs) at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage4(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage3(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage2(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage1(MessageRpc& rpc) at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)

    Can you hep me with this.

    Thanks

    Friday, March 6, 2020 9:26 AM

Answers

  • User-848649084 posted

    Hi,

    Try to set the application pool to .net v4.0 and the identity to the network service or local service.

    If you want to set the domain user then you could follow the below steps to configure the SQL server database configuration steps.

    https://forums.iis.net/post/2159167.aspx

    Regards,

    Jalpa

     

    • Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
    Monday, March 9, 2020 2:08 AM