Solved

"failed to create empty document"

Posted on 2003-11-03
7
1,310 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
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
format the code in java 6 95
EvenOdd challenge 10 110
Not needed 13 113
Problem to App source 6 41
Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

831 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