Cannot access select server from WCF service

Discussions related to SoftPro Select Server development.

Moderator: Phil Barton

john.morton
Posts: 89
Joined: Wed Nov 16, 2011 11:51 am

Re: Cannot access select server from WCF service

Post by john.morton » Tue May 07, 2013 9:55 am

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);

mrisen
Posts: 98
Joined: Wed Jul 25, 2012 7:01 pm

Re: Cannot access select server from WCF service

Post by mrisen » Tue May 14, 2013 1:19 pm

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)

mrisen
Posts: 98
Joined: Wed Jul 25, 2012 7:01 pm

Re: Cannot access select server from WCF service

Post by mrisen » Thu May 16, 2013 1:13 pm

Is this the same exception you are getting?

john.morton
Posts: 89
Joined: Wed Nov 16, 2011 11:51 am

Re: Cannot access select server from WCF service

Post by john.morton » Mon May 20, 2013 8:22 am

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.

mrisen
Posts: 98
Joined: Wed Jul 25, 2012 7:01 pm

Re: Cannot access select server from WCF service

Post by mrisen » Mon Jun 03, 2013 1:17 pm

Have you been able to get any new information on this?

john.morton
Posts: 89
Joined: Wed Nov 16, 2011 11:51 am

Re: Cannot access select server from WCF service

Post by john.morton » Tue Jun 04, 2013 1:54 pm

We have been able to reproduce the issue, and we have logged a bug to investigate the issue.

mrisen
Posts: 98
Joined: Wed Jul 25, 2012 7:01 pm

Re: Cannot access select server from WCF service

Post by mrisen » Wed Jun 05, 2013 12:57 pm

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?

john.morton
Posts: 89
Joined: Wed Nov 16, 2011 11:51 am

Re: Cannot access select server from WCF service

Post by john.morton » Wed Jun 05, 2013 2:38 pm

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.

Melissa McBerkowitz
Posts: 91
Joined: Wed Sep 10, 2008 3:33 pm
Location: Raleigh, NC
Contact:

Re: Cannot access select server from WCF service

Post by Melissa McBerkowitz » Thu Feb 27, 2014 11:08 am

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".
Melissa McBerkowitz
VP of Product Strategy, SoftPro

Post Reply