473,326 Members | 2,111 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Odd error under VS2005 - 2GB ProjectAssemblies directory related

Greetings.

I had an user control built on Visual Studio 2003 that I used in some forms
build also with Visual Studio 2003 (C++ was the language for both cases).

Now I'm trying to port this to VS 2005. The forms that use these specialized
..NET /CLR compiled controls will compile and run, but won't show in the
Design editor.

What happens is that when I double click the .h file to open it under the
design editor, the application freezes for about 30s (sometimes more) and
then shows the message:

"One or more errors encountered while loading the designer. The errors are
listed below. Some errors can be fixed by rebuilding your project, while
others may require code changes. Clicking on each error will take you to the
line of code that caused it.

Could not find type 'QiVControls.PercentualEdit'. Please make sure that the
assembly that contains this type is referenced. If this type is a part of
your development project, make sure that the project has been successfully
built.

The variable 'edAddWeight' is either undeclared or was never assigned.

Hide

at
System.ComponentModel.Design.Serialization.CodeDom SerializerBase.Error(IDesignerSerializationManager
manager, String exceptionText, String helpLink)
at
System.ComponentModel.Design.Serialization.CodeDom SerializerBase.DeserializeExpression(IDesignerSeri alizationManager
manager, String name, CodeExpression expression)
at
System.ComponentModel.Design.Serialization.CodeDom SerializerBase.DeserializeExpression(IDesignerSeri alizationManager
manager, String name, CodeExpression expression)
at
System.ComponentModel.Design.Serialization.CodeDom SerializerBase.DeserializeStatement(IDesignerSeria lizationManager
manager, CodeStatement statement)
"

I noticed also that my hard drive space had vanished. After a good search I
found that, while in those 30s the program was trying to open the form under
the designer, it was eating up space creating folders under

C:\Documents and Settings\MyUserName\Local Settings\Application
Data\Microsoft\VCExpress\8.0\ProjectAssemblies\

All the folders had the same creation time as when VS was trying to load the
file. Inside each folder there was a copy of the DLL (and respective .PDB
file) *that hold the controls I was trying to load*. Is this mere
coincidence?

In one load attempt, it created 466 files, totalizing 218 MB! Is this right?

After a whole day of programming, the folder got as big as 2GB. After the
system restarted, it automatically cleaned up the folder a bit. What can be
going on?

..Fabro
Nov 22 '05 #1
3 3394
> "One or more errors encountered while loading the designer. The errors are
listed below. Some errors can be fixed by rebuilding your project, while
others may require code changes. Clicking on each error will take you to
the line of code that caused it.

Could not find type 'QiVControls.PercentualEdit'. Please make sure that
the assembly that contains this type is referenced. If this type is a part
of your development project, make sure that the project has been
successfully built.

The variable 'edAddWeight' is either undeclared or was never assigned.
I found out one workaround for the problem. The workaround consists on
right-clicking the "Toolbox", selecting "Choose Items...", removing all
references to my user controls, hitting OK, doing this again, selecting
"Browse...", loading the DLL with the controls again and hitting OK.

This way, if I try to load the form under de designer it *will* load the
form and won't show the error message.

But as things in life, happiness doesn't last long.

The form will load during the particular VC session I did this. If I close
VC, run it again and try to load the form again, the problem strikes back!

Guess this is a Beta2 related issue... or do I smell DLL hell problems!?
hmmm...
I noticed also that my hard drive space had vanished. After a good search
I found that, while in those 30s the program was trying to open the form
under the designer, it was eating up space creating folders under

C:\Documents and Settings\MyUserName\Local Settings\Application
Data\Microsoft\VCExpress\8.0\ProjectAssemblies\

All the folders had the same creation time as when VS was trying to load
the file. Inside each folder there was a copy of the DLL (and respective
.PDB file) *that hold the controls I was trying to load*. Is this mere
coincidence?

In one load attempt, it created 466 files, totalizing 218 MB! Is this
right?


For this, though, I still do not have a reasonable explanation. Beta2
issues,
I suppose!

..Fabro
Nov 22 '05 #2
Hi Fabro,

It is possible that this issue comes from a Windows Forms setting that
we usually disable in the Visual C++ profile. Can you try going into
Tools \ Options \ Windows Forms Designer, then under the "Toolbox"
category, set the "AutoToolboxPopulate" property to False.

Thanks,

--
Boris Jabes, Visual C++ Team
This posting is provided "AS IS" with no warranties, and confers no
rights.

Nov 22 '05 #3
Hi Fabro,

It is possible that this issue comes from a Windows Forms setting that
we usually disable in the Visual C++ profile. Can you try going into
Tools \ Options \ Windows Forms Designer, then under the "Toolbox"
category, set the "AutoToolboxPopulate" property to False.

Thanks,

--
Boris Jabes, Visual C++ Team
This posting is provided "AS IS" with no warranties, and confers no
rights.

Nov 22 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Gustavo L. Fabro | last post by:
Greetings. I had an user control built on Visual Studio 2003 that I used in some forms build also with Visual Studio 2003 (C++ was the language for both cases). Now I'm trying to port this to...
4
by: Brad | last post by:
I'm not one to rant or flame....so please excuse me while I do so for this once. I've now spent a bit of time working with VS2005 beta 2 to see how it functions for web development, especially how...
2
by: David Hearn | last post by:
Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. Description: An unhandled exception occurred during the execution of the current...
1
by: DEWright_CA | last post by:
I have built a pretty basic site and now when I try t debug it I get a error that says; {0}: Build (web): "The type initializer for 'System.Web.Compilation.CompilationLock' threw an exceptoin. ...
4
by: Jason Richmeier | last post by:
I keep encountering an error message while trying to build a solution that I cannot seem to get around. I cannot figure out what the error is trying to tell me as there does not appear to be much...
1
by: brettmetcalfe | last post by:
Hi I have a problem publishing a web application. The web application has been developed using VS2005 and uses ASP.Net 2.0. The application works fine from inside VS2005. However when I build...
4
by: Lonifasiko | last post by:
Hi, A friend of mine has developed an ASP.NET application with VS2005. Of course, this application has been run for testing purposes in the default web server VS2005 has. I've copied...
1
by: =?Utf-8?B?TWFydGluIEhvcnRvbg==?= | last post by:
I am trying to precompile a working website, developed using VS2005 with the intention of deploying to an IIS webserver. I first tried right clicking on the project, selecting "Publish Web Site"...
0
by: fischermx | last post by:
Environment: Microsoft Visual Studio 2005 Version 8.0.50727.762 (SP.050727-7600) Microsoft .NET Framework Version 2.0.50727 Microsoft Visual Studio 2005 Professional Edition - ENU Service Pack...
2
by: Torben Laursen | last post by:
I use the component WebBrowser on a form. Each time I open the form with the component inside VS2005 I get this error: "Windows Internet Explorer Cannot find...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.