"failed to create empty document"

"Failed to create empty document" pops up in a dialog when I run my application. What does it mean?
LVL 1
TimDSmithAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

jhanceCommented:
I'd say that it means your application failed to create an empty document.
0
TimDSmithAuthor Commented:
Sorry - it was my fault. I was returning -1 by mistake in my view's OnCreate handler. Doh!
0
jhanceCommented:
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
Cloud Class® Course: Microsoft Windows 7 Basic

This introductory course to Windows 7 environment will teach you about working with the Windows operating system. You will learn about basic functions including start menu; the desktop; managing files, folders, and libraries.

PriyeshCommented:
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
TimDSmithAuthor Commented:
I am requesting a refund of the points as I answered my own question as the second comment.
0
Computer101Commented:
PAQed, with points refunded (75)

Computer101
E-E Admin
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
System Programming

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.