Page 1 of 1

Having issues with teechart.net v3 and IIS 7

Posted: Tue May 26, 2009 5:44 pm
by 13048566
Hello,
We are in the process of trying to get one of our applications that uses teechart to work on server 2008 (IIS 7). The application works without an issue on IIS 6, but when we move it to IIS 7 we get the following error in event viewer:

An unhandled exception occurred and the process was terminated.

Application ID: DefaultDomain

Process ID: 3596

Exception: System.IO.FileNotFoundException

Message: Could not load file or assembly 'TeeChart, Version=3.2.2980.19083, Culture=neutral, PublicKeyToken=9c8126276c77bdb7' or one of its dependencies. The system cannot find the file specified.

StackTrace: at System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Reflection.Assembly.Load(String assemblyString)
at System.UnitySerializationHolder.GetRealObject(StreamingContext context)
at System.Runtime.Serialization.ObjectManager.ResolveObjectReference(ObjectHolder holder)
at System.Runtime.Serialization.ObjectManager.DoFixups()
at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
at System.Runtime.Remoting.Channels.CrossAppDomainSerializer.DeserializeObject(MemoryStream stm)
at System.AppDomain.Deserialize(Byte[] blob)


We have verified the files are there, has anyone seen this before and have an idea as to what to do to get around it?

Posted: Tue May 26, 2009 6:21 pm
by 13048566
Nevermind, figured it out, had to enable 32bit applications in IIS7