Unable to create new TemplateBindings file

Posts   
 
    
worldspawn avatar
worldspawn
User
Posts: 321
Joined: 26-Aug-2006
# Posted on: 26-Aug-2006 07:00:30   

Hi,

I can't create a new template bindings file. I'm following the tutorial in the docs.

When I click Save and Close I get the error below. Is the source code for template studio available?

Message- TemplateLanguage is neither a DataColumn nor a DataRelation for table .

Stack Trace- -----[Core exception]-------------------- at System.Data.DataRowView.get_Item(String property) at SD.LLBLGen.Pro.Tools.TemplateEditor.TemplateBindingsEditor.SaveContents() at SD.LLBLGen.Pro.Tools.TemplateEditor.TemplateBindingsEditor._saveAndCloseButton_Click(Object sender, EventArgs e) at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Button.OnClick(EventArgs e) at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ButtonBase.WndProc(Message& m) at System.Windows.Forms.Button.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows

Source: System.Data

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39786
Joined: 17-Aug-2003
# Posted on: 26-Aug-2006 09:41:25   

Sourcecode isn't available, it uses several 3rd party controls so it's not of that much use.

The thing is: I can create a new templatebindings without problems. What exactly did you fill in on the new templatebindings form, exactly what's been told in the tutorial?

Frans Bouma | Lead developer LLBLGen Pro
worldspawn avatar
worldspawn
User
Posts: 321
Joined: 26-Aug-2006
# Posted on: 26-Aug-2006 13:53:42   

Hi Otis, thanks for your reply.

I can't edit any existing files either...

I looked at some of the other binding files and none of them seem to have a template language defined, which made me wonder what would happen if i clicked on "Edit selected files..." - same error. disappointed So it doesn't appear to have much to do with what I enter.

When I click "Edit.." the values for "logic language" for the templates is blank. Is that right?

I've just installed VS 2005, LLBLGen 2 and Template Studio 2 so it's a fresh install, yet something is goofy confused

Reason I asked for the source was so I could debug it. I dunno what more information I can provide...

I guess I can just edit the files manually.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39786
Joined: 17-Aug-2003
# Posted on: 26-Aug-2006 19:13:18   

I'll check it out simple_smile

Frans Bouma | Lead developer LLBLGen Pro
worldspawn avatar
worldspawn
User
Posts: 321
Joined: 26-Aug-2006
# Posted on: 29-Aug-2006 04:25:39   

Hi Otis,

I've now tried to run Studio 2.0 on 2 computers at work plus my computer at home. All are experiencing the same exception.

Just to clarify, the installation process is:

Install LLBLGen Pro 2. Unzip template studio into llblgen installation folder

Have i missed something?

Walaa avatar
Walaa
Support Team
Posts: 14987
Joined: 21-Aug-2005
# Posted on: 29-Aug-2006 08:00:19   

Can't reproduce it.

Would you please type the path of the "TemplateStudio.exe"?

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39786
Joined: 17-Aug-2003
# Posted on: 29-Aug-2006 11:55:54   

You have to use the llblgen pro installation of August 3rd or later. Do you by any chance use an older LLBLGen Pro designer?

Frans Bouma | Lead developer LLBLGen Pro
worldspawn avatar
worldspawn
User
Posts: 321
Joined: 26-Aug-2006
# Posted on: 01-Sep-2006 04:15:09   

The path is C:\Program Files\Solutions Design\LLBLGen Pro v2.0\TemplateStudio.exe

A ha!! I'm using LLBL Gen 2.0 July 31st! I'll redownload and let you know how i go.

Thanks simple_smile

worldspawn avatar
worldspawn
User
Posts: 321
Joined: 26-Aug-2006
# Posted on: 01-Sep-2006 04:24:52   

Its working! Problem solved! Thanks sunglasses