Error starting the php site for the first time

Extending PHP application with ASP.NET. Configuring ASP.NET to run Phalanger powered PHP code properly and efficiently.

Error starting the php site for the first time

Postby Alecu » July 29th, 2014, 7:07 pm

I just started a phalanger project in visual studio. When I start the website in a site I get the following error:

[A]PHP.Core.PhpConfigurationContext cannot be cast to [B]PHP.Core.PhpConfigurationContext. Type A originates from 'PhpNetCore, Version=3.0.0.0, Culture=neutral, PublicKeyToken=0a8e8c4c76728c71' in the context 'Default' at location 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\PhpNetCore\v4.0_3.0.0.0__0a8e8c4c76728c71\PhpNetCore.dll'. Type B originates from 'PhpNetCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0a8e8c4c76728c71' in the context 'Default' at location 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\PhpNetCore\v4.0_4.0.0.0__0a8e8c4c76728c71\PhpNetCore.dll'.


Any ideas?
Alecu
 
Posts: 1
Joined: July 29th, 2014, 7:05 pm

Re: Error starting the php site for the first time

Postby Jakub Misek » August 6th, 2014, 10:26 am

hi,

You have installed/using both Phalanger 3.0 and 4.0 which causes conflicts in .NET.

Please uninstall version 3.0 and reset your IIS.

thanks,
Jakub Misek │ DEVSENSE s.r.o. | @misekjakubjakub@devsense.com
User avatar
Jakub Misek
 
Posts: 2092
Joined: January 4th, 2012, 2:42 pm
Location: Prague


Return to PHP/ASP.NET Web Applications

Who is online

Users browsing this forum: No registered users and 1 guest

cron

User Control Panel

Login

Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest (based on users active over the past 5 minutes)
Most users ever online was 256 on March 28th, 2024, 9:42 am

Users browsing this forum: No registered users and 1 guest