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. 8 2052
In your aspx code, locate the troublesome control in question and place
"runat=server" (without the quotes) inside it's tag.
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**********@gmail.com> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com... In your aspx code, locate the troublesome control in question and place "runat=server" (without the quotes) inside it's tag.
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**********@gmail.com> wrote in message news:11**********************@o13g2000cwo.googlegr oups.com... In your aspx code, locate the troublesome control in question and place "runat=server" (without the quotes) inside it's tag.
I'll try.
<li**@starways.net> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.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**********@gmail.com> wrote in message news:11**********************@o13g2000cwo.googlegr oups.com... > In your aspx code, locate the troublesome control in question and place > "runat=server" (without the quotes) inside it's tag. >
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.googlegr oups.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**********@gmail.com> wrote in message news:11**********************@o13g2000cwo.googlegr oups.com... > In your aspx code, locate the troublesome control in question and place > "runat=server" (without the quotes) inside it's tag. >
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.googlegr oups.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.googlegr oups.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**********@gmail.com> wrote in message >> news:11**********************@o13g2000cwo.googlegr oups.com... >> > In your aspx code, locate the troublesome control in question and >> > place >> > "runat=server" (without the quotes) inside it's tag. >> > >
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
PublicAssemblies? 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.googlegr oups.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.googlegr oups.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**********@gmail.com> wrote in message >> news:11**********************@o13g2000cwo.googlegr oups.com... >> > In your aspx code, locate the troublesome control in question and >> > place >> > "runat=server" (without the quotes) inside it's tag. >> > >
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*********************@o13g2000cwo.googlegro ups.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 PublicAssemblies? 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.googlegr oups.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.googlegr oups.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**********@gmail.com> wrote in message >> >> news:11**********************@o13g2000cwo.googlegr oups.com... >> >> > In your aspx code, locate the troublesome control in question and >> >> > place >> >> > "runat=server" (without the quotes) inside it's tag. >> >> > >> > > This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
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...
|
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...
|
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...
|
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"...
|
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...
|
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...
|
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...
|
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...
|
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...
|
by: lllomh |
last post by:
Define the method first
this.state = {
buttonBackgroundColor: 'green',
isBlinking: false, // A new status is added to identify whether the button is blinking or not
}
autoStart=()=>{
|
by: DJRhino |
last post by:
Was curious if anyone else was having this same issue or not....
I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM)
The start time is equivalent to 19:00 (7PM) in Central...
|
by: tracyyun |
last post by:
Hello everyone,
I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
|
by: NeoPa |
last post by:
Hello everyone.
I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report).
I know it can be done by selecting :...
|
by: NeoPa |
last post by:
Introduction
For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
|
by: Teri B |
last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course.
0ne-to-many. One course many roles.
Then I created a report based on the Course form and...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM)
Please note that the UK and Europe revert to winter time on...
|
by: GKJR |
last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...
| |