Advertisement

08.19.2008 at 07:11PM PDT, ID: 23661814
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

6.4

Finding the cause of a C++ runtime error - Cognos 8

Asked by nmcdermaid in Microsoft Visual C++.Net, C++ Programming Language, Microsoft Visual C++

Tags: , ,

Hi,

My primary question is, given the attached error message, and assuming that there is no debug info in the exe throwing it, and nothing written to the event log, where can I start trying to troubleshoot this error?

I have not used C++ for a long time and I am certainly not familiar with any modern IDE's...



Background:

We have a third party app running (Cognos 8.3). Recently the application service has failed to start.

It has a startup process as follows:

The Cognos 8 service starts cogbootstrapservice.exe with some command line parameters (see screenshot)
cogbootstrapservice.exe is meant to start java (which hosts the application server)

Under normal operation we would see cogbootstrapservice.exe appear in task manager followed by java.exe

Now that we have this startup issue, we see cogbootstrapservice.exe appears but no java.exe

So, we set the service to interact with the desktop, logged into the console and found the error message, attached. We believe that this is thrown by cogbootstrapservice.exe

When we run procmon for cogbootstrapservice.exe it halts at ntusr32 (from memory), which I believe is a generic DLL used for, among other things, displaying dialog boxes (i.e. the error message attached)


Looking at this another way, when we use a special startup script which does not utilise cogbootstrap.exe, Cognos starts fine.


I have also attached a screenshot from dependency walker.


Screenshots are from my dev box (Vista 64). The box with the issue is Windows 2000 server I believe, so screenshots are eally for illustration.Start Free Trial
Attachments:
 
recovered: error-msg.JPG
recovered: error-msg.JPG
 
 
recovered: Cogbootstrap.jpg
recovered: Cogbootstrap.jpg
 
 
recovered: DLLDependencies.jpg
recovered: DLLDependencies.jpg
 
[+][-]08.19.2008 at 08:13PM PDT, ID: 22265841

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Microsoft Visual C++.Net, C++ Programming Language, Microsoft Visual C++
Tags: Microsoft, C++, Debugging a runtime error
Sign Up Now!
Solution Provided By: wayside
Participating Experts: 2
Solution Grade: B
 
 
[+][-]08.19.2008 at 08:59PM PDT, ID: 22266023

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.20.2008 at 01:18AM PDT, ID: 22267110

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]08.21.2008 at 03:57AM PDT, ID: 22277961

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.25.2008 at 11:47PM PDT, ID: 22312141

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628