HOW TO: Use Visual Studio to Debug and Manage a Commerce Site That Is Not .NET-Connected (325794)
The information in this article applies to:
- Microsoft Commerce Server 2.0
- Microsoft Commerce Server 2000
- Microsoft Commerce Server 2002
This article was previously published under Q325794 SUMMARY
This step-by-step article describes how to set up a Commerce Server 2002 site that is not .NET-connected, how to run the site as a project, and how to debug the site by using Visual Studio 6.0.
back to the top
Unpack Your Site
To unpack your Web site, follow these steps:
- Open Commerce Server Manager.
- Expand the Commerce Server Manager node.
- Right-click Commerce Sites, click New, and then click UnPack Site.
- Click to select a site that is not .NET-connected (for example, Retail).
- Complete the unpacking process.
back to the top
Create a New Web Project- Start Visual Interdev 6.0.
- On the File menu, click New Project, and then click New Web Project.
- Give the project a name that is different from the site name that you used in the "Unpack Your Site" section.
- Verify that Location is not set to wwwroot (you can use C:\Temp).
- Click to select Master Mode.
- Click to select Connect to an existing web.
- Click to select the site that you unpacked in the "Unpack Your Site" section.
- Click Finish.
back to the top
Turn on Debugging on the Site- Open Commerce Server Manager.
- Expand the Internet Information Server (IIS) node.
- Expand the Web site that you created in the "Create a New Web Project" section.
- In the Web site tree, right-click the Commerce site that you created in the "Unpack Your Site" section.
- Set Execute Permissions to Scripts Only.
- Click Configuration.
- On the App Debugging tab, click to select both of the check boxes under Debugging Flags (verify that these options are turned on).
- Apply the changes.
- Stop and then restart the Web Service. To do this, follow these steps:
- On the Start menu, click Run.
- Type IISRESET, and then press ENTER.
back to the top
Run Your Program Through Debugger- Start Visual Interdev, and then load your project.
- Open Default.asp.
- Add a breakpoint in Sub Main.
- Click Go.
- The program starts and then opens to the breakpoint in the Visual Interdev Debugger.
back to the top
REFERENCESFor additional information, click the article number below
to view the article in the Microsoft Knowledge Base:
244272 INFO: Visual Interdev 6.0 Debugging Resources
back to the top
Modification Type: | Major | Last Reviewed: | 11/17/2003 |
---|
Keywords: | kbhowto kbHOWTOmaster KB325794 |
---|
|