WINWORD (MS office) gives save as dialog for existing file

Hi,

We have minifilter driver which monitors for files which are modified and sends notification to service. Actually the problem is when I save large DOC in MSWORD,
WINWORD (MS office) gives save as dialog for existing file, instead saving the file.

Trace out from precreate to sendNotification and get notification is clear(nowhere its blocked) even though its causing some problem with WINWORD.
it happens with only large DOCS.

Disabling driver works fine.
Initially thought OPLOCKS would be reason and commented oplocks for verfication but issue persist.

Any pointers would really helpful.

Thanks
~Sachin

I’ve spent a lot of time tracking down misbehaving Office applications, it’s
a real pain.

The first thing to do is get Process Monitor traces of the working and
non-working cases and compare them. For Word, you can usually start by
filtering out anything that isn’t from WinWord.exe (though you may
ultimately need to expand the search). I also generally exclude any
operation that was successful as a first pass, sometimes an “access denied”
or “sharing violation” will pop right out in the failure case.

Without traces I don’t have much to added besides the fact that it could be
anything. I just fixed a Word interop problem this week that had to do with
byte range locking, which wasn’t something I was looking for when I started.

Good luck!

-scott
OSR
@OSRDrivers

wrote in message news:xxxxx@ntdev…

Hi,

We have minifilter driver which monitors for files which are modified and
sends notification to service. Actually the problem is when I save large
DOC in MSWORD,
WINWORD (MS office) gives save as dialog for existing file, instead saving
the file.

Trace out from precreate to sendNotification and get notification is
clear(nowhere its blocked) even though its causing some problem with
WINWORD.
it happens with only large DOCS.

Disabling driver works fine.
Initially thought OPLOCKS would be reason and commented oplocks for
verfication but issue persist.

Any pointers would really helpful.

Thanks
~Sachin