Click here to Skip to main content
15,914,074 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
Dear all,


I had written exe in Asp[c#] code to run this exe is executing fine in my server and all my office network system it working fine when i tried to execute in client system it is executing fine. But the result is not coming .I check the app config file also correct and SQL server connection is correct.

can u help me anyone what i need to check and clear the issue.
Posted
Comments
OriginalGriff 19-Jun-12 12:24pm    
This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind.
Use the "Improve question" widget to edit your question and provide better information.
jvamsikrishna 19-Jun-12 13:39pm    
the issue is i installed the exe in client system there is no execution error by double clicking on it.but the instacnes to update a table is not happen there.the same exe is working fine in my pc. both system H/W configurations are same.
I am notseeking the answers send code or any query to me.
guide me what i need to check in code and database where i need to check
how to perform small testing techniques to find out solution and all......
i expect good answers from you as a dot net legends it's not a big issue for you.for me facing the issue first time.
Thanks In Advance

jvamsikrishna 21-Jun-12 13:08pm    
Thanks for suggestions i am following those points figure out my issue.
Sergey Alexandrovich Kryukov 19-Jun-12 13:21pm    
You should understand that you did not provide enough information to help you; but the fact you don't understand it makes me not sure if you are able to use the help even it you receive some.
--SA
jvamsikrishna 19-Jun-12 13:59pm    
the issue is i installed the exe in client system there is no execution error by double clicking on it.but the instacnes to update a table is not happen there.the same exe is working fine in my pc. both system H/W configurations are same.
I am notseeking the answers send code or any query to me.
guide me what i need to check in code and database where i need to check
how to perform small testing techniques to find out solution and all......
i expect good answers from you as a dot net legends it's not a big issue for you.for me facing the issue first time.
Thanks In Advance

1 solution

"the issue is i installed the exe in client system there is no execution error by double clicking on it.but the instacnes to update a table is not happen there.the same exe is working fine in my pc. both system H/W configurations are same.
I am notseeking the answers send code or any query to me.
guide me what i need to check in code and database where i need to check
how to perform small testing techniques to find out solution and all......
i expect good answers from you as a dot net legends it's not a big issue for you.for me facing the issue first time."


The problem is that we really don't have enough information. And probably, you don't either.
For example:
"there is no execution error by double clicking on it" All that says is either there is no problem, or your code is swallowing it in a try...catch block. Since you have a symptom (no table update) the former is unlikely, which leave the later. Which is no information at all because we (and almost certainly you) have no idea where the try catch could be or what the exception it swallowed - if there is one.

So all you can do at this stage is apologise to the client, and get him to help you. There are a few things you can try:
1) Go and watch what they do. Make notes of exactly the steps that cause the problem, right down to "press the A key" "click the mouse on button" "make the form taller". Duplicate those actions exactly on your development machine. Do you get the same problem?
2) Produce a special version of software which logs everything it does, and when the problem occurs, look at the log. Try to work out where in your code the problem is likely to be, and produce more special software, which logs even more heavily in that area. Keep going until you find a potential problem, then reproduce the conditions on your development system. When you can cause the problem on your system, you stand a chance of fixing it.
3) Don't swallow exceptions - at the very least log them. They show there is a problem, and swallowing it just masks it and frequently lets it pop up later, when it is much much harder to find.
4) Take every single try catch block out of your code. Do you get an exception now? It might help you pinpoint the area the problem is in.

There is no magic bullet here - it's slog time! Sorry.
 
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