473,405 Members | 2,349 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,405 software developers and data experts.

VS2005/ASP.NET/C#: Can't Switch To Component Designer

Hi All,

When I open a web form, even a relatively simple one, I don't see
data
controls that have previously been availble for me to configure. And
if I right-click to "View Component Designer", I receive an error.
Here's an example from a simple form:
"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."
The variable 'btnRefresh' is either undeclared or was never assigned.
Hide
at
System.ComponentModel.Design.Serialization.CodeDom SerializerBase.Error(IDes*
ignerSerializationManager
manager, String exceptionText, String helpLink)
at
System.ComponentModel.Design.Serialization.CodeDom SerializerBase.Deserializ*
eExpression(IDesignerSerializationManager
manager, String name, CodeExpression expression)
at
Microsoft.VisualStudio.Web.WebForms.ControlCodeDom Serializer.DeserializeLef*
t(IDesignerSerializationManager
manager, CodeStatement statement)
at
Microsoft.VisualStudio.Web.WebForms.ControlCodeDom Serializer.Deserialize(ID*
esignerSerializationManager
manager, Object codeObject)
at
System.ComponentModel.Design.Serialization.TypeCod eDomSerializer.Deserializ*
eName(IDesignerSerializationManager
manager, String name, CodeStatementCollection statements)
This all worked fine until recently. The only change that I can
recall
making is to install Visual Studio Tools for Office, but, since I am
not sure sure it is the cause, I don't want it to detract too much
from the principal problem. In any case, I have removed the VSTO
components and the problem still persists.
Can anyone assist?
Many thanks!
Simon Lane

Jun 7 '07 #1
0 960

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

Similar topics

5
by: GaryDean | last post by:
(my original post was inaccurate but this post accurately describes what I think is a very bad vs2005 bug) short description... Deleting a dataset and recreating it from the dataadapter causes...
2
by: scarleton | last post by:
A coworker and I have spent the last day and a half trying to track down this bug in our code. We found the solution and thought we might post it to help others out... The setup: Class...
0
by: Simon | last post by:
Hi All, When I open a web form, even a relatively simple one, I don't see data controls that have previously been availble for me to configure. And if I right-click to "View Component...
2
by: alberthung01 | last post by:
Hi all, I wrote a component with ComponentDesigner to let users drag and drop it to WebPage from toolbox directly. Just like the behavior of dataAdapter. But it works fine on ASP.NET 1.1 but not...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.