Results 1 to 6 of 6

Thread: [RESOLVED] Error without an error message

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2005
    Posts
    261

    Resolved [RESOLVED] Error without an error message

    I'm pulling my hair out

    I have a table that contains 2 formviews

    I have an "edit" button that changes the mode of the FV to edit as follows

    FormView1.ChangeMode(FormViewMode.Edit)

    This works fine, but when I add the line for the second formview;
    FormView1.ChangeMode(FormViewMode.Edit)
    FormView2.ChangeMode(FormViewMode.Edit)

    I get an error when I build the app. However, there is no error message to tell me what is wrong. How can I isolate the issue?
    Last edited by seidel1; Jun 28th, 2006 at 01:48 PM. Reason: Issue Solved

  2. #2
    Addicted Member rabid lemming's Avatar
    Join Date
    Feb 2005
    Posts
    210

    Wink Re: Error without an error message

    Have you tried using just FormView2.ChangeMode(FormViewMode.Edit) ojn it's own to see if it is the second line causing the issue? Might be ...and this is only a guess...but might be coz it's trying to alter two objects at the same time, can't see how this would be an issue or problem, but maybe try just for testing purposes… if by altering the views individually with say a button for and a button for another to change the view's; if that then works...if so then you may just need a small time delay between the 2 change's of view's call's. If not then maybe copy the code and start a new project to check it isn’t just a complier code error of some sort

    Hope that helps

    I will wait for death with a smile and a big stick

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2005
    Posts
    261

    Re: Error without an error message

    I have tried pretty much everything you have suggested.

    I tried renaming the FV's, I tried removing them, It's almost as if the IDE isn't seeing them, however they do appear, but they don't appear to have any properties exposed in the code behind.

    I am doning nearly the same identical thing on several other pages with no issues. The frustraiting thing is that it says there are build errors, but no errors appear in the error list

    Any help of suggestions is greatly appreciated

  4. #4
    Addicted Member rabid lemming's Avatar
    Join Date
    Feb 2005
    Posts
    210

    Re: Error without an error message

    hummm...can you post your file and if I can or maybe some one else can (as I only got vb 2003, vb 6, asp web matrix, Microsoft Visual Web Developer 2005 Express Edition installed on my machine) can have a look to see if its just your computer or not ? Have you tried using one of the other working pages and making a copy and simply editing the code to make it like for the page that doesn’t work ...bit of a long winded solution but may work....when you used buttons separate buttons for each control to control the view of the items individually did that not work ?

    I will wait for death with a smile and a big stick

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2005
    Posts
    261

    Re: Error without an error message

    Thanks for the offer to review the code. I ended up fixing the issue by remaking the page from scratch. Painful but it resolved the issue.

  6. #6
    Addicted Member rabid lemming's Avatar
    Join Date
    Feb 2005
    Posts
    210

    Unhappy Re: [RESOLVED] Error without an error message

    ah right well sorry we couldn't help Glad you got it sorted in the end though
    Last edited by rabid lemming; Jun 28th, 2006 at 06:39 PM.

    I will wait for death with a smile and a big stick

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width