I am having a very - VERY - difficult time getting a DataLibrary setup in Visual Studio 20008. I am using version 2.0.20073.191 of the controls. I am following the instructions from the C1DataManual2007.pdf (tutorial 2). The first problem I am having is that the template for creating the DataLibrary project does not exist! Yet, I can get the example to run just fine. So there MUST be a way to create DataLibrary project without using a template.
Again. There must be a way to create a DataLibrary project without using a project template. I have yet to figure out how.
Can anyone provide instructions on setting up a DataLibrary for use on a Visual Studio 2008 web project? Any help is greatly appreciated.
Thanks
Mark
Andrey
Thanks for the new files. I created the library using the template with no problems. Now, of course, I have progressed to a new problem. I am able to drop a C1WebData object on a page and set it up using the DataLibrary and DataSetDef properties. The C1WebGrid responds properly when I hook it up to the C1WebData object. It shows the proper fields, etc. But I receive a "Operation is not allowed when the object is closed or cannot be activated due to incorrect property settings." error when attempting to fill the dataset. I have checked the connection string and it's fine. I can fill the dataset using the DataLibrary schema editor.
Any ideas?
Whoops! Scratch that Andrey!
I reset all the properties in both the C1WebDataSet and the C1WebGrid and now everything seems to be working fine. When I initially created the library, I created the business objects, but I neglected to create any datasets. I found this out when I tried to hookup the C1WebDataSet in the web application. After creating the datasets, recompiling, and then recompiling the web app (to copy the dll local) - then setting the properties in the C1WebDataSet and C1WebGrid, I got the "Operation not allowed..." error.
It seems that clearing and resetting the properties took care of the problem. Do you have any ideas on what might have caused the issue in the first place? I just want to tknow if I should be looking out for something in particular.
Thanks again
Hi,
I am having the same issue, so I am probably going to ask a totally dumb question, but in the "how_to_setup.txt" it says "- Remove the following dlls, xmls and exe (if any exist) from GAC and from C:\Program Files\ComponentOne Studio.NET 2.0\bin directory:" .
How do I do that, and where from?
Rgds
Sean