Click here to Skip to main content
15,877,675 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi,

I try to connect Server to client for file transfer client side error occurring ,when i run the EXE

i cant able to get the Solution

the Error IS :
SQL
Client has encountered a problem and needs to close.  We are sorry for the inconvenience.


can Any One Guide me to solve this error!!

Thanks IN Advance !!!

'||||||||||||||||||||||||||||||||||||||||||

Hello!! i have created two EXE for server & Client For File Transfer Its a two way communication its working fine in my system (windows X.P Sp3)& also its working Fine in Windows7 O.S . i copied the EXE ,dll & required files Which is in Debug folder to another system(Windows X.p) Which doesn't contains any programmatic S/W Their i run the client EXE its shows Error:(Client has encountered a problem and needs to close. We are sorry for the inconvenience.)

I Guess this information enough to Help me!!!
Posted
Updated 27-Oct-11 7:50am
v4
Comments
OriginalGriff 27-Oct-11 9:20am    
It would help if you gave us some vague idea of the technology you are using here!
Use the "Improve question" widget to edit your question and provide better information.
Marc A. Brown 27-Oct-11 9:44am    
OriginalGriff is correct. There's nowhere near enough information here for anyone to help you, unless that someone is a mindreader. More information!

1 solution

This can be all sorts of things.

But my first guess would be that the .NET framework isn't installed on the pc you copied the files to.
Or the incorrect version is installed.
When you go to your project properties under the compile tab you have a button 'advanced compile options' there you can see what framework you'll need.

Try creating a setup project for your client program and use that to install on the client pc.
The setup will check if you have the correct version of the .NET framework and if you haven't will download it and install it.
Visual Studio Windows Application Setup Project[^]
Its for a bit older version of visual studio but you'll get the idea



Tip: build your project in release mode (will improve performance)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900