The "Enable Commerce Server" option in Visual Studio .NET does not work for an existing ASP.NET Web Application (831134)



The information in this article applies to:

  • Microsoft Commerce Server 2002
  • Microsoft Commerce Server 2002 SP1
  • Microsoft Commerce Server 2002 SP2


Web Tool:1611

SYMPTOMS

When the Enable Commerce Server option is selected on the Project menu in an existing Microsoft ASP.NET application without Microsoft Commerce Server enabled, the Enable Commerce Server Wizard does not start, and no modifications are made on certain computers.

CAUSE

This problem occurs because the Commerce Enable CSharp.vsz file and the Commerce Enable VB.vsz file are not updated.

RESOLUTION

Two files in the Drive:\Program Files\Microsoft Commerce Server 2002\VS\EnableProjects folder must be updated (Commerce Enable CSharp.vsz and Commerce Enable VB.vsz).

To update the files, follow these steps:
  1. Start Notepad, and then open each of these files.
  2. Replace the %CS2002PATH% variable with the path of Commerce Server. For example, Drive:\Program Files\Microsoft Commerce Server 2002\.

    Note Replace Drive with the location where Commerce Server is installed.
  3. Remove the %CS2002LOC% variable. This variable is automatically taken care of by Microsoft Visual Studio .NET.

    Note Do not remove the "\" character together with the %CS2002LOC% variable.
  4. If you are using Microsoft Visual Studio .NET 2003 with the Microsoft .NET Framework 1.1, replace the following text:
     Wizard=VsWizard.VsWizardEngine
    with the following text:
    Wizard=VsWizard.VsWizardEngine.7.1

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section of this article. This problem will be corrected in the next Commerce Server 2002 service pack.

MORE INFORMATION

Steps to reproduce the behavior

  1. Start Visual Studio .NET.
  2. On the File menu, click New Project.

    Note In Microsoft Visual Studio .NET 2002, point to New on the File menu, and then click Project..
  3. Click to select Visual C# Projects, click to select ASP.NET Web Application, and then click OK.
  4. On the Project menu, point to Commerce Server Project, and then click Enable Commerce Server.

Modification Type:MajorLast Reviewed:1/2/2004
Keywords:kbprb KB831134 kbAudDeveloper