Phalanger can not running on WIN2008 R2 64bit?

Discussion about the open-source Phalanger [?] project.

Phalanger can not running on WIN2008 R2 64bit?

Postby little3399 » November 6th, 2012, 9:16 am

I just download and install the lastest version of Phalanger on
win 2008 r2 64bit ,
when i running the samples it show the erroe message ?

“/PhalangerSample_ASP.NET”应用程序中的服务器错误。
--------------------------------------------------------------------------------

编译错误
说明: 在编译向该请求提供服务所需资源的过程中出现错误。请检查下列特定错误详细信息并适当地修改源代码。

编译器错误消息: PHP2004: Configuration error: Library assembly 'PhpNetClassLibrary, Version=3.0.0.0, Culture=neutral, PublicKeyToken=4af37afe3cde05fb' could not be loaded. Dynamic wrapper 'C:\Program Files (x86)\Phalanger 3.0\Dynamic\PhpNetClassLibrary.dynamic.dll' could not be loaded. Dynamic wrapper 'C:\Program Files (x86)\Phalanger 3.0\Dynamic\PhpNetClassLibrary.dynamic.dll' could not be loaded. 指定的用户没有有效的配置文件。无法加载“file:///C:\Program Files (x86)\Phalanger 3.0\Dynamic\PhpNetClassLibrary.dynamic.dll”。

源错误:



[没有相关的源行]


源文件: 行: 0



显示详细的编译器输出:


Phalanger - the PHP Language Compiler - commencing compilation in a separate appdomain
Source files to compile:
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\phalangersample_asp.net\5065b042\9c2cba7d\App_Web_login.aspx.cdcab7d2.cfrw3n2t.0.php
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\phalangersample_asp.net\5065b042\9c2cba7d\App_Web_login.aspx.cdcab7d2.cfrw3n2t.1.php
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\phalangersample_asp.net\5065b042\9c2cba7d\App_Web_login.aspx.cdcab7d2.cfrw3n2t.2.php
error PHP2004: Configuration error: Library assembly 'PhpNetClassLibrary, Version=3.0.0.0, Culture=neutral, PublicKeyToken=4af37afe3cde05fb' could not be loaded. Dynamic wrapper 'C:\Program Files (x86)\Phalanger 3.0\Dynamic\PhpNetClassLibrary.dynamic.dll' could not be loaded. Dynamic wrapper 'C:\Program Files (x86)\Phalanger 3.0\Dynamic\PhpNetClassLibrary.dynamic.dll' could not be loaded. 指定的用户没有有效的配置文件。无法加载“file:///C:\Program Files (x86)\Phalanger 3.0\Dynamic\PhpNetClassLibrary.dynamic.dll”。






--------------------------------------------------------------------------------
版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.0.30319.1
little3399
 
Posts: 8
Joined: January 27th, 2012, 12:15 pm

Re: Phalanger can not running on WIN2008 R2 64bit?

Postby Jakub Misek » November 6th, 2012, 5:37 pm

Hi,
This could be caused by updating Phalanger to newer version while websites are alive and use some DLLs that have to be updated.

Try to delete content of following directory;
Code: Select all
C:\Program Files (x86)\Phalanger 3.0\Dynamic\


Note you may have to stop Application Pool in IIS, than use Phalanger.

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

Re: Phalanger can not running on WIN2008 R2 64bit?

Postby little3399 » November 7th, 2012, 8:52 am

Hi, I had been done it as your advice . but it still show the error message ?

and the message is same
little3399
 
Posts: 8
Joined: January 27th, 2012, 12:15 pm

Re: Phalanger can not running on WIN2008 R2 64bit?

Postby adesun » November 7th, 2012, 2:52 pm

does your web.config exist?

do you grant the right permission to website?
adesun
 
Posts: 11
Joined: April 23rd, 2012, 3:22 am

Re: Phalanger can not running on WIN2008 R2 64bit?

Postby Jakub Misek » November 7th, 2012, 3:59 pm

I've just tried to translate your initial error message which was in chinese ... "The specified user does not have a valid configuration file. Can not be loaded" ... is it correct?

However your .config file must be valid, otherwise it won't try to load this assembly ...
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 Phalanger project

Who is online

Users browsing this forum: No registered users and 8 guests

User Control Panel

Login

Who is online

In total there are 8 users online :: 0 registered, 0 hidden and 8 guests (based on users active over the past 5 minutes)
Most users ever online was 297 on March 29th, 2024, 7:06 am

Users browsing this forum: No registered users and 8 guests