Ted wrote:When I try to run Umbraco directly through Visual Studio 2005 (to debug and step through code etc)
Do you get umbraco to run without errors under IIS, in root folder, without VS involved?
Normally you should not have to run umbraco in VS, unless you want to step through the actual umbraco source code.
When I create usercontrols or actionhandlers to use in umbraco I normally create them in separate VS projects.
Actionhandlers I create in a separate Class Library project.
In the Build Event tab in the properties for my actionhandler project I put a Post-build event command line command:
xcopy /Y /S /F "$(TargetPath)" "C:\Inetpub\[WebsiteRunningUmbraco]\bin"
That way when I build the action handler the dlls get automatically copied to the web site bin folder and can be used.
Set your breakpoints and then 'Debug-Attach to process' w3wp.exe (IIS 6.0).
Now you can debug your action handler while keeping it in a seperate project from the web site.
For user controls I create a web application project, and create a virtual folder under the umbraco site in IIS that points to the folder with the aspx and aspx.cs files of the user controls. Wrap the usercontrols in macros and use them within umbraco. Then set your break points in the usercontrolcode and 'Debug-Attach to process' to process as above.
Is it me or umbraco? Umbraco Certified Professional Level 2.