The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
|
|
TrnViewer.exe
Posted: 06 Apr 06 1:26 PM
|
fiogf49gjkf0d The SLX TrnViewer program will accept a log file as a commandline parameter, but you still have to go through the login screen. I'd like to incorporate that program into an automated process. Is there a way to pass the userid, password, and DB connection on the command line? If so, what is the commandline syntax?
Thanks.
|
|
|
|
Re: TrnViewer.exe
Posted: 07 Apr 06 9:35 AM
|
fiogf49gjkf0d There's a mix of it's own syntax but I ran into a problem with it. I use the following: trnviewer FullPathToFile /b"SALESLOGIX" /p"Password"
There's a problem with doing this though. You get 2 nice error messages saying: "TrnViewer is unable to read files of type:" with Loading File: /bSALESLOGIX then Loading File: /pPassword (as in your password is in full view right in front of you). If you were scripting this, you could probably script SendKeys "Enter" to click OK twice quickly but it's a bit of a hack.
I honestly don't see a good way of automating this. Yes this is the only way to see inside a TEF file since they are now encrypted (though once decrypted are zipped using the standard zip format I believe). If SalesLogix provided the specs, a way of decrypting the TEF by knowing login credentials, one could say develop a TEF Profiler that you could use to monitor TEF files to make sure your SQL is really being passed down to remotes correctly. |
|
|
|
Re: TrnViewer.exe
Posted: 07 Apr 06 12:01 PM
|
gabapentin during pregnancy gabapentin pregnancy fiogf49gjkf0d Thanks Jeremy. Yeah, I got as far as the password thing and thought it pretty humorous that the progam would try to process the parameter (that it recognized and used correctly!) as a file. If you do just the password you only get the one error message. I'll probably take the weekend and write my own log reader. I'm just concerned with our sync logs which are not encrypted (luckily).
|
|
|
|
Re: TrnViewer.exe
Posted: 07 Apr 06 12:44 PM
|
premarin generic equivalent non prescription premarin charamin.jp fiogf49gjkf0d If you're aware of the structure and can actually parse the logs would you mind sharing the info? I'd love to make some kind of TEF monitoring app or introduce it into something else I'm working on monitoring. I'm just too lazy to try to figure out the binary structure since I'm sure this isn't some glorified CSV file. |
|
|
|