TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Sujeet Suman
388
4.1k
1.5m
WCF run time exception.
Nov 8 2016 4:01 AM
I am getting below error logged in log file.
Can any body hep me to come out.
Log file exception text:
<TraceRecord xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord" Severity="Error">
<TraceIdentifier>http://msdn.microsoft.com/en-IN/library/System.ServiceModel.ServiceOperationExceptionOnReply.aspx</TraceIdentifier>
<Description>Replying to an operation threw a exception.</Description>
<AppDomain>DriveServerService.vshost.exe</AppDomain>
<Source>System.ServiceModel.Dispatcher.ImmutableDispatchRuntime/37425289</Source>
<Exception>
<ExceptionType>System.Runtime.Serialization.InvalidDataContractException, System.Runtime.Serialization, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType>
<Message>Type '
System.Collections.ArrayList+SyncArrayList
' is an invalid collection type since it does not have a default constructor.</Message>
<StackTrace> at System.Runtime.Serialization.CollectionDataContract.GetValidContract(SerializationMode mode)
at System.Runtime.Serialization.DataContract.GetDataContract(RuntimeTypeHandle typeHandle, Type type, SerializationMode mode)
Reply
Answers (
2
)
Easy way to disable the mustUnderstand attribute?
User defined type Collection need to add in ServiceKnownType