How Do I Debug a CMS Project?

Generally, you can debug a CMS project as you would any other ASP.NET application, using the built-in debugging facility in VS.NET. However, because of the way CMS works the ASPX files aren't run directly you can't simply set the startup page in your VS.NET project to a template file. To debug a CMS project, you can use either of the following techniques:

  • Manually attach to the ASPNET_WP.EXE process and then open Internet Explorer and browse to your site.

  • Create a small ASPX page that redirects to a posting in your site. In your project, set the startup page to that redirect ASPX file. Now, simply press F5.

If you'd like more detail on debugging, refer to Chapter 12, Designing Templates.



Microsoft Content Management Server 2002. A Complete Guide
Microsoft Content Management Server 2002: A Complete Guide
ISBN: 0321194446
EAN: 2147483647
Year: 2003
Pages: 298

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net