Environment: Visual Studio 2003, IIS 5.1 Win XP pro
I get this error message when I try to run my application. When I open the environment variables I can see the variable PT_Home exists in system variables and the path is set to C:/Program File/plumtree:
So I am thinking the error message might be pointing to the 2nd exception and not the first error message:
Description: 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.
Exception Details: System.ApplicationException: Environment variable PT_HOME not set
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[ApplicationException: Environment variable PT_HOME not set]
Com.Plumtree.Remote.Loader.PTLocator.get_PTHome()
Com.Plumtree.Remote.Loader.PTLocator.get_PTHomeCon f()
Com.Plumtree.Remote.Loader.PTLocator.get_PTHomeRoo tNode()
Com.Plumtree.Remote.Loader.PTLocator.GetPTApplicat ion(String appName, String appVersion)
Com.Plumtree.Remote.Loader.PTLocator.GetPTApplicat ionParam(String appParam)
Com.Plumtree.Remote.Loader.PTLocator.ResolvePath(S tring path)
Com.Plumtree.Remote.Util.NameValuePair.get_Value()
Com.Plumtree.Remote.Util.Properties.set_Pairs(Name ValuePair[] value)
Microsoft.Xml.Serialization.GeneratedAssembly.XmlS erializationReader1.Read2_Properties(Boolean isNullable, Boolean checkType)
Microsoft.Xml.Serialization.GeneratedAssembly.XmlS erializationReader1.Read1_BootStrapConfig(Boolean isNullable, Boolean checkType)
Microsoft.Xml.Serialization.GeneratedAssembly.XmlS erializationReader1.Read6_bootstrap()
[InvalidOperationException: There is an error in XML document (5, 5).]
System.Xml.Serialization.XmlSerializer.Deserialize (XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
System.Xml.Serialization.XmlSerializer.Deserialize (XmlReader xmlReader, XmlDeserializationEvents events)
System.Xml.Serialization.XmlSerializer.Deserialize (Stream stream)
Com.Plumtree.Remote.Loader.BootStrap.get_BootStrap Config()
Com.Plumtree.Remote.Loader.BootStrap.get_AssemblyE ntryLocation()
Com.Plumtree.Remote.Loader.BootStrap.get_Configura tion()
Com.Plumtree.Remote.Loader.TransformerProxy.LoadPr oxyTarget()
Com.Plumtree.Remote.Loader.TransformerProxy.InitPr oxy(HttpApplication app)
Com.Plumtree.Remote.Loader.TransformerProxy.Init(H ttpApplication app)
System.Web.HttpApplication.InitModules() +100
System.Web.HttpApplication.InitInternal(HttpContex t context, HttpApplicationState state, MethodInfo[] handlers) +1332
System.Web.HttpApplicationFactory.GetNormalApplica tionInstance(HttpContext context) +392
System.Web.HttpApplicationFactory.GetApplicationIn stance(HttpContext context) +256
System.Web.HttpRuntime.ProcessRequestInternal(Http WorkerRequest wr) +414
EggHeadCafe.com - .NET Developer Portal of Choice
http://www.eggheadcafe.com