Solved

Infopath 2010 form on Sharepoint 2010 unable to save validatioin errors

Posted on 2010-11-09
6
1,044 Views
Last Modified: 2012-05-10
Hey Experts,

I have a Sharepoint 2010 server running on Server 2008. We have a list that has a custom form created using infopath for editing and new creations.

The problem appeared after a server restart.

Users can no longer create a new item in the list when they do they get this error:

The form contains the following errors:

Field or group: my:Author
Error: Cannot be blank

When I try and preview it in infopath2010 it also does the same thing but provides a more detailed error:

Infopath cannot submit the form because it contatains validation errors that are not in the current view. Errors are marked with a red astrick or red dashed boarder.

If you cannot find an error in otherviews, there might be a problem with the forms design.

I checked all thru the form for my:Author field and can't find it on the page as a control or in the list of fields. Any recommendations?

Thanks!
0
Comment
Question by:KevinA123
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
6 Comments
 
LVL 15

Expert Comment

by:melli111
ID: 34095880
I had this same issue... it was due to a Microsoft SharePoint update that did not complete properly (it thought it completed, but it upgraded the wrong databases).  Do you use the SharePoint "GetUserProfileByName" web service as a secondary data connection to pull in the "Authors" name?  If so, this is probably you're culprit.  As a quick fix I switched by secondary data connection to use the Shared Service Providers web service (you would just need to change the web service in the existing datasource, you shouldn't have to change any rules in the form)
0
 
LVL 15

Expert Comment

by:melli111
ID: 34095935
P.S. here's an example url to change it to:
http://servername:12345/ssp/admin/_vti_bin/userprofileservice.asmx?WSDL 
*I also needed to give my users *read* access to this to allow them to use the service when opening a new form.
0
 

Author Comment

by:KevinA123
ID: 34096530
HI Melli111,

Hey so most of your first comment went over my head... i'm not a developer by trade and i'm new to infopath.

so in my infobath datafields i have the created by field?

I'm sorry could you provide me a bit more instruction?
0
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 

Author Comment

by:KevinA123
ID: 34096570
also of note, that i deleted my exisiting form completely off the server. Recreated a brand new one with only 3 fields and it reported the same error...
0
 

Accepted Solution

by:
KevinA123 earned 0 total points
ID: 34096898
Found the solution, very simple.... I had the Created By Field set as required. But it could not be populated because it was not able to be created.
0
 

Author Closing Comment

by:KevinA123
ID: 34130258
Removed Required Fields and complete
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Before you can digitally sign infopath forms, you must have a digital certificate. Microsoft Certificate Services will need to be enabled on a Windows Server 2008 to facilitate the creation and verification of the digital certifciates on the web ser…
Configuring Remote Assistance for use with SCCM
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question