Unable to cast object of type 'Wisej.Web.Form' to type 'Wisej.Core.IWisejControl'. 

Answered
0
0

 

Hello Wisej:

I’m desperate, I can not access any form to work with. My notebook hard drive died, so I load the project in another computer. Please help.k

Thanks in advance.

  • Tom Christiansen
    Unable to cast object of type ‘Wisej.Web.Form’ to type ‘Wisej.Core.IWisejControl’.
  • You must to post comments
Best Answer
0
0

This is issue is caused only by 1 problem, the VS designer is loading multiple Wisej assemblies. They may have been left in \bin or one of the references have a different version, etc.

  • Close the designer.
  • Delete \bin and \obj
  • Recompile
  • Check that \bin and \obj only have Wisej.Framework and NOT Wisej.Core or Wisej.Web (1.5)
  • Close VS, Reopen VS.
  • Try again.

 

 

 

  • ARTURO ESTIGARRIBIA
    Thanks Luca. I did what you said, and still the problem, so I uninstalled Wisej, reboot the computer, and then re-install the wisej, I deleted all bin, obj folders, build and re-build and now works. Thank you.
  • You must to post comments
0
0

The issue was that i was referenced Wisej.Ext.MaterialDesign.dll vs: 1. I change to vs 2, and works.

 

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.