Thanks for replying! But I already found my solution! After a few weeks of frustration and putting this message online I found out that it was the default printer that caused the error. Normally I use a printer from my university network as my default printer, but this caused the error since the computer is not always connected to that network. Now I put the Microsoft XPS Document Writer as default and everything works fine.
I run the Adobe Creative Suite CS6 on Windows 7, my error log showed the following:
Faulting application name: InDesign.exe, version: 8.0.0.370, time stamp: 0x4f72c3ee
Faulting module name: AGM.dll, version: 4.26.18.19553, time stamp: 0x4f3a0265
Exception code: 0xc0000005
Fault offset: 0x0024d0cd
Faulting process id: 0x1508
Faulting application start time: 0x01ce4905ac3f0ca2
Faulting application path: C:\Program Files (x86)\Adobe\Adobe InDesign CS6\InDesign.exe
Faulting module path: C:\Program Files (x86)\Adobe\Adobe InDesign CS6\AGM.dll
Report Id: 211d7fdd-b4f9-11e2-bd34-e02a822ba99d