Saturday, December 21, 2019

Encompass: Object has been Deleted while printing custom forms


Encompass: An Error Occurred. Please Contact the Administrator with the following Edition: Object has been Deleted

Software: Encompass Banker Edition

Symptom: When attempting to print from Encompass receive an error: Com object with CLSID
{68B34268-7559-11D3-BBE5D53DCBD65107} is either not valid or not registered.

Sympton: When trying to print/preview custom discslosure documents, you get a message that
says the "object does not exist" or "object not found"

Cause: The Encompass Printer has either become uninstalled or corrupted.

Resolution: Reinstall the Encompass printer using one of the following links:

Preferred Method for Windows 7:

Encompass Custom Edition SR 1 (.NET 2.0) and above:

Or:
Encompass Custom Edtion Pre SR 1 (.Net 1.1):

Instructions:

unzip the PDFCOnverter then run the installer application install.exe
thats all folks

Verify Functionality:

PipeLine Tab
Stage 5, then find a loan, open it.
Print Button on right side of screen
Custom Forms Tab
Remove 2010 GFE Page 1,2,3
Select "Doc Order Request - Lender Paid" and "Doc Order Request - Borrower Paid" forms
Press Preview Button

Friday, December 20, 2019

Ellie Mae Encompass: System.InvalidCastException: Unable to cast object of type System.Int32

Ellie Mae Encompass: System.InvalidCastException: Unable to cast object of type System.Int32

While printing custom forms from Encompass. It shows "Preparing Forms" then you get this error message that says "System.InvalidCastException: Unable to cast object of type 'System.Int32' to type 'System.String'.


To fix this error, you need to enable the Adobe API with the following registry edits.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Ellie Mae\Encompass]
"AdobeAPI"="1"
"WordBackgroundPrint"="0"
"UseWordSaveAsPdfAddIn"="1"

Save this to a text file and import or merge it into registry.

This is what your registry will look like after your insert the new values.


Wednesday, December 18, 2019

Running Asterisk on Amazon AWS

How Can You Run Asterisk on Amazon AWS

First thing to do is to install Amazon AWS's free tier Ubuntu 18 LTS, then you use these commands to install and configure it.   Install your amazon ubuntu server, then configure the amazon firewall to forward ports: 5060-5070, and 16384-32767 all udp to the VM.  If you have a Sonicwall router in your home network, be sure to go to the SIP menu, and enable SIP and H323 transformations.

    8  apt -y upgrade
    9  apt update
   10  apt -y upgrade
   11  apt -y install git curl wget libnewt-dev libssl-dev libncurses5-dev subversion  libsqlite3-dev build-essential libjansson-dev libxml2-dev  uuid-dev
   12  add-apt-repository universe
   13  apt update
   14  apt -y install subversion
   15  apt policy asterisk
   16  cd /usr/src
   17  curl -O http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-16-current.tar.gz
   18  ll
   19  tar xvf asterisk-16-current.tar.gz
   20  cd asterisk-16.6.2/
   21  ll
   22  ./contrib/scripts/get_mp3_source.sh
   23  ./contrib/scripts/install_prereq install
   24  ./configure
   25  make menuselect
   26  make
   27  make install
   28  make samples
   29  make basic-pbx
   30  make progdocs
   31  make samples

then you need to edit sip.conf. add these make sure [general] has this:
[general]
context=phones          ; Default context for incoming calls. Defaults to 'default'
allowoverlap=no         ; Disable overlap dialing support. (Default is yes)
udpbindaddr=0.0.0.0     ; IP address to bind UDP listen socket to (0.0.0.0 binds to all)
tcpenable=no            ; Enable server for incoming TCP connections (default is no)
tcpbindaddr=0.0.0.0     ; IP address for TCP server to bind to (0.0.0.0 binds to all interfaces)
transport=udp           ; Set the default transports.  The order determines the primary default transport.
srvlookup=yes           ; Enable DNS SRV lookups on outbound calls
subscribecontext=phones
allowsubscribe=yes              ; Disable support for subscriptions. (Default is yes)
qualify=yes
qualifyfreq=30                 ; Qualification: How often to check for the host to be up in seconds
keepalive=30                   ; Interval at which keepalive packets should be sent to a peer
notifyringing=yes             ; Control when subscriptions get notified of ringing state.
notifyhold=yes               ; Notify subscriptions on HOLD state (default: no)
nat=force_rport,comedia  ; Set the force_rport option if Asterisk detects NAT (default)
directmedia=no                ; Asterisk by default tries to redirect the
localnet=172.16.17.0/255.255.252.0      ;; my permanent ipv4 on amazon private network
nat=yes
externip=3.87.197.70    ;; my temporary amazon ipv4 public address.

then add some peers
[mike]
        type=peer
        context=phones
        allow=ulaw,alaw,g723,g729
        secret=mypasswordhere
        host=dynamic
        description=Mike Martin<123>
        directmedia=no                  ; Typically set to NO if behind NAT
        callerid=Mike
        mailbox=2500@default            ; Mailbox(-es) for message waiting indicator
        subscribecontext=phones
        allowsubscribe=yes
[john]
        type=peer
        context=phones
        allow=ulaw,alaw,g723,g729
        secret=mypasswordhere
        host=dynamic
        description=John Martin<123>
        directmedia=no                  ; Typically set to NO if behind NAT
        callerid=Johnson@phones
        mailbox=2501@default            ; Mailbox(-es) for message waiting indicator
        subscribecontext=phones
        allowsubscribe=yes

then extensions.conf
;THIS IS A CONTEXT CALLED PHONES
[phones]
exten => 100,1,NoOp(Call for mike)
exten => 100,2,Dial(SIP/mike,5)
exten => 100,3,VoiceMail(2500@default)
exten => 100,4,Hangup
exten => 102,1,NoOp(Call for john)
exten => 102,2,Dial(SIP/john,5)
exten => 102,3,VoiceMail(2501@default)
exten => 102,4,Hangup
exten => 104,1,NoOp(Call for biff)
exten => 104,2,Dial(SIP/biff,5)
exten => 104,3,VoiceMail(2600@default)
exten => 104,4,Hangup
exten => 123,1,Answer
exten => 123,2,Playback(tt-weasels)
exten => 123,3,Voicemail(2500)
exten => 123,4,Hangup

then voicemail.conf
[default]
1234 => 54321,Example Mailbox,root@localhost
6245 => 54321,Biff Martin,biff.martino@gmail.com,,Tz=european
2500 => 54321,Mike Martin,biff.martino@gmail.com,,Tz=european
2501 => 54321,John Martin,biff.martino@gmail.com,,Tz=european
2600 => 54321,Biff Martin,biff.martino@gmail.com,,Tz=european

Finally, use ZOIPER to add a phone for mike or john.

Finally You need to install Voicemail to Email

apt install ssmtp

Tuesday, December 10, 2019

Useful VI Tricks for Editing Asterisk Configuration Files

Useful VIM Tricks for asterisk configuration

Scrub out all default documentation lines and blank lines. Just show the current configuration.

remove all commented lines
:g/^\s*;/d

remove all blank lines
:g/^$/d

Monday, December 9, 2019

How to Recover Your Quickbooks Serial Number and Registration Keys

How to Recover Your Quickbooks Serial Numbers and Keys After Reinstalling Windows

Sometimes the dreaded blue screen of death or the dreaded spinning circle of dots happens on your windows 10, or your Windows 7 to Windows 10 upgrade fails miserably and you then need to reinstall a fresh copy of Windows 10.  But then you lost your quickbooks registration data containing your serial number and product ID and Key. Well worry no more because it's easy to get that back.  The trick is to install windows and keep all user data and settings and then when you are done, open explorer and look in this folder:
D:\Windows.old\ProgramData\COMMON FILES\INTUIT\QUICKBOOKS
you are looking for a file called qbregistration.dat

Quickbooks qbregisration.dat file

the contents of this file are XML. You will see the serial number and product key.
You can always copy this entire folder into it's same location on the new windows installation to quickly reactivate your old license.  Or you can just use the numbers that you see here and then re-register.


Friday, December 6, 2019

How to Backup and Save a Google Chrome User Profile's Passwords, Bookmarks and Cookies

How to Save Your Google Chrome Passwords, Bookmarks, and Cookies

Unfortunately as of Chrome Version 78, google has removed the ability to import passwords into chrome.  As an alternative, you can still export them out as a CSV file. But you can never import them back.  However, If you can locate Version 72 of Chrome Enterprise Full Offline Installer, you can install it, with the network cable unplugged, and then import your passwords quickly before, Chrome gets updated to the latest version, and drops the password import feature.  To import passwords, install chrome 72, then disconnect your network, and then go to chrome://flags in the address bar. Search for "Passwords" or "import".  When you locate the import feature, enable it. Then restart Chrome, then go to Settings->passwords and click on the little dots, then import your passwords.

Save the Chrome Data Default Profile

Alternatively, you can grab the file called "Login Data", "Bookmarks" and "Cookies" from %userprofile%\Local\Google\Chrome\User Data\Default and save them to a USB drive, then drop them into another user profile in the same place.

Sunday, November 24, 2019

Connecting to the APC 3000XL and AP9617 Using Serial Cable and RS232 Port

How to Configure Your APC 3000XL and AP9617 Using RS232 Port


First you need a APC 940-0024C or APC 940-0024B Serial Cable, then you need to get a Keyspan USB to Serial adapter dongle, then you connect to the serial cable to the DB9 connector on the back of the UPS. Use Putty and Serial at 2400 baud,8n1, xon/xoff

Then you can logon using the default username and password of apc and apc. If you need to reset the passwords, press the reset button on the AP9617 unit.




See the pictorial below


The About System Page

Change Network Settings





You Entered the Wrong Client ID into Encompass and Now It Just Blows Up! - [How to Fix It]

How to Fix A Broken Encompass Smart Client - 404 Not Found

The AppLauncher fails and shows this message:  "Unhandled exception thrown while downloading manifests: the remove server returned an error (404) Not Found."  Well, son, it got that way because you entered the wrong client ID.  Call Forest Lawn, because it's dead, and now you need to bury it.
AppLauncher Failure Due to Incorrect Client ID

How Does This Happen?

While you were installing the Ellie Mae Encompass Smart Client, you entered the wrong client ID, and then it tried to download the configuration from elliemae. Client ID's always start with BE for "Broker Edition" or "Banker Edition".  If you entered the incorrect ID, without the BE prefix, the whole download and configuration process will be completely and permanently screwed up.  It will just blow up and burn with a 404 error. Stick a flower in it, because it's dead.

How Can I Fix This?

You need to remove all Ellie Mae components from your computer using the "Add & Remove" programs menu from the windows control panel, SmartClient, eFolder, and Document Printer - from the "Programs and Features" menu of Control Panel plus you need to remove the SmartClient Cache Folder from C:\SmartClientCache remove the entire folder. Scrub the Windows Registry too.  Remove All Registry (regedit.exe) Entries from: (remove all Ellie Mae Items)
HKEY_Local_Machine\Software\WOW6432Node\Ellie Mae\SmartClient\
HKEY_CLASSES_ROOT\Installer\Assemblies\
C:|SmartClientCache|Apps|Ellie Mae|Encompass|AppLauncher.exe
See the screenshot below. Just delete the entire folder and all of its entries.
Do remove the entire Ellie Mae folder from WOW6432 in the registry.
Then remove the local user's configuration folders:
C:\Users\<username>\AppData\LocalLow\Apps\Ellie Mae
C:\Users\<username>\AppData\Local\Encompass Installation
Then Remove this folder, and then empty the trash, so it does not come back.
C:\SmartClientCache

Hire An Encompass Pro Today

Are you still googling around for solutions to your Ellie Mae Encompass problems?  Are you ready for URLA?  How is your compliance management? How is your underwriting and loan processing operations keeping up with Encompass? Do you still run Encompass on Windows 7 and need to upgrade before January? Consider hiring Encompass experts and leave all your software worries to them.  Check out our services that we offer in Southern California and beyond.  Our hourly rates are quite low by industry standards.  In the range of $95 to $125/hour depending upon complexity. Eleven Dimensions Technologies offers onsite support and remote support for Ellie Mae's flagship product.  Call our small business services department at (949)371-5079

Encompass Registry Settings

See the images below for screenshots of the Encompass registry settings. You need to remove all items to perform a clean sweep of your computer.

This is what the Encompass Registry Settings Look like

Encompass Applications to Remove

Remove All of These Items first

Wednesday, November 20, 2019

How to Copy Photos to Your IPAD or IPHONE Camera Roll

Copy Photos to Your Camera Roll

You cannot do this with itunes or icloud. You cannot just connect a USB cable and stuff them in there. But there is way with 3rd party software from EaseUS.

https://www.easeus.com/iphone-data-transfer/best-free-ways-to-transfer-videos-from-pc-to-ipad-without-itunes.html

Install their free application called MobiMover_Free. Then you do it.

Saturday, November 9, 2019

How to Set the Ellie Mae Encompass AdobeAPI Registry Value

Details: What the value does:

Encompass

This registry value determines how Encompass hands printing off to Adobe Reader. When set to 1,
Encompass uses Adobe's published APIs to send print requests to Adobe Reader. When set to 0,
Encompass uses manual methods of sending print requests. Before you begin, make sure you have Adobe DC Reader installed.  The paid and premium versions of Adobe Acrobat DC and Pro are not needed for printing. You must have the free version of Adobe Reader.

How to Edit the Windows Registry Value

1. From the Start menu, type "regedit" and open the regedit.exe program.
2. In the registry editor, navigate to one of the following key depending on the bit-ness of your OS:
a. For 64-bit OSes, navigate to:
 HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Ellie Mae\Encompass
b. For 32-bit OSes, navigate to:
 HKEY_LOCAL_MACHINE\SOFTWARE\Ellie Mae\Encompass
1. Right-click on the Encompass key, select New->String Value.
2. Name the String Value: AdobeAPI
3. Once named, double-click on the newly created Value and set the "Value data" to 1 or 0.
4. Click OK.

How to Set the Correct Permissions for the Value

1. In the registry editor, navigate to one of the following key depending on the bit-ness of your OS:
a. For 64-bit OSes, navigate to:
 HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Ellie Mae\Encompass
b. For 32-bit OSes, navigate to:
 HKEY_LOCAL_MACHINE\SOFTWARE\Ellie Mae\Encompass
1. Right-click on the Encompass key, select "Permissions".
2. Confirm that you see the user running Encompass is either listed or is part of a group listed in the
resulting Permissions window. If not, add the user by click on "Add" and entering the User.
3. Confirm that the relevant user or group has Read permissions allowed.

Hire An Encompass Pro Today

Are you still googling around for solutions to your Ellie Mae Encompass problems?  Are you ready for URLA?  How is your compliance management? How is your underwriting and loan processing operations keeping up with Encompass? Do you still run Encompass on Windows 7 and need to upgrade before January? Consider hiring Encompass experts and leave all your software worries to them.  Check out our services that we offer in Southern California and beyond.  Our hourly rates are quite low by industry standards.  In the range of $95 to $125/hour depending upon complexity. Eleven Dimensions Technologies offers onsite support and remote support for Ellie Mae's flagship product.



Friday, November 8, 2019

Convert Sticky Notes to WordPad

How to Convert Your Sticky Notes to WordPad


First thing to do is to find your Sticky Notes in %appdata%\Microsoft\Stick Notes\ you will see a file called "Sticky Notes.snt" It will be quite small. The file is a 7-zip file.

Then download and install 7-Zip from https://www.7-zip.org/download.html

Then you should execute the 7-zip application, and enter the file path to sticky notes into the app, Just like the picture below. Then you select the StickyNotes.snt file and press the Extract button. The following images are a quick tutorial on how to convert your sticky notes. It appears that taggerz have defaced my screenshots.

Open 7-zip in the folder where sticky notes file is kept

Now you can close the 7-zip app, and then navigate to the resulting folders, rename each 0 file to 0.rtf because they are just Rich Text.

After extraction, you will see lots of folders


Each folder contains 3 files

Rename 0 to o.rtf. 0 contains the contents, 3 contains the title of the sticky

Free Sticky Notes Alternatives for Window

1 Simple Sticky Notes. Download from:  https://www.simplestickynotes.com/
2. Stickies. Download from https://www.zhornsoftware.co.uk/stickies/download.html
3. Notezilla
4. PNotes from https://pnotes-1932d.firebaseapp.com/downloads
5. Google Keep
6. Chrome Sticky Notes Add-on
7. Microsoft One Note in Office 2013- 2016


Thursday, November 7, 2019

Change the Windows 10 OEM branding

How to Change the Windows 10 OEM Branding

When you have installed a nicked Windows 10 from teamos-hkrg.com, change the branding so your friends don't think you have a bootleg copy.  Open the Windows Regedit.exe program, and navigate to this key to change the important items.
The Key:
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OEMInformation







You MAY find this in your grey market windows 10




Friday, October 25, 2019

Get The Password for a Quickbooks QBW File

A C Program to Recover Your Quickbooks Pro 5.0 File


Sure it's old, but I will share it with the world. It works with Quickbooks 5.0. The password is stored at offset 7635 and is "scrambled" by swapping nibbles.


/* -*-C-*-
****************************************************************************
***
*
* File:         get-qb-pw.c
* RCS:          $Id: $
* Description:  get the "quick books pro" password
* Author:       Eric Blossom
* Created:      Tue Aug 18 14:09:30 1998
* Modified:     Tue Aug 18 17:39:22 1998 (eric) eb@starium.com
* Language:     C
* Package:      N/A
* Status:       Experimental (Do Not Distribute)
*
****************************************************************************
***
*/

/* * This has been tested only on QuickBooks Pro version 5.0
 */

#include <stdio.h>

main (int argc, char **argv)
{
  FILE          *fp;
  int           i;
  unsigned char raw[10];

  if (argc != 2){
    fprintf (stderr, "usage: get-qb-pw filename\n");
    exit (1);
  }

  if ((fp = fopen (argv[1], "rb")) == 0){
    perror (argv[0]);
    exit (1);
  }


  if (fseek (fp, 7635, SEEK_SET) != 0){
    perror ("fseek failed");
    exit (1);
  }

  if (fread (raw, 1, 10, fp) != 10){
    perror ("fread failed");
    exit (1);
  }

  for (i = 9; i >= 0; i--){
    int         t;

    if (raw[i] == 0)
      continue;

    t = ((raw[i] & 0xf) << 4) | ((raw[i] >> 4)  & 0xf); /* swap nybbles */
    putchar (-t + 255);
  }

  putchar ('\n');
}

How to Install OpenVPN

How to Install Open VPN on Ubuntu

See this great blog entry.  https://blog.ssdnodes.com/blog/tutorial-installing-openvpn-on-ubuntu-16-04/


Tuesday, October 8, 2019

A MySQL Wrapper for mysqli - old skool mysql

A Wrapper for mysqli to Enable Old Skool Mysql


Get this cool mysql wrapper from github to retrofit your old skool mysql / php code to work on php7 where mysql has been replaced by mysqli.

logon to your webserver using SSH, and then on your command line shell, in your webroot directory, do this:

mkdir ext
cd ext
git clone https://github.com/e-sites/php-mysql-mysqli-wrapper.git

then copy it to ./lib
in your php code:

....
include("./lib/mysql.php");
include("./common/lib.php");
include("./lib/class.db.php");
include("./common/config.php");



Monday, October 7, 2019

How to Restore Legacy mysql to php7 - when you really hate mysqli

How to put MySQL functions back into PHP 7

PHP 7 will go “release candidate” on August 20th 2015 which is very exciting because it will instantly be twice as fast as PHP 5.6 (and all previous versions). PHP7 gives HHVM a run for the money and takes 5 minutes to compile instead of hours for HHVM.
But there is a catch – if you have any legacy code that uses the mysql_* functions, they will stop working entirely in PHP 7. Not just a warning, not just deprecated, but gone, fatal.
However, it is easy to get them back without using a wrapper or modifying your code…
I wouldn’t plan on using this solution far past 2016 but it will keep your legacy code running in the meanwhile.
Simply compile the mysql function as a php pecl extension and add one line to your php.ini
First get the mysql extension source which was removed in March:
https://github.com/php/php-src/tree/PRE_PHP7_EREG_MYSQL_REMOVALS/ext/mysql
Either:
1
2
cd ext/
or
or
http://pecl.php.net/package/mysql
(same code, same timestamp, now static and likely will never be updated again)
Then compile the code on your server:
1
2
3
4
phpize
./configure
make
make install
The “make install” should announce where it is copying mysql.so – copy that path. It will likely be /usr/local/lib/php/extensions/no-debug-non-zts-20151012/ for PHP 7 but it could vary depending on your server setup.
Then edit your php.ini
Somewhere either in the “Extensions” section or “MySQL” section, simply add this line:
1
extension = /usr/local/lib/php/extensions/no-debug-non-zts-20151012/mysql.so
(change path if needed)
Restart PHP and mysql_* functions should now be working again. Check your php error log if you have any problems (should check it periodically anyway). You will also see the MySQL section back in your phpinfo page.

Alternately, compile the mysql support into the PHP binary

It is also possible to compile PHP with the mysql extension built right in, so you don’t need to change the php.ini file – follow these instructions:
Basically you put the mysql source under ext/mysql then clear out any existing configure in the php source root and force buildconf to make a new configure. Then compile php including –with-mysqlon the ./configure command line.
Note that PHP 7 deprecates several other functions and is more strict about other things like classes, so you may need to tune your log to be less harsh about warnings.
1
error_reporting = E_ALL & ~E_STRICT & ~E_DEPRECATED & ~E_NOTICE
But don’t ignore the warnings entirely because “deprecated” will one day turn into completely missing and fatal like mysql functions.