GUI template fatal exception

Posts   
 
    
sami
User
Posts: 93
Joined: 28-Oct-2005
# Posted on: 09-Jan-2007 09:54:48   

I get following exception when trying to generate the project:

Task 'SD.Tasks.Adapter.DbEditor.AddNewAspx' aborted the process.

Compilation of templates threw errors: Error CS1010, at line: 386, pos: 84: Newline in constant Error CS1056, at line: 390, pos: 37: Unexpected character '\' Error CS1010, at line: 1366, pos: 84: Newline in constant Error CS1056, at line: 1370, pos: 37: Unexpected character '\' Error CS1009, at line: 1961, pos: 823: Unrecognized escape sequence

-----[Core exception]-------------------- at SD.LLBLGen.Pro.LptParser.DotNetTemplateEngine.Perform(IGenerator executingGenerator, ITask taskDefinition, Dictionary2 parameters) at SD.LLBLGen.Pro.ApplicationCore.Tasks.Task.Perform(IGenerator executingGenerator, LogNode parentNode) at SD.LLBLGen.Pro.ApplicationCore.Tasks.TaskGroup.Perform(IGenerator executingGenerator, LogNode parentNode) at SD.LLBLGen.Pro.ApplicationCore.Tasks.TaskGroup.Perform(IGenerator executingGenerator, LogNode parentNode) at SD.LLBLGen.Pro.ApplicationCore.Tasks.TaskGroup.Perform(IGenerator executingGenerator, LogNode parentNode) at SD.LLBLGen.Pro.GeneratorCore.Generator.Start(ITaskGroup tasksToExecute, Project projectDefinition, Language languageToUse, Platform platformToUse, List1 templateBindingsToUse, String templateGroupToUse, ApplicationConfiguration configurationSettings) at SD.LLBLGen.Pro.Gui.Forms.MainWindow.StartGeneratorProcess()

SD.LLBLGen.Pro.LptParser

Maybe doing something wrong here or...?

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39613
Joined: 17-Aug-2003
# Posted on: 09-Jan-2007 09:58:55   

Hmm, that's a non-templated template (no template code, other than the rootnamespace). What rootnamespace did you specify? Do you have a '\' in servername/username/connection string? (If so, I think it's because of a mistake in the webconfig template)

THere are a couple of other issues I'll try to sort out today as well.

Frans Bouma | Lead developer LLBLGen Pro
sami
User
Posts: 93
Joined: 28-Oct-2005
# Posted on: 09-Jan-2007 10:11:01   

When I saw your reply I thought if I missed the rootnamespace totally, but it seems to be mandatory before you can generate sunglasses Anyway, rootnamespace was 'Demo'

But I think it is happening because I have a named sql server instance, as in

192.168.1.55\MYINSTANCENAME

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39613
Joined: 17-Aug-2003
# Posted on: 09-Jan-2007 10:19:25   

I indeed think that's it. I can try to repro it with a named sqlserver 2005 instance I have here, just a sec.

Frans Bouma | Lead developer LLBLGen Pro
Otis avatar
Otis
LLBLGen Pro Team
Posts: 39613
Joined: 17-Aug-2003
# Posted on: 09-Jan-2007 10:25:39   

No that's not it. I tested it with ZEUS\SQLSERVER2005, but that works OK.

Could you mail me the .lgp file so I can try to reproduce it? (support AT llblgen.com)

Frans Bouma | Lead developer LLBLGen Pro
sami
User
Posts: 93
Joined: 28-Oct-2005
# Posted on: 09-Jan-2007 10:46:42   

You will get it in a moment...

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39613
Joined: 17-Aug-2003
# Posted on: 09-Jan-2007 11:37:13   

Thanks, received it. Will look into it shortly simple_smile

Frans Bouma | Lead developer LLBLGen Pro
Otis avatar
Otis
LLBLGen Pro Team
Posts: 39613
Joined: 17-Aug-2003
# Posted on: 09-Jan-2007 11:44:05   

I can't reproduce it. It generates just fine. Could you check if you're using the latest task performers build?

Frans Bouma | Lead developer LLBLGen Pro
sami
User
Posts: 93
Joined: 28-Oct-2005
# Posted on: 09-Jan-2007 11:59:26   

oh bollocks, I did check the runtime libraries before posting but not task performer libs, doh! flushed Sorry about that (yes, upgrading those fixed to problem).

I have used to include the assembly version in error messages to help out sorting these kinds of problems with those silly users not using the latest versions... sunglasses

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39613
Joined: 17-Aug-2003
# Posted on: 09-Jan-2007 12:10:46   

Well, it was after all a useful error report, I now will make sure I'll specify that the users need the latest taskperformers build simple_smile

Frans Bouma | Lead developer LLBLGen Pro