Microsoft KB Archive/831134

= The &quot;Enable Commerce Server&quot; option in Visual Studio .NET does not work for an existing ASP.NET Web Application =

Article ID: 831134

Article Last Modified on 1/2/2004

-

APPLIES TO


 * Microsoft Commerce Server 2002 Standard Edition
 * Microsoft Commerce Server 2002 Service Pack 1
 * Microsoft Commerce Server 2002 Service Pack 2

-





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 :\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:  Start Notepad, and then open each of these files. Replace the %CS2002PATH% variable with the path of Commerce Server. For example, :\Program Files\Microsoft Commerce Server 2002\.

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

Note Do not remove the &quot;\&quot; character together with the %CS2002LOC% variable.  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 &quot;Applies to&quot; section of this article. This problem will be corrected in the next Commerce Server 2002 service pack.



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..
 * 1) Click to select Visual C# Projects, click to select ASP.NET Web Application, and then click OK.
 * 2) On the Project menu, point to Commerce Server Project, and then click Enable Commerce Server.

Keywords: kbprb KB831134

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.