Troubleshooting ClickOnce Deployment in VB 2005 Express

Where can I find ClickOnce Deployment Troubleshooting procedures in VB 2005 Express Edition


Answer this question

Troubleshooting ClickOnce Deployment in VB 2005 Express

  • Checkup From the Neck Up

    Hi Jack,
    I am problem with clickonce ,
    I have a database file, a form which has a datagrid view.
    There is one column(status) in the datagridview that has a combo box which has a collection.
    E.g
    BK
    HD
    AV
    the column status is already filled with above values and i added the combo box , therefore the user to choose only those values.
    The program works fine when debug and run within vb 2005 or executable file in the bin folder. but when i deploy the program there is an error displayed :
    failed to enabled constraints, one or more rows contains values non-null, unique, or foreign key constraint

    the status column is also blank it has no values!!!!

    thank to help
    Ritesh

  • Vinod Anand

  • laks_win

    'C:\Document and Settings\HP_Pwner\My Documents\HomeInventory.mdb is not a valid path. Make sure that the path name is spelled correctly and that you are--no other information is displayed after 'you are'.

    Error indicates that your deployed app can not find the "HomeInventory.mdb" database. It could cause by hardcoded database connection string. To see the connection string, go to your Settings Designer (Solution Explorer -> My Project -> Setting Tab)

    if you have problem to figure it out, send your app to jackhu(AT)microsoft.com.



  • great_ghost

    Jack,

    Can you help me with the following problem that I am having:

    Application Deployment

    Doesn't anyone have an answer to my proplem. It seems to me that at least one person would be knowlegable to answer my question. I am loosing faith in this forum!

    I have an application containing 14 forms which contain a database along with a picture. When I publish my application to a folder in my PC and burn a CD the program works fine on the originating computer. The database has data in the records that I entered. When I take the CD-ROM that I burned with the program to my other computer and run the program I get thrown exceptions for each form that I open.

    Also, the databases do not have any of the data that I originally entered. On the program originating PC, the data I entered prior to deporting the files work fine. I can update the files, save them, etc.

    Why doesn't the other computer work the same way

    Any constructive comments will be geatly appreciated. I have been working on this problem for some time now.

    When I run my program on my other computer, I get the following message when I click on a form to display the database grid with information in it:

    Unhandled exception has occurred in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately.

    'C:\Document and Settings\HP_Pwner\My Documents\HomeInventory.mdb is not a valid path. Make sure that the path name is spelled correctly and that you are--no other information is displayed after 'you are'.

    When I click Ignore, the database grid is displayed, however, there is no data shown in the record. This happens no matter which form I open up. I can not understand why my program works on my application development computer but does not work on other computers!

    Is there a bug in the Visual Basic 2005 Express Edition program

    I really need help on this problem. Thanks in advance.

    Richard Williams



  • Troubleshooting ClickOnce Deployment in VB 2005 Express