Page 1 of 1

Cannot add components at design time

Posted: Fri 11 Apr 2014 07:59
by brace
Hello.

I am trying to use SDAC components in an intraweb (vcl for the web) application.

I succeeded in this at past, i know there are coinitialization issues to be solved by properly configuring Intraweb servercontroller.

Anyway by trying it today on XE2 (IW XIV trial) when i open the Usersession datamodule
type
TIWUserSession = class(TIWUserSessionBase)

at design time i dont see TMS* components in the palette.

Moreover if i try to paste a TMSConnnection from a vcl datamodule o the intraweeb "problematic" datamdoule i have

Class TMSConnection not foudn error.

A strange thing i also notice is that in the IDE the SDAC menu has only menuitem "migration wizard".

If i open a normal vcl application i see all TMS* components in the palette when working on a datamodule and moreover the menu is complete (from "Management StudiO" to "Aobut SDAC...").

Why this is so? Is there away to allow the editor to isnert SDAC components?

Thanks

Re: Cannot add components at design time

Posted: Fri 11 Apr 2014 09:44
by brace
Udpate: since i was stuck by trial and error i realied that by manually adding to the uses cluase
Data.DB, DBAccess, MSAccess (i just copied the units added by IDE when i add a TMSConnection in a VCL application)

it allows me to use TMSConnection.

So somehow my problem is solved, anyway I'd like to understand better why this behavior is there.

Thanks.

Re: Cannot add components at design time

Posted: Mon 14 Apr 2014 06:48
by brace
Hello, sorry to re-reply but i'd like to have an answer.

Thank you.

Re: Cannot add components at design time

Posted: Mon 14 Apr 2014 08:33
by azyk
Hello,

We couldn't reproduce the problem. Try to reset the components palette settings to default. For this, call the popup menu on the components palette and select the "Reset Palette..." menu item, and click "Yes" in the appeared dialog.

Re: Cannot add components at design time

Posted: Tue 15 Apr 2014 13:17
by brace
http://www.screencast.com/t/ayi3lXaH

I made this video to see what i see today: unfortunatealy todayu i see SDAC design time componenst as grey squares and i cannot add them, moreover fields are lost.

Which is the cause of what i see?

Thanks

Re: Cannot add components at design time

Posted: Tue 15 Apr 2014 13:45
by brace
http://www.screencast.com/t/2FqliRC8kZ5

This is another video that shows moving from an application where SDAC compoenents work fine at design time to an application where they do not.

Re: Cannot add components at design time

Posted: Tue 15 Apr 2014 15:13
by azyk
Hello,

This problem is due to behavior of IntraWeb XIV. Please forward your question to IntraWeb developers.

Re: Cannot add components at design time

Posted: Wed 16 Apr 2014 08:05
by brace
Does it mean you can reproduce it too?

Re: Cannot add components at design time

Posted: Wed 16 Apr 2014 11:55
by azyk
We have no access to IntraWeb XIV components, therefore we can't reproduce the problem.

Re: Cannot add components at design time

Posted: Thu 17 Apr 2014 08:17
by brace
HEllo,

so how could you say
This problem is due to behavior of IntraWeb XIV.
?

Thanks

Re: Cannot add components at design time

Posted: Thu 17 Apr 2014 13:50
by azyk
Hello,

When using built-in IntraWeb components, SDAC works correctly, therefore the error is due to the IntraWeb XIV version you are using.

Best regards,
Andrey
Devart Team
www.devart.com