Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

crystal reports and postgres.exe error

Status
Not open for further replies.

donnyriyadi

Programmer
Nov 24, 2005
1
0
0
DE
Hi,
i have written a program in c# to print a crystal reports document and in the crystal reports document i use a postgresql connection to get the records.
I have tested it to print about 10 pages, and everytime the program tries to print the document, it make a "postgres.exe" process and after the document is printed, the process remain there until i shutdown my program.
So at 10 Pages there are also 10 postgres.exe processes. I think it isn't ok, isn't it ?
And if i try to print more pages, the psqlodbc will crash.
Does anyone have any solutions ?
thanks
 
I do not C#, but is there something like function pg_disconnect
it there is, try to use it after you finish with the DB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top