Solved

CANNOT CREATE DATAWINDOW

Posted on 2006-11-11
8
798 Views
Last Modified: 2013-12-26
I'm using Stored Procedure as Data source for an Datawindow, when I select the stored procedure from Datawindow wizard, I'm getting error.

Cannot create datawindow.

'ct_send():network packet layer: internal Client Library error: trying to write when connection is expecting a read.

1 execute dbo.dwh_customer_sales_proc;1 @rdt_from =:rdt_from, @rdt_to =:rdt_to'

Please Note, this procedure is working fine if you execute in SQL Advantage.

Tried in another PC , still I get the same error.
0
Comment
Question by:alrashideen
  • 3
  • 3
  • 2
8 Comments
 
LVL 18

Expert Comment

by:diasroshan
ID: 17924185
Hi,

can u post the procedure... cud have a look at it... does it return a select statement... i mean a resultset...

Also, apply the latest patch for the Version of PB ur using... u can get this on www.sybase.com

Earlier,all such probs were solved by applying latest patches.

Cheers,
Rosh
0
 

Author Comment

by:alrashideen
ID: 17924951
Hi Rosh,

Procedure contains

 Create #temptable

Insert into #temptable

several Updates to #temptable

and finally,

select from #temptable

0
 

Author Comment

by:alrashideen
ID: 17928327
come on guys give me some solution.
0
 
LVL 18

Expert Comment

by:diasroshan
ID: 17929294
Hi,

did u try applying the latest build of the PB version ur using.

Cheers,
Rosh
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 18

Expert Comment

by:diasroshan
ID: 17929300
Hi,

just for the sake of testing, try creating a permanent table instead of a temp table.

Cheers,
Rosh
0
 

Author Comment

by:alrashideen
ID: 17936229
yes i updated all the EBF and I tested with permanent table also it gives me same error.
0
 
LVL 3

Expert Comment

by:ced888
ID: 17936672
Hi,

Try creating the datawindow with the manual result set (checkbox checked). Then manually add the columns you expect your stored procedure to return. Just make sure they match in datatype and column order.

Regards,

Ced
0
 
LVL 3

Accepted Solution

by:
ced888 earned 500 total points
ID: 18110900
Hi,

Where you able to solve this already?

Regards,

Ced
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
add relation in Intellij on MAC 4 72
Fast data scrub 19 95
Eclipse and java version isssue 2 39
Software tool to depict the structure of a Visual Studio solution/project 6 93
In our object-oriented world the class is a minimal unit, a brick for constructing our applications. It is an abstraction and we know well how to use it. In well-designed software we are not usually interested in knowing how objects look in memory. …
Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

27 Experts available now in Live!

Get 1:1 Help Now