473,756 Members | 6,028 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

See "what's going on" when an "Error Creating Control" message is displayed

Hey guys:
What can I do when an "Error Creating Control" is displayed on the form
(instead of the control), and a tooltip indicating the error never is
displayed?
Is there some log, some hidden message, some entry in registry where a
log is created (or that enables a log, trace, dump or whatever)...
I'm a little bit frustated with this error :-(

Tks,
Ravi.
Nov 19 '05 #1
8 2114
Roy
In your aspx code, locate the troublesome control in question and place
"runat=serv er" (without the quotes) inside it's tag.

Nov 19 '05 #2
The error only happens at design time.
My dev enviroment is a Visual Studio .NET 2003 + Infragistics NetAdvantage
2005. I've created a custom control, and when this control is placed inside
a control of Infragistics, the error occours.
The strange thing is that, if I go to HTML view and BACK, everything is
fine. But if I change something in design mode, the error will occours until
I reopen the page.
It's really strange, and the tooltip baloon is _not_ displayed.
I just would like to know what's the error...

"Roy" <ro**********@g mail.com> wrote in message
news:11******** **************@ o13g2000cwo.goo glegroups.com.. .
In your aspx code, locate the troublesome control in question and place
"runat=serv er" (without the quotes) inside it's tag.

Nov 19 '05 #3
Hey Ravi,

Open up the code for your custom control. Then go to Configuration
Properties/Debugging, and set the Start Action to "Start External
Program". Browse to devenv.exe (that's the VS.NET executable).

Hit run, and it should open a new instance of VS.NET. Set breakpoints
in the first instance, and then do your stuff in the second instance.
When you put your custom control into the Infragistics control in the
second instance, the custom control's code will run in the first
instance, and you should be able to debug.

Lisa
Ravi Ambros Wallau wrote:
The error only happens at design time.
My dev enviroment is a Visual Studio .NET 2003 + Infragistics NetAdvantage
2005. I've created a custom control, and when this control is placed inside
a control of Infragistics, the error occours.
The strange thing is that, if I go to HTML view and BACK, everything is
fine. But if I change something in design mode, the error will occours until
I reopen the page.
It's really strange, and the tooltip baloon is _not_ displayed.
I just would like to know what's the error...

"Roy" <ro**********@g mail.com> wrote in message
news:11******** **************@ o13g2000cwo.goo glegroups.com.. .
In your aspx code, locate the troublesome control in question and place
"runat=serv er" (without the quotes) inside it's tag.


Nov 19 '05 #4
I'll try.
<li**@starways. net> wrote in message
news:11******** **************@ o13g2000cwo.goo glegroups.com.. .
Hey Ravi,

Open up the code for your custom control. Then go to Configuration
Properties/Debugging, and set the Start Action to "Start External
Program". Browse to devenv.exe (that's the VS.NET executable).

Hit run, and it should open a new instance of VS.NET. Set breakpoints
in the first instance, and then do your stuff in the second instance.
When you put your custom control into the Infragistics control in the
second instance, the custom control's code will run in the first
instance, and you should be able to debug.

Lisa
Ravi Ambros Wallau wrote:
The error only happens at design time.
My dev enviroment is a Visual Studio .NET 2003 + Infragistics
NetAdvantage
2005. I've created a custom control, and when this control is placed
inside
a control of Infragistics, the error occours.
The strange thing is that, if I go to HTML view and BACK, everything is
fine. But if I change something in design mode, the error will occours
until
I reopen the page.
It's really strange, and the tooltip baloon is _not_ displayed.
I just would like to know what's the error...

"Roy" <ro**********@g mail.com> wrote in message
news:11******** **************@ o13g2000cwo.goo glegroups.com.. .
> In your aspx code, locate the troublesome control in question and place
> "runat=serv er" (without the quotes) inside it's tag.
>

Nov 19 '05 #5
Oh, and make sure that you set the control project to be the startup
project in the first instance.

Lisa

Ravi Ambros Wallau wrote:
I'll try.
<li**@starways. net> wrote in message
news:11******** **************@ o13g2000cwo.goo glegroups.com.. .
Hey Ravi,

Open up the code for your custom control. Then go to Configuration
Properties/Debugging, and set the Start Action to "Start External
Program". Browse to devenv.exe (that's the VS.NET executable).

Hit run, and it should open a new instance of VS.NET. Set breakpoints
in the first instance, and then do your stuff in the second instance.
When you put your custom control into the Infragistics control in the
second instance, the custom control's code will run in the first
instance, and you should be able to debug.

Lisa
Ravi Ambros Wallau wrote:
The error only happens at design time.
My dev enviroment is a Visual Studio .NET 2003 + Infragistics
NetAdvantage
2005. I've created a custom control, and when this control is placed
inside
a control of Infragistics, the error occours.
The strange thing is that, if I go to HTML view and BACK, everything is
fine. But if I change something in design mode, the error will occours
until
I reopen the page.
It's really strange, and the tooltip baloon is _not_ displayed.
I just would like to know what's the error...

"Roy" <ro**********@g mail.com> wrote in message
news:11******** **************@ o13g2000cwo.goo glegroups.com.. .
> In your aspx code, locate the troublesome control in question and place
> "runat=serv er" (without the quotes) inside it's tag.
>


Nov 19 '05 #6
Doesn't seem to work.
The problem is not in runtime, but in design mode.
Everything works fine when the application is being debugged.
Is there some log where the erros are stored?

<li**@starways. net> wrote in message
news:11******** **************@ g43g2000cwa.goo glegroups.com.. .
Oh, and make sure that you set the control project to be the startup
project in the first instance.

Lisa

Ravi Ambros Wallau wrote:
I'll try.
<li**@starways. net> wrote in message
news:11******** **************@ o13g2000cwo.goo glegroups.com.. .
> Hey Ravi,
>
> Open up the code for your custom control. Then go to Configuration
> Properties/Debugging, and set the Start Action to "Start External
> Program". Browse to devenv.exe (that's the VS.NET executable).
>
> Hit run, and it should open a new instance of VS.NET. Set breakpoints
> in the first instance, and then do your stuff in the second instance.
> When you put your custom control into the Infragistics control in the
> second instance, the custom control's code will run in the first
> instance, and you should be able to debug.
>
> Lisa
>
>
> Ravi Ambros Wallau wrote:
>> The error only happens at design time.
>> My dev enviroment is a Visual Studio .NET 2003 + Infragistics
>> NetAdvantage
>> 2005. I've created a custom control, and when this control is placed
>> inside
>> a control of Infragistics, the error occours.
>> The strange thing is that, if I go to HTML view and BACK, everything
>> is
>> fine. But if I change something in design mode, the error will occours
>> until
>> I reopen the page.
>> It's really strange, and the tooltip baloon is _not_ displayed.
>> I just would like to know what's the error...
>>
>> "Roy" <ro**********@g mail.com> wrote in message
>> news:11******** **************@ o13g2000cwo.goo glegroups.com.. .
>> > In your aspx code, locate the troublesome control in question and
>> > place
>> > "runat=serv er" (without the quotes) inside it's tag.
>> >
>

Nov 19 '05 #7
Design time for your page is run time for the code inside your
controls. If you set a breakpoint in the Load method in the control
code (in the first instance), do you hit it when you add the control to
the page (in the second instance)? If not, you aren't debugging the
control. Maybe you have a copy of the custom control's dll in
PublicAssemblie s? If you do, that'd mess up the debug process, because
you wouldn't be adding the control that matches the code in the first
instance of VS.NET.

Lisa
Ravi Ambros Wallau wrote:
Doesn't seem to work.
The problem is not in runtime, but in design mode.
Everything works fine when the application is being debugged.
Is there some log where the erros are stored?

<li**@starways. net> wrote in message
news:11******** **************@ g43g2000cwa.goo glegroups.com.. .
Oh, and make sure that you set the control project to be the startup
project in the first instance.

Lisa

Ravi Ambros Wallau wrote:
I'll try.
<li**@starways. net> wrote in message
news:11******** **************@ o13g2000cwo.goo glegroups.com.. .
> Hey Ravi,
>
> Open up the code for your custom control. Then go to Configuration
> Properties/Debugging, and set the Start Action to "Start External
> Program". Browse to devenv.exe (that's the VS.NET executable).
>
> Hit run, and it should open a new instance of VS.NET. Set breakpoints
> in the first instance, and then do your stuff in the second instance.
> When you put your custom control into the Infragistics control in the
> second instance, the custom control's code will run in the first
> instance, and you should be able to debug.
>
> Lisa
>
>
> Ravi Ambros Wallau wrote:
>> The error only happens at design time.
>> My dev enviroment is a Visual Studio .NET 2003 + Infragistics
>> NetAdvantage
>> 2005. I've created a custom control, and when this control is placed
>> inside
>> a control of Infragistics, the error occours.
>> The strange thing is that, if I go to HTML view and BACK, everything
>> is
>> fine. But if I change something in design mode, the error will occours
>> until
>> I reopen the page.
>> It's really strange, and the tooltip baloon is _not_ displayed.
>> I just would like to know what's the error...
>>
>> "Roy" <ro**********@g mail.com> wrote in message
>> news:11******** **************@ o13g2000cwo.goo glegroups.com.. .
>> > In your aspx code, locate the troublesome control in question and
>> > place
>> > "runat=serv er" (without the quotes) inside it's tag.
>> >
>


Nov 19 '05 #8
Hmmm...
No I really understand what you mean...
The problem is that the error occours not in my control, but in
Infragistics. When my control is not placed inside Infragistics, it works
really fine in design mode.
But I will try a shot, placing a breakpoint inside my control constructor.
Thanks a lot for your help (I would like to say thanks for a rapid answer,
but I can't find the expression, English is not my native language).
Let's if I can solve this problem...

<li**@starways. net> wrote in message
news:11******** *************@o 13g2000cwo.goog legroups.com...
Design time for your page is run time for the code inside your
controls. If you set a breakpoint in the Load method in the control
code (in the first instance), do you hit it when you add the control to
the page (in the second instance)? If not, you aren't debugging the
control. Maybe you have a copy of the custom control's dll in
PublicAssemblie s? If you do, that'd mess up the debug process, because
you wouldn't be adding the control that matches the code in the first
instance of VS.NET.

Lisa
Ravi Ambros Wallau wrote:
Doesn't seem to work.
The problem is not in runtime, but in design mode.
Everything works fine when the application is being debugged.
Is there some log where the erros are stored?

<li**@starways. net> wrote in message
news:11******** **************@ g43g2000cwa.goo glegroups.com.. .
> Oh, and make sure that you set the control project to be the startup
> project in the first instance.
>
> Lisa
>
> Ravi Ambros Wallau wrote:
>> I'll try.
>> <li**@starways. net> wrote in message
>> news:11******** **************@ o13g2000cwo.goo glegroups.com.. .
>> > Hey Ravi,
>> >
>> > Open up the code for your custom control. Then go to Configuration
>> > Properties/Debugging, and set the Start Action to "Start External
>> > Program". Browse to devenv.exe (that's the VS.NET executable).
>> >
>> > Hit run, and it should open a new instance of VS.NET. Set
>> > breakpoints
>> > in the first instance, and then do your stuff in the second
>> > instance.
>> > When you put your custom control into the Infragistics control in
>> > the
>> > second instance, the custom control's code will run in the first
>> > instance, and you should be able to debug.
>> >
>> > Lisa
>> >
>> >
>> > Ravi Ambros Wallau wrote:
>> >> The error only happens at design time.
>> >> My dev enviroment is a Visual Studio .NET 2003 + Infragistics
>> >> NetAdvantage
>> >> 2005. I've created a custom control, and when this control is
>> >> placed
>> >> inside
>> >> a control of Infragistics, the error occours.
>> >> The strange thing is that, if I go to HTML view and BACK,
>> >> everything
>> >> is
>> >> fine. But if I change something in design mode, the error will
>> >> occours
>> >> until
>> >> I reopen the page.
>> >> It's really strange, and the tooltip baloon is _not_ displayed.
>> >> I just would like to know what's the error...
>> >>
>> >> "Roy" <ro**********@g mail.com> wrote in message
>> >> news:11******** **************@ o13g2000cwo.goo glegroups.com.. .
>> >> > In your aspx code, locate the troublesome control in question and
>> >> > place
>> >> > "runat=serv er" (without the quotes) inside it's tag.
>> >> >
>> >
>

Nov 19 '05 #9

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

Similar topics

6
6118
by: owen | last post by:
Generally speaking, what does it mean when I see a "button" with red text showing this message instead of the control I've dragged onto the web form in Design View.? (But the page works fine at runtime). Does it indicate a problem with References for example? Thanks Owen PS. replies cc'd by email appreciated. owen.southwood@mantix.com
9
1606
by: **ham | last post by:
"Visual Studio .NET has detected that the specified Web server is not running ASP.NET version 1.1. You will be unable to run ASP.NET Web applications or services." This is the message I get each time that I want to create an ASP.NET application. The help recommends to register ASP.NET by using the command line and "aspnet_regiis /i" . I do this and there is no error during registration. But again when I try to create an ASP.NET...
9
2978
by: Nicolae Fieraru | last post by:
Hi All, I try to use Request.ServerVariables("HTTP_REFERER") in a script and I discovered it doesn't work as expected. I use XP with SP2 and I created a link on a web site which points to an asp page which should show the referer. I placed a link on www.eleader.com.au/linkref.html and there is a link pointing to www.monitortest.net/referer.asp When I use my computer with XP SP2, and I click on the first link, I get no referer. But when...
3
2376
by: kw | last post by:
I've spent all week trying various workarounds and keep coming back this bug, but I just don't understand what the problem is. An ASPX defines a control: <%@ Register TagPrefix="iewc" Namespace="Microsoft.Web.UI.WebControls"
7
2674
by: Drew Berkemeyer | last post by:
I've encounted a pretty strange problem and I'm not quite sure what to make of it. I have a web service that consumes an XML file as well as a few other parameters. This web service works fine if I use the web test interface. It also works fine if I call it from an ASP.NET page that has a text box where the XML is pasted and then passed on. However, I get an exception if I use an <input type="file"> control on the ASP page that allows...
0
2135
by: Ravi Ambros Wallau | last post by:
Hi: I've created a custom control - a grid that uses Infragistics to display some filters, the grid itself, and some buttons. Well, when using this control directly on WebForm, everything works really fine. No problems at all. But, when this control is placed inside a template of an Infragistics UltraWebTab control, somethings stranges happens: 1. When the WebForm is opened, an "Error Creating Control" message is displayed (for container...
3
8348
by: Vidit | last post by:
Hi I keep getting the error "Error Creating Windows Handle" in my application and different places in the code. This occurs only to certain users. Its very random and cannot be reproduced in the development environment. I have an applicatin error logger which shows this error occuring (in the stack trace dump) but it again occurs at different locations in the code and occurs inconsistently. My application is a windows forms...
1
8609
by: Flack | last post by:
Hey guys, Here is whats happening. I have a StringBuilder, a TextBox, and a TabControl with one TabPage. On my main form, I created and displayed a fairly big maze. While the app is solving the maze, it appends each step it takes to the StringBuilder. When the maze is solved, the user can click a menu item to display the results. When the menu item is clicked, I set the TextBox Text value using the StringBuilder's ToString()...
9
9698
by: Ecohouse | last post by:
I have a main form with two subforms. The first subform has the child link to the main form identity key. subform1 - Master Field: SK Child Field: TrainingMasterSK The second subform has a master-child link to the first subform. subform2 - Master Field: subTrainingModule.Form!TrainingModuleTopicSK Child Field: TrainingModuleTopicSK
0
9844
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9819
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9689
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8688
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7226
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6514
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5119
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3326
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2647
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.