Data problem in deployed setup file

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • agarwalsunitadhn
    New Member
    • Jan 2008
    • 82

    #1

    Data problem in deployed setup file

    Hello..
    I had deployed my project and created a setup file. when i install this one to my system. All the pages works but when i have insert query then it shows an error. is it only a backup file and not working compltly.
    and my second problem is that even after creating the default page i have to write the name of the page after the site
    like
    http://localhost/project/filename.aspx instead of http://localhost/project

    Do u know what exactly happen and how can i solve this?
  • Shashi Sadasivan
    Recognized Expert Top Contributor
    • Aug 2007
    • 1435

    #2
    What is the error that it is being shown?

    I think you will have to set IIS up to set the default page

    Comment

    • agarwalsunitadhn
      New Member
      • Jan 2008
      • 82

      #3
      Originally posted by Shashi Sadasivan
      What is the error that it is being shown?

      I think you will have to set IIS up to set the default page
      After installing the setup file when i work on that I got the following error at the time of insert query

      Error:
      Operation must use an updateable query

      Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

      Exception Details: System.Data.Ole Db.OleDbExcepti on: Operation must use an updateable query.

      But it works perfectly in running application
      and when i open the page
      http://localhost/InstalledProjec t
      then i got a blank page to see the content i have to write the name of the file like that
      http://localhost/InstalledProjec t/login.aspx

      Comment

      • Shashi Sadasivan
        Recognized Expert Top Contributor
        • Aug 2007
        • 1435

        #4
        I am not sure about your database type, seems to be access

        following is a link to a microsoft KB
        An unhandled exception may occur when you try to connect to an Access database from an ASP.NET worker process

        This KB seems to match the exception you are experiencing
        Hope it solves your problem

        Comment

        • agarwalsunitadhn
          New Member
          • Jan 2008
          • 82

          #5
          how to deploy application so that it insert data in database also

          hello
          I had deploy my application and created a setup file and then i faced following two problems

          --------------------------------------------------------------------------------
          1)After installing the setup file when i worked on that I got the following error at the time of insert query

          Error:
          Operation must use an updateable query

          Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

          Exception Details: System.Data.Ole Db.OleDbExcepti on: Operation must use an updateable query.

          But it works perfectly in running application
          --------------------------------------------------------------------------------
          2) previously when i write the application name in browser it automatically run the default file like this
          http://localhost/project

          but now i have to write the name of the file also
          http://localhost/project/welcome.aspx

          Comment

          Working...