WebORB and "Code Generation Failed" message
I'm trying to get an installation of webOrb 184.108.40.206 working, but am stuck getting the model to "build".
I've connected to the database server, with the proper credentials. WebOrb asks me which specific DB to connect to, and displays the list for me to choose from, so I know that part is working. In the databases list, I can drill into my DB, and into my tables to see the columns.
Then I drag a table over into the main model window. Then, if I select the green checkbox, it tells me "Data model validated, no errors found". So then I click on the gears icon, to build the simple model, and I get this sequence....
. . Trying connect to WebORB using RTMP, attempt 1 . . RTMP connection successfully established . . Starting code generation for model "asdf" . . Code generation failed.
Thats it...I can't see anything else that I'm missing. I've done everything exactly as the Developer Den video lays out.
Can anyone provide a suggestion or some additional help? I'm quite stuck!
I have a partial solution to this difficulty. With the assistance of weborb's technical support, we discovered an error in the log file which suggested a permission setting mismatch on C:\Windows\Temp\ .
[Thread-7] WEBORB EXCEPTION:1/26/2010 10:16:07 AM:System.InvalidOperationException: Unable to generate a temporary class (result=1). error CS2001: Source file 'C:\WINDOWS\TEMP\kpfrtmwd.0.cs' could not be found error CS2008: No inputs specified
I had tried adding "full" permissions to "Network System" and to "ASP.NET", according to the WebORB documentation, but neither of those solved the problem.
As a partial solution, we found that by adding the "Everyone" user, and giving it "Full" permissions, I was finally able to compile the code.
It remains yet to be seen which user/group needs to be setup properly for this to work without giving Everyone Full permissions.