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 »

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 »

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 »

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 »

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 »

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 »

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 »

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 »

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 »

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