An Application Error Occurred

For trouble installing the software or activating your license, please open a support case. Freeware and Personal Edition users can also post questions here.
Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information: CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
Post Reply
xristafer
Posts: 4
Joined: Fri Oct 09, 2015 6:33 pm

An Application Error Occurred

Post by xristafer » Tue Sep 24, 2019 8:56 pm

Greetings,

I've been using iMacros for a few years now and have never had this issue crop up until this week.

When I try to launch the iMacros Browser installed at "C:\Program Files (x86)\Ipswitch\iMacros\iMacros.exe" I get the error message below.

The year of support I got for purchasing the Professional Edition has expired and the response I got from Ipswitch was basically to buy the new version or another year of support. :(

I'm able to launch the iMacros for IE sidebar program and that version is iMacros Sidebar for Internet Explorer (x64) Version 12.5.2018.1105.

I'm sorry but I can't launch the base iMacros.exe to pull up the exact version if it differs from the above. I can get by running the IE sidebar, my scripts still work, but I've always preferred the iMacros Browser.

For OS I'm running Windows 7 Professional SP1 64-bit.

Any help you might be able to provide would be greatly appreciated.

Cheers.

---------------------------
iMacros
---------------------------
An application error occurred.
Please contact support with the following information:

The type initializer for 'iMacros.WinUI.Common.Helpers.CommonLicenseManager' threw an exception.
at iMacros.WinUI.Common.Helpers.CommonLicenseManager.get_Instance()

at iMacros.WinUI.Common.SidebarControl.#=zYINSTtksEi70()

at iMacros.WinUI.Common.SidebarControl.#=zUo7MsBGexTce()

at iMacros.WinUI.Common.SidebarControl..ctor()

at #=z5N7FgzkgtrBt$Y9YKCUcN1qDrfo7535rZQ==.#=zZhv1EoPryVja()

at #=z5N7FgzkgtrBt$Y9YKCUcN1qDrfo7535rZQ==..ctor()

at #=zBD1QY$gW$hWopquIdIKDoeM=.#=z9eQEFhiSKz9A()

at #=zBD1QY$gW$hWopquIdIKDoeM=..ctor()

at #=zGkfKdOdXIphK.Main()

(Use Ctrl-C to copy the contents of this box to the clipboard)
---------------------------
OK
---------------------------
xristafer
Posts: 4
Joined: Fri Oct 09, 2015 6:33 pm

Re: An Application Error Occurred

Post by xristafer » Mon Oct 07, 2019 4:27 pm

Well I attempted to use the iMacros for IE version since I get the error message in my previous post every time I try to start the iMacros Browser.

Would there be any reason that iMacros for IE wouldn't be able to save a screen print as a PNG when this same script always saved one when it was run using the iMacros Browser?

The rest of the script ran just fine, my CSV file is full of the data I usually have, it's just the screen print PNG's that are completely missing... almost like it just skipped that step.

SAVEAS TYPE=PNG FOLDER=F:\Legal\Images FILE={{!COL2}}_Juris_{{!NOW:yyyymmddhhnnss}}

Code: Select all

VERSION BUILD=12.0.501.1208
TAB T=1

SET !TIMEOUT_STEP 0
SET !ERRORIGNORE YES
' Specify input file (if !COL variables are used, IIM automatically assume a CSV format of the input file
'CSV = Comma Separated Values in each line of the file
SET !DATASOURCE F:\Legal\mdjuris.csv
'Start at line 2 to skip the header in the file
SET !DATASOURCE_COLUMNS 2
SET !LOOP 2
'Increase the current position in the file with each loop 
SET !DATASOURCE_LINE {{!LOOP}}
SET !EXTRACT {{!COL2}}

URL GOTO=http://casesearch.courts.state.md.us/casesearch/
WAIT SECONDS=0.25
TAG POS=1 TYPE=INPUT:CHECKBOX FORM=NAME:main ATTR=NAME:disclaimer CONTENT=YES
WAIT SECONDS=0.25
TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:main ATTR=NAME:action
URL GOTO=http://casesearch.courts.state.md.us/casesearch/processDisclaimer.jis
WAIT SECONDS=0.25
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:inquiryFormByCaseNum ATTR=NAME:caseId CONTENT={{!COL1}}
WAIT SECONDS=0.25
TAG POS=3 TYPE=INPUT:SUBMIT ATTR=NAME:action
WAIT SECONDS=0.25

SAVEAS TYPE=PNG FOLDER=F:\Legal\Images FILE={{!COL2}}_Juris_{{!NOW:yyyymmddhhnnss}}

TAG POS=1 TYPE=SPAN ATTR=TXT:Case<SP>Number:
TAG POS=R1 TYPE=SPAN ATTR=CLASS:Value&&TXT:* EXTRACT=TXT
TAG POS=1 TYPE=SPAN ATTR=TXT:Filing<SP>Date:
TAG POS=R1 TYPE=SPAN ATTR=CLASS:Value&&TXT:* EXTRACT=TXT
TAG POS=1 TYPE=SPAN ATTR=TXT:Case<SP>Status:
TAG POS=R1 TYPE=SPAN ATTR=CLASS:Value&&TXT:* EXTRACT=TXT
TAG POS=1 TYPE=SPAN ATTR=TXT:Complaint<SP>No:
TAG POS=R2 TYPE=SPAN ATTR=CLASS:Value&&TXT:* EXTRACT=TXT
TAG POS=1 TYPE=SPAN ATTR=TXT:Vs:
TAG POS=R1 TYPE=SPAN ATTR=CLASS:Value&&TXT:* EXTRACT=TXT
TAG POS=1 TYPE=SPAN ATTR=TXT:Complaint<SP>Status:
TAG POS=R1 TYPE=SPAN ATTR=CLASS:Value&&TXT:* EXTRACT=TXT
TAG POS=1 TYPE=SPAN ATTR=TXT:Status<SP>Date:
TAG POS=R1 TYPE=SPAN ATTR=CLASS:Value&&TXT:* EXTRACT=TXT
TAG POS=2 TYPE=SPAN ATTR=TXT:Filing<SP>Date:
TAG POS=R1 TYPE=SPAN ATTR=CLASS:Value&&TXT:* EXTRACT=TXT
TAG POS=1 TYPE=SPAN ATTR=TXT:Amount
TAG POS=R1 TYPE=SPAN ATTR=CLASS:Value&&TXT:* EXTRACT=TXT
TAG POS=1 TYPE=SPAN ATTR=TXT:Judgment<SP>Type:
TAG POS=R1 TYPE=SPAN ATTR=CLASS:Value&&TXT:* EXTRACT=TXT
TAG POS=1 TYPE=SPAN ATTR=TXT:Judgment<SP>Date:
TAG POS=R1 TYPE=SPAN ATTR=CLASS:Value&&TXT:* EXTRACT=TXT
TAG POS=1 TYPE=SPAN ATTR=TXT:Judgment<SP>Amount:
TAG POS=R1 TYPE=SPAN ATTR=CLASS:Value&&TXT:* EXTRACT=TXT
TAG POS=1 TYPE=SPAN ATTR=TXT:Judgment<SP>Interest:
TAG POS=R1 TYPE=SPAN ATTR=CLASS:Value&&TXT:* EXTRACT=TXT
TAG POS=1 TYPE=SPAN ATTR=TXT:Costs:
TAG POS=R1 TYPE=SPAN ATTR=CLASS:Value&&TXT:* EXTRACT=TXT
TAG POS=1 TYPE=SPAN ATTR=TXT:Other<SP>Amounts:
TAG POS=R1 TYPE=SPAN ATTR=CLASS:Value&&TXT:* EXTRACT=TXT
TAG POS=1 TYPE=SPAN ATTR=TXT:Attorney<SP>Fees:
TAG POS=R1 TYPE=SPAN ATTR=CLASS:Value&&TXT:* EXTRACT=TXT
TAG POS=1 TYPE=SPAN ATTR=TXT:Post<SP>Interest<SP>Legal<SP>Rate:
TAG POS=R1 TYPE=SPAN ATTR=CLASS:Value&&TXT:* EXTRACT=TXT

SAVEAS TYPE=EXTRACT FOLDER=F:\Legal\ FILE=MD-Juris-Results.csv
chivracq
Posts: 8720
Joined: Sat Apr 13, 2013 1:07 pm
Location: Amsterdam (NL)

Re: An Application Error Occurred

Post by chivracq » Mon Oct 07, 2019 4:52 pm

xristafer wrote:
Tue Sep 24, 2019 8:56 pm
Greetings,

I've been using iMacros for a few years now and have never had this issue crop up until this week.

When I try to launch the iMacros Browser installed at "C:\Program Files (x86)\Ipswitch\iMacros\iMacros.exe" I get the error message below.

The year of support I got for purchasing the Professional Edition has expired and the response I got from Ipswitch was basically to buy the new version or another year of support. :(

I'm able to launch the iMacros for IE sidebar program and that version is iMacros Sidebar for Internet Explorer (x64) Version 12.5.2018.1105.

I'm sorry but I can't launch the base iMacros.exe to pull up the exact version if it differs from the above. I can get by running the IE sidebar, my scripts still work, but I've always preferred the iMacros Browser.

For OS I'm running Windows 7 Professional SP1 64-bit.

Any help you might be able to provide would be greatly appreciated.

Cheers.

Code: Select all

---------------------------
iMacros
---------------------------
An application error occurred.
Please contact support with the following information:

The type initializer for 'iMacros.WinUI.Common.Helpers.CommonLicenseManager' threw an exception.
   at iMacros.WinUI.Common.Helpers.CommonLicenseManager.get_Instance()

   at iMacros.WinUI.Common.SidebarControl.#=zYINSTtksEi70()

   at iMacros.WinUI.Common.SidebarControl.#=zUo7MsBGexTce()

   at iMacros.WinUI.Common.SidebarControl..ctor()

   at #=z5N7FgzkgtrBt$Y9YKCUcN1qDrfo7535rZQ==.#=zZhv1EoPryVja()

   at #=z5N7FgzkgtrBt$Y9YKCUcN1qDrfo7535rZQ==..ctor()

   at #=zBD1QY$gW$hWopquIdIKDoeM=.#=z9eQEFhiSKz9A()

   at #=zBD1QY$gW$hWopquIdIKDoeM=..ctor()

   at #=zGkfKdOdXIphK.Main()

(Use Ctrl-C to copy the contents of this box to the clipboard)
---------------------------
OK   
---------------------------

FCI a bit scattered all over your OP, it's always "easier" if you can mention it a bit "more clearly" in just one place, and preferably at the complete Top of your OP...:
=> FCI:

Code: Select all

iMB v12.5
iMacros Sidebar for Internet Explorer (x64) Version 12.5.2018.1105.
Windows 7 Professional SP1 64-bit.
Can't really help you with such Installation Issues, as I don't use iMB, I have "soft alerted" @TechSup if they can have a look, as you opened your Thread in the 'General' Sub-Forum instead of the 'Installation/Licensing' Sub-Forum where it belongs (and will probably be moved to), (and @TechSup would have gotten some automatic Notif if you had opened it in the 'Installation' Sub-Forum)...

>>>
xristafer wrote:
Mon Oct 07, 2019 4:27 pm
Well I attempted to use the iMacros for IE version since I get the error message in my previous post every time I try to start the iMacros Browser.

Would there be any reason that iMacros for IE wouldn't be able to save a screen print as a PNG when this same script always saved one when it was run using the iMacros Browser?

The rest of the script ran just fine, my CSV file is full of the data I usually have, it's just the screen print PNG's that are completely missing... almost like it just skipped that step.

Code: Select all

SAVEAS TYPE=PNG FOLDER=F:\Legal\Images FILE={{!COL2}}_Juris_{{!NOW:yyyymmddhhnnss}}

Code: Select all

VERSION BUILD=12.0.501.1208
TAB T=1

SET !TIMEOUT_STEP 0
SET !ERRORIGNORE YES
' Specify input file (if !COL variables are used, IIM automatically assume a CSV format of the input file
'CSV = Comma Separated Values in each line of the file
SET !DATASOURCE F:\Legal\mdjuris.csv
'Start at line 2 to skip the header in the file
SET !DATASOURCE_COLUMNS 2
SET !LOOP 2
'Increase the current position in the file with each loop 
SET !DATASOURCE_LINE {{!LOOP}}
SET !EXTRACT {{!COL2}}

URL GOTO=http://casesearch.courts.state.md.us/casesearch/
WAIT SECONDS=0.25
TAG POS=1 TYPE=INPUT:CHECKBOX FORM=NAME:main ATTR=NAME:disclaimer CONTENT=YES
WAIT SECONDS=0.25
TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:main ATTR=NAME:action
URL GOTO=http://casesearch.courts.state.md.us/casesearch/processDisclaimer.jis
WAIT SECONDS=0.25
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:inquiryFormByCaseNum ATTR=NAME:caseId CONTENT={{!COL1}}
WAIT SECONDS=0.25
TAG POS=3 TYPE=INPUT:SUBMIT ATTR=NAME:action
WAIT SECONDS=0.25

SAVEAS TYPE=PNG FOLDER=F:\Legal\Images FILE={{!COL2}}_Juris_{{!NOW:yyyymmddhhnnss}}

TAG POS=1 TYPE=SPAN ATTR=TXT:Case<SP>Number:
TAG POS=R1 TYPE=SPAN ATTR=CLASS:Value&&TXT:* EXTRACT=TXT
TAG POS=1 TYPE=SPAN ATTR=TXT:Filing<SP>Date:
TAG POS=R1 TYPE=SPAN ATTR=CLASS:Value&&TXT:* EXTRACT=TXT
TAG POS=1 TYPE=SPAN ATTR=TXT:Case<SP>Status:
TAG POS=R1 TYPE=SPAN ATTR=CLASS:Value&&TXT:* EXTRACT=TXT
TAG POS=1 TYPE=SPAN ATTR=TXT:Complaint<SP>No:
TAG POS=R2 TYPE=SPAN ATTR=CLASS:Value&&TXT:* EXTRACT=TXT
TAG POS=1 TYPE=SPAN ATTR=TXT:Vs:
TAG POS=R1 TYPE=SPAN ATTR=CLASS:Value&&TXT:* EXTRACT=TXT
TAG POS=1 TYPE=SPAN ATTR=TXT:Complaint<SP>Status:
TAG POS=R1 TYPE=SPAN ATTR=CLASS:Value&&TXT:* EXTRACT=TXT
TAG POS=1 TYPE=SPAN ATTR=TXT:Status<SP>Date:
TAG POS=R1 TYPE=SPAN ATTR=CLASS:Value&&TXT:* EXTRACT=TXT
TAG POS=2 TYPE=SPAN ATTR=TXT:Filing<SP>Date:
TAG POS=R1 TYPE=SPAN ATTR=CLASS:Value&&TXT:* EXTRACT=TXT
TAG POS=1 TYPE=SPAN ATTR=TXT:Amount
TAG POS=R1 TYPE=SPAN ATTR=CLASS:Value&&TXT:* EXTRACT=TXT
TAG POS=1 TYPE=SPAN ATTR=TXT:Judgment<SP>Type:
TAG POS=R1 TYPE=SPAN ATTR=CLASS:Value&&TXT:* EXTRACT=TXT
TAG POS=1 TYPE=SPAN ATTR=TXT:Judgment<SP>Date:
TAG POS=R1 TYPE=SPAN ATTR=CLASS:Value&&TXT:* EXTRACT=TXT
TAG POS=1 TYPE=SPAN ATTR=TXT:Judgment<SP>Amount:
TAG POS=R1 TYPE=SPAN ATTR=CLASS:Value&&TXT:* EXTRACT=TXT
TAG POS=1 TYPE=SPAN ATTR=TXT:Judgment<SP>Interest:
TAG POS=R1 TYPE=SPAN ATTR=CLASS:Value&&TXT:* EXTRACT=TXT
TAG POS=1 TYPE=SPAN ATTR=TXT:Costs:
TAG POS=R1 TYPE=SPAN ATTR=CLASS:Value&&TXT:* EXTRACT=TXT
TAG POS=1 TYPE=SPAN ATTR=TXT:Other<SP>Amounts:
TAG POS=R1 TYPE=SPAN ATTR=CLASS:Value&&TXT:* EXTRACT=TXT
TAG POS=1 TYPE=SPAN ATTR=TXT:Attorney<SP>Fees:
TAG POS=R1 TYPE=SPAN ATTR=CLASS:Value&&TXT:* EXTRACT=TXT
TAG POS=1 TYPE=SPAN ATTR=TXT:Post<SP>Interest<SP>Legal<SP>Rate:
TAG POS=R1 TYPE=SPAN ATTR=CLASS:Value&&TXT:* EXTRACT=TXT

SAVEAS TYPE=EXTRACT FOLDER=F:\Legal\ FILE=MD-Juris-Results.csv

Hum, the 'SAVEAS TYPE=PNG' should "normally" work (also) in v12.5 for IE as the 'PNG' Type is according to the Wiki supported in both Browsers/Versions...

But the different Types for the 'SAVEAS' have already been "broken" or not working/supported anymore in the past a few times across all different iMacros Versions..., but I don't see any "Known Issues" about it in the Wiki/Release Notes... :?

:arrow: Have you tried using 'SAVEAS TYPE=BMP' instead of 'PNG'...? :idea:
:arrow: And using the 'SCREENSHOT' Command...? :idea:

Hum..., and stg else to check/try, would be to not specify anything at all for the 'FOLDER' + 'FILE' Params, and see if iMacros is still able to save some Screenshot with some "Default" Name in either the Default iMacros 'Downloads' Folder or your IE Default 'Downloads' Folder... :idea:
- (F)CI(M) = (Full) Config Info (Missing): iMacros + Browser + OS (+ all 3 Versions + 'Free'/'PE').
- I don't even read the Qt if that (required) Info is not mentioned...!
- Script & URL help a lot for more "educated" Help...
Tom, Tech Support
Posts: 3527
Joined: Mon May 31, 2010 4:59 pm

Re: An Application Error Occurred

Post by Tom, Tech Support » Thu Oct 10, 2019 8:47 am

Hi xristafer,

The information and suggestions chivracq provided with regard to saving the image are spot-on.

As far as the original issue of the iMacros browser not starting, have you tried uninstalling and then reinstalling iMacros and activating your license again?

If this does not correct the problem, then please paste the TroubleShooting Information here (click the Person icon on the iMacros sidebar and then click the Troubleshooting button).
Last edited by Tom, Tech Support on Fri Oct 11, 2019 11:38 am, edited 1 time in total.
Reason: Edited so as not to hurt chivracq's feelings. ;)
Regards,

Tom, iMacros Support
Post Reply