need help

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • hussein

    #1

    need help

    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

  • Nick Malik

    #2
    Re: need help

    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

    "hussein" <hussein@discus sions.microsoft .com> wrote in message
    news:85B7C9F7-DD9B-4F02-A7DA-D3F9C805D718@mi crosoft.com...[color=blue]
    > 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[/color]
    from[color=blue]
    > 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[/color]
    the[color=blue]
    > database, while the other computer gave me a Runtime error, and didn't[/color]
    insert[color=blue]
    > data to data base, so how am I able to solve this problem and will be able[/color]
    to[color=blue]
    > 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[/color]
    an[color=blue]
    > icon of setup for it to install it on another computer; how am I able to[/color]
    do[color=blue]
    > that and how will the connection be established on the computer that I'm
    > installing on it the program.
    > Thank you
    >[/color]


    Comment

    Working...