Skip to main content
added 3 characters in body
Source Link
Marko Milic
  • 8.9k
  • 3
  • 24
  • 60
  • I tried the 'Log on As...' option but that didn't help.

  • I checked some other StackExchangeStack Exchange posts but couldn't find the same situation.

  • I added the following section to the web.config in Tridion/templating directory (after a suggestion offrom Nuno)

  • I also added the "typeFilterLevel=Full"typeFilterLevel=Full setting to the TcmTemplateBuilder.exe.config
  • I tried the 'Log on As...' option but that didn't help.

  • I checked some other StackExchange posts but couldn't find the same situation.

  • I added the following section to the web.config in Tridion/templating directory (after a suggestion of Nuno)

  • I also added the "typeFilterLevel=Full" setting to the TcmTemplateBuilder.exe.config
  • I tried the 'Log on As...' option but that didn't help.

  • I checked some other Stack Exchange posts but couldn't find the same situation.

  • I added the following section to the web.config in Tridion/templating directory (after a suggestion from Nuno)

  • I also added the typeFilterLevel=Full setting to the TcmTemplateBuilder.exe.config
added 47 characters in body
Source Link

update: ticket is @SDL R+D team right now

update: ticket is @SDL R+D team right now

added extra info
Source Link

In the Event Viewer I see the following error:

Type System.Runtime.Remoting.ObjRef and the types derived from it (such as System.Runtime.Remoting.ObjRef) are not permitted to be deserialized at this security level. Component: CompoundTemplateWebService Errorcode: 0 User: NT AUTHORITY\NETWORK SERVICE StackTrace Information Details: Server stack trace: at System.Runtime.Serialization.FormatterServices.CheckTypeSecurity(Type t, TypeFilterLevel securityLevel) at System.Runtime.Serialization.Formatters.Binary.ObjectReader.ParseObject(ParseRecord pr) at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.ReadObjectWithMapTyped(BinaryObjectWithMapTyped record) at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run() 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.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, IMethodCallMessage methodCallMessage) at System.Runtime.Remoting.Channels.CoreChannel.DeserializeBinaryRequestMessage(String objectUri, Stream inputStream, Boolean bStrictBinding, TypeFilterLevel securityLevel) at System.Runtime.Remoting.Channels.BinaryServerFormatterSink.ProcessMessage(IServerChannelSinkStack sinkStack, IMessage requestMsg, ITransportHeaders requestHeaders, Stream requestStream, IMessage& responseMsg, ITransportHeaders& responseHeaders, Stream& responseStream) Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at Tridion.ContentManager.Templating.Debugging.DebuggerRemoteRunner.Ping() at Tridion.ContentManager.Templating.Debugging.Debugger.GetRemoteDebugger(String userName, String webServiceDirectory) at Tridion.ContentManager.Templating.Debugging.Debugger.StartNewDebugger(String compoundTemplateUri, String compoundTemplateContent, String itemUri, String packageContents, Boolean preview, String publicationTargetUri, String userName, Boolean logTridionClasses, TraceEventType logLevel) at Tridion.ContentManager.Templating.Debugging.Debugger.StartNewDebuggerForItemUri(String compoundTemplateUri, String compoundTemplateContent, String itemUri, Boolean preview, String publicationTargetUri, String userName, Boolean logTridionClasses, TraceEventType logLevel) at Tridion.ContentManager.Templating.WebService.CompoundTemplateWebService.StartDebuggingWithItemUri(String compoundTemplateId, String compoundTemplateXml, String itemId, Boolean includeSystemLog, TraceEventType logLevel) 

What I already tried:

template builder web.config

Update 06-02-2016

  • I also added the "typeFilterLevel=Full" setting to the TcmTemplateBuilder.exe.config

I am really convinced that is has to do with the TypeFilter setting because the following line in the event viewer:

System.Runtime.Serialization.FormatterServices.CheckTypeSecurity(Type t, TypeFilterLevel securityLevel)

What I already tried:

template builder web.config

In the Event Viewer I see the following error:

Type System.Runtime.Remoting.ObjRef and the types derived from it (such as System.Runtime.Remoting.ObjRef) are not permitted to be deserialized at this security level. Component: CompoundTemplateWebService Errorcode: 0 User: NT AUTHORITY\NETWORK SERVICE StackTrace Information Details: Server stack trace: at System.Runtime.Serialization.FormatterServices.CheckTypeSecurity(Type t, TypeFilterLevel securityLevel) at System.Runtime.Serialization.Formatters.Binary.ObjectReader.ParseObject(ParseRecord pr) at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.ReadObjectWithMapTyped(BinaryObjectWithMapTyped record) at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run() 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.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, IMethodCallMessage methodCallMessage) at System.Runtime.Remoting.Channels.CoreChannel.DeserializeBinaryRequestMessage(String objectUri, Stream inputStream, Boolean bStrictBinding, TypeFilterLevel securityLevel) at System.Runtime.Remoting.Channels.BinaryServerFormatterSink.ProcessMessage(IServerChannelSinkStack sinkStack, IMessage requestMsg, ITransportHeaders requestHeaders, Stream requestStream, IMessage& responseMsg, ITransportHeaders& responseHeaders, Stream& responseStream) Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at Tridion.ContentManager.Templating.Debugging.DebuggerRemoteRunner.Ping() at Tridion.ContentManager.Templating.Debugging.Debugger.GetRemoteDebugger(String userName, String webServiceDirectory) at Tridion.ContentManager.Templating.Debugging.Debugger.StartNewDebugger(String compoundTemplateUri, String compoundTemplateContent, String itemUri, String packageContents, Boolean preview, String publicationTargetUri, String userName, Boolean logTridionClasses, TraceEventType logLevel) at Tridion.ContentManager.Templating.Debugging.Debugger.StartNewDebuggerForItemUri(String compoundTemplateUri, String compoundTemplateContent, String itemUri, Boolean preview, String publicationTargetUri, String userName, Boolean logTridionClasses, TraceEventType logLevel) at Tridion.ContentManager.Templating.WebService.CompoundTemplateWebService.StartDebuggingWithItemUri(String compoundTemplateId, String compoundTemplateXml, String itemId, Boolean includeSystemLog, TraceEventType logLevel) 

What I already tried:

template builder web.config

Update 06-02-2016

  • I also added the "typeFilterLevel=Full" setting to the TcmTemplateBuilder.exe.config

I am really convinced that is has to do with the TypeFilter setting because the following line in the event viewer:

System.Runtime.Serialization.FormatterServices.CheckTypeSecurity(Type t, TypeFilterLevel securityLevel)

added 237 characters in body
Source Link
Loading
Source Link
Loading