CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 12 of 12
  1. #1
    Join Date
    Apr 1999
    Location
    Malaysia
    Posts
    224

    Cannot Access ClassView Information File

    Hello;
    I have a diolog base MFC problem, but everytime i try to open the workspace, the VC++ will give me
    the msg "Cannot access the classview information file" I can't access my project thru "classview".
    How to solve this problem?
    Thanks

    hEllO WoRLd

  2. #2
    Join Date
    Aug 1999
    Location
    Western Australia
    Posts
    38

    Re: Cannot Access ClassView Information File

    Your .CLW file is probably corrupted. To fix this, delete your .CLW file. The next time you open ClassWizard, you will be asked whether you want to rebuild the .CLW file from your source files. Simply follow the prompts to rebuild it.

    Hope this helps,
    Ryan


  3. #3
    Join Date
    Apr 1999
    Location
    Malaysia
    Posts
    224

    Re: Cannot Access ClassView Information File

    i tried it..
    but the problem still there..how?
    thanks

    hEllO WoRLd

  4. #4
    Join Date
    Feb 2002
    Posts
    58

    Talking Re: Cannot Access ClassView Information File

    The class view file is the .NCB file, not the .CLW file. CLW is the
    class wizard file.NCB is the non-compiled browse information file.

    Close MSDEV and delete the .NCB file from your source location. And reload the code.
    It will work !

  5. #5
    Join Date
    Jul 2006
    Posts
    2

    Re: Cannot Access ClassView Information File

    i deleted all the intermediate files (including .ncb) and it didn't work. :-)
    Sachin

  6. #6
    Join Date
    Jan 2002
    Location
    Houston, TX
    Posts
    1,421

    Re: Cannot Access ClassView Information File

    As swalker said, close your Visual Studio (VC) and delete the .ncb, .aps, and .clw files. Reopen the project and those files will be recreated when needed.

    Also, just in case you have this problem - be sure the .ncb file is not marked Read Only (not in source control).

    Good luck.
    Be sure to rate those who help!
    -------------------------------------------------------------
    Karl - WK5M
    PP-ASEL-IA (N43CS)
    PGP Key: 0xDB02E193
    PGP Key Fingerprint: 8F06 5A2E 2735 892B 821C 871A 0411 94EA DB02 E193

  7. #7
    Join Date
    Jul 2006
    Posts
    2

    Re: Cannot Access ClassView Information File

    everything done as per suggestions.

    i have even tried to create a new project and still got the same error.
    could there be problem with the installation or something else?

    thanks Gurus,
    Sachin

  8. #8
    Join Date
    Oct 2006
    Posts
    1

    Re: Cannot Access ClassView Information File

    I had the same problem. But I found that two msdev.exe processes where running even though i closed Visual Studio. Kill the processes if they are there and try deleting the files again.

    /Carl

  9. #9
    Join Date
    Oct 2007
    Posts
    1

    Thumbs up Re: Cannot Access ClassView Information File

    I encountered the same problem, as suggested by Carl, I found two MSDEV processes in the task manager. I killed one of them, it worked for me. Thanks a lot, Carl.
    /Kai

  10. #10
    Join Date
    Mar 2009
    Posts
    1

    Re: Cannot Access ClassView Information File

    Quote Originally Posted by swalker View Post
    The class view file is the .NCB file, not the .CLW file. CLW is the
    class wizard file.NCB is the non-compiled browse information file.

    Close MSDEV and delete the .NCB file from your source location. And reload the code.
    It will work !
    It Worked for me!
    Thanks
    RobHill

  11. #11
    Join Date
    Jul 2010
    Posts
    1

    Thumbs up Re: Cannot Access ClassView Information File

    Carl's suggestion worked for me too. Thanks a lot!

    My VS had crashed so I had to run it again. So I had two instances of it running.

  12. #12
    Join Date
    Jul 2010
    Location
    Bangalore
    Posts
    5

    Re: Cannot Access ClassView Information File

    Carl's suggestion has worked for me.I have 2 MSDEV.exe s in task manager.I killed One exe.Then it has worked fine
    Thank you

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

Featured