Error message when you try to create a purchase order from a requisition in Microsoft Business Portal: "Input string is not in correct format" or "Purchase Order Failure - Error in the application"

This article has been archived. It is offered "as is" and will no longer be updated.
When you try to create a purchase order from a requisition in Microsoft Business Solutions - Business Portal 2.5 Feature Pack, you receive one of the following error messages.

Error message 1

Input string is not in correct format.

Error message 2

Purchase Order Failure - Error in the application - Message: StartIndex cannot be less than zero.
Parameter name: startIndex.
This problem occurs because the value that is in the Code field does not match the alphabetical prefix that is in the Next Number field of the Purchase Order Processing Setup dialog box.

Hotfix information

A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem.

To resolve this problem immediately, contact Microsoft Business Solutions Technical Support to obtain the hotfix. You can log on to the Microsoft Business Solutions Support site and create a new support request. To do this, visit the following Microsoft Web site: You can also contact Microsoft Business Solutions Technical Support by telephone at (888) 477-7877.

Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Business Solutions Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to any additional support questions and issues that do not qualify for the specific update in question.


To install this update, you must have Microsoft Business Portal 2.5 Feature Pack for Microsoft Great Plains installed. To verify the version of Business Portal, follow these steps:
  1. Log on to Business Portal as a user who has administrative rights.
  2. On the Business Portal home page, click Site Settings.

    Note In the Application Information Web Part, the version of Business Portal should be 2.7.1468.0.

Removal information

You cannot remove this hotfix.

Restart requirement

You must restart Internet Information Services (IIS) after you apply this hotfix.

File information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
   Date         Time   Version       Size  File name   -------------------------------------------------------------------------------------   14-Sep-2005  18:09  2.7.1498.0  19,696  

Installation information

  1. Make sure that all users exit Microsoft Business Portal.
  2. Unzip the hotfix into a temporary folder on the computer that is running IIS.
  3. Create a backup copy of the Microsoft.Dynamics.PurchaseOrder.Services.dll file. This file is located in the following folder:
  4. Copy the Microsoft.Dynamics.PurchaseOrder.Services.dll file from the hotfix temporary folder, and then paste the file into the System_Drive:Inetpub\wwwroot\bin folder.
  5. Click Start, click Run, type iisrestart, and then click OK.
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
More information

Steps to reproduce the problem

The following steps refer to Fabrikam, Inc. Fabrikam is a fictitious company that is used for demonstration purposes in Microsoft Great Plains.
  1. In Microsoft Great Plains, modify the Next Number field for purchase orders. To modify this field, follow these steps:
    1. On the Tools menu, point to Setup, point to Purchasing, and then click Purchase Order Processing.
    2. In the Next Number field, type SL0001, and then click OK.
  2. In Microsoft Business Portal, create a purchase request. To create a purchase request, follow these steps:
    1. Log on to Business Portal as a user who has final approval rights.
    2. Click Employee, click Purchase Requests, and then click New Request.
    3. In the Title field, type 908171, and then click New Item.
    4. In the RequisitionLine dialog box, specify the following settings:
      • Description: ACCS-CRD-12WH
      • Description: Phone Cord - 12' White
      • Vendor: ADVANCED0001
      • Account: 000-1300-01
      • Site: WAREHOUSE
      • Required By: 10/01/2006
      • Price: $3.29
      • Quantity: 1
      • Unit of Measure: Each
    5. Click Save and Close.
    6. Click the Show More Tasks button that has a double arrow.
    7. Click the Final Approve option, and then click OK.
  3. Try to create the purchase order. To try to create the purchase order, follow these steps:
    1. Click Purchasing, and then click Requisitions.
    2. In the Filter by list, click ADVANCED0001 Advanced Office Systems, and then click the Go button.
    3. Click to select the check box that is next to item ACCS-CRD-12WH in the Item Number column, and then click Create.

Article ID: 908171 - Last Review: 05/12/2015 13:24:00 - Revision: 5.0

Microsoft Business Solutions Business Portal 2.5 Feature Pack, Microsoft Business Solutions–Great Plains 8.0

  • kbnosurvey kbarchive kbqfe kbgreatplainsbp kbmbsmigrate kbbug kbhotfixserver KB908171