Newbie: Failing to Run Web example after install
8 posts
• Page 1 of 1
Newbie: Failing to Run Web example after install
I installed the latest version from codeplex and choose to install web samples .
I have IIS7.5 on Windows 7 x64
please help
aspnet sample fails to run with this error but the other iis samples are running
Server Error in '/PhalangerSample_ASP.NET' Application.
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: PHP2004: Configuration error: Library assembly 'PhpNetClassLibrary, Version=3.0.0.0, Culture=neutral, PublicKeyToken=4af37afe3cde05fb' could not be loaded. Dynamic wrapper 'E:\Lang\NetTools\Web\Phalanger 3.0\Dynamic\PhpNetClassLibrary.dynamic.dll' could not be loaded. Dynamic wrapper 'E:\Lang\NetTools\Web\Phalanger 3.0\Dynamic\PhpNetClassLibrary.dynamic.dll' could not be loaded. Could not load file or assembly 'file:///E:\Lang\NetTools\Web\Phalanger 3.0\Dynamic\PhpNetClassLibrary.dynamic.dll' or one of its dependencies. Access is denied.
Source Error:
[No relevant source lines]
Source File: Line: 0
Show Detailed Compiler Output:
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\42ba3df0\dd1919d5\App_Web_login.aspx.cdcab7d2.xstioddt.0.php
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\phalangersample_asp.net\42ba3df0\dd1919d5\App_Web_login.aspx.cdcab7d2.xstioddt.1.php
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\phalangersample_asp.net\42ba3df0\dd1919d5\App_Web_login.aspx.cdcab7d2.xstioddt.2.php
error PHP2004: Configuration error: Library assembly 'PhpNetClassLibrary, Version=3.0.0.0, Culture=neutral, PublicKeyToken=4af37afe3cde05fb' could not be loaded. Dynamic wrapper 'E:\Lang\NetTools\Web\Phalanger 3.0\Dynamic\PhpNetClassLibrary.dynamic.dll' could not be loaded. Dynamic wrapper 'E:\Lang\NetTools\Web\Phalanger 3.0\Dynamic\PhpNetClassLibrary.dynamic.dll' could not be loaded. Could not load file or assembly 'file:///E:\Lang\NetTools\Web\Phalanger 3.0\Dynamic\PhpNetClassLibrary.dynamic.dll' or one of its dependencies. Access is denied.
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18044
I have IIS7.5 on Windows 7 x64
please help
aspnet sample fails to run with this error but the other iis samples are running
Server Error in '/PhalangerSample_ASP.NET' Application.
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: PHP2004: Configuration error: Library assembly 'PhpNetClassLibrary, Version=3.0.0.0, Culture=neutral, PublicKeyToken=4af37afe3cde05fb' could not be loaded. Dynamic wrapper 'E:\Lang\NetTools\Web\Phalanger 3.0\Dynamic\PhpNetClassLibrary.dynamic.dll' could not be loaded. Dynamic wrapper 'E:\Lang\NetTools\Web\Phalanger 3.0\Dynamic\PhpNetClassLibrary.dynamic.dll' could not be loaded. Could not load file or assembly 'file:///E:\Lang\NetTools\Web\Phalanger 3.0\Dynamic\PhpNetClassLibrary.dynamic.dll' or one of its dependencies. Access is denied.
Source Error:
[No relevant source lines]
Source File: Line: 0
Show Detailed Compiler Output:
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\42ba3df0\dd1919d5\App_Web_login.aspx.cdcab7d2.xstioddt.0.php
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\phalangersample_asp.net\42ba3df0\dd1919d5\App_Web_login.aspx.cdcab7d2.xstioddt.1.php
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\phalangersample_asp.net\42ba3df0\dd1919d5\App_Web_login.aspx.cdcab7d2.xstioddt.2.php
error PHP2004: Configuration error: Library assembly 'PhpNetClassLibrary, Version=3.0.0.0, Culture=neutral, PublicKeyToken=4af37afe3cde05fb' could not be loaded. Dynamic wrapper 'E:\Lang\NetTools\Web\Phalanger 3.0\Dynamic\PhpNetClassLibrary.dynamic.dll' could not be loaded. Dynamic wrapper 'E:\Lang\NetTools\Web\Phalanger 3.0\Dynamic\PhpNetClassLibrary.dynamic.dll' could not be loaded. Could not load file or assembly 'file:///E:\Lang\NetTools\Web\Phalanger 3.0\Dynamic\PhpNetClassLibrary.dynamic.dll' or one of its dependencies. Access is denied.
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18044
- Anders2020
- Posts: 3
- Joined: June 30th, 2013, 10:52 pm
Re: Newbie: Failing to Run Web example after install
Please ensure directory 'E:\Lang\NetTools\Web\Phalanger 3.0\Dynamic\' is writeable by your IIS worker process.
Let me know if it works for you, Thanks!
Let me know if it works for you, 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: Newbie: Failing to Run Web example after install
OK will give a try now I had only granted read - execute to IIS AppPool\PhalangerAppPool
- Anders2020
- Posts: 3
- Joined: June 30th, 2013, 10:52 pm
Re: Newbie: Failing to Run Web example after install
NO CHANGE same error.
IIS WOrker process is IIS AppPool\PhalangerAppPool is this correct??
IIS WOrker process is IIS AppPool\PhalangerAppPool is this correct??
- Anders2020
- Posts: 3
- Joined: June 30th, 2013, 10:52 pm
Re: Newbie: Failing to Run Web example after install
It is correct. The folder should have write access already, so this was just for sure.
Please can you check, whether 'E:\Lang\NetTools\Web\Phalanger 3.0\Dynamic\PhpNetClassLibrary.dynamic.dll' exists?
Thanks,
Please can you check, whether 'E:\Lang\NetTools\Web\Phalanger 3.0\Dynamic\PhpNetClassLibrary.dynamic.dll' exists?
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: Newbie: Failing to Run Web example after install
I have the same error, but it does not make any reference to dynamic.dll
I am using Windows 8 x64 PRO with IIS 8
I am using Windows 8 x64 PRO with IIS 8
- Code: Select all
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: PHP2014: Syntax error: unexpected token '('
Source Error:
Line 54:
Line 55: [\AppStatic]
Line 56: private static $__PageInspector_SetTraceDataMethod = \ASP\login_aspx::__PageInspector_LoadHelper("SetTraceData");
Line 57:
Line 58: [\AppStatic]
Source File: C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\phalangersample_asp.net\5065b042\9c2cba7d\App_Web_login.aspx.cdcab7d2.juyyurjh.0.php Line: 56
Show Detailed Compiler Output:
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.juyyurjh.0.php
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\phalangersample_asp.net\5065b042\9c2cba7d\App_Web_login.aspx.cdcab7d2.juyyurjh.1.php
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\phalangersample_asp.net\5065b042\9c2cba7d\App_Web_login.aspx.cdcab7d2.juyyurjh.2.php
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\phalangersample_asp.net\5065b042\9c2cba7d\App_Web_login.aspx.cdcab7d2.juyyurjh.0.php(56,109): error PHP2014: Syntax error: unexpected token '('
- dulfe
- Posts: 9
- Joined: July 2nd, 2013, 6:38 pm
Re: Newbie: Failing to Run Web example after install
I too am having this problem on Windows 2003 Server. The error I have is shown below.
- Code: Select all
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: PHP2004: Configuration error: Library assembly 'PhpNetClassLibrary, Version=3.0.0.0, Culture=neutral, PublicKeyToken=4af37afe3cde05fb' could not be loaded. Dynamic wrapper 'C:\Program Files\Phalanger 3.0\Dynamic\PhpNetClassLibrary.dynamic.dll' could not be loaded. Dynamic wrapper 'C:\Program Files\Phalanger 3.0\Dynamic\PhpNetClassLibrary.dynamic.dll' could not be loaded. The specified user does not have a valid profile. Unable to load 'file:///C:\Program Files\Phalanger 3.0\Dynamic\PhpNetClassLibrary.dynamic.dll'.
- Dewey
- Posts: 6
- Joined: July 9th, 2013, 11:34 pm
Re: Newbie: Failing to Run Web example after install
It seams like similar issue I've found on Win2003 - https://groups.google.com/d/msg/cs-scri ... R0DHDZIo8J
According to this, Application pool's identity must be set to NetworkService, and not to ApplicationPoolIdentity (default).
According to this, Application pool's identity must be set to NetworkService, and not to ApplicationPoolIdentity (default).
Jakub Misek │ DEVSENSE s.r.o. | @misekjakub │ jakub@devsense.com │
-
Jakub Misek - Posts: 2092
- Joined: January 4th, 2012, 2:42 pm
- Location: Prague
8 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 8 guests