Problem with ODK Aggregate

Hi All,

I'm a (very) new user of ODK, and I'm experiencing problems getting ODK
Aggregate onto my computer. I've got an up to date version of Java. I have
got as far as configuring ODK, but when I try to launch the installation
script it says 'This app can't run on your PC'. I've also tried going to
the uploadAggregateToAppEngine file in the newly installed ODK aggregate
folder, but I get the same message. Is it not opening it because it is a
hta file? My default browser is firefox. I have an appengine account and
I've created an instance for the data.

Any help very gratefully received!

Colin

Do you have InternetExplorer installed?
It needs to be installed in order to run the HTA file.

The HTA file is a HTML Application file. You need to have Microsoft
Application Host configured. This is normally present, but on some systems
(e.g., perhaps if you update/remove IE), the configuration is broken.

See this:
http://answers.microsoft.com/en-us/windows/forum/windows_7-performance/microsoft-r-html-application-host-has-encountered/2dd1dc4d-13ad-493e-9b91-bc5b597d38d1

for how to unregister and re-register that application.

Note that for the issue described in that link, the problem was an
incompatible graphics driver. That is not your problem -- right now, it
seems that the mshtml.dll is not properly registered. The steps described
in that link should fix that...

··· On Mon, Apr 20, 2015 at 11:41 AM, Colin Beckworth wrote:

Hi All,

I'm a (very) new user of ODK, and I'm experiencing problems getting ODK
Aggregate onto my computer. I've got an up to date version of Java. I have
got as far as configuring ODK, but when I try to launch the installation
script it says 'This app can't run on your PC'. I've also tried going to
the uploadAggregateToAppEngine file in the newly installed ODK aggregate
folder, but I get the same message. Is it not opening it because it is a
hta file? My default browser is firefox. I have an appengine account and
I've created an instance for the data.

Any help very gratefully received!

Colin

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

Hi Mitch,

thanks very much for the reply. IE is installed, (though I rarely use it)
and should be current as my computer is only a few months old. I did the
following from the post you sent:

*Method 1: *Unregister and re-register the mshtml.dll and then check if you
come across the issue.

*Method 2: *Try performing SFC (System File Checker) scan on the computer.
Method 1 came up with the error message:

"mshtml.dll was loaded but the entry-point DllregisterServer was not found

Make sure that "mshtml is a valid DLL or OCX file and then try again

Method 2 found no problems and made no difference.

The link you sent then suggests "I would suggest you to use your preferred
search engine and download the mshtml.dll": I'm not sure what this means.
I'm guessing from the mshtml.dll error message the problem is the one you
suggested but I don't know how to fix it.

Thanks again for your input on this,

Colin

··· On Monday, April 20, 2015 at 3:28:37 PM UTC-4, Mitch Sundt wrote: > > Do you have InternetExplorer installed? > It needs to be installed in order to run the HTA file. > > The HTA file is a HTML Application file. You need to have Microsoft > Application Host configured. This is normally present, but on some systems > (e.g., perhaps if you update/remove IE), the configuration is broken. > > See this: > http://answers.microsoft.com/en-us/windows/forum/windows_7-performance/microsoft-r-html-application-host-has-encountered/2dd1dc4d-13ad-493e-9b91-bc5b597d38d1 > > for how to unregister and re-register that application. > > Note that for the issue described in that link, the problem was an > incompatible graphics driver. That is not your problem -- right now, it > seems that the mshtml.dll is not properly registered. The steps > described in that link should fix that... > >

You shouldn't need to download anything extra. Windows 7 has a hidden cache
of the correct versions of these files. Instead, follow the instructions
here:

https://support.microsoft.com/en-us/kb/929833/

for how to run "sfc /scannow" in a cmd window with elevated (install)
permissions to restore this file to its proper version.

··· On Mon, Apr 20, 2015 at 1:51 PM, Colin Beckworth wrote:

Hi Mitch,

thanks very much for the reply. IE is installed, (though I rarely use it)
and should be current as my computer is only a few months old. I did the
following from the post you sent:

*Method 1: *Unregister and re-register the mshtml.dll and then check if
you come across the issue.

*Method 2: *Try performing SFC (System File Checker) scan on the computer.
Method 1 came up with the error message:

"mshtml.dll was loaded but the entry-point DllregisterServer was not found

Make sure that "mshtml is a valid DLL or OCX file and then try again

Method 2 found no problems and made no difference.

The link you sent then suggests "I would suggest you to use your
preferred search engine and download the mshtml.dll": I'm not sure what
this means. I'm guessing from the mshtml.dll error message the problem is
the one you suggested but I don't know how to fix it.

Thanks again for your input on this,

Colin

On Monday, April 20, 2015 at 3:28:37 PM UTC-4, Mitch Sundt wrote:

Do you have InternetExplorer installed?
It needs to be installed in order to run the HTA file.

The HTA file is a HTML Application file. You need to have Microsoft
Application Host configured. This is normally present, but on some systems
(e.g., perhaps if you update/remove IE), the configuration is broken.

See this:
http://answers.microsoft.com/en-us/windows/forum/windows_7-performance/microsoft-r-html-application-host-has-encountered/2dd1dc4d-13ad-493e-9b91-bc5b597d38d1

for how to unregister and re-register that application.

Note that for the issue described in that link, the problem was an
incompatible graphics driver. That is not your problem -- right now, it
seems that the mshtml.dll is not properly registered. The steps
described in that link should fix that...

--
--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

Hi Mitch,

thanks for the reply; however, I tried that and it's still refusing to
access the 'uploadAggregateToAppEngine' file. Am I right in saying this a
problem with IE not being able to access a .hta file?

Thanks again,

Colin

Two other things to verify:

(1) you cannot place the ODK Aggregate directory under your Start Menu.
Place the folder on your Desktop or within your "My Documents" (Documents)
folder (you can just copy the existing folder over to that location, you
don't need to re-run the installer).

(2) What happens when you double-click on the hta file?

··· On Tue, Apr 21, 2015 at 7:33 AM, Colin Beckworth wrote:

Hi Mitch,

thanks for the reply; however, I tried that and it's still refusing to
access the 'uploadAggregateToAppEngine' file. Am I right in saying this a
problem with IE not being able to access a .hta file?

Thanks again,

Colin

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

Hi Mitch,

copied and pasted the file onto the desktop but got exactly the same problem

Thanks

Colin

Not the file, but the entire ODK Aggregate directory -- the file accesses
information relative to itself. It needs the entire directory in which it
is located.

··· On Tue, Apr 21, 2015 at 1:34 PM, Colin Beckworth wrote:

Hi Mitch,

copied and pasted the file onto the desktop but got exactly the same
problem

Thanks

Colin

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

At this point, I would recommend borrowing someone else's computer, and
running the install there. Your computer configuration seems to be broken
in some non-obvious way.

··· On Tue, Apr 21, 2015 at 3:48 PM, Mitch Sundt wrote:

Not the file, but the entire ODK Aggregate directory -- the file accesses
information relative to itself. It needs the entire directory in which it
is located.

On Tue, Apr 21, 2015 at 1:34 PM, Colin Beckworth cbeckworth74@gmail.com wrote:

Hi Mitch,

copied and pasted the file onto the desktop but got exactly the same
problem

Thanks

Colin

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

Fixed the problem of the .hta file - had to right click on the .hta file
and open with internet explorer, and set internet explorer as the default
program for opening these files. It will then open the file. However, the
next step is for the prompt box to come up asking for e mail address and
password. When I put these in, I get a Script Error message, Line 99, Char
5, Error Permission Denied, Code 0, and it then asks do you want to
continue running script on this page Y/N. Clicked yes but nothing happens.

Anyone any out there any experience of this? And does this require a new
thread.

Thanks

Colin

No, same person, same thread. Glad you were able to get past the first
problem. HTA files generally have IE-specific content, so it is somewhat
surprising that the file extension was hijacked by another browser.

Does your gmail account have two-factor authentication?

If so, you will need to get a app-specific password (there should be a link
in the debug window with the URL to do that).

The gmail account you enter must be the gmail account that owns the
appEngine application ID that you created (e.g., visible at
https://appengine.google.com when logged in as that user).

··· On Wed, Apr 22, 2015 at 7:15 AM, Colin Beckworth wrote:

Fixed the problem of the .hta file - had to right click on the .hta file
and open with internet explorer, and set internet explorer as the default
program for opening these files. It will then open the file. However, the
next step is for the prompt box to come up asking for e mail address and
password. When I put these in, I get a Script Error message, Line 99, Char
5, Error Permission Denied, Code 0, and it then asks do you want to
continue running script on this page Y/N. Clicked yes but nothing happens.

Anyone any out there any experience of this? And does this require a new
thread.

Thanks

Colin

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

Hi Mitch,

Thanks for picking up the case again! two step verification is OFF on my
Google account, and I entered the same gmail account as the appEngine
application is registered to. Any ideas?

Thanks again,

Colin

Can you copy the contents of the progress window into a Notepad document,
and send that to me ( mitchellsundt@gmail.com ) directly as an attachment?

What version of IE do you have installed?

··· On Wed, Apr 22, 2015 at 11:16 AM, Colin Beckworth wrote:

Hi Mitch,

Thanks for picking up the case again! two step verification is OFF on my
Google account, and I entered the same gmail account as the appEngine
application is registered to. Any ideas?

Thanks again,

Colin

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

Internet Explorer 11 - I've sent the text file as requested

Thanks,

Colin

Hmm. The directory where you have placed the ODK Aggregate installer files
seems to be read-only, or, at least, not writable, by IE 11.

When I browse to the HTA file, I can right-click, choose "Open with..." and
select "Microsoft (R) HTML Application Host". Can you do that?

I suspect the problem is that opening this file directly with IE11 (by
double-clicking) doesn't give the browser enough permissions to write or
modify the file system.

I think we need it to open with the "Microsoft (R) HTML Application Host"
program, which then can read and display the content in an embedded IE11
which will then have the ability to write to the file system.

··· On Wed, Apr 22, 2015 at 10:42 PM, Colin Beckworth wrote:

Internet Explorer 11 - I've sent the text file as requested

Thanks,

Colin

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

tried to open the file using Microsoft (R) HTML Application Host but
couldn't; was not given this as an option, searched for this program on my
computer but couldn't find it. Is it the same thing as Mshta.exe? From
reading various websites could be? That program is on my computer (in
C:\Windows\System32).

When I first downloaded the file, the icon next to the the .hta file was
the same one as is next to the Mshta.exe file, but when I double clicked
the original file, I got a message saying my computer could not open this
type of file (hence why I swapped to IE, which would at least get me on the
first step in the process).

Thanks,

Colin

Just to confirm:

"Microsoft (R) HTML Application Host" doesn't appear as an option under the
right-click "Open with" menu?

··· On Thu, Apr 23, 2015 at 1:28 PM, Colin Beckworth wrote:

tried to open the file using Microsoft (R) HTML Application Host but
couldn't; was not given this as an option, searched for this program on my
computer but couldn't find it. Is it the same thing as Mshta.exe? From
reading various websites could be? That program is on my computer (in
C:\Windows\System32).

When I first downloaded the file, the icon next to the the .hta file was
the same one as is next to the Mshta.exe file, but when I double clicked
the original file, I got a message saying my computer could not open this
type of file (hence why I swapped to IE, which would at least get me on the
first step in the process).

Thanks,

Colin

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

No, definitely not

Open a file browser, navigate to the directory containing the HTA file.
Click into the path box at the top of the file browser, and copy that to
the clipboard.

And paste that into an e-mail and send it to me.

Then, in the browser

Select the .hta file
Try right-click
Open with...
Choose default program...
Browse

and, on 64-bit system, select C:\Windows\SysWOW64\mshta.exe
on a 32-bit system, select C:\Windows\System32\mshta.exe

And check the "Always use..." checkbox if it isn't checked.

··· --- This is restoring the click behavior so that it opens the mshta application.

I expect the open will fail with the same error.

I will have more suggestions once I see the file path.

On Thu, Apr 23, 2015 at 2:25 PM, Colin Beckworth cbeckworth74@gmail.com wrote:

No, definitely not

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

Sent the directory path in an e mail as requested;

Tried the right click/open with/C:\Windows\SysWOW64\mshta.exe (I have a 64
bit machine - it thought about it for 10 minutes then gave the message "The
program you have selected cannot be associated with this file type. Please
choose another program."

To make sure, I tried going in through the control panel to set default
program for opening .hta files, tried to change it to
:\Windows\SysWOW64\mshta.exe and got the same result. Just for
completeness, I tried the same things using C:\Windows\System32\mshta.exe,
again, same thing

I'm pretty sure that before I changed the default program to IE, the icon
next to UploadAgregateToAppEngine was mshta. Am I correct in saying that
the problem I have is that mshta.exe for some reason isn't opening the .hta
file as it normally should? Perhaps are there other programs I could
download which can open .hta files?