Form designer problem

L

Lee Newson

Hi,

I have a windows application with 2 forms. the app is finsihed apart from
having to run a few "live" tests to see if there is anything left that need
tweaking, however when i try to opent either of the forms in form designer i
get the following error:

Property accessor 'IsMdiContainer' on object
'System.Windows.Forms.Design.FormDocumentDesigner' threw the following
exception:'Specified cast is not valid.'

any ideas?

Lee
 
R

rawCoder

From Newsgroup archive , I found this post related to your problem

http://groups-beta.google.com/group..._doneTitle=Back+to+Search&&d#7d4863ef33b98a42
or
http://tinyurl.com/4tflu

and heres some excerpt from the post

----------------------------------------------------------------------------
-----------------------
Based on my research, you have set the System.Windows.Forms assembly(which
is located in the GAC and strongnamed)'s copylocal property to true which
cause the problem. I suggest you right click on the System.Windows.Forms
under the references in your project and select properties, change the copy
local property to false and rebuilt the project and close the project.

Then you reload the project into VS.NET to see if the problem persists.


Peter Huang
Microsoft Online Partner Support
----------------------------------------------------------------------------
-----------------------





HTH

rawCoder
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top