Re: How to track down source of crash + Event log error?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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" <DuggiSrinivasaRao@xxxxxxxxx> wrote in message
news:2c4c9448-a763-456d-9393-c09e7019d2eb@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On Oct 8, 10:33 am, "Grant Schenck" <schen...@xxxxxxxxxxxxx> wrote:
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
udta330idobh2roz2ayvlcelag5agtls,
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


.



Relevant Pages

  • RE: Executing app with admin privileges
    ... Executing app with admin privileges ... Information Security. ...
    (Security-Basics)
  • Re: APACHE$PRIVILEDGED
    ... The primary security on OpenVMS and on most other multi-processing operating systems is implemented via the memory management system and via what VAX calls the change-mode routines, via the Alpha SRM PALcode change-mode equivalent, or via what the IA-32 and IA-32e architectures refer to as the call gate. ... With OpenVMS constructs including device drivers )and user-written system services (UWSS; also known as privileged shareable images), these constructs operate in inner processor modes. ... One of the more hazardous situations for system security is a mixed environment; where there are resources shared between trusted and untrusted environments. ... Not only will the operation that requires privileges now be permitted, but other and potentially unintended operations can also be permitted. ...
    (comp.os.vms)
  • [UNIX] Bugzilla Multiple Vulnerabilities (SQL Injections, Privileges Escalation, Information Leak)
    ... Get your security news from a reliable source. ... user may retain privileges that should have been removed, ... Reference: ... secure bug, you can access the summary of that bug even if you do not have ...
    (Securiteam)
  • Re: Happy 10 years of continuous virus free computing on OpenVMS alpha 7.1
    ... OpenVMS provides an inherent security advantage over all the other ... advantage of OpenVMS brings it much closer to such a goal than any OS ... attaining higher mode privileges or services for which a process was ... currently used University-level texts on OS Design. ...
    (comp.os.vms)
  • Re: Microsoft finally acknowledges the security drumbeats
    ... not part of the operating system. ... If the security problems go ... > IIS full administrator privileges. ... If processes like IIS running with admin priveleges is the ...
    (comp.security.unix)