Click here to Skip to main content
15,899,124 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello.
I wrote this simple app which generates barcodes, user enters barcode number and product name, and that is written in mssql (2005 server) db. After it is in the database, user clicks and app reads from db, and writes barcodes on a report. It all works great, but only on my machine. I released it and copied it to other machines and sql reports an error. I installed on other computer everything that I think it needs (.net 4.0, reporting tool, sql server 2005 express). When I click to load data from the database, it waits for a while and reports an error that says:
Sql server did not reply or is not installed... Help?
Posted

Hi did you change the database connection string, make sure the database servername and database you are using are correct irrespective of the machine
 
Share this answer
 
v2
Are the SQL Windows Services running?
 
Share this answer
 
To Lloyd Atkinson: SQL Windows Services are running.
To Rajesh Sajjanar: If you mean on the settings file, to change computer name
and location path, I did it.
Something just came to me: App was written in sql 2008, the other machine has 2005, can this be an issue?
 
Share this answer
 
Comments
Rajesh Sajjanar 6-Oct-10 17:01pm    
Yes this is definately an issue , while posting question above only SQL Ser ver 2005 is stated
draxaman 6-Oct-10 17:05pm    
You are completely right! It is my mistake. Thank you for helping me!
Toli Cuturicu 8-Oct-10 15:32pm    
Don't add fake answers! This is cheating for ratings!

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