Page 1 of 1

Unable to load assembly php4ts.dll

PostPosted: May 30th, 2013, 5:10 pm
by strfrank
Hi,
I configured a pure dll as you suggested to me in this post:

viewtopic.php?t=725#p3153

My problem is that it works perfectly on some machines but on other ones (especially a windows xp machine) I get an error that says it's unable to load assembly php4ts.dll.
I checked and that dll is correctly placed in executable_directory/Bin/.

What can I check to better understand the problem?
Thanks,
Frank

Re: Unable to load assembly php4ts.dll

PostPosted: May 30th, 2013, 10:31 pm
by Jakub Misek
Hi,

php4ts.dll is 32bit assembly (so your process has to run as 32bit only), and it has dependency to VC++ (http://www.microsoft.com/en-us/download ... px?id=8328) distributed together with Phalanger in "\Setup\en_visual_c++_2010_sp1_redistributable_package_x86_651767.exe"

Thanks,

Re: Unable to load assembly php4ts.dll

PostPosted: June 5th, 2013, 8:43 am
by strfrank
Hi Jakub,
Sorry for the delay but I couldn't remotely connect to the problematic pc before.
Problem solved, I installed the visual c++ redist and it works perfectly now,
Many thanks!
Frank

Re: Unable to load assembly php4ts.dll

PostPosted: June 7th, 2013, 7:31 am
by james103
My problem is that it works perfectly on some machines but on other ones (especially a windows xp machine) I get an error that says it's unable to load assembly php4ts.dll.

Re: Unable to load assembly php4ts.dll

PostPosted: June 23rd, 2013, 2:46 pm
by Jakub Misek
james103 wrote:My problem is that it works perfectly on some machines but on other ones (especially a windows xp machine) I get an error that says it's unable to load assembly php4ts.dll.
This is typically caused by missing VC++ 2010 redistributable, or by running process in 64bit instead of 32bit.