VB.Net or Visual studio

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vaibhav jain339
    New Member
    • Mar 2012
    • 5

    VB.Net or Visual studio

    I have created a application setup.when i installed on another computer than the application not working because of file permission. now what i do??
    (this has sql server database)
  • Rabbit
    Recognized Expert MVP
    • Jan 2007
    • 12517

    #2
    They just have to install it as an administrator.

    Comment

    • vaibhav jain339
      New Member
      • Mar 2012
      • 5

      #3
      i do this but it shows "Unhandled exception". it niether reading database nor writing..

      Comment

      • vaibhav jain339
        New Member
        • Mar 2012
        • 5

        #4
        i open it the software first loads welcome screen but after that a error pops up which has a label of microsoft .net framework and inside it the error is

        "Unhandled exception has occurred in your application.If you click continue the application will ignore this error and attempt to continue. A network related or instance specific error occured while establishing a connection to SQL Server. The server was not found or was not accessible.Veri fy that the instance name is correct and that SQL Server is "

        Comment

        • vaibhav jain339
          New Member
          • Mar 2012
          • 5

          #5
          and the connection string is like this "Data Source=.\sqlexp ress;Initial Catalog=loan_ma nagement;Integr ated Security=True"

          Comment

          • Rabbit
            Recognized Expert MVP
            • Jan 2007
            • 12517

            #6
            I would check that the server is set up correctly on the computer you're trying to install the program to.

            Comment

            • rekedtechie
              New Member
              • Feb 2012
              • 51

              #7
              ...why dont you try to test the database connection in your splash form..
              im not good enough in .net because in my college life we only use vb6..

              'test the connection
              'if database exist show Main Form
              'if error create first your database then show Main Form..

              'we only use msaccess in college so i need to add my database in the package..
              'because im using the app.path to locate my db..

              Comment

              Working...