Page 2 of 2

Re: Cannot access select server from WCF service

Posted: Tue May 07, 2013 9:55 am
by john.morton
I may have reproduced the behavior you’re seeing, but I’d like to confirm we’re getting the same exception. Debug your service, and when you get the exception please select "copy exception details to clipboard" or using the local variables, browse down into the Exception until you find the stacktrace. Please either PM that stacktrace to me, or add it to this thread.

Also, are you getting this exception on the following line?

Code: Select all

var selectServer = new SelectServer(mConfig.SelectServerName, credential);

Re: Cannot access select server from WCF service

Posted: Tue May 14, 2013 1:19 pm
by mrisen
Yes, that line and here is the stack trace:

StackTrace:
at SoftPro.Select.Client.SelectServer.OnInitialize()
at SoftPro.ClientModel.ServerObject.SoftPro.ClientModel.ISupportInit.Initialize(IServiceProvider sp)
at SoftPro.Select.Client.SelectServer..ctor(IServiceProvider serviceProvider, Uri uri, ICredentials credentials)
at SoftPro.Select.Client.SelectServer..ctor(String uri, ICredentials credentials)
at RIM.NEXTitle.Business.Integration.SoftPro.SoftProHelper.CreateOrderTracking(IConfigurationWrapper config)

Re: Cannot access select server from WCF service

Posted: Thu May 16, 2013 1:13 pm
by mrisen
Is this the same exception you are getting?

Re: Cannot access select server from WCF service

Posted: Mon May 20, 2013 8:22 am
by john.morton
Yes, this the same stack trace that I am getting. I'm working on trying to set this up using our upcoming release, to see if this is still an issue.

Re: Cannot access select server from WCF service

Posted: Mon Jun 03, 2013 1:17 pm
by mrisen
Have you been able to get any new information on this?

Re: Cannot access select server from WCF service

Posted: Tue Jun 04, 2013 1:54 pm
by john.morton
We have been able to reproduce the issue, and we have logged a bug to investigate the issue.

Re: Cannot access select server from WCF service

Posted: Wed Jun 05, 2013 12:57 pm
by mrisen
Do you know if there is a workaround on this? This is a security issue and will likely force us to fail an audit. Do you know what specific privileges are needed?

Re: Cannot access select server from WCF service

Posted: Wed Jun 05, 2013 2:38 pm
by john.morton
Unfortunately, we don't have a good workaround right now. Our best advice would be to continue experimenting with giving the IIS user administrative rights to all the locations relevant to our libraries.

We do have it logged as a bug for future consideration.

Re: Cannot access select server from WCF service

Posted: Thu Feb 27, 2014 11:08 am
by Melissa McBerkowitz
Update on this: No source code needed to be changed for this issue. Instead, navigate to:

C:\Windows\system32\config\systemprofile\

Go to the security tab under the folder properties.
Add "IIS AppPool\DefaultAppPool" user from the location of the computer name.
Give this user "read" permissions. (Using the "IIS_IUSRS" user seems to also work)

Make sure that in the IIS Manager, in Application Pools, the DefaultAppPool's Identity property is set to "ApplicationPoolIdentity".