Jump to content
Xtreme .Net Talk

opening app after deploying it


Recommended Posts

Guest herewegoagain
Posted

I deployed my vb.net windows app.

I then went to open one of the apps forms in visual studio and it indicated that

"An error ocurred while loading the document. Fix the error and then try

loading the document again. Ther error message follows:

Specified cast is not valid."

 

I set it back to debug and still the same result. Please help...If I import one of the forms into another project they work fine.

  • *Gurus*
Posted

Did you change any of the Imports or References for the project?

Did you turn on Option Explicit? Sounds like the problem is either

in the .vbproj or AssemblyInfo.vb file, but that is just a guess.

Maybe open them in notepad and compare to working versions of

those files in another project.

Guest herewegoagain
Posted

too funny

 

Thinker you are just too ironic. Whenever I figure out the problem you are there with the answer LOL.

ANyway I figured out what I did wrong. I was importing code to another project I had that I had previously used and somehow someway the codes got mixed into each other. I fixed it by creating a new project, importing the previously createcd project items into the new one and all was well. Hope the guy in that other thread sees this.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...