Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 860
  • Last Modified:

CANNOT CREATE DATAWINDOW

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
alrashideen
Asked:
alrashideen
  • 3
  • 3
  • 2
1 Solution
 
diasroshanCommented:
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
 
alrashideenAuthor Commented:
Hi Rosh,

Procedure contains

 Create #temptable

Insert into #temptable

several Updates to #temptable

and finally,

select from #temptable

0
 
alrashideenAuthor Commented:
come on guys give me some solution.
0
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

 
diasroshanCommented:
Hi,

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

Cheers,
Rosh
0
 
diasroshanCommented:
Hi,

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

Cheers,
Rosh
0
 
alrashideenAuthor Commented:
yes i updated all the EBF and I tested with permanent table also it gives me same error.
0
 
ced888Commented:
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
 
ced888Commented:
Hi,

Where you able to solve this already?

Regards,

Ced
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

  • 3
  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now