Solved

"failed to create empty document"

Posted on 2003-11-03
7
1,311 Views
Last Modified: 2013-11-20
"Failed to create empty document" pops up in a dialog when I run my application. What does it mean?
0
Comment
Question by:TimDSmith
7 Comments
 
LVL 32

Expert Comment

by:jhance
ID: 9671404
I'd say that it means your application failed to create an empty document.
0
 
LVL 1

Author Comment

by:TimDSmith
ID: 9671764
Sorry - it was my fault. I was returning -1 by mistake in my view's OnCreate handler. Doh!
0
 
LVL 32

Expert Comment

by:jhance
ID: 9671773
Don't you just HATE when that happens.  I could be a millionaire if I could come up with a system for making computers do what people WANT them to do rather than what they TELL them to do...
0
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 9

Expert Comment

by:Priyesh
ID: 9676697
Start the application in debug, and after the "Failed to create empty document" message, look in the Output window. This usually happens due to resource problems. If that is the case, a debug trace will be in the output window helping you to find where the problem is.
0
 
LVL 1

Author Comment

by:TimDSmith
ID: 10069467
I am requesting a refund of the points as I answered my own question as the second comment.
0
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
ID: 10088914
PAQed, with points refunded (75)

Computer101
E-E Admin
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
bobThere java chalenge 45 94
modThree challenge 4 99
sumHeights  challenge 17 75
Increment column based of a FK 8 32
Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question