need help

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I’m working on a web application using the IIS as my web server and the
SQL2000 server for the data base. but when i tried to access the program from
two other computer at the same time and i tried to do the same function
{inserting to data base} one of the computer inserted the information to the
database, while the other computer gave me a Runtime error, and didn't insert
data to data base, so how am I able to solve this problem and will be able to
work on the same application on different computers at the same moment.

and my next question is that, when I finish my project and I need to make an
icon of setup for it to install it on another computer; how am I able to do
that and how will the connection be established on the computer that I’m
installing on it the program.
Thank you
 
There is too little information in your question for us to help you debug
your problem, friend.

Please provide a short but complete example of code and a description of how
to recreate the problem.

You can create an install project fairly easily. In your solution, add a
project of type "setup" project.

As for the connection string: with web apps, they are normally installed by
administrators, and not by average users. You can expect these folks to be
able to edit a config file. So, put your connection string into your
web.config file and then reference it in your code. Test this and make it
work in the development environment. When you deploy to test, send along
instructions on how to edit the config file to change the name of the server
and/or database. For best results, use integrated security to access the
database.

Hope this helps,
--- Nick
 
Back
Top