Announcement

Collapse
No announcement yet.

3dsmax Max.NET unhandled exception

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 3dsmax Max.NET unhandled exception

    Anyone had this error before ? Comes up in a window but max still starts. Not sure why this is happening suddenly..

    Code:
    System.InvalidOperationException: There is an error in XML document (18, 4). ---> System.IO.FileNotFoundException: Could not find file 'C:\Temp\24betjah.dll'.   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
       at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath)
       at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
       at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
       at Microsoft.CSharp.CSharpCodeGenerator.FromFileBatch(CompilerParameters options, String[] fileNames)
       at Microsoft.CSharp.CSharpCodeGenerator.FromSourceBatch(CompilerParameters options, String[] sources)
       at Microsoft.CSharp.CSharpCodeGenerator.System.CodeDom.Compiler.ICodeCompiler.CompileAssemblyFromSourceBatch(CompilerParameters options, String[] sources)
       at System.Xml.Serialization.Compiler.Compile(Assembly parent, String ns, XmlSerializerCompilerParameters xmlParameters, Evidence evidence)
       at System.Xml.Serialization.TempAssembly.GenerateAssembly(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, Evidence evidence, XmlSerializerCompilerParameters parameters, Assembly assembly, Hashtable assemblies)
       at System.Xml.Serialization.TempAssembly..ctor(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, String location, Evidence evidence)
       at System.Xml.Serialization.XmlSerializer..ctor(Type type, String defaultNamespace)
       at Autodesk.Max.StateSets.Utilities.SerializableDictionary`2.ReadXml(XmlReader reader)
       at System.Xml.Serialization.XmlSerializationReader.ReadSerializable(IXmlSerializable serializable, Boolean wrappedAny)
       at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderConfiguration.Read10_Configuration(Boolean isNullable, Boolean checkType)
       at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderConfiguration.Read11_Configuration()
       --- End of inner exception stack trace ---
       at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
       at Ephere.Utilities.Serialization.Extensions.LoadXml[T](Stream stream, Type[] extraTypes)
       at Ephere.Utilities.Serialization.Extensions.LoadXml[T](String filePath)
       at Autodesk.Max.StateSets.Plugin.ReloadConfiguration()
       at Autodesk.Max.StateSets.Plugin.get_Configuration()
       at Autodesk.Max.StateSets.Utilities.Gui.ApplyColorScheme(Skin skin)
       at Autodesk.Max.StateSets.Plugin.Initialize(IGlobal global, ISynchronizeInvoke sync)
       at Autodesk.Max.Manager.RegisterLoadedPlugins()
    Regards

    Steve

    My Portfolio

  • #2
    Steve

    Happened to me last week and drove me mad. I restored backups and re installed max and nothing seem to work. The antivirus flag it up as a virus, but it is not. I spent hours trying to solve it and eventually managed.
    Your user profile has gotten damaged. How I solved it was to create a new user and then copy the files and folders in the ENU directory and overwrite them in your current user. I would rename the ENU directory so that if you have customised max you will still have the files, which you can then load again.
    C:\Users\"user name"\AppData\Local\Autodesk\3dsMax\2014 - 64bit\ENU

    Then just edit the "3dsmax .ini" with the correct paths. Also you might have to install your plugins again.

    All should be working again.

    Cheers

    Renato
    Resolution Digital
    www.resolutiondigital.co.uk

    Comment

    Working...
    X