M
mp
fwiw I'm a total newb to dotnet. trying to learn by doing. I started with
an app we purchased from an outside consultant(including source code).
Several things about it did not work properly so i'm in the process of
revising. Even with my limited knowlege i saw several things they did that
were not good coding, and have fixed.
but there are other areas I don't know about - i think there are parts of
their code i still have to remove but am working on over time.
my new dll "works" on my machine but i tried to set it up on a co-worker's
machine and get the following error:
Application does not support just-in-time (JIT)
debugging. See the end of this message for details.
************** Exception Text **************
System.Security.SecurityException: That assembly does not allow partially
trusted callers.
at MCS_PCMK.MCS.Init()
at MCS_PCMK.AcadCommands.XBOM()
at Autodesk.AutoCAD.Runtime.CommandClass.InvokeWorker(MethodInfo mi,
Object commandObject, Boolean bLispFunction)
at
Autodesk.AutoCAD.Runtime.CommandClass.InvokeWorkerWithExceptionFilter(MethodInfo
mi, Object commandObject, Boolean bLispFunction)
at Autodesk.AutoCAD.Runtime.PerDocumentCommandClass.Invoke(MethodInfo mi,
Boolean bLispFunction)
at Autodesk.AutoCAD.Runtime.CommandClass.CommandThunk.Invoke()
The action that failed was:
LinkDemand
The assembly or AppDomain that failed was:
MCS_PCMK, Version=1.1.1.0, Culture=neutral, PublicKeyToken=null
The method that caused the failure was:
System.String get_Name()
The Zone of the assembly that failed was:
Intranet
The Url of the assembly that failed was:
file:///S:/Design Team/Support/DotNet/MCSPieceMarker/Release/Mcs_pcmk.dll
I don't appear to have any security settings on that folder that would
prevent access, what else might cause this?
there is lots more in the error report but i didn't know how much to include
here...let me know if more is req'd for a possible answer
thanks
mark
an app we purchased from an outside consultant(including source code).
Several things about it did not work properly so i'm in the process of
revising. Even with my limited knowlege i saw several things they did that
were not good coding, and have fixed.
but there are other areas I don't know about - i think there are parts of
their code i still have to remove but am working on over time.
my new dll "works" on my machine but i tried to set it up on a co-worker's
machine and get the following error:
Application does not support just-in-time (JIT)
debugging. See the end of this message for details.
************** Exception Text **************
System.Security.SecurityException: That assembly does not allow partially
trusted callers.
at MCS_PCMK.MCS.Init()
at MCS_PCMK.AcadCommands.XBOM()
at Autodesk.AutoCAD.Runtime.CommandClass.InvokeWorker(MethodInfo mi,
Object commandObject, Boolean bLispFunction)
at
Autodesk.AutoCAD.Runtime.CommandClass.InvokeWorkerWithExceptionFilter(MethodInfo
mi, Object commandObject, Boolean bLispFunction)
at Autodesk.AutoCAD.Runtime.PerDocumentCommandClass.Invoke(MethodInfo mi,
Boolean bLispFunction)
at Autodesk.AutoCAD.Runtime.CommandClass.CommandThunk.Invoke()
The action that failed was:
LinkDemand
The assembly or AppDomain that failed was:
MCS_PCMK, Version=1.1.1.0, Culture=neutral, PublicKeyToken=null
The method that caused the failure was:
System.String get_Name()
The Zone of the assembly that failed was:
Intranet
The Url of the assembly that failed was:
file:///S:/Design Team/Support/DotNet/MCSPieceMarker/Release/Mcs_pcmk.dll
I don't appear to have any security settings on that folder that would
prevent access, what else might cause this?
there is lots more in the error report but i didn't know how much to include
here...let me know if more is req'd for a possible answer
thanks
mark