OUR NETWORK:MediaSmart Home Sansa Community Explore3DTV TechLore RoboCommunity Dijit Community About UsAdvertiseContact Us

 
Learn about scoring Forum's Raw Score: 116159.0
November 6, 2008 02:48 PM
Rating (0 votes)
  • 1
  • 2
  • 3
  • 4
  • 5
Rate This!

Member Avatar

Jeff Julian

Member
Joined: 11/05/2008

I have called the registration process following the latest guideline and the application only showed up once.  Now when I restart the app, it never calls.  How can I turn on error tracing to see why my application is not loading?

 This is on a IQ816

Discussion:    Add a Comment | Comments 1-3 of 3 | Latest Comment

November 6, 2008 7:56 PM

Turning on error tracing is a bit involved, since it requires editing the app.config file.

A step before that is to check in the Personalize area if your app's button is highlighted or not. If it's not highlighted it has been disabled (potentially because it "crashed" during use), and if you tap the button, it should get re-enabled.

November 24, 2008 11:41 PM

Hey,

I'm a developer and would like this granularity. Can you show me what to tweak to turn on debug tracing in the app.config file?

Thanks,
Ben

November 25, 2008 7:09 PM

The app.config file is SmartCenter.exe.config located in %ProgramFiles(x86)%\Hewlett-Packard\TouchSmart\SmartCenter 2.0

You can add an element called "switches" into the "system.diagnostics" element found in the config file.

Then you put in sub-elements on the "switches" element called "add", giving each an attribute called "name" and an attribute called "value".

The main element you need to add to "switches" has the name attribute TraceFileEnabled. If you set its value attribute to 1, you enable logging. If you set its value attribute to 0, you disable logging.

The following additional name attributes can be used to log aspects of operation: ProcessManager, App and CmdLine. The value attribute for each can be 0,1,2,3 or 4. Each attribute turns on tracing for a particular aspect. The value attribute determines how much detail you get. 0 is nothing, 1 is error information, 2 is warning information, 3 is normal information, 4 is verbose information.

The log file will end up in C:\ProgramData\Hewlett-Packard\TouchSmart\SmartCenter 2.0

and have the following filename format:

hp.SmartCenter_[hhmmss]_[User].log

where [hhmmss] is the time SmartCenter was started and
[User] is the name of the user account SmartCenter was run under.

I'm being purposely verbose and somewhat obfuscating, since this is not something normal users should have to understand, but I trust you'll be able to decode this, especially if you're familiar with the .NET TraceSwitch class.

Discussion:    Add a Comment | Comments 1-3 of 3 | Latest Comment

Add Your Reply

(will not be displayed)

Email me when comments are added to this thread

 
 

Please log in or register to participate in this community!

Log In

Remember

Not a member? Sign up!

Did you forget your password?

You can also log in using OpenID.

close this window
close this window