<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="http://www.codeplex.com/rss.xsl"?><rss version="2.0"><channel><title>Phalanger Forum Rss Feed</title><link>http://www.codeplex.com/Project/ListForums.aspx?ProjectName=Phalanger</link><description>Phalanger Forum Rss Description</description><item><title>New Post: Phalanger 2.0 cca 5x slower than PHP 5 (arithmetic op.)</title><link>http://phalanger.codeplex.com/Thread/View.aspx?ThreadId=75593</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have compared the running time of the following code (for computing prime numbers) on Phalanger 2.0 (December 2008) and on WampServer 2.0i (on Windows Vista 64bit). The result was: Phalanger was cca 5 times slower than PHP.&lt;/p&gt;
&lt;div style="color:Black;background-color:White"&gt;
&lt;pre&gt;$start = time();

$n = 50000;
$a = &lt;span style="color:Blue"&gt;array&lt;/span&gt;();
$a[] = 2;

$i = 3;
&lt;span style="color:Blue"&gt;while&lt;/span&gt; ($i &amp;lt; $n)
{
	$prime = true;
	&lt;span style="color:Blue"&gt;foreach&lt;/span&gt; ($a &lt;span style="color:Blue"&gt;as&lt;/span&gt; $j)
	{
		&lt;span style="color:Blue"&gt;if&lt;/span&gt; ($i % $j == 0)
		{
			$prime = false;
			&lt;span style="color:Blue"&gt;break&lt;/span&gt;;
		}
	}
	&lt;span style="color:Blue"&gt;if&lt;/span&gt; ($prime) $a[] = $i;
	$i = $i + 2;
}

&lt;span style="color:Blue"&gt;echo&lt;/span&gt; &lt;span style="color:#A31515"&gt;&amp;quot;Total time: &amp;quot;&lt;/span&gt; . (time() - $start);
&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;I have also tried some other simple problems and arithmetic operations. The result was the same or worse.&lt;/p&gt;
&lt;p&gt;On the other hand, operations like echo, ... run faster.&lt;/p&gt;
&lt;p&gt;Why is that? Have you encountered similar problems?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;</description><author>petercerno</author><pubDate>Thu, 19 Nov 2009 13:04:05 GMT</pubDate><guid isPermaLink="false">New Post: Phalanger 2.0 cca 5x slower than PHP 5 (arithmetic op.) 20091119010405P</guid></item><item><title>New Post: Shared hosting/xcopy deployment</title><link>http://phalanger.codeplex.com/Thread/View.aspx?ThreadId=1687</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;I had the access denied issue.&amp;nbsp; What you need to do is give access to teh Phalanger install directory to whatever identity your app is running under.&amp;nbsp; I'm on Windows 7 so it was IUSR and IIS_IUSRS.&lt;/p&gt;
&lt;p&gt;That fixed the access denied issue.&lt;/p&gt;&lt;/div&gt;</description><author>phuff34</author><pubDate>Thu, 12 Nov 2009 21:56:40 GMT</pubDate><guid isPermaLink="false">New Post: Shared hosting/xcopy deployment 20091112095640P</guid></item><item><title>New Post: Phalanger 2.0 (December 2008) on Vista 64bit, IIS 7</title><link>http://phalanger.codeplex.com/Thread/View.aspx?ThreadId=74892</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;I have encountered several problems using Phalanger 2.0 on Windows Vista 64bit, IIS 7.&lt;/p&gt;
&lt;p&gt;After installing IIS 7 (with all features) I enabled the 32-bit mode:&lt;/p&gt;
&lt;pre style="margin-top:1em;margin-right:1em;margin-bottom:1em;margin-left:1.6em;background-color:#fafafa;width:1375px;overflow-x:auto;padding:2px;border:1px solid #dadada"&gt;cscript %SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 1&lt;/pre&gt;
&lt;p&gt;and then tried:&lt;/p&gt;
&lt;pre style="margin-top:1em;margin-right:1em;margin-bottom:1em;margin-left:1.6em;background-color:#fafafa;width:1375px;overflow-x:auto;padding:2px;border:1px solid #dadada"&gt;%SYSTEMROOT%\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -i&lt;/pre&gt;
&lt;p&gt;&lt;strong&gt;Problem 1&lt;/strong&gt;: I got the the message: &amp;quot;The error indicates that IIS is not installed on the machine. Please install IIS before using this tool.&amp;quot; But I had installed the IIS before.&lt;/p&gt;
&lt;p&gt;Then I set the status of ASP.NET version 2.0.50727 (32-bit) to &lt;em&gt;Allowed&lt;/em&gt; in the &lt;em&gt;Web service extension list&lt;/em&gt; ( = &lt;em&gt;ISAPI and CGI restrictions&lt;/em&gt; )&lt;/p&gt;
&lt;p&gt;Then I installed Phalanger 2.0 (December 2008) and configured samples in IIS Manager (by following the instructions from:&amp;nbsp;&lt;a href="http://www.php-compiler.net/doku.php?id=phalanger-on-vista"&gt;http://www.php-compiler.net/doku.php?id=phalanger-on-vista&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Problem 2&lt;/strong&gt;: The root &lt;em&gt;machine.config&lt;/em&gt; file of IIS is set to: &lt;em&gt;c:\Windows\Microsoft.NET\&lt;strong&gt;Framework64&lt;/strong&gt;\v2.0.50727\CONFIG\machine.config&lt;/em&gt;&amp;nbsp;instead of &lt;em&gt;c:\Windows\Microsoft.NET\&lt;strong&gt;Framework&lt;/strong&gt;\v2.0.50727\CONFIG\machine.config&lt;/em&gt; . So I had to manually edit the 64bit &lt;em&gt;machine.config &lt;/em&gt;in order to enable Phalanger.&lt;/p&gt;
&lt;p&gt;After this I was able to run all samples provided with Phalanger (&lt;em&gt;Extensions&lt;/em&gt;, &lt;em&gt;SimpleScripts&lt;/em&gt;, &lt;em&gt;Tests&lt;/em&gt;). I would like to ask if there is some other more cleaner solution to setting the Phalanger for Windows Vista 64bit, IIS 7?&lt;/p&gt;&lt;/div&gt;</description><author>petercerno</author><pubDate>Thu, 12 Nov 2009 14:24:12 GMT</pubDate><guid isPermaLink="false">New Post: Phalanger 2.0 (December 2008) on Vista 64bit, IIS 7 20091112022412P</guid></item><item><title>New Post: Creating a DLL</title><link>http://phalanger.codeplex.com/Thread/View.aspx?ThreadId=2791</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Actually I just found the solution in this thread http://phalanger.codeplex.com/Thread/View.aspx?ThreadId=1345&amp;amp;ANCHOR&lt;/p&gt;
&lt;p&gt;See the post by ladaprosek and the need to copy App.config to the target directory.&lt;/p&gt;&lt;/div&gt;</description><author>ericdes</author><pubDate>Tue, 10 Nov 2009 15:12:23 GMT</pubDate><guid isPermaLink="false">New Post: Creating a DLL 20091110031223P</guid></item><item><title>New Post: Creating a DLL</title><link>http://phalanger.codeplex.com/Thread/View.aspx?ThreadId=2791</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have a similar need, where I'd like to use curl in a .NET library. I set up my App.config as follows:&lt;/p&gt;
&lt;p&gt;
&lt;div style="color:Black;background-color:White"&gt;
&lt;pre&gt;&lt;span style="color:Blue"&gt;&amp;lt;?&lt;/span&gt;&lt;span style="color:#A31515"&gt;xml&lt;/span&gt; &lt;span style="color:Red"&gt;version&lt;/span&gt;&lt;span style="color:Blue"&gt;=&lt;/span&gt;&lt;span style="color:Black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:Blue"&gt;1.0&lt;/span&gt;&lt;span style="color:Black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:Red"&gt;encoding&lt;/span&gt;&lt;span style="color:Blue"&gt;=&lt;/span&gt;&lt;span style="color:Black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:Blue"&gt;utf-8&lt;/span&gt;&lt;span style="color:Black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:Blue"&gt;?&amp;gt;&lt;/span&gt;
&lt;span style="color:Blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#A31515"&gt;configuration&lt;/span&gt;&lt;span style="color:Blue"&gt;&amp;gt;&lt;/span&gt;
  &lt;span style="color:Blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#A31515"&gt;phpNet&lt;/span&gt;&lt;span style="color:Blue"&gt;&amp;gt;&lt;/span&gt;
    &lt;span style="color:Blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#A31515"&gt;classLibrary&lt;/span&gt;&lt;span style="color:Blue"&gt;&amp;gt;&lt;/span&gt;
      &lt;span style="color:Blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#A31515"&gt;add&lt;/span&gt; &lt;span style="color:Red"&gt;assembly&lt;/span&gt;&lt;span style="color:Blue"&gt;=&lt;/span&gt;&lt;span style="color:Black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:Blue"&gt;php_curl.mng, Version=2.0.0.0, Culture=neutral, PublicKeyToken=4ef6ed87c53048a3&lt;/span&gt;&lt;span style="color:Black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:Red"&gt;section&lt;/span&gt;&lt;span style="color:Blue"&gt;=&lt;/span&gt;&lt;span style="color:Black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:Blue"&gt;curl&lt;/span&gt;&lt;span style="color:Black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:Blue"&gt;/&amp;gt;&lt;/span&gt;
    &lt;span style="color:Blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#A31515"&gt;classLibrary&lt;/span&gt;&lt;span style="color:Blue"&gt;&amp;gt;&lt;/span&gt;
  &lt;span style="color:Blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#A31515"&gt;phpNet&lt;/span&gt;&lt;span style="color:Blue"&gt;&amp;gt;&lt;/span&gt;
&lt;span style="color:Blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#A31515"&gt;configuration&lt;/span&gt;&lt;span style="color:Blue"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/p&gt;
&lt;p&gt;and am trying trying to call curl_init() in C#:&lt;/p&gt;
&lt;p&gt;
&lt;div style="color:Black;background-color:White"&gt;
&lt;pre&gt;PHP.Library.Curl.curl_init();
&lt;/pre&gt;
&lt;/div&gt;
&lt;/p&gt;
&lt;p&gt;The code compiles with no errors but an exception gets fired:&lt;/p&gt;
&lt;p&gt;
&lt;pre&gt;PHP.Core.PhpException: Call to undefined external function 'curl_init', extension 'php_curl' - check configuration.&lt;/pre&gt;
&lt;/p&gt;
&lt;p&gt;What am I missing?&lt;/p&gt;
&lt;p&gt;Thank you,&lt;/p&gt;
&lt;p&gt;Eric.&lt;/p&gt;
&lt;p&gt;P.S. I can run the Zlib sample as well a other samples okay, the problem seems to specifically come from php_curl.mng.dll.&lt;/p&gt;&lt;/div&gt;</description><author>ericdes</author><pubDate>Tue, 10 Nov 2009 10:38:48 GMT</pubDate><guid isPermaLink="false">New Post: Creating a DLL 20091110103848A</guid></item><item><title>New Post: visual studio 2010</title><link>http://phalanger.codeplex.com/Thread/View.aspx?ThreadId=73281</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;2008 March VS Integration setup doesn't work with vs.net 2010 beta 2. Any ideas ?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Serdar&lt;/p&gt;&lt;/div&gt;</description><author>sirmak</author><pubDate>Tue, 27 Oct 2009 22:45:57 GMT</pubDate><guid isPermaLink="false">New Post: visual studio 2010 20091027104557P</guid></item><item><title>New Post: PHP Personal Website Error. </title><link>http://phalanger.codeplex.com/Thread/View.aspx?ThreadId=72934</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;I did install the PHP PWS template on VS2008 and when I try to execute on web borwser, I get this generic error:&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;
&lt;h1&gt;Server Error in '/PHPPersonal' Application. 
&lt;hr size=1&gt;
&lt;/h1&gt;
&lt;h2&gt;&lt;em&gt;Object reference not set to an instance of an object.&lt;/em&gt;&lt;/h2&gt;
&lt;/span&gt;&lt;span style="font-family:Arial, Helvetica, Geneva, SunSans-Regular, sans-serif"&gt;&lt;strong&gt;Description: &lt;/strong&gt;An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. &lt;br&gt;&lt;br&gt;&lt;strong&gt;Exception Details: &lt;/strong&gt;System.NullReferenceException: Object reference not set to an instance of an object.&lt;br&gt;&lt;br&gt;&lt;strong&gt;Source Error:&lt;/strong&gt; &lt;br&gt;&lt;br&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table border=0 width="100%" bgcolor="#ffffcc"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;
&lt;pre&gt;Line 229:
Line 230:		public static function GetRandomAlbumID() {
&lt;span style="color:#ff0000"&gt;Line 231:			$connection = new SqlConnection(ConfigurationManager::$ConnectionStrings-&amp;gt;get_Item(&amp;quot;Personal&amp;quot;)-&amp;gt;ConnectionString); {
&lt;/span&gt;Line 232:				$command = new SqlCommand(&amp;quot;GetNonEmptyAlbums&amp;quot;, $connection); {
Line 233:					$command-&amp;gt;CommandType = CommandType::StoredProcedure;&lt;/pre&gt;
&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;span style="font-family:Arial, Helvetica, Geneva, SunSans-Regular, sans-serif"&gt;&lt;br&gt;&lt;strong&gt;Source File: &lt;/strong&gt;E:\PhpPersonal\App_Code\PhotoManager.php&lt;strong&gt; &amp;nbsp;&amp;nbsp; Line: &lt;/strong&gt;231 &lt;br&gt;&lt;br&gt;&lt;strong&gt;Stack Trace:&lt;/strong&gt; &lt;br&gt;&lt;br&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table border=0 width="100%" bgcolor="#ffffcc"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;
&lt;pre&gt;[NullReferenceException: Object reference not set to an instance of an object.]
   System.Configuration.ConfigurationElement.get_Item(String propertyName) +681066
   &amp;lt;^&amp;gt;.get_Item(Object , PhpStack ) +440
   PHP.Core.Reflection.DRoutineDesc.Invoke(DObject instance, PhpStack stack) +43
   PHP.Core.Reflection.DRoutineDesc.Invoke(DObject instance, PhpStack stack, DTypeDesc caller) +37
   PHP.Core.Reflection.DObject.InvokeMethod(String name, DTypeDesc caller, ScriptContext context) +507
   PHP.Core.Operators.InvokeMethod(Object x, String methodName, DTypeDesc caller, ScriptContext context) +145
   PhotoManager.GetRandomAlbumID(ScriptContext &amp;lt;context&amp;gt;) in E:\PhpPersonal\App_Code\PhotoManager.php:231
   PhotoManager.GetPhotos(ScriptContext &amp;lt;context&amp;gt;, Object AlbumID) in E:\PhpPersonal\App_Code\PhotoManager.php:87
   PhotoManager.GetPhotos() +58

[TargetInvocationException: Exception has been thrown by the target of an invocation.]
   System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct&amp;amp; sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) +0
   System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) +71
   System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) +350
   System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +29
   System.Web.UI.WebControls.ObjectDataSourceView.InvokeMethod(ObjectDataSourceMethod method, Boolean disposeInstance, Object&amp;amp; instance) +488
   System.Web.UI.WebControls.ObjectDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments) +1247
   System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) +19
   System.Web.UI.WebControls.DataBoundControl.PerformSelect() +142
   System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +73
   System.Web.UI.WebControls.FormView.DataBind() +4
   System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound() +82
   System.Web.UI.WebControls.FormView.EnsureDataBound() +166
   System.Web.UI.WebControls.CompositeDataBoundControl.CreateChildControls() +72
   System.Web.UI.Control.EnsureChildControls() +87
   System.Web.UI.Control.PreRenderRecursiveInternal() +44
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +842
&lt;/pre&gt;
&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;span style="font-family:Arial, Helvetica, Geneva, SunSans-Regular, sans-serif"&gt;&lt;br&gt;
&lt;hr size=1&gt;
&lt;strong&gt;Version Information:&lt;/strong&gt;&amp;nbsp;Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3082 &lt;/span&gt;&lt;/p&gt;
&amp;lt;!--  [NullReferenceException]: Object reference not set to an instance of an object.    at System.Configuration.ConfigurationElement.get_Item(String propertyName)    at &amp;lt;^&amp;gt;.get_Item(Object , PhpStack )    at PHP.Core.Reflection.DRoutineDesc.Invoke(DObject instance, PhpStack stack)    at PHP.Core.Reflection.DRoutineDesc.Invoke(DObject instance, PhpStack stack, DTypeDesc caller)    at PHP.Core.Reflection.DObject.InvokeMethod(String name, DTypeDesc caller, ScriptContext context)    at PHP.Core.Operators.InvokeMethod(Object x, String methodName, DTypeDesc caller, ScriptContext context)    at PhotoManager.GetRandomAlbumID(ScriptContext &amp;lt;context&amp;gt;) in E:\PhpPersonal\App_Code\PhotoManager.php:line 231    at PhotoManager.GetPhotos(ScriptContext &amp;lt;context&amp;gt;, Object AlbumID) in E:\PhpPersonal\App_Code\PhotoManager.php:line 87    at PhotoManager.GetPhotos() [TargetInvocationException]: Exception has been thrown by the target of an invocation.    at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct&amp; sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)    at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)    at System.Web.UI.WebControls.ObjectDataSourceView.InvokeMethod(ObjectDataSourceMethod method, Boolean disposeInstance, Object&amp; instance)    at System.Web.UI.WebControls.ObjectDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments)    at System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback)    at System.Web.UI.WebControls.DataBoundControl.PerformSelect()    at System.Web.UI.WebControls.BaseDataBoundControl.DataBind()    at System.Web.UI.WebControls.FormView.DataBind()    at System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound()    at System.Web.UI.WebControls.FormView.EnsureDataBound()    at System.Web.UI.WebControls.CompositeDataBoundControl.CreateChildControls()    at System.Web.UI.Control.EnsureChildControls()    at System.Web.UI.Control.PreRenderRecursiveInternal()    at System.Web.UI.Control.PreRenderRecursiveInternal()    at System.Web.UI.Control.PreRenderRecursiveInternal()    at System.Web.UI.Control.PreRenderRecursiveInternal()    at System.Web.UI.Control.PreRenderRecursiveInternal()    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) [HttpUnhandledException]: Exception of type 'System.Web.HttpUnhandledException' was thrown.    at System.Web.UI.Page.HandleError(Exception e)    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)    at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)    at System.Web.UI.Page.ProcessRequest()    at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)    at System.Web.UI.Page.ProcessRequest(HttpContext context)    at &amp;lt;^&amp;gt;.ProcessRequest(Object , PhpStack )    at PHP.Core.Reflection.DRoutineDesc.Invoke(DObject instance, PhpStack stack)    at PHP.Core.Reflection.DRoutineDesc.Invoke(DObject instance, PhpStack stack, DTypeDesc caller)    at PHP.Core.Operators.InvokeStaticMethod(DTypeDesc type, Object methodName, DObject self, DTypeDesc caller, ScriptContext context)    at ASP._default_aspx.ProcessRequest(ScriptContext , Object context) in C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\phppersonal\229520bc\45d3f300\App_Web_mxudt11b.10.php:line 1394    at ASP._default_aspx.ProcessRequest(HttpContext context)    at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp; completedSynchronously) --&amp;gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I also have VB PWS installed on VS2005 standard and it runs on the same W2K3 server without any problem.&lt;/p&gt;
&lt;p&gt;I think the getrandomalbumID function on PhotoManager.php has a miss spell, but I'm VB not PHP.&lt;/p&gt;
&lt;p&gt;Does any body have been experienced this issue also?&lt;/p&gt;
&lt;p&gt;Thanks for your help.&amp;nbsp;&lt;/p&gt;&lt;/div&gt;</description><author>integrax</author><pubDate>Fri, 23 Oct 2009 21:45:15 GMT</pubDate><guid isPermaLink="false">New Post: PHP Personal Website Error.  20091023094515P</guid></item><item><title>New Post: Unicode problems</title><link>http://phalanger.codeplex.com/Thread/View.aspx?ThreadId=70688</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi all,&lt;/p&gt;
&lt;p&gt;I have problems with displaying UTF-8 from mysql database. I'm using phalanger 2.0.4 Beta (only one that worked with mysql in legacy mode) and Visual Studio 2008.&lt;/p&gt;
&lt;p&gt;All php files are Unicode without Signature.&lt;/p&gt;
&lt;p&gt;I tried with and without: mysql_query(&amp;quot;SET NAMES utf8&amp;quot;);&lt;/p&gt;
&lt;p&gt;all I get is a lot of&amp;nbsp;&lt;a href="http://localhost:1465/index.php?id=51&amp;add_faq=1"&gt;&amp;ETH;&amp;Yuml;&amp;ETH;&amp;frac34;&amp;Ntilde;&amp;#129;&amp;Ntilde;&amp;sbquo;&amp;ETH;&amp;deg;&amp;ETH;&amp;sup2;&amp;ETH;&amp;cedil;&amp;Ntilde;&amp;sbquo;&amp;ETH;&amp;micro; &amp;ETH;&amp;iquest;&amp;ETH;&amp;cedil;&amp;Ntilde;&amp;sbquo;&amp;ETH;&amp;deg;&amp;Ntilde;&amp;scaron;&amp;ETH;&amp;micro;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;instead of&amp;nbsp;Cyrillic&amp;nbsp;characters. It behaves same with MySQL and html that I wrote manually.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;When I set my page to Unicode with signature then non MySQL code renders properly but MySQL still displays funny characters.&lt;/p&gt;
&lt;p&gt;For connection I use: &amp;lt;add assembly=&amp;quot;php_mysql.mng, Version=2.0.0.0, Culture=neutral, PublicKeyToken=4ef6ed87c53048a3&amp;quot; section=&amp;quot;mysql-native&amp;quot; /&amp;gt;&lt;/p&gt;
&lt;p&gt;I set globalization too&lt;br&gt;&lt;span style="font-family:Consolas, 'Courier New', Courier, monospace;color:#333333;white-space:pre"&gt;&amp;lt;globalization requestEncoding=&amp;quot;utf-8&amp;quot; responseEncoding=&amp;quot;utf-8&amp;quot;  /&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Consolas, 'Courier New', Courier, monospace;color:#333333;white-space:pre"&gt;In Apache it all works great, when I connect with C# through MySQL.Data.Client it is all good.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Consolas, 'Courier New', Courier, monospace;color:#333333;white-space:pre"&gt;So I assume it is a Phalanger problem.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Consolas, 'Courier New', Courier, monospace;color:#333333;white-space:pre"&gt;Any thoughts? Thanks in advance&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;</description><author>draxtor</author><pubDate>Thu, 01 Oct 2009 10:12:32 GMT</pubDate><guid isPermaLink="false">New Post: Unicode problems 20091001101232A</guid></item><item><title>New Post: Phalanger as a single DLL</title><link>http://phalanger.codeplex.com/Thread/View.aspx?ThreadId=64527</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;hi guys, I have looked at portability and you have to have &amp;quot;phpc.exe,PhpNetCore.dll, PhpNetCore.IL.dll&amp;quot; in your BIN directory, for compiling on-the-fly or run the app, or in the same directory as your app. I also had to modify the source code for assembly loading, since compiler and php runtime uses GAC rather then specified path. I have to see where this modification were, sicne this was long time since I looked at this code.&lt;/p&gt;&lt;/div&gt;</description><author>grigorey</author><pubDate>Sun, 27 Sep 2009 20:32:03 GMT</pubDate><guid isPermaLink="false">New Post: Phalanger as a single DLL 20090927083203P</guid></item><item><title>New Post: Portable Windows Form Application</title><link>http://phalanger.codeplex.com/Thread/View.aspx?ThreadId=69369</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hmmm...Sounds like you got all the same ones I did.&amp;nbsp; (I just did a recursive search for *.dll from the Phalanger root folder).&lt;/p&gt;
&lt;p&gt;And yes, an executable should find any DLLs that are co-located.&lt;/p&gt;
&lt;p&gt;Not sure what your problem is.&lt;/p&gt;&lt;/div&gt;</description><author>VPiattelli</author><pubDate>Thu, 24 Sep 2009 17:18:13 GMT</pubDate><guid isPermaLink="false">New Post: Portable Windows Form Application 20090924051813P</guid></item><item><title>New Post: Portable Windows Form Application</title><link>http://phalanger.codeplex.com/Thread/View.aspx?ThreadId=69369</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;I tried what you told but it did not work out.&lt;br&gt;&lt;br&gt;I took in the folder:&lt;br&gt;&lt;br&gt;1) Every dll from the /Bin directory.&lt;br&gt;2) Every dll from the /Dynamic directory.&lt;br&gt;3) Every dll from the /Extension directory.&lt;br&gt;4) Every dll from the /Wrappers directory.&lt;br&gt;5) Exported .NET resources as dlls from Visual Studio (System.Whatever).&lt;br&gt;6) My executable .exe file.&lt;br&gt;&lt;br&gt;Makes a total amount of 140 dlls.&lt;/p&gt;
&lt;p&gt;But still, it does not work.&lt;/p&gt;
&lt;p&gt;Do I have to tell the executable file somehow where the dlls are?&lt;/p&gt;&lt;/div&gt;</description><author>Faeroth</author><pubDate>Thu, 24 Sep 2009 17:08:38 GMT</pubDate><guid isPermaLink="false">New Post: Portable Windows Form Application 20090924050838P</guid></item><item><title>New Post: Portable Windows Form Application</title><link>http://phalanger.codeplex.com/Thread/View.aspx?ThreadId=69369</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;I've found that you can copy all the Phalanger DLLs to your application directory and get it to work without actually using the Phalanger installer.&amp;nbsp; But Phalanger includes 132 DLLs, so it will expand your application footprint significantly.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Let me know if you find something better.&lt;/p&gt;&lt;/div&gt;</description><author>VPiattelli</author><pubDate>Thu, 24 Sep 2009 15:44:46 GMT</pubDate><guid isPermaLink="false">New Post: Portable Windows Form Application 20090924034446P</guid></item><item><title>New Post: Portable Windows Form Application</title><link>http://phalanger.codeplex.com/Thread/View.aspx?ThreadId=69369</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Yeah, I will.&lt;/p&gt;
&lt;p&gt;I am talking with some Developers, but I did not find any solution yet; they only had some ideas which did not work out though...&lt;/p&gt;&lt;/div&gt;</description><author>Faeroth</author><pubDate>Thu, 24 Sep 2009 15:00:39 GMT</pubDate><guid isPermaLink="false">New Post: Portable Windows Form Application 20090924030039P</guid></item><item><title>New Post: Phalanger as a single DLL</title><link>http://phalanger.codeplex.com/Thread/View.aspx?ThreadId=64527</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;I sent Grigorey a private message to see what his resolution was.&amp;nbsp; This would have implications for the &amp;quot;Portable Windows Form Application&amp;quot; thread above.&lt;/p&gt;&lt;/div&gt;</description><author>VPiattelli</author><pubDate>Tue, 22 Sep 2009 22:19:02 GMT</pubDate><guid isPermaLink="false">New Post: Phalanger as a single DLL 20090922101902P</guid></item><item><title>New Post: Portable Windows Form Application</title><link>http://phalanger.codeplex.com/Thread/View.aspx?ThreadId=69369</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Seems pretty quiet on this discussion board recently, so I don't think we'll see much assistance.&lt;/p&gt;
&lt;p&gt;I can confirm the same issue as you.&amp;nbsp; Phalanger-compiled DLLs work fine on my computer, but do not work on other machines unless Phalanger is installed there too.&lt;/p&gt;
&lt;p&gt;Please keep me in the loop if you learn anything on this front.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;</description><author>VPiattelli</author><pubDate>Tue, 22 Sep 2009 22:14:42 GMT</pubDate><guid isPermaLink="false">New Post: Portable Windows Form Application 20090922101442P</guid></item><item><title>New Post: PHP Constructor Not Found By Assembly.CreateInstance</title><link>http://phalanger.codeplex.com/Thread/View.aspx?ThreadId=69654</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;I have had some luck using&lt;/p&gt;
&lt;p&gt;objPlugin = objDLL.GetType(Plugin.ClassName).GetConstructors()(0).Invoke(New Object(1) {Nothing, Nothing})&lt;/p&gt;
&lt;p&gt;I've still got other issues, but the above workaround is tolerable for now.&lt;/p&gt;&lt;/div&gt;</description><author>VPiattelli</author><pubDate>Tue, 22 Sep 2009 18:18:36 GMT</pubDate><guid isPermaLink="false">New Post: PHP Constructor Not Found By Assembly.CreateInstance 20090922061836P</guid></item><item><title>New Post: PHP Constructor Not Found By Assembly.CreateInstance</title><link>http://phalanger.codeplex.com/Thread/View.aspx?ThreadId=69654</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hello All,&lt;/p&gt;
&lt;p&gt;I am working on an application where plug-ins can be developed in PHP using Phalanger and then loaded and executed in a .NET environment using System.Reflection.&amp;nbsp; Unfortunately, when I try to create an instance of the PHP-developed plug-in using Assembly.CreateInstance I receive a &amp;quot;Constructor on type ... not found&amp;quot; exception thrown from the CreateInstance call.&amp;nbsp; This seems strange because as far as I can tell, the constructor exists.&amp;nbsp; Given the screenshot below, does anyone have any ideas?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img src="http://img32.imageshack.us/img32/1528/constructorexception.png" alt=""&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;</description><author>VPiattelli</author><pubDate>Tue, 22 Sep 2009 00:40:52 GMT</pubDate><guid isPermaLink="false">New Post: PHP Constructor Not Found By Assembly.CreateInstance 20090922124052A</guid></item><item><title>New Post: Portable Windows Form Application</title><link>http://phalanger.codeplex.com/Thread/View.aspx?ThreadId=69369</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;&lt;br&gt; Hello,&lt;br&gt;&lt;br&gt;first of all, I would like to thank you a lot for your awesome project. Using PHP to create normal programs is awesome, fast and beautiful!&lt;br&gt;Although I still have problems with making my applications portable. &lt;br&gt;Anyone who did not install Phalanger can not start any of the programs I compiled with Phalanger, because 'The programm detected an error and needed to be closed'. Only for me, it is working fine.&lt;/p&gt;
&lt;p&gt;I have already looked through the documentation and found nothing about it...&lt;/p&gt;
&lt;p&gt;How can I make the applications 100% portable for anyone?&lt;br&gt;&lt;br&gt;Thank you a lot in advance.&lt;/p&gt;&lt;/div&gt;</description><author>Faeroth</author><pubDate>Fri, 18 Sep 2009 12:08:37 GMT</pubDate><guid isPermaLink="false">New Post: Portable Windows Form Application 20090918120837P</guid></item><item><title>New Post: Is there anyone using in production ?</title><link>http://phalanger.codeplex.com/Thread/View.aspx?ThreadId=64682</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;I think this project have to be alive, it'll be so cool to integrate with asp.net mvc. PHP is the most widely used language on the web and many web designers knows a bit. So, you can use web designers or Web UI coders (that knows some php) for UI (asp.net mvc views) and everything else on c#/vb.net; a perfect combination. They can use your first class web ui controls, functions, models, DAL (with a .net orm), WCF, everything that written in c#, it's great I think.&lt;/p&gt;
&lt;p&gt;There have be some activity from Jadu or Thomas P., and others. Project owner have to assign some commiters,...&lt;/p&gt;&lt;/div&gt;</description><author>sirmak</author><pubDate>Wed, 19 Aug 2009 16:30:10 GMT</pubDate><guid isPermaLink="false">New Post: Is there anyone using in production ? 20090819043010P</guid></item><item><title>New Post: Is there anyone using in production ?</title><link>http://phalanger.codeplex.com/Thread/View.aspx?ThreadId=64682</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Is there anyone using this project in production ?&lt;/p&gt;
&lt;p&gt;Is there anybody using it with Asp.net MVC ?&lt;/p&gt;
&lt;p&gt;And anybody there using it on mono ?&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;</description><author>sirmak</author><pubDate>Thu, 06 Aug 2009 10:06:08 GMT</pubDate><guid isPermaLink="false">New Post: Is there anyone using in production ? 20090806100608A</guid></item></channel></rss>