Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Excel Files don't work #14

Closed
GoogleCodeExporter opened this issue Mar 14, 2015 · 6 comments
Closed

Excel Files don't work #14

GoogleCodeExporter opened this issue Mar 14, 2015 · 6 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Start Mirrorfs or other Dokan Filesystem
2. Create a new Excel File and set some fields then save
3. Excel reports an error if i try to load the resulting file I get more 
errors  

What version of the product are you using? On what operating system?
Dokan 0.37

Please provide any additional information below.

It seems to work with sshfs, what's different there?
I get this errors with mirrorfs and my own .net filesystem. So I think it 
has something to do with Dokan.

FileMon Log of Excel Saving without Dokan Mirror (Direct to hdd) is 
attached. I can't log my filesystem with Filemon, because it crashes the 
System. 

Peter

Original issue reported on code.google.com by SiegelPe...@gmail.com on 25 Sep 2008 at 7:17

Attachments:

@GoogleCodeExporter
Copy link
Author

On my tests with 0.39 Excel 2003 just hangs on file open from mirrorfs(it saves 
file
normally).Dokan is also hangs(drive is unusable). DokanSSHFS works correctly in 
this
case. Is there some error in mirrorfs?

Original comment by dkazimi...@gmail.com on 28 Oct 2008 at 3:56

@GoogleCodeExporter
Copy link
Author

Could this be to do with Office 2003's call to CreateFile with the creation flag
CreateNew and access mode only containing read? In WinFUSE this is an issue as 
.NET's
FileEx.Open won't except it.

The work round is to check the access asked for when given CreateNew in your
CreateFile, and if so, check the access mode contains write access not just 
read access.

Silly thing to create a file with read only access if you ask me.....

Just thought it sounded like it could be related.

Original comment by joe.a.bu...@gmail.com on 21 Nov 2008 at 3:44

@GoogleCodeExporter
Copy link
Author

I found one of this problem is caused by missing MoveFile function in Dokan 
mirrorfs.
This will be fixed next release of Dokan library.

Original comment by asa...@gmail.com on 23 Nov 2008 at 8:17

@GoogleCodeExporter
Copy link
Author

Hi, my comment above was wrong. MovieFile file is implemented but the return 
value 
was not correct. The main reason of this problem was that OpenDirectory(in 
mirror.c) 
doesn't pass FILE_SHARE_READ|FILE_SHARE_WRITE when opening a direction.

Original comment by asa...@gmail.com on 24 Nov 2008 at 2:40

@GoogleCodeExporter
Copy link
Author

Hi

If I understood this correctly I have to pass EventContext->Create.ShareAccess 
to 
if (disposition == FILE_CREATE || disposition == FILE_OPEN_IF) {
            if (DokanOperations->CreateDirectory) {
                status = DokanOperations->CreateDirectory(EventContext->Create.FileName,
                                                        &fileInfo);
            }
Is this correct?

Will there be a new release fixing this Issue? And Also Dokan.Net?
Hi joe.a.burmeister
I checked my code, in CreateFile also works when creating a File with readonly 
set.

Peter 

Original comment by SiegelPe...@gmail.com on 26 Nov 2008 at 7:43

@GoogleCodeExporter
Copy link
Author

Fixed on Dokan library 0.4.0.

Original comment by asa...@gmail.com on 10 Dec 2008 at 5:23

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant