Re: General Network Error



Are you sure that the program actually exited after the first run? The X
button on the title bar on Pocket PC devices does not actually exit; it just
hides the program's window (use the Memory Control Panel applet to see
what's still running; at least I think it's the Memory applet on 2003...)

It's quite possible that your shutdown code properly closes the SQL
connection, but you are not properly prepared to reopen a connection when
the window is shown again, or it might be that you have *not* properly shut
down the connection and, as a result, you're trying, from a goofed-up state,
to connect again.

Paul T.

"crm" <crmckenzie@xxxxxxxxx> wrote in message
news:1183649076.384690.16050@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I've written an application for a Pocket PC 2003 device. The app
retrieves data from a Sql Server 2000 instance, manipulates that data,
and eventually writes the modified data back to the server.

The app works fine on the emulator during development. However, if I
deploy the app to the emulator and run it, the app works fine until I
close it the first time. When re-running the app, all attempts to talk
to Sql Server 2000 come back with the following error:
"General Network error. Check your network documentation."
Source: ".Net SqlClient Data Provider."

Given that the app works fine the first time I run it, I can't imagine
that there's anything wrong with the network connection. I have no
other issues connecting to the SQL Server from anywhere else. I'm
perplexed. Does anyone have any ideas?

Chris



.