Hello,
I built a client application using C# .NET 2.0. It runs fine at a number
of customer sites. One customer is reporting several users getting
problems. At start up it crashes with a dialog "myapp has encountered a
problem and needs to close..."
Checking in the event log we see and event with the following information:
Source: .NET Runtime 2.0 Error
Event ID: 5000
Type: Error
Description:
EventType clr20r3 P1 myapp.exe, P2 1.0.0.0, P3 48ea486b, P4 system.security ,
P5 2.0.0.0, P6 4333ae39, P7 c2, P8 e2, P9 udta330idobh2ro z2ayvlcelag5agt ls,
P10 NUL.
Now, my application use an unmanaged COM object and it also access the
Windows Registry (HKLU) and also uses a web services interface.
Based on some searches I'm thinking this might be some kind of security
issue but I'm not sure where or what to check. Any input would be helpful.
I'm not that familiar with Windows Security so if you have any ideas it
would be helpful if you could describe the procedures I could follow to try
to address this or at least better determine what is causing the problem.
It is not really an option to run under a debugger at the customer site.
Thanks!
--
Grant Schenck 2 1622
On Oct 8, 10:33*am, "Grant Schenck" <schen...@opton line.netwrote:
Hello,
I *built a client application using C# .NET 2.0. *It runs fine at a number
of customer sites. *One customer is reporting several users getting
problems. *At start up it crashes with a dialog "myapp has encountered a
problem and needs to close..."
Checking in the event log we see and event with the following information:
Source: .NET Runtime 2.0 Error
Event ID: 5000
Type: Error
Description:
EventType clr20r3 P1 myapp.exe, P2 1.0.0.0, P3 48ea486b, P4 system.security ,
P5 2.0.0.0, P6 4333ae39, P7 c2, P8 e2, P9 udta330idobh2ro z2ayvlcelag5agt ls,
P10 NUL.
Now, my application use an unmanaged COM object and it also access the
Windows Registry (HKLU) and also uses a web services interface.
Based on some searches I'm thinking this might be some kind of security
issue but I'm not sure where or what to check. *Any input would be helpful.
I'm not that familiar with Windows Security so if you have any ideas it
would be helpful if you could describe the procedures I could follow to try
to address this or at least better determine what is causing the problem.
It is not really an option to run under a debugger at the customer site.
Thanks!
--
Grant Schenck
I think this is a security issue perticularly accessing registry in
Vista.
Make sure the user who is executing the code has enough previlages to
access it.
Also I suggest, place some logging code in the method where tou
suspect the crash / access the regisrry (my suspect) , and get the log
file from the client, see where exactly its crashing.
If you can nail it down to the exact line of code / issue, NG members
can help you out.
-Cnu
When you say: "Make sure the user who is executing the code has enough
privileges to
access it"
Where exactly would I go to view and change these privileges?
--
Grant Schenck
"Duggi" <Du************ ***@gmail.comwr ote in message
news:2c******** *************** ***********@g17 g2000prg.google groups.com...
On Oct 8, 10:33 am, "Grant Schenck" <schen...@opton line.netwrote:
Hello,
I built a client application using C# .NET 2.0. It runs fine at a number
of customer sites. One customer is reporting several users getting
problems. At start up it crashes with a dialog "myapp has encountered a
problem and needs to close..."
Checking in the event log we see and event with the following information:
Source: .NET Runtime 2.0 Error
Event ID: 5000
Type: Error
Description:
EventType clr20r3 P1 myapp.exe, P2 1.0.0.0, P3 48ea486b, P4
system.security ,
P5 2.0.0.0, P6 4333ae39, P7 c2, P8 e2, P9
udta330idobh2ro z2ayvlcelag5agt ls,
P10 NUL.
Now, my application use an unmanaged COM object and it also access the
Windows Registry (HKLU) and also uses a web services interface.
Based on some searches I'm thinking this might be some kind of security
issue but I'm not sure where or what to check. Any input would be helpful.
I'm not that familiar with Windows Security so if you have any ideas it
would be helpful if you could describe the procedures I could follow to
try
to address this or at least better determine what is causing the problem.
It is not really an option to run under a debugger at the customer site.
Thanks!
--
Grant Schenck
I think this is a security issue perticularly accessing registry in
Vista.
Make sure the user who is executing the code has enough previlages to
access it.
Also I suggest, place some logging code in the method where tou
suspect the crash / access the regisrry (my suspect) , and get the log
file from the client, see where exactly its crashing.
If you can nail it down to the exact line of code / issue, NG members
can help you out.
-Cnu This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: kmnotes04 |
last post by:
Is it possible to link one drop-down box to another? For example, if a
name is chosen from a drop-down list, can another drop-down list then
automatically display the person's office as a result of the choice
made in the first drop-down list? If so, how can that be done? I am
working with 'Teach Yourself Microsoft Access' and I didn't see it
discussed in that book (if it's even possible to do). Or would I just
have to create linked tables...
|
by: MLH |
last post by:
Trouble is, it doesn't happen every time. Yesterday, for example, it
happened only once and not again afterward. Some days ago, a similar
situation. Today, well - I tried 7 times straight to open the report
and each time, A97 shuts down. The seemingly hit 'n miss nature of
the error is intriguing. All I've been able to determine is that if I
allow the report to be opened from within code using this line...
DoCmd.OpenReport...
|
by: Dmitry Polyakovsky |
last post by:
We are not sure exactly what is causing it and any suggestions will be greatly appreciated. The largest reports we are trying to pull up have about 100,000 rows with about 10 columns (mostly int, some varchar 100). Only 4 testers are using the system. The database resides on a different server (same hardware and OS, SQL 2K SP3a) and it runs just fine. ReportingServicesService.exe is set to restart after 1 minute so it comes up and restarts...
|
by: Ken |
last post by:
When running a program in the debugger, what would cause it to crash without
any error messages? I get "The program has exited with code 0 (0x0)".
The program is a MDI app with threading for several serial ports. It only
crashes when data is being received on one or more of the serial ports.
Could someone please give me some ideas about what would cause a program to
terminate in this way?
Thanks....
|
by: Frederick Gotham |
last post by:
I thought it might be interesting to share experiences of tracking down a
subtle or mysterious bug. I myself haven't much experience with tracking
down bugs, but there's one in particular which comes to mind.
I was writing usable which dealt with strings. As per usual with my code, I
made it efficient to the extreme. One thing I did was replace, where
possible, any usages of "strlen" with something like:
struct PtrAndLen {
char *p;
| |
by: Mahmoud Al-Qudsi |
last post by:
I have an application that builds and runs just fine on my PC. It's
pure C#, no P/Invoke, no Win requirements or anything.
I built the app, stuck the dependcies in the same DIR, and copied it
to another PC.
When I run it, it AVs right away, without any details or dialogs. The
event viewer is of no help.
How can I pin down the source of this crash? If it were a JIT error, I
can grab the stack trace and figure it out.... But here?
|
by: PJ6 |
last post by:
What's the best way to, in the general case, track changes to an object's
public fields and properties? In a lot of applicatoins I've seen bahavior
consistant with simple periodic checking from a timer, or checking otherwise
initiated from a user event. I don't believe I can make that approach work
in the project I'm working on... are there other ways to do this, where I
can actually get an event raised on a field change, that don't involve...
|
by: raylopez99 |
last post by:
A quick sanity check, and I think I am correct, but just to make
sure: if you have a bunch of objects that are very much like one
another you can uniquely track them simply by using an ArrayList or
Array, correct? An example: create the object, create an array, the
stuff the object into the array. Later on, assume the object is
mutable, the object changes, but you can find it, if you have enough
state information to uniquely identify...
|
by: Grant Schenck |
last post by:
Hello,
I built a client application using C# .NET 2.0. It runs fine at a number
of customer sites. One customer is reporting several users getting
problems. At start up it crashes with a dialog "myapp has encountered a
problem and needs to close..."
Checking in the event log we see and event with the following information:
Source: .NET Runtime 2.0 Error
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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,...
|
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...
|
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...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
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...
| |