在从一个文件中反序列化的时候将数据写到内存中时 出现:“没有找到一个未命名的文件”对话框  代码如下: 
if (!CDocument::OnOpenDocument(lpszPathName)) 

return FALSE; 

AfxMessageBox(lpszPathName); CFile file; 
if (!file.Open(lpszPathName,CFile::modeRead|CFile::modeNoTruncate)) 
        { 
        #ifdef _DEBUG 
afxDump < < "Unable to open file" < < "\n"; 
exit(1); 
        #endif         } CArchive archive(&file,CArchive::load);    //问题所在 
archive.m_pDocument=this; 
int count; archive>>count;     CString  str; 
    str.Format("%d",count); 
    AfxMessageBox(str);” 
跟踪调试到这里 就出现那个对话框 就不能执行下去了  请问各位大侠 如何解决?