1). Run the disk manufacturers diagnostics. If it's a newer drive and the drive is failing it should detect it. It will also generate a handy RMA form for you in case the drive is still in warantee. Enable SMART support in bios. The new (last 2 years) drives actually monitor their internal operation and can predict an imminent failure.

2). Check how much space you have on the D drive. If it is low on space there may not be enough room for the pagefile to grow as needed causing write "errors". I use a fixed pagefile to avoid fragmentation and to make sure I don't crowd the pagefile.