6
Answers

I have a C# 2 application not work on windows server 2003

Ali Mahmoud

Ali Mahmoud

15y
3.9k
1
I build a console application that read from database and write the result to text file , I used c# 2005 , on my xp machine work well, while transfer it to windows server 2003 not work , any advice please I checked the security issues and the connection strings
Answers (6)
0
Mahesh Chand
2 286.9k 123.7m 15y
One way to troubleshoot your problem, implement exception handling in your code. Use Try..Catch block from place to place in your code such as when connecting to database, getting data, writing to text file and if Exception occurs, show a message or write error to a text file.

If you do not know how to handle exceptions, search C# Corner for "exception handling". You will many articles on this topic.
0
Ali Mahmoud
NA 38 0 15y
Unfortunatelly I am not using sqlserver express in my application
0
Kirtan Patel
NA 35k 2.8m 15y
No It Does not Affect

SQLEXPRESS Service must be running :)

if my answer helps you then check  "Do you like this answer" check box :)






0
Ali Mahmoud
NA 38 0 15y
the sql server browsing is stopped , may this effect
0
Ali Mahmoud
NA 38 0 15y
it give no error but nor result come and I installed framework 3.5 and will try any suggestion
0
Kirtan Patel
NA 35k 2.8m 15y
Friend,

make sure that you  have installed SQL Server in the Machine where you using that application .

and if still not resoved then let me know what error you are getting i will tell you solution :)

if my answer helps you then check "Do you like this answer" Check Box :)





Next Recommended Forum