Solved

CANNOT CREATE DATAWINDOW

Posted on 2006-11-11
8
794 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
Comment Utility
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
Comment Utility
Hi Rosh,

Procedure contains

 Create #temptable

Insert into #temptable

several Updates to #temptable

and finally,

select from #temptable

0
 

Author Comment

by:alrashideen
Comment Utility
come on guys give me some solution.
0
 
LVL 18

Expert Comment

by:diasroshan
Comment Utility
Hi,

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

Cheers,
Rosh
0
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 
LVL 18

Expert Comment

by:diasroshan
Comment Utility
Hi,

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

Cheers,
Rosh
0
 

Author Comment

by:alrashideen
Comment Utility
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
Comment Utility
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
Comment Utility
Hi,

Where you able to solve this already?

Regards,

Ced
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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 connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.

771 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

11 Experts available now in Live!

Get 1:1 Help Now