Quantcast
Channel: Discussion Forum > Connect Data Services
Viewing all articles
Browse latest Browse all 2504

Getting "Access Denied" exception from webservice.Get() in August 2014 (4 Comments)

$
0
0

Topic by kahelfrich

Content

I'm working on a C# program that uses the Connect Web Services.  I had it working with May 2014.

I just had my test site updated to August 2014, because that is our target release.  I deleted the existing service reference, then recreated it using the WSDL URL just like before.

Now, the same code that worked to Get an org_id value in May 2014 causes an exception in August 2014.

The message is "Access Denied", and the stack trace is this:

Server stack trace: 
   at System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter)
   at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
   at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
   at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs)
   at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
   at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]: 
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   at ContractLoader5.RightNowService.RightNowSyncPort.Get(GetRequest request)
   at ContractLoader5.RightNowService.RightNowSyncPortClient.ContractLoader5.RightNowService.RightNowSyncPort.Get(GetRequest request) in c:\Users\khelfric\Documents\Visual Studio 2013\Projects\ContractLoader5\ContractLoader5\Service References\RightNowService\Reference.cs:line 23166
   at ContractLoader5.RightNowService.RightNowSyncPortClient.Get(ClientInfoHeader ClientInfoHeader, RNObject[] RNObjects, GetProcessingOptions ProcessingOptions) in c:\Users\khelfric\Documents\Visual Studio 2013\Projects\ContractLoader5\ContractLoader5\Service References\RightNowService\Reference.cs:line 23174
   at ContractLoader5.RNTContract.Connect(String uname, String pass) in c:\Users\khelfric\Documents\Visual Studio 2013\Projects\ContractLoader5\ContractLoader5\RNTContract.cs:line 121

The account and profile look exactly the same as I see them.

Has anyone else seen this?

Version

August 2014

Viewing all articles
Browse latest Browse all 2504

Trending Articles