Sample ASP.NET - Compilation Error
4 posts
• Page 1 of 1
Sample ASP.NET - Compilation Error
I have tried to make this work many times and always get the same error.
I completely uninstalled Phalanger, installed it, and when I try to execute the ASP.NET sample I get this error:
I tried giving Full Access permissions to DefaultAppPool in C:\Program Files (x86)\Phalanger 3.0\WebRoot\Samples\ASP.NET but still does not work.
The DYNAMIC folder does not get created neither.
I tried changing the user to NETWORK SERVICE... no dice.
Any ideas?
I am using Windows 8.1 Pro x64 (I also tried with Windows 8 Pro)
Thanks.
I completely uninstalled Phalanger, installed it, and when I try to execute the ASP.NET sample I get this error:
- Code: Select all
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: 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.y8d7vr8r.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.y8d7vr8r.0.php
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\phalangersample_asp.net\5065b042\9c2cba7d\App_Web_login.aspx.cdcab7d2.y8d7vr8r.1.php
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\phalangersample_asp.net\5065b042\9c2cba7d\App_Web_login.aspx.cdcab7d2.y8d7vr8r.2.php
C:\Windows
I tried giving Full Access permissions to DefaultAppPool in C:\Program Files (x86)\Phalanger 3.0\WebRoot\Samples\ASP.NET but still does not work.
The DYNAMIC folder does not get created neither.
I tried changing the user to NETWORK SERVICE... no dice.
Any ideas?
I am using Windows 8.1 Pro x64 (I also tried with Windows 8 Pro)
Thanks.
- dulfe
- Posts: 9
- Joined: July 2nd, 2013, 6:38 pm
Re: Sample ASP.NET - Compilation Error
Hi,
Thank you for the feedback!
This is caused by Visual Studio PageInspector component. It tries to create following property
We can disable this feature for now.
Thank you for the feedback!
This is caused by Visual Studio PageInspector component. It tries to create following property
- Code: Select all
private static $__PageInspector_SetTraceDataMethod = \ASP\login_aspx::__PageInspector_LoadHelper("SetTraceData");
We can disable this feature for now.
Jakub Misek │ DEVSENSE s.r.o. | @misekjakub │ jakub@devsense.com │
-
Jakub Misek - Posts: 2092
- Joined: January 4th, 2012, 2:42 pm
- Location: Prague
Re: Sample ASP.NET - Compilation Error
OK... I changed:
to
and now it works.
Thanks.
- Code: Select all
<compilation debug="true" />
to
- Code: Select all
<compilation debug="false" />
and now it works.
Thanks.
- dulfe
- Posts: 9
- Joined: July 2nd, 2013, 6:38 pm
Re: Sample ASP.NET - Compilation Error
Great! Thank you for giving us know.
Jakub
Jakub
Jakub Misek │ DEVSENSE s.r.o. | @misekjakub │ jakub@devsense.com │
-
Jakub Misek - Posts: 2092
- Joined: January 4th, 2012, 2:42 pm
- Location: Prague
4 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