Serialization Exception on PTWeb

Serialization Exception on PTWeb

Old forum URL: forums.lhotka.net/forums/t/3238.aspx


CMoreno posted on Friday, July 20, 2007

   Hi,

I am trying to run the ProjectTracker for Web and I am getting the following error:

Type is not resolved for member 'ProjectTracker.Library.Security.PTPrincipal,ProjectTracker.Library, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.

Stack:
SerializationException: Type is not resolved for member 'ProjectTracker.Library.Security.PTPrincipal,ProjectTracker.Library, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.]
   Microsoft.VisualStudio.WebHost.Connection.get_LocalIP() +0
   Microsoft.VisualStudio.WebHost.Request.GetLocalAddress() +58
   Microsoft.VisualStudio.WebHost.Request.GetServerName() +27
   System.Web.HttpRequest.get_Url() +282
   System.Web.UI.ClientScriptManager.GetCallbackEventReference(String target, String argument, String clientCallback, String context, String clientErrorCallback, Boolean useAsync) +158
   System.Web.UI.WebControls.TreeView.OnPreRender(EventArgs e) +2118
   System.Web.UI.Control.PreRenderRecursiveInternal() +77
   System.Web.UI.Control.PreRenderRecursiveInternal() +161
   System.Web.UI.Control.PreRenderRecursiveInternal() +161
   System.Web.UI.Control.PreRenderRecursiveInternal() +161
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1360
I am currently running it within VS2005 environment. I tried within IIS but I had some other errors
I will appreciate any feedback
Thanks

RockfordLhotka replied on Saturday, July 21, 2007

I've added the answer to the FAQ, as this is a common question

http://forums.lhotka.net/forums/16305/ShowThread.aspx#16305

Copyright (c) Marimer LLC