I’ve been at it all day, and yesterday evening…
I just want a classes project with a model, and a asp.net application to consume the data via a datacontrol; the ORM OpenAccessDataControl. But every time I drop the datacontrol on the page, click the smart tag, choose configure, I get
empty, please enable and compile project first
I found this post: http://www.telerik.com/community/forums/orm/getting-started/empty-please-enable-and-compile-project-first.aspx#796874
And I figured, well, let’s dive in. I’ve created about 50 projects, saw all video’s on ORM, followed this article:
http://www.telerik.com/help/openaccess-orm/data-toolbox-controls-openaccessdatasource-example.html
but no luck. Only thing i got working (after a while, version problems with VS2010) is this example in the code library:
I do not see any differences between my project and the example, except mine is in VB. I thought it was maybe my MySql connection, or a VB problem, so I tried it in C# with the Northwind db. But no effect.
I’m also a bit critical about the “getting started” and “easy do this, easy do that”. I have created a document during my travels last days, and you will see that is VERY time consuming. This could easily be reduced by Telerik, I guess they don’t want that???
All video’s, blog’s and examples are based on different versions of ORM. (1!) So, when I, as Zonan and Peter Brunner suggested in the forum post, try to “learn more of the basics” I get stuck because the video is clicking menu’s I do not have! Very sloppy work guys. When you make such big changes, you should update your getting started’s. If it was only from a selling point of view!
I found that there are two ways of working: “domain model” and “Enable project”. Correct? I’ve tried both. (2!) This is new functionality and should be addressed in at least one of the video’s!
An example:
I create a new solution “sol1” with a project “TestData”, a Class library project. I right click the project, choose add item, select a “Telerik OpenAccess Domain Model”, click ok. The wizard is shown. I have to select a connection string. This is annoying: There are connect string in my app.config, but they don’t show here. Why?? (3!) When I recreate the connectstring and give it the same name, I’m ask to “update”. The wizard then deletes ALL connections and put only this one back! Whell… (4!)
Moving one I select a name “AppModel” and select some tables. Then we are in the page where we can select some features. Nice, that’s Telerik (as I know them), thought of everything.. but… you have to enter it every time Signalize, pluralize, CamelCase… (5!) ok, the last page of the wizard: leave everthing default, behind ‘project’ I select browse, and messagebox is shown: "the item you have selected is invalid. Would you like to choose another?". Heu? (6!) This behavior is new in the latest version .1125, I’ve posted it already:
http://www.telerik.com/community/forums/orm/general-discussions/error-in-wizard.aspx#1444300
Ok, leave it Blanc then… click Finish.
Now I have a dll project with a model. Click “build”.
Then I Add a new project to the solution, a asp.net webapplication. First thing: convert to Telerik RadControls project. Then add references to Telerik OpenAccess (3.5, 4, web). Add the connection string to the web.config. Create a new page (or change the default.aspx) add a radscriptmanager, a radgrid and a OpenAccessDataControl. Click “build solotion”. Go to design, click the “smart” tag, click “configure datasource”. Then there is a dialog popping up from VS2010: Save the following files? (7!) heu? I did not change anything and just saved everything. Does this Wizard do something? Say yes. And then…
empty, please enable and compile project first
nothing helps, recompile’s, save’s, nothing. I’ve seen this error at least 20 times now in different approaches, no solution. The example works, but I can’t figure out why, I do not see differences…
As you can see, in my travels I find many problems, hope Telerik is gone do something about it, because I’m stuck and this 7 problem blog is no sales speech for Telerik ORM…
Thanks,
Erik