Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion
Register FAQ Community Calendar Today's Posts Search

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 01-30-2009, 05:44 PM
Quintus Quintus is online now
Registered User
 
Join Date: 01-26-2009
Posts: 4
WebLauncher ObjectModel problems

I'm trying to adapt the WebLauncher project to a build project I've set up. I'm using Visual Studio 2008 and just playing around in a debug environment. Using the sample code for BuildWithConsoleApp I'm able to run my VBP just fine. When I try to use the sample code for BuildWithObjectModel (I'd like to be able to easily view build progress in the browser), however -- I get an "Access violation" exception:

Source Error:

Line 144: VisBuildSvr.Builder bld = new VisBuildSvr.BuilderClass();
Line 145:
Line 146: app.Project.Load(projectFile);
Line 147:
Line 148: // add all macro values as temporary macros


Source File: C:\...\Default.aspx.cs Line: 146

Stack Trace:

[COMException (0x80004005): Access violation.
Exception 0xC0000005 occurred in module C:\WINDOWS\system32\OLEAUT32.dll at address 0x77124C27, offset 0x00004C27.]
VisBuildSvr.IProject.Load(String filename) +0
WebApplication1._Default.BuildWithObjectModel(Stri ng projectFile, String[] names, String[] values) in C:\...\Default.aspx.cs:146
ASP.default_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in c:\...\Default.aspx:17
System.Web.UI.Control.RenderChildrenInternal(HtmlT extWriter writer, ICollection children) +98
System.Web.UI.Control.RenderChildren(HtmlTextWrite r writer) +20
System.Web.UI.Page.Render(HtmlTextWriter writer) +26
System.Web.UI.Control.RenderControlInternal(HtmlTe xtWriter writer, ControlAdapter adapter) +25
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +121
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +22
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2558
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 08:26 PM.


Copyright © 1999-2023 Kinook Software, Inc.