Can not save form

I am not able to save my form for some reason.
image

Any ideas?

System.ServiceModel.CommunicationException: An error occurred while receiving the HTTP response to https://...../_vti_bin/FormsDesigner/FDService.svc. This could be due to the service endpoint binding not using the HTTP protocol. This could also be due to an HTTP request context being aborted by the server (possibly due to the service shutting down). See server logs for more details. ---> System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a receive. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   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.ConnectStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.HttpWebRequest.MakeMemoryStream(Stream stream)
   --- End of inner exception stack trace ---
   at System.Net.HttpWebRequest.GetResponse()
   at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
   --- End of inner exception stack trace ---

Server stack trace: 
   at System.ServiceModel.Channels.HttpChannelUtilities.ProcessGetResponseWebException(WebException webException, HttpWebRequest request, HttpAbortReason abortReason)
   at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
   at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
   at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout)
   at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
   at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
   at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

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 FormsDesigner.SharePoint.WebServices.IFDService.PublishForms(Guid listId, String contentTypeId, Guid groupId, Forms forms, String layout)
   at FormsDesigner.SharePoint.WebServices.FDServiceClient.PublishForms(Guid listId, String contentTypeId, Guid groupId, Forms forms, String layout)
   at SuObVeYDfjlEJatGhs.tCnfNSEuN1GIqRxfZ2.<>c__DisplayClass27_0.<SetLayoutAsync>b__0()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at SuObVeYDfjlEJatGhs.tCnfNSEuN1GIqRxfZ2.<SetLayoutAsync>d__27.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at FormsDesigner.ViewModels.DesignerViewModel.<SaveAsync>d__194.MoveNext()

Update. This only happens with the desktop app. In browser (Silverlight) seems to be working.

Dear @jaitsujin,
Did you remove the site URL from the error?
https://...../_vti_bin/FormsDesigner/FDService.svc

Or if this is the original message, did you modify the web.config manually?

Sorry, i had removed the url for privacy concerns. I should have said that

Dear @jaitsujin,
In this case, the issue most likely an invalid SSL certificate. Please, try to enable HTTP to test this.

I think I found the issue. It's working now. I was running low on disk space on C: drive. log files had build up.

1 Like

Sorry i have to pick up this thread one more. Now i'm getting the following error.

Microsoft.SharePoint.Client.ServerUnauthorizedAccessException: Access denied. You do not have permission to perform this action or access this resource.
   at Microsoft.SharePoint.Client.ClientRequest.ProcessResponseStream(Stream responseStream)
   at Microsoft.SharePoint.Client.ClientRequest.ProcessResponse()
   at Microsoft.SharePoint.Client.ClientRequest.ExecuteQueryToServer(ChunkStringBuilder sb)
   at Microsoft.SharePoint.Client.ClientRequest.ExecuteQuery()
   at Microsoft.SharePoint.Client.ClientRuntimeContext.ExecuteQuery()
   at Microsoft.SharePoint.Client.ClientContext.ExecuteQuery()
   at SuObVeYDfjlEJatGhs.tCnfNSEuN1GIqRxfZ2.<>c__DisplayClass27_0.<SetLayoutAsync>b__0()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at SuObVeYDfjlEJatGhs.tCnfNSEuN1GIqRxfZ2.<SetLayoutAsync>d__27.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at FormsDesigner.ViewModels.DesignerViewModel.<SaveAsync>d__194.MoveNext()

I have fill control to the site and list, and also I'm site collection admin.

Any ideas?

Hello @jaitsujin,

Have you changed the Microsoft Account password recently? Try to sign out and sign in using a new password.
image

I just figured it out.
There is a checkbox that needed to be unchecked to log in as a different user.

1 Like