Avatar of KevinA123
KevinA123
Flag for Canada asked on

Infopath 2010 form on Sharepoint 2010 unable to save validatioin errors

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!
InfoPath

Avatar of undefined
Last Comment
KevinA123

8/22/2022 - Mon
melli111

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)
melli111

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.
KevinA123

ASKER
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?
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
KevinA123

ASKER
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...
ASKER CERTIFIED SOLUTION
KevinA123

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
KevinA123

ASKER
Removed Required Fields and complete