Phalanger can not running on WIN2008 R2 64bit?
5 posts
• Page 1 of 1
Phalanger can not running on WIN2008 R2 64bit?
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
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?
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;
Note you may have to stop Application Pool in IIS, than use Phalanger.
Thanks,
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. | @misekjakub │ jakub@devsense.com │
-
Jakub Misek - Posts: 2092
- Joined: January 4th, 2012, 2:42 pm
- Location: Prague
Re: Phalanger can not running on WIN2008 R2 64bit?
Hi, I had been done it as your advice . but it still show the error message ?
and the message is same
and the message is same
- little3399
- Posts: 8
- Joined: January 27th, 2012, 12:15 pm
Re: Phalanger can not running on WIN2008 R2 64bit?
does your web.config exist?
do you grant the right permission to website?
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?
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 ...
However your .config file must be valid, otherwise it won't try to load this assembly ...
Jakub Misek │ DEVSENSE s.r.o. | @misekjakub │ jakub@devsense.com │
-
Jakub Misek - Posts: 2092
- Joined: January 4th, 2012, 2:42 pm
- Location: Prague
5 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 43 guests