473,320 Members | 1,838 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,320 software developers and data experts.

UserControl causes app to bomb

Hi,

I've been writing an application that relies heavily on user controls
(there are 14 in all). Today it got to a point where it was ready to
deploy, but when I try running it on any machine other than my own, it
crashes without actually launching, but posts an obscure error in the event
log:

EventType clr20r3, P1 inventory.exe, P2 1.0.0.0, P3 47acd11f, P4 inventory,
P5 1.0.0.0, P6 47acd11f, P7 e, P8 e9, P9 system.invalidoperationexception,
P10 NIL.

By commenting out huge blocks of code, I've narrowed it all down to the
user controls. They were initially declared as private, but I tried
declaring them as public with the same results.

Note, these user controls rely heavily on Infragistics controls. I've also
copied all the Infragistics DLLs (even ones I don't use) over to the remote
folder, and gave full permissions to all users for these files. It still
doesn't run.

Does anybody know why this might be behaving like this? I'll be happy to
include specific code if requested.

Regards,
Scott
Feb 8 '08 #1
2 965
"Scott McNair" <sm*****@beachexpress.takethispartout.comschrieb
Hi,

I've been writing an application that relies heavily on user
controls (there are 14 in all). Today it got to a point where it
was ready to deploy, but when I try running it on any machine other
than my own, it crashes without actually launching, but posts an
obscure error in the event log:

EventType clr20r3, P1 inventory.exe, P2 1.0.0.0, P3 47acd11f, P4
inventory, P5 1.0.0.0, P6 47acd11f, P7 e, P8 e9, P9
system.invalidoperationexception, P10 NIL.

By commenting out huge blocks of code, I've narrowed it all down to
the user controls. They were initially declared as private, but I
tried declaring them as public with the same results.

Note, these user controls rely heavily on Infragistics controls.
I've also copied all the Infragistics DLLs (even ones I don't use)
over to the remote folder, and gave full permissions to all users
for these files. It still doesn't run.

Does anybody know why this might be behaving like this? I'll be
happy to include specific code if requested.

I'd put the code in Sub Main into a Try-Catch block and log/show
exception information, in particular the stack trace. If you also deploy
the *.pdb file and compile the Debug config, you'll also get the line
number where the error occurs.
Armin

Feb 8 '08 #2
"Armin Zingler" <az*******@freenet.dewrote in news:OPz8ZwqaIHA.1204
@TK2MSFTNGP03.phx.gbl:
I'd put the code in Sub Main into a Try-Catch block and log/show
exception information, in particular the stack trace. If you also deploy
the *.pdb file and compile the Debug config, you'll also get the line
number where the error occurs.
I found the problem... it was due to a separator line that I'd put in the
app early in development, which required the PowerPack dll's. I didn't
actually need the separator, so I removed it and it ran fine.
Feb 13 '08 #3

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

Similar topics

4
by: ATS | last post by:
BUG/PRODUCTION-DOWN: UserControl running from HTML not working. Someone please help, I have a production down situation. For whatever reason, UserControls are not owkring from HTML/IE. When...
1
by: Kepler | last post by:
I have a custom control that is thrown onto a UserControl that is thrown onto a WebForm. Basically, I've got a scenario where if my UserControl sets an attribute on the custom control in the ascx,...
8
by: msmail.microsoft.com | last post by:
Hi, UserControl inherits from TemplateControl which implements the NamingContainer interface. This causes all the controls inside a UserControl to have unique names. If my project, this is...
4
by: Harry | last post by:
Hello, I have a page with a RadioButtonList and a PlaceHolder control. The RadioButtonList's AutoPostBack attribute is set to TRUE and its SelectedIndexChanged event loads one of three...
2
by: Sascha | last post by:
Hi there, I searched carefully through the web before finally deciding to post this message, because I could not find a solution for my problem. Hopefully someone will have a hint or explanation...
6
by: DFS | last post by:
One of my systems grew exponentially - from 13mb to 43mb - after adding some 10 temp tables (with no data), a new form, and about a thousand lines of code. The .mdb has mostly table links, lots of...
2
by: gerry | last post by:
based on MSPress's ASP.NET 2.0 Applications Advaced Topics ( Table 12-3 p.472 ), and most events should be automatically wired up when @Control AutoEventWireup="true". ie. Page_InitComplete() {}...
0
by: gregfocker | last post by:
I'm playing w/this sample: http://ajax.asp.net/docs/tutorials/CreateSimpleAJAXApplication.aspx and am trying to get this to work in a UserControl. Clicking to select a different page of data...
1
by: =?Utf-8?B?S3lsZSBNLiBCdXJucw==?= | last post by:
I have a set of controls and logic that must be invoked from several pages within a web application as a popup dialog, so I intend to use a userControl contained in a panel extended with the...
0
by: Nariban Barkan | last post by:
Hi All, I have two UserControls, KK1 and EFT1. Each one has one ScriptManagerProxy and one UpdatePanel . in addition to these, on first control (KK1) there is one button. on second control...
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...
1
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: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
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...

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.