Click to See Complete Forum and Search --> : Help! 'Specified cast is not valid'
Holly
03-28-2003, 05:17 PM
Hi, smart people,
I am almoat finished my vb.net project. But i can't open any one of my file
suddenly. In the design screen, I have the following message,
An error occurred while loading the document. Fix the error, and then try
loading the document again. The error message follows:
Specified cast is not valid.
Please help. Thanks a lot.
Holly
Bruce
03-28-2003, 05:30 PM
Hi Holly,
You should be able to view the code by right clicking on the file name and
select "View Code". From that point, you will have to fix the code, aave
it and then try to reopen it.
Bruce
"Holly" <Holly248@hotmail.com> wrote:
>
>Hi, smart people,
>I am almoat finished my vb.net project. But i can't open any one of my file
>suddenly. In the design screen, I have the following message,
>
>An error occurred while loading the document. Fix the error, and then try
>loading the document again. The error message follows:
>Specified cast is not valid.
>
>Please help. Thanks a lot.
>
>Holly
Holly
03-28-2003, 05:52 PM
Thanks,Bruce. I could view my code. But i still can't view designer. It is
strange. it happens to all my files. Even another copy of my project. Holly
Bruce
03-28-2003, 06:19 PM
Holly,
If you email me an attachment (with one of your forms or other code) I will
see if the same thing happens on my PC.
Bruce
"Holly" <Holly248@hotmail.com> wrote:
>
>Thanks,Bruce. I could view my code. But i still can't view designer. It
is
>strange. it happens to all my files. Even another copy of my project. Holly
Holly
03-30-2003, 03:19 PM
Thank you,Bruce,
I created a new project and imported all files and references from my 'damaged'
project. It works.
It was very weird that all of files in my old project could not work. It
used to work well...
Anyway, i have a solution for such case.
Thanks again.
Holly
devx.com
Copyright Internet.com Inc. All Rights Reserved