Commerce Server 2007 Customers and Orders Manager

 
Does your Customers and Orders Manager Business Management application in Commerce Server 2007 hang or throw an error when you enter your credentials?
 
This may be related to your SSL Certificate.
 
A couple of things to check for if you are having issues with your customers and orders Manager:
 
  1. When loading the customers and orders manager you are required to enter the correct URL for the Catalog Web Service, Profile Web Service and Orders Web Service. Go through each one of these putting the URL you use into a web browser.
    1. If one of them does not load, check the error message on screen and in the Application Event Viewer and address that error accordingly. There are a million different things that could be going wrong.
    2. If they all load successfully in your browser, check to be sure that the orders web service and profiles web service are using HTTPS://.
      1. If they are not, try them with HTTPS:// and see if they load successfully.
        1. If they do not, check your error messages in the same manner as 'a.' above.
        2. If they do, is there an SSL warning?
          1. The SSL warning could be related to the certificate not being for the correct domain. This error MUST be corrected prior to being able to use the Customers and Orders Manager. The Customers and Orders Manager does not allow the user to ignore this error message therefore it just hang waiting for a response to this warning.
  1. IF you are getting an error message after entering your credentials and while the application is loading stating that you may not be able to perform all operations or you may not be able to perform a specific operation, check your permissions is azman.msc. 
    1. Start => Run => azman.msc
    2. Expand out 'profiles' and 'orders' after adding the correct authorization files to the console (.xml).
    3. Expand out 'role assignments' in each and be sure that the credentials you are using at the login prompt are in the correct roles (usually administrator).

I have spent many hours troubleshooting different configurations of the Business Management applications that ship with Commerce Server 2007 so feel free to contact me with your specific issues and I will do my best to assist you.

  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Print | posted on Wednesday, April 18, 2007 1:43 PM

Feedback

# re: Commerce Server 2007 Customers and Orders Manager

Left by Peter at 7/2/2007 1:51 AM
Gravatar Hi,
I have a Authentication issue with Orders webservice..When I try "Windows Authentication", I am not able to access
http://localhost/orderswebservice/orderswebservice.asmx.
But if i change it as "Basic Authentication" in ISS manager - website- properties - Directory security, am able to view the webservice method list.
What could be the issue here?

Thanks,
Peter

# re: Commerce Server 2007 Customers and Orders Manager

Left by Bryan Kail at 7/3/2007 3:08 AM
Gravatar There are a number of things that could be causing this from problems in AD to problems in the application(s).

What kind of error are you getting on-screen and in the event log?

Could you post both of them to help me help you further?

# re: Commerce Server 2007 Customers and Orders Manager

Left by Partha Brata Ghosh at 4/10/2008 6:15 PM
Gravatar I am new User .Is there any complete e-book of COMMERCE SERVER
2007 ?

# re: Commerce Server 2007 Customers and Orders Manager

Left by padma at 5/16/2008 5:35 PM
Gravatar Hi,

How can i customize Orders and Customers manager?
By customization i mean, adding my custome columns to Purchase Orders table and surfacing the same in the BUIS.

Please help.

Regards
Padma Venkata

# re: Commerce Server 2007 Customers and Orders Manager

Left by Bryan Kail at 5/17/2008 1:20 AM
Gravatar This is not a difficult thing to do, we have done it with the customer and orders maanger for custom profile properties. There is an xml file that holds the info on what fields are displayed and in what location in the Bus Mgmt App. This xml file is called xx_PresentationInfo.xml (Where xx is your language code) and it is at the root of the WebService directory holding the web service for the data on which you are working. In your case it will be in the same folder as the OrdersWebService.asmx file and in my case it was with the ProfilesWebService.asmx file.

In our example, we wanted to add the field called "Health Interests" to the cutomer and orders manager. We added this line to the xml file:

<profile name="UserObject" displayName="User Object" description="User Object">
<displayArea name="main" displayName="Main">
<property name="HealthInterests" displayName="Health Interests" description="Health Interests" />
</displayArea>
</profile>

You would do a simlar thing for your custom property in the xml file with the orders web service.

# Commerce Server 2007 Customers and Orders Manager

Left by austin at 12/17/2008 1:02 PM
Gravatar Hi,

I had an issue with the orders web service having the virtual directory set to 'anonymous access' about a valid IPrincipal. I removed anonyomous access from the vdirectory but now I am prompted for credentials when I start up customer and orders manager.

Even if I put in the valid user (the one in the asman.msc) it just keeps asking me to log in.
I have checked the event log and there is nothing except after I click cancel then it tells me I have invalid credentials.

Any ideas?

Thanks

Austin

# re: Commerce Server 2007 Customers and Orders Manager

Left by Bryan Kail at 12/17/2008 3:43 PM
Gravatar Austin,

A couple of questions:

1. How are you trying to access the web service URL (i.e. browser or Customers and Orders Manager)?
You'll want to get it working in the browser first and then try the Customers and Orders Manager

1a. What messages do you get in the browser when trying to access the web service URL there?

2. What is your web service URL (use tokens if you want to hide sensitive data)?

3. Is the web service URL using on HTTPS?

4. Do you have a valid cert registered on the domain of your web service?
If you get a warning message accessing the web service from the browser, the Customer and Orders Manager won't work.)

5. Are you currently logged into windows with a login from the same domain that the web service is hosted in?

6. Are you including the domain name in the user name field (i.e. DOMAIN\USERNAME)?

7. IIS 5, 6 or 7?

8. Is your web service hosted in a domain under the Default Web Site or another site that you created as a commerce site in commerce server manager?

9. Which authentication settings do you have checked in IIS:
Integrated Windows Authentication
Digest authentication for Windows domain servers
Basic Auithentication

# Commerce Server 2007 Customers and Orders Manager

Left by austin at 12/17/2008 4:52 PM
Gravatar 1 - I get the same result in the browser as I do in Customer and Orders Manager (It asks for credentials - which are in the azman - but won't accept them)

2 - There is no message in the browser. The web service comes up when I check anonymous access in the browser.

3 - I changed the Customer and orders web service client to not use https (AllowHttp = True). So no.

4 - I created a self cert and am using that. Created with the IIS Resources kit.

5 - Yes

6 - yes [domain]\[login]

7 - IIS 6

8 - All CS 2007 Web Services are hosted under another web site (not the default). Each as a Virtual Directory under that site.
example: http://www.somesite.com/OrdersWebService/OrdersWebService.asmx

9 - Integrated Windows Authentication
And I found an article on Kerberos http://support.microsoft.com/kb/215383. I set that to Negotiate and NTLM.

# re: Commerce Server 2007 Customers and Orders Manager

Left by austin at 12/17/2008 5:44 PM
Gravatar The Orders Web Service works in a browser if I don't run it on the server where the Orders Web Service is running. Then I can log in fine and it comes up.

# re: Commerce Server 2007 Customers and Orders Manager

Left by aj at 3/25/2009 5:07 AM
Gravatar Hi,

I have a weird issue with Commerce Server 2007 sp3 running on a Windows 2008 machine (on an AD domain) with IIS7. I keep getting a login box when i try to start any of the business applications. The webservices reside on a separate IIS website with separate app pool using a custom identity. When I try to access the webservices through a browser, I initially got the same, but after setting the website to be local intranet, that worked just fine.

I'm really stuck with, and wondered if you had any ideas?

TIA

# re: Commerce Server 2007 Customers and Orders Manager

Left by Bryan Kail at 3/26/2009 6:08 PM
Gravatar This actually doesn't sound that peculiar to me. In IIS, you probably do not have anonymous access turned on for the site(s) hosting your web services (Profiles, Marketing, Catalog, and Orders). This is most likely what you want for security purposes.

I think you may need to run AZMAN.msc from the command promt (on the server that hosts your web services), add a windows account from the domain your web services are hosted on to the admin roles of each of the web services or write down one that you have the password for that's already listed. Use this account when you get your prompt from the Bus Management Apps and make sure you use the account for the correct web seervice (unless you check "use the same account for all web services" it will prompt you for each webv service that the Bus Mgmt App you are running relies upon.

I think the reason it worked in your browser is because you may have automatically sent credentials that were in the Admin roles of AZMAN.

Let me know if this puts you in the right direction!

# re: Commerce Server 2007 Customers and Orders Manager

Left by aj at 3/26/2009 6:09 PM
Gravatar Thanks for the reply. Anonymous authentication is actually disabled on the webservices, when I turned it on, I don’t get the challenge response (which makes sense). Adding the application pool identity to the ‘Administrator’ role for the Catalog Manager doesn’t do anything either. My guess is that it is IIS7 related, because when I create my own windows app with a webrequest inside, I get the same error, even when the machine is not inside a domain. If I switch to an IIS6 machine, I don’t get the challenge.

Your comment:





 
 

Copyright © Bryan Kail

Design by Bartosz Brzezinski

Design by Phil Haack Based On A Design By Bartosz Brzezinski