Page 1 of 1

PostgreSQLDirect .NET 2.50 for .NET Framework 2.0

Posted: Wed 08 Nov 2006 19:43
by Marcelo de Oliveira
Dear friends,

I am using the following products:

Visual Studio 2005.
C# Language.
FrameWork 2.0 from .NET.
Database PostGreSQL 8.0 version.
I downloaded the trial version called PostgreSQLDirect .NET 2.50 for .NET Framework 2.0, and installed on typical. When I create a project Windows Application type, all the components appear normally on ToolBox, but when I create a project ASP .NET WebSite type, the same components do not appear on ToolBox.

I'll try to follow the steps above that was suggested for you, that are:

Microsoft Visual Studio .NET

On first VisualStudio.NET IDE startup after successful installation PostgreSQLDirect .NET components are automatically registered in Toolbox. If auto registration fails do following steps to install components manually:

Open VisualStudio.NET and go to Toolbox window;
Add 'PgSqlDirect' tab using right mouse button;
Select Customize Toolbox... from popup menu;
Go to .NET Framework Components tab within opened dialog;
Check PgSqlConnection, PgSqlCommand, PgSqlDataAdapter, PgSqlCommandBuilder, PgSqlScript and PgSqlMonitor components;
Press OK button.
Borland Delphi and C#Builder

To register PostgreSQLDirect .NET components in Delphi or C#Builder Tool Palette follow these steps:

Open Delphi or C#Builder and go to "Tool Palette" window;
Add "PgSqlDirect" category using popup menu;
Select "Installed .NET Components..." from popup menu;
Go to "Installed .NET Components" tab within opened dialog;
Check PgSqlConnection, PgSqlCommand, PgSqlDataAdapter, PgSqlCommandBuilder, PgSqlScript and PgSqlMonitor components;
Press OK button.
Even doing these steps, I couldn't make the components appear on the ToolBox. �I even went to the menu Tools\Choose ToolBox Items of Visual Studio, and all the components appear selected, but even if I don't select it, each one is selected again and after pressing the OK button, the don't appear on ToolBox.

Please, help me how to create a ASP .NET project on Visual Studio 2005 using the .NET 2.0, and let me know if when doing this, I'll have those components on ToolBox, or I'll have to add the classes manually on each file .CS.

Best regards,

Marcelo de Oliveira

Posted: Thu 09 Nov 2006 07:18
by Alexey
Make sure you are in the Component Designer view (switching between views - by right clicking your *.aspx file).

Design

Posted: Wed 13 Dec 2006 17:16
by fabiolemea
Alexey,

Is the provider tools only apperas at Component Designer ?

Posted: Wed 13 Dec 2006 17:22
by Alexey
Windows components only appear in Component Designer view.

Posted: Wed 13 Dec 2006 17:29
by fabiolemea
Ok, but I'm using ASP.NET Web Application Template and the tools appears only at Component Designer. Is it correct ?
'Cause the Data toolbar has some SQL tools and it is enabled (and appears) at HTML Designer too.
Thank's

Posted: Wed 13 Dec 2006 17:39
by Alexey
What do you mean by "tools"?

Posted: Wed 13 Dec 2006 17:44
by fabiolemea
Ow, sorry. tools = toolbox ;o)

Posted: Wed 13 Dec 2006 17:54
by Alexey
Components that available in Designer view are web components.