Logo
My Account |  Site Map | Contact Us  
Welcome Guest Search | Active Topics | Sign In | Register

Failed to start image manager Options
Tank
Posted: Wednesday, November 18, 2020 9:22:17 AM
Rank: Advanced Member
Groups: Member

Joined: 6/13/2014
Posts: 38
Dear Support,

we are facing issue with EO.Web browser, it is giving below error and application is getting freezed.

Failed to start image manager
bij EO.Base.ThreadRunnerBase.f.a(Int32 A_0, Boolean& A_1)
bij EO.Base.ThreadRunnerBase.Send(ActionWithResult action, Int32 timeoutInMS, Boolean& done)
bij EO.Base.ThreadRunnerBase.Send(ActionWithResult action, Int32 timeoutInMS)
bij EO.WebBrowser.ThreadRunner.Send(WebViewCallback callback, WebView webView, Object args)
bij EO.WebBrowser.ThreadRunner.a(Int32 A_0, Int32 A_1, Boolean A_2, BrowserOptions A_3)
bij EO.WebBrowser.ThreadRunner.CreateWebView(Int32 width, Int32 height, BrowserOptions options)
bij EO.WebBrowser.WebView.Preload(Int32 width, Int32 height, String url, WebViewCallback doneCallback, Object doneCallbackArgs)
bij EO.WebBrowser.WebView.Preload(Int32 width, Int32 height, String url)
bij EO.WebBrowser.WebView.Preload(String url)

we tried to check this with latest version of EO.Total as well but it is also not working. The tabbed browser application gives below error.

Exception:
System.Exception: Failed to start image manager
bij EO.Internal.dvrz.xvfy.sacw()
bij EO.Internal.dvrz.xvfy.nbby()

Begin_Block_1
gAAAAJ4XhstV54q/5c4EnHvtqTCBft2gW1JJoYiiv3cwjkgW9kQCsdtuljspa4WCuZuNR5mnDiH+
QL6DSsC3JxzJy9XUryYGdAFkYXNJgciI8sAEqgxH//KLSTQaIhbVBeaFw7uyD5RWMYJG2/9Z+6TQ
+umsqjaObcyjUwy9TeaJqd5oEAAAAJvxjm5O24keE/67AttIO1NwBwAA8rp+LsavnrqvQ3Ydw/98
D9bUV4ZC0P5/pJ5F6GfbDDW9pwVapRS20g+7GiQpdLB+vVeoPdsPsukS7oFQcg3ETMaozS9a0xoa
x0FYae3AedU0B7v4ni46XJEjnBGaOG+A9MyS/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QgvQpVv4+PffefUWPqMStwhzBsg3cKAEwcUPae6BF
k4KxeviR2NEsd+TKOFM2VcdLglSjpM/HHOvTxT/18sI+SYa+naBok1La0rCFhMKyNX8KJBREGoEg
toXZj84aOQVvWc4V9NY5lmXk3lFdtCT7gGfY2zjJbzb7ac2BGcnQmGKK9p48QoU649xwGqhejJUm
l2mM8Td1Xjfx2o2x7zahyt9Dk6fHKesBrEMChzrh1xj4kJgH5MtUjwT8uh6Yr7GvdkW/Ri+hhYrY
2THfgC03B9s=
End_Block_1

Begin_Block_2
gAAAADk4DKqCX0QdWj9f/ZBUKgZW/VB6zgPdj+WAlyEGk9Whp6YMHmwdFFB0IBbXHUQJgQUnjV8/
TdNbcVqg0mvHhedOR91aSVxKemi4e/hVfsC406di1uOwkG7RPxBLlQGNDSTSBuP3nM2oTtfVJ7Iq
3VBpBWov7SlHmQcmzL3EfvqREAAAAJvxjm5O24keE/67AttIO1MQAAAAeaYlUFXZgyamnPGog3Ia
Rg==
End_Block_2


PS: The issue is with Citrix environment our customer is using. Hopping to get some inputs from your side for above issue.

Regards,
Tank
eo_support
Posted: Wednesday, November 18, 2020 4:17:14 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 22,553
Hi,

The log indicates that when your application tries to create a child process, it failed with Windows error code ERROR_ACCESS_DENIED. This may be caused by Citrix or Windows settings.

EO.WebBrowser must create child process at runtime to run the native browser engine inside that process. By default it uses Windows's rundll32.exe to do so. This can fail if your code does not have sufficient permission. You can try to follow the steps here to enable EO Worker process and see if it resolves the issue for you:

https://www.essentialobjects.com/doc/common/eowp.aspx

In your case, you can follow these steps:

1. Decide a name for the exe file. For example, MyChildProcessLauncher.exe. You can use any name that makes sense to you;
2. Copy eowp.exe from the installation folder into the same folder as your main app's exe, then rename it to "MyChildProcessLauncher.exe" (or any name you have decided);
3. Inside your code call EO.Base.Runtime.InitWorkerProcessExecutable and pass it the full path of "MyChildProcessLauncher.exe" as the argument. This way InitWorkerProcessExecutable will instruct the runtime to use the exe file you copied;

Please let us know if this resolves the issue for you.

Thanks!
Tank
Posted: Thursday, November 19, 2020 3:45:25 AM
Rank: Advanced Member
Groups: Member

Joined: 6/13/2014
Posts: 38
Dear Support,

Thanks for the quick reply and possible solution. I am facing issue with TabbedBrowser (sample application of EO) as well. I think it should be working fine as it must be correctly developed to use the EOWP. I will pass on the information to Admin to check if our app is able to create a child process or not.

Thanks,
Tank
Tank
Posted: Thursday, November 19, 2020 9:46:01 AM
Rank: Advanced Member
Groups: Member

Joined: 6/13/2014
Posts: 38
Dear Support,

We are awaiting your response with respect to Tabbed Browser application with Citrix.

Regards,
Tank
RobotGizmo
Posted: Thursday, November 19, 2020 10:28:18 AM
Rank: Member
Groups: Member

Joined: 6/13/2019
Posts: 13
I just wanted to say that we're having the exact same issue and we haven't changed any system configurations. We're using v20.2.90 and we've tried all the steps as well (eowp... etc) with no luck.
RobotGizmo
Posted: Thursday, November 19, 2020 10:33:13 AM
Rank: Member
Groups: Member

Joined: 6/13/2019
Posts: 13
After a bunch of testing I found that rolling back to v20.2.63 fixes the issue. It seems to be something specifically broken in v20.2.90. I hope this helps! :)
Tank
Posted: Monday, November 23, 2020 4:25:40 AM
Rank: Advanced Member
Groups: Member

Joined: 6/13/2014
Posts: 38
@RobotGizmo Thanks for the reply and version number, were you also facing this issue on Citrix environment ? we are only facing this issue with Citrix environment and we are also facing this issue with Latest version of EO sdk and it's tabbed browser sample application on Citrix environment. I will create a test application with version v20.2.63 and post results here.

Thanks,
Tank
eo_support
Posted: Monday, November 23, 2020 10:43:53 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 22,553
Hi,

We are not aware of any changes between .63 and .90 that would cause the child process fail to start. One thing you can try is to update to the latest build (3.34) and then use the newly build-in log collection feature to collect more logs. You would need to modify your code as follow:

1. Call this method as early as possible:

https://www.essentialobjects.com/doc/eo.base.diagnostictools.startdiagnosticlog.aspx

2. Call other code that can trigger the problem

3. Call this method to submit the log:

https://www.essentialobjects.com/doc/eo.base.diagnostictools.stopandsavediagnosticlog.aspx

Do not pass fileName and the method should return a integer value. Please let us know the integer value and we will then use it to locate the log entries on our server. We will then see we can find there.

Thanks!
Tank
Posted: Monday, November 23, 2020 10:45:42 AM
Rank: Advanced Member
Groups: Member

Joined: 6/13/2014
Posts: 38
@Support

I have used latest version of EO and tested it with on Citrix environment and things are not working when using EOWP.exe as child process how ever rundll32 works fine. Please find below screenshot and error log.



Exception:
System.Exception: Failed to start image manager
bij EO.Internal.ssdn.nrqb.gdpr()
bij EO.Internal.ssdn.nrqb.afhm()



Begin_Block_1
gAAAAIZmcu2vl0g8CQpNAXPsI0LMeZEy9aAiAlMmVpdZmAxev5jd/XsWkdFNnF5X+7L66fX/L81E
lOkTEs+a+JTezVcP2HCjSuGkxrM/J7I7X9xLzkbeiPtpfw65B1n35CPKCFANqWKQui+sk0G3Ba5q
u304NGsZF4cepDS9sHXCaQthEAAAAPufhshQYNW69nol4hTiUpwABwAAPAmqxWhH00hMN9kybbt6
HiJNa5/4Yo2oXoYqh3qZbFc1Y6KsfMhIUay97MuzcdszdGIEu+TRxtSb9qWc469IsoHeGuG7+5S5
tu7wcqbIw+kUXa/2fUnceCOaaMajNpQ204H53YE6MRktLVp7dj/CxkJI0k6wfiEv4J/5Yoph1OXj
YgslMR1hYZxNmpZz98QI0vtleF5pIkPzRYsZRA8dZFF91fbdSpLnA6bnXoWWMLlK6Yus23hjQyuA
+gOnkb5fMGdWpaCu/kTAdUfKBG/a4ybbc2tzvWjZVvcgpEZ8zoUl7XnMkeJ1qoVxRAxQI7PCmgIs
JlJPeG5I+rm6i80HKfUZU5DLWnhs3aYJpET01JHkHweF9XmQ081+0pYi/oWd31mRtseox2vPXwrZ
JYO7TISx9qdu1Om9rj0VIY475JKWbAJJ4eU8yJnt20TIDI141TtulNkeeSNhAae4Y7sMc9+KVpiu
cOjcTfXZMcif9ojnz7pO1DVKWjsdXUrusDFeL/m4fJ0piksRDNliGUjOYT6Wx2pu9odEb+MoJeU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7g6+YDddd6G/3kdjOPy3sMF9M4llXnGdUDdZ+Dm5jkF3bQLqrJKleEQLzsXpKjtlmYcAPE+xcrqf
CWQV26LToW0K3JNB2DPEXh43jNj+4LEZ3XRdy+wGaBVXLb3nes3HqVlrhEbreBAwup+/bkZGfSP3
he/FcR+z3tGNReqXii9MlwrOtjBwl7ISgZvIaxq58DQAy1ilAWJxjLXsOmPeyT9iweaGbOIqGD/A
ldDbPcFMNDxkHDgVnVVUC807EMlUuXcpeS+4moru5hge0RJlR6ka5w49RYkMBLGScE9xkNXCrAL0
PrWYSfmEqIiLnvkDXKOPt4QUZuWCPttXLKhfyDGTohoHSKi3HgQygMONISxTk2sjFv+A+CMixRqT
2nPVIfQhBNxBzisnYxp0sH6L1febyapnSY7jJzaBolbeV7B9khoVYoM46oGL59gkzrdXUQaVdMoP
CA407c/cyT8zT+9zMIA9cLIHZrnpFP2e4BEt8Isb+gSGN8EMRFLE7lTz3q0NsX0eZ4T5zmPiQImm
l+07OEf9ad90fu6XgNAbeNhbCARILinzlw64NgAZdUT51xBzAhihSD8novWCRpJa3CWsczGCAK7I
AX3io1I+/6Pd3booFmQOsmsfg1tcinOJNXx8MsHhqzQEKFD5GdzjGhlmm9AgAgDV/ZspLnkp+ErC
412gHK2a8eucOAnAG7dUHFoh1Vx4mgRsPMeNwJ7/TaCeZHrsXjxk9vIqXeIfKJbt5EFCp/1vGrgS
NIOBNdHNhksxZA==
End_Block_1



Begin_Block_2
gAAAAEnR50/MDo9IhiQla+gJuI2rBvgsqigfROmcOl7WR6XLoOy1n+iGcHuy21Mv/NIrtiC5dnB2
5cYIeOp+o4deua77ud9UctGKvvEIJUCXKv+mX1pTVTU4LvbaklQ2EOEXXhJB+HxbtU+QS7dWGWy2
b8WaM8LRudodoT9LLytTDKV0EAAAAHNnWSD9gCRUwhfhZWwv3hgQAAAA84lZwBYH7SlphZO3HWub
cg==
End_Block_2

Awaiting some communication on this from you and let us know if you need any other information.

Regards,
Tank
eo_support
Posted: Monday, November 23, 2020 11:01:29 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 22,553
Hi Tank,

This is exactly the same access denied error as in your original post.

The root of the problem is in your environment eowp.exe is not allowed to start. Different environment can have different rules/policy to prevent an exe file to from running. For example, you could have a policy on your system that only allow files inside "c:\TrustedPrograms" to run and denies programs from launching from anywhere else. In that an exe file in "c:\ImportantPrograms" won't run. In this case the only way to make an application inside "c:\ImportPrograms" to run is to change your policy. There is nothing you can change on the target exe file to make it run if the root of the problem is because it is at the wrong place due to your policy settings.

The situation for eowp.exe is similar. Because our code is inside eowp.exe, so if it is not even allowed to start, our code never even has a chance to run. This means it is not possible for us to change any code on our end to make it work. In order to resolve this issue, you have to find out why a standard exe file eowp.exe is not allowed to run in your environment. Only after you resolve that issue, then our code will be called, and if it still runs into other problems after that, then we can investigate further.

Thanks!
RobotGizmo
Posted: Tuesday, November 24, 2020 8:04:22 AM
Rank: Member
Groups: Member

Joined: 6/13/2019
Posts: 13
With the newer version of EO I'm getting this error now:
EO.WebBrowser:Exception
Type: System.Exception
Failed to start image manager [Stack: at EO.Internal.bslr.jixr.rkei()
at EO.Internal.bslr.jixr.yasm()]

Rolling back to .63 fixes the issue though, something must have changed since then. We're running this under ASP.NET on Windows 10 (IIS).
eo_support
Posted: Tuesday, November 24, 2020 11:16:12 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 22,553
RobotGizmo wrote:
With the newer version of EO I'm getting this error now:
EO.WebBrowser:Exception
Type: System.Exception
Failed to start image manager [Stack: at EO.Internal.bslr.jixr.rkei()
at EO.Internal.bslr.jixr.yasm()]

Rolling back to .63 fixes the issue though, something must have changed since then. We're running this under ASP.NET on Windows 10 (IIS).


Hello RobotGizmo,

You have a different problem than Tank's. Tank posted detailed logs for both .63 build and .90 build and both failed with the same error. Yours only fails on newer build.

In order to troubleshoot yours, please follow the steps here to collect the logs:

https://www.essentialobjects.com/forum/postst11937_Failed-to-start-image-manager.aspx#50445

Once we have your logs we will see what we can find.

Thanks!
RobotGizmo
Posted: Tuesday, November 24, 2020 6:36:36 PM
Rank: Member
Groups: Member

Joined: 6/13/2019
Posts: 13
Sorry about that, our issue does seem to be different but possibly related. Our error 5 was because once EOWP is started no other app pools can use it. If one app pool starts EOWP then all the other app pools get an access denied (error 5) because each app pool runs under it's own user account. I think we have this sorted now by manually creating the engine and setting the EOWP filename and cache path explicitly for each user.
eo_support
Posted: Wednesday, November 25, 2020 9:49:31 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 22,553
RobotGizmo wrote:
Sorry about that, our issue does seem to be different but possibly related. Our error 5 was because once EOWP is started no other app pools can use it. If one app pool starts EOWP then all the other app pools get an access denied (error 5) because each app pool runs under it's own user account. I think we have this sorted now by manually creating the engine and setting the EOWP filename and cache path explicitly for each user.


Thanks for sharing and that makes perfect sense. This is one scenario we might be able to add code to give a more accurate error message such as "EOWP was started under a different user account". However we still do not know why .63 build would work for your scenario. We will continue to review our code and see if we can find anything.


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.