Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

VOC very unstable when running multiple Invite created using workflow (time-out issue?)

Posted on by 456

Hi VOC users (or time-out experts in CRM Online)!

I love new VOC features (and hope this module is not ditched during transition to Dynamics 365 as expected to Dynamics Marketing). But I find the the module very unstable and have nowhere to search for help (i.e. I also can't get the Clone feature to work).

I use VOC as survey tool to ask for an internship evaluation after the end date. This means workflows waiting for an date, and boom - then shoot out the Survey through email.

The workflow creates a VOC Survey Activity, and then send out the link in an e-mail formatted nicely (after 7 days it resend the e-mail with the same answer if no answer).

BUT way too often the workflow stops as failed during the creation of the Survey Activity (see the error below - its always the same error also across various customers, where I have implemented the solution. This only happens if I trigger the workflow on multiple records - it's like it doesn't like to create multiple Survey Activities. 

Does anyone have a clue why this error happens and how to solve it (if it is timeout issues - can this be edited in CRM Online?).

HELP ARE REALLY APPRECIATED!!

/Henrik
WIKAP.DK

PS: I have added a random amount of minutes to the date(s) where the survey e-mail creation is triggered (using scribe), and this helps a lot, but we still see a lot of issues - but if you face same problem, this is a trick worth trying.

Plugin Trace:

[Microsoft.Xrm.Sdk.Workflow: Microsoft.Xrm.Sdk.Workflow.Activities.CreateEntity]
[CreateStep18: Opret Surveyinvitation - Kontaktperson v.VOC]


[Microsoft.Crm.Surveys.Plugins.Merged: Microsoft.Crm.Surveys.Plugins.InvitationPlugin]
[56352915-bf2d-e211-a2df-00155d230e13: Microsoft.Crm.Surveys.Plugins.InvitationPlugin: Create of msdyn_surveyinvite]
crmemeavoc1designer.crm4.dynamics.com/.../401e6dcc-d911-4efe-92ca-a12d1c1da7f4
Der kunne ikke oprettes forbindelse til serveren:System.Net.WebException: The underlying connection was closed: A connection that was expected to be kept alive was closed by the server. ---> System.IO.IOException: Unable to read data from the transport connection: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
at System.Net.Security._SslStream.StartFrameHeader(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security._SslStream.StartReading(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security._SslStream.ProcessRead(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security._SslStream.Read(Byte[] buffer, Int32 offset, Int32 count)
at System.Net.TlsStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetrievedStream, Boolean probeRead)
--- End of inner exception stack trace ---
at System.Net.WebClient.UploadDataInternal(Uri address, String method, Byte[] data, WebRequest& request)
at System.Net.WebClient.UploadString(Uri address, String method, String data)
at Microsoft.Crm.Surveys.Plugins.InvitationPlugin.GetSlug(Guid activityId, VocPluginContext vocPluginContext)
Exception: System.Xml.XmlException: Data at the root level is invalid. Line 1, position 1.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlReader.MoveToContent()
at System.Xml.XmlReader.ReadStartElement()
at Microsoft.Crm.Surveys.Plugins.InvitationPlugin.GetSlug(Guid activityId, VocPluginContext vocPluginContext)
at Microsoft.Crm.Surveys.Plugins.InvitationPlugin.ExecutePluginLogic(VocPluginContext vocPluginContext)
at Microsoft.Crm.Surveys.Plugins.BasePlugin.Execute(IServiceProvider serviceProvider)


Error Message:

Unhandled Exception: Microsoft.Xrm.Sdk.InvalidPluginExecutionException: System.Xml.XmlException: Data at the root level is invalid. Line 1, position 1.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlReader.MoveToContent()
at System.Xml.XmlReader.ReadStartElement()
at Microsoft.Crm.Surveys.Plugins.InvitationPlugin.GetSlug(Guid activityId, VocPluginContext vocPluginContext)
at Microsoft.Crm.Surveys.Plugins.InvitationPlugin.ExecutePluginLogic(VocPluginContext vocPluginContext)
at Microsoft.Crm.Surveys.Plugins.BasePlugin.Execute(IServiceProvider serviceProvider)

*This post is locked for comments

  • Suggested answer
    RE: VOC very unstable when running multiple Invite created using workflow (time-out issue?)

    Hi Henrik,

    This is a known bug and will be fixed in 8.1.1 (CRM 2016 SP1 UR1).

    The issue is not present in 8.2.0 (CRM 2016 SP2 AKA December update).

    Regards,

    Ciprian

  • wikap.dk Profile Picture
    wikap.dk 456 on at
    RE: VOC very unstable when running multiple Invite created using workflow (time-out issue?)

    We continue to get this error message a lot - anyone that have any ideas?

    I.e. can you increase some time out values in CRM Online, that might help?

    Answers are really appreciated!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans