- Home /
unknown database error
hi all i already can connect to database online, but when i want to use it to my project, i get some error like this :
Internal compiler error. See the console log for more information. output was:
Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
File name: 'System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
at (wrapper managed-to-native) System.MonoCustomAttrs:GetCustomAttributesInternal (System.Reflection.ICustomAttributeProvider,System.Type,bool)
at System.MonoCustomAttrs.GetCustomAttributesBase (ICustomAttributeProvider obj, System.Type attributeType) [0x00000] in <filename unknown>:0
at System.MonoCustomAttrs.GetCustomAttributes (ICustomAttributeProvider obj, System.Type attributeType, Boolean inherit) [0x00000] in <filename unknown>:0
at System.MonoType.GetCustomAttributes (System.Type attributeType, Boolean inherit) [0x00000] in <filename unknown>:0
at Mono.CSharp.AttributeTester.GetObsoleteAttribute (System.Type type) [0x00000] in <filename unknown>:0
at Mono.CSharp.Expression.ResolveAsTypeTerminal (IMemberContext ec, Boolean silent) [0x00000] in <filename unknown>:0
at Mono.CSharp.New.DoResolve (Mono.CSharp.ResolveContext ec) [0x00000] in <filename unknown>:0
at Mono.CSharp.Expression.Resolve (Mono.CSharp.ResolveContext ec, ResolveFlags flags) [0x00000] in <filename unknown>:0
at Mono.CSharp.Expression.Resolve (Mono.CSharp.ResolveContext ec) [0x00000] in <filename unknown>:0
at Mono.CSharp.Assign.DoResolve (Mono.CSharp.ResolveContext ec) [0x00000] in <filename unknown>:0
at Mono.CSharp.SimpleAssign.DoResolve (Mono.CSharp.ResolveContext ec) [0x00000] in <filename unknown>:0
at Mono.CSharp.Expression.Resolve (Mono.CSharp.ResolveContext ec, ResolveFlags flags) [0x00000] in <filename unknown>:0
at Mono.CSharp.Expression.Resolve (Mono.CSharp.ResolveContext ec) [0x00000] in <filename unknown>:0
at Mono.CSharp.ExpressionStatement.ResolveStatement (Mono.CSharp.BlockContext ec) [0x00000] in <filename unknown>:0
at Mono.CSharp.StatementExpression.Resolve (Mono.CSharp.BlockContext ec) [0x00000] in <filename unknown>:0
at Mono.CSharp.Block.Resolve (Mono.CSharp.BlockContext ec) [0x00000] in <filename unknown>:0
at Mono.CSharp.Block.Resolve (Mono.CSharp.BlockContext ec) [0x00000] in <filename unknown>:0
at Mono.CSharp.ToplevelBlock.Resolve (Mono.CSharp.FlowBranching parent, Mono.CSharp.BlockContext rc, Mono.CSharp.ParametersCompiled ip, IMethodData md) [0x00000] in <filename unknown>:0
what's the meaning from this error?
Please anyone can help me here.
Thanks
$$anonymous$$y first question to try to pinpoint the issue. Have you put any EXE build inside your assets folder? This is the first thing I can think of that would cause internal compiler errors.
Did you ever find out the cause of this error? I also have System.Drawing Version=4.0.0.0 error, and I'm stuck. I can't open monodevelop because of it.
Answer by Landern · Jun 23, 2014 at 12:42 PM
System.Drawing is not supported, please look at the Mono Compatibility listing. Remove the reference from the project.
Ninja Edit: Also make sure you are adding scripting files to your project appropriately, if you happen to pick the wrong template for example in MonoDevelop, you may end up with the wrong set of using statements by default in the class. <-- Just a thought.
As you are literally the only person I've come across in my research on this who knows anything about this in relation to Unity - could I ask you to take a look at my problem as it also involves System.Drawing? I would be enormously appreciative. Specifically that monodevelop is trying to access it and wont open as a result: http://answers.unity3d.com/questions/730919/monodevelop-wont-open-1.html
Your answer
Follow this Question
Related Questions
error CS0016 - Access to the path is denied 1 Answer
Internal Compiler Error caused by Visual Studio project? 0 Answers
Internal Compiler Error 6 Answers
Internal Compiler Error 0 Answers
Internal Compiler Error 1 Answer