Error starting the php site for the first time
2 posts
• Page 1 of 1
Error starting the php site for the first time
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?
[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
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,
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. | @misekjakub │ jakub@devsense.com │
-
Jakub Misek - Posts: 2092
- Joined: January 4th, 2012, 2:42 pm
- Location: Prague
2 posts
• Page 1 of 1
Return to PHP/ASP.NET Web Applications
Who is online
Users browsing this forum: No registered users and 5 guests