This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
I bought lightspeed. I have read the configuration instructions over and over. I have cut and pasted the app.config files till i'm blue in the face. The documentation is so brief about this that it is apparently to trivial to explain in any depth, and how about this, a sample of a working one. The sample files at too old to open and require conversion and then nothing but errors. And the forums are about a lonely as can be. Your left to work the first stumbling block out by yourself. I did this once and left the code for two months and just following the docs are useless. World wide there a few forums entries per day maybe. If the product mean nothing to the developer, or it too passe to interest anyone in it, then perhaps it s time to kill it off and not take money for people. Every thing is dated and forgotten, I guess all the kool developer are using angular and old fashioned ORM product are just gathering dust, and can't generate the revenue to actually support them. So be it. Using Visual Studio 2013. here the cursed hateful app.config that I can't stand to look at anymore since it only bring grief!
Configuration system failed to initialize- why is this so hard to connect to a database, LightSpeedContext ctx = new LightSpeedContext("Dev"); end of story here the problem, but Im copying the damn thing out of the samples! Course the sample never show this part
then the error over and over. Sorry but this is too painful to have acually paid money for this "tool"?
Only one |
|
|
If you right click on the LightSpeed model diagram surface you will find a "Getting Started" option which gives you code snippets for your config file and a sample block of code for creating a new UnitOfWork which you can use to get started. e.g.
and
If you are seeing "Configuration system failed to initialize" then there will be an error in the declaration of the lightSpeedContexts section.
|
|
|
been doing that for an hour. "could not find schema information for the element "lightSpeedContexts" like a broken record |
|
|
Thats just a warning from Visual Studio when you have your config file open because lightSpeedContexts does not have a schema definition, you can safely ignore this.
|
|
|
If you find you are still hitting up against a "Configuration system failed to initialize" issue post your config file (stripping out anything sensitive) and we can check for syntax issues.
|
|
|
I grabbed 1 table. I move it to the designer surface. I use get started. I write the config entries. I paste in the context generation code fromt the get started entries, and it still chokes with" Configuration system failed to initialize" |
|
|
COuld using the .Net version 4.5 be causing this. I tried 3.5, same thing with the Configuration system failed to initialize I know i've been through this before, it something that not mentioned in the docs. Any reference files needed. System.Configuration? |
|
|
the code based context creation works, the config file doesn't, and both are copyed from the start up |
|
|
this will not run
this will
|
|
|
configSections has to be the first element declared inside a configuration node, move it above the other elements in the config file.
|
|
|
that seems to work better. Now I can get code based as well as config based to generate no error. I will try some querys to see if anything is returned |
|