I have recently run into the problem discussed in a previous forum.
Source: Microsoft VBScript runtime error
Error: Type mismatch: 'objStream.WriteLine'
I have reset my computer, deleted temp folders, renamed the file, and rebuilt the DIVA inputs. The file name is simply "Original". Still I get the error. Suggestions on how to fix it.
Do you know which version of DIVA you are running? It sounds like it could simply be some sort of permissions error with opening a file for writing. If that is the case, try to make sure that all users have full permissions to the C:\DIVA\ folder and all of its subfolders.
Does this problem persist with all of your simulation files?