"An error occured querying a data source" - Web Service connecting to GetUserCollectionFromGroupSupport
I have an infopath form that is getting the error when opening an existing form or creating a new form:-
Warning
An error occurred querying a data source.
Click OK to resume filling out the form. You may want to check your form data for errors.
Hide error details
An error occurred while trying to connect to a Web service.
Correlation ID:7ab6be2c-60e1-4025-be1e-1a2fbe00acd3
So I know its a permission issue because full control users have no problem. I have found a suggestion here suggesting making sure the group has "Who can View Membership to the Group" but that didn't work for me - and
my test user is only a member of one group -
http://sharepoint.stackexchange.com/questions/109488/usergroup-asmx-returns-unauthorized-for-some-groups
How can I get around this without provding users Full Control?
So I fixed this with exactly what I mentioned above by adding "everyone" "Who can View Membership to the Group" permission. My error initially was that I was looking at the incorrect security group.
Similar Messages
-
An error occurred querying a data source - with REST services
Hi,
I have a SharePoint 2013 form library library with an info-path form. I need to get the logged in user's 'Display Name' on my form load automatically.
I used REST service to fetch the current user details. In the preview mode of the form, its showing the right name. But when I publish this form to library I am getting the following error.
REST Service --> http://site url/_api/SP.UserProfiles.PeopleManager/GetMyProperties
Please help me to resolve this issue.
Thanks in advance for your time and reply :)Hi,
According to your post, my understanding is that an error occurred querying a data source with REST services.
It is defiantly permission issue with GetUserProfileByName service
and could be many reasons of this problem. You first try with UDCX file and make sure that UPS is running.
Here are some similar threads for your reference:
http://social.technet.microsoft.com/Forums/en-US/b8c668ea-7511-4657-a1a8-08fb4a6bd53d/info-path-an-error-occurred-querying-a-data-source?forum=sharepointcustomizationprevious
http://social.technet.microsoft.com/Forums/en-US/46866ac2-da09-4340-a86a-af72cbb2c8d7/info-path-an-error-occurred-querying-a-data-source-?forum=sharepointcustomization
http://blogs.msdn.com/b/russmax/archive/2012/08/17/want-to-call-sharepoint-2010-web-services-within-browser-based-infopath-2010-forms.aspx
Best Regards,
Linda Li
Linda Li
TechNet Community Support -
Error occurred querying a data source in office 365.
I have created a simple infopath form and in one of my dropdown box i am receiving the REST services.
when i run the infopath form 2013 in preview it was running good but when i upload it on to office 365 cloud it's showing me error. i had converted the services into UDL and save it on Data connection Library and it's approved.
Warning
Click OK to resume filling out the form. You may want to check your form data for errors.
The entry has been added to the Windows event log of the server.
log ID:5566
Correlation ID:feb08a9c-9d47-30f5-5d89-60340242d6d1.Hi,
According to your post, my understanding is that you got error when querying a data source in office 365.
Per my knowleadge, we cannot connect to SharePoint Web Services from InfoPath Forms within SharePoint Online.
Loopback protection is enabled on the SharePoint Online environment and will block calls to SOAP and REST from InfoPath Form Services.
For more information, you can refer to:
Error message when you connect an InfoPath form to a SharePoint Online web service: "An error occurred while connecting to a Web Service"
As a workaround, to look up data for some dropdowns from several external REST Web Services, we need to have a Data Connection library in your Site Collection in which to store the UDCX files.
The steps seem to be:
Create a Data Connection Library in your Site Collection
In the InfoPath ribbon, go to Data, then Data Connections. Your existing data connections should be listed.
Choose the data connection which is hosted on a different domain.
Clink the
Convert to Connection File… button
In the location selector, specify the path to the Data Connection Library you created above.
Leave the
Relative to site collection (recommended) radio button selected.
Click OK
Here is a great blog for your reference:
InfoPath 2013 Forms on Office365 with External REST DataSources
Best Regards,
Linda Li
Linda Li
TechNet Community Support -
Using InfoPath and the Web service GetUserProfileByName-An error occurred accessing a data source
Hi, Everyone,
I want to realize the function that when user fills out the infopath form the form can automatically get current users' name and I've searched that I can use the Web service GetUserProfileByName method. When I preview the form it is all right, however, when
I fill the form online, it occurs this error as folllowing. Anyone knows why and how to solve this problem?
Thanks forward!
Warning
An error occurred querying a data source.
Click OK to resume filling out the form. You may want to check your form data for errors.
Hide error details
An error occurred while trying to connect to a Web service.
An entry has been added to the Windows event log of the server.
Log ID:5566
Correlation ID:9c23d39c-18fa-1025-c7ec-600a1582a54aHi,
According to your post, my understanding is that you get error when using the Web service GetUserProfileByName in InfoPath.
Have the InfoPath form template call web service in code? If yes, please see following KB and check if it is the cause.
http://support.microsoft.com/kb/981684
You can also
follow the steps in the article to resolve this error in InfoPath. Please refer to:
Auto Populate User Information in InfoPath with Claims Based Authentication in SharePoint – Part 2 of 3
In addition, you need to disable the Loopback check.
Here is a similar thread for your reference:
https://social.technet.microsoft.com/Forums/en-US/d6d20308-a5d0-45fa-881d-0626c68c4e73/infopath-an-entry-has-been-added-to-the-windows-event-log-of-the-server-logid-5566?forum=sharepointcustomizationprevious
Best Regards,
Linda Li
Linda Li
TechNet Community Support -
An error occurred accessing a data source.
Hi,
I have seen many posts talking about this error but still i am facing the same issue. The process i have followed is:
1) created infopath form with receive data connection to SQL DB with plain username/pwd
2) placed the repaeating table of receive dataconnection, form has full trust
3) converted the dataconnection to udcx and stored it in data connection library of site collection
4) published the form for admin approval, and as i am the admin i have uploaded it and activated it
5) approved the dataconnection
6) i have modified the infoath settings to use SQL authen, data connection files , cross domain
But still i am getting this error:
An error occurred accessing a data source.
An entry has been added to the Windows event log of the server.
Log ID:6932
Regards,
Amarnath.
Regards, Amar.hi,
I have found below log:
DataAdapterException, Exception Message: The database returns an error. Failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key constraints.)
but i am receiving data only here is my query:
SELECT [Service Request],[Task Order],COUNT(*) as TotalTestCases,SUM(CASE WHEN [Status] = 'Completed' THEN 1 ELSE 0 END) AS Completed,
SUM(CASE WHEN [Status] = 'Blocked' THEN 1 ELSE 0 END) AS Blocked,SUM(CASE WHEN [Status] not in('Completed','Blocked') THEN 1 ELSE 0 END) AS InProgress FROM
DashBoardView where SRStatus = 'Active' group by [Service Request],[Task Order]
is my calculated columns is giving error? but when i run my wuery its giving correct output
Regards, Amar. -
Error occured for the data source 0uc_isu_27
Error when updating Idocs in Source System
Diagnosis
Errors have been reported in Source System during IDoc update:
Incomplete control parameter for commmunication wi
Hi everybody,
At the time of loading data in to the BW side for the datasource i got an error message.Actually in the source system this data source is extracting the data records. But in the BW side it is giving error. Please help me on this issue. Here i am mentioned the error message actually i got...
System response
There are IDocs with incorrect status.
Procedure
Check the IDocs in Source System . You can get here using the BW Monitor.
Removing errors:
How you remove the errors depends on the error message you receive.Hi Dinesh,
I observed at R/3 side it is showing the error
Error message text:
Incomplete control parameter for communication with the BW system
status text:
Application document not posted
Coming to BW side it is giving at RSRQST:
IDOC sent to R/3 system or external program
Status text:
IDOC sent to R/3 system or external program
Thanks
Satya -
Error creating a new Data Source for Oracle connection
I'm trying to create a new data source connection to our
Oracle 10gR2 server using ColdFusion Administrator 6.1 Standard on
a Windows 2003 server.
I created a System DSN ODBC connection for Oracle. I can use
the ODBC connection when connecting an Access db to Oracle but when
I try to use it w/ ColdFusion Admin it generates the following
error message:
Connection verification failed for data source: sitest2
[]java.sql.SQLException: [Macromedia][SequeLink JDBC
Driver][ODBC Socket]internal error:
Driver's SQLAllocHandle on SQL_HANDLE_ENV failed
The root cause was that: java.sql.SQLException:
[Macromedia][SequeLink JDBC Driver][ODBC Socket]internal error:
Driver's SQLAllocHandle on SQL_HANDLE_ENV failed
Any help or recommendations would be greatly appreciated.
TinaThe schema/user is system and the password is alpha-numeric, upper/lower case, no special char ...
As a workaround I was able to add the password to the entry in the datasources.xml file and restarted BI Pub.
The JDBC is working ... I can test the connection successfully ... just wont save the entry
Edited by: tread on Oct 17, 2011 11:55 AM -
Error occured while Adding a reference Web Service(BizTalkServer2009_Tutorial2)
Hi,
I was going through the Biztalk tutorials. While doing the second tutorial of web service I got stuck while adding reference to the Web Service.
Steps I did:
Add service reference(by right clicking my project) --> Advanced --> Add Web Reference --> URL : http://localhost/b2bsupplierprocesspo/process.asmx
But somehow this URL is not accesible over there. I got following error:
Please suggest/guide me on this.
Thanks, Girish R. Patil.The error clearly states the reason for failure, being "CS0016: Could not write to output file ..... ..... - Access is denied."
The directory in question is the "C:\Windows\Microsoft.Ner\Framework\v2.0.50727\Temporary ASP.NET Files". So two things
Does the tutorial mention that the Web Service should be hosted under a .Net V2.0 Application Pool? If so then please give "Full Control" permissions to the above directory for the BizTalk Service Accounts (which also should be part of your "BizTalk Isolated
Host Users" Group.
If not then the service has to be hosted in a .Net v4.0 app pool. Change the Application Pool Settings through IIS Manager and give permissions to a similar folder (Temporary ASP.Net) but under the Framework\V4.0.... directory.
Regards. -
"Unable to load URL" - SQL Server 2005 DB Web Service Connection
Hi ,
I am using XCelsius version 5.0.0.99 to create dashboards connecting to SQL Server 2005.
Find below the details of the steps -
1. Created a web service within SQL Server 2005 database.
2. Copied the WSDL URL.
3. In XCelsius 2008 -> Data Manager -> Web Service Connection, pasted the URL in the WSDL URL input box and clicked "Import" to import the methods. At this point I am getting "Unable to load URL" .
Am I missing any step ?
Any suggestion would be highly appreciated.
Note : I have tested the web service by using it in a ASP.Net project and works fine.
Thanks
ChitraHi,
Error :unable to Load URL occurs" because Crystal xcelsius only support single schema web service created from Query as a web service and Flynet tool available in xcelsius 2008.
The reason:
All the web service create from Sql 2005 ,PHP script produced multiple scehma web service and crystal xcelsius only support single schema web service which can be created from Query as a web service or Flynet.
Please revert in case of any queries.
Regards
Kekti Fadnavis -
Hello there,
I have an Excel report I created which works perfectly fine on my dev environment, but fails on my test environment when I try to do a data refresh.
The key difference between both dev and test environments is that in dev, everything is installed in one server:
SharePoint 2013
SQL 2012: Database Instance, SSAS Instance, SSRS for SharePoint, SSAS POWERPIVOT instance (Powerpivot for SharePoint).
In my test and production environments, the architecture is different:
SQL DB Servers in High Availability (irrelevant for this report since it is connecting to the tabular model, just FYI)
SQL SSAS Tabular server (contains a tabular model that processes data from the SQL DBs).
2x SharePoint Application Servers (we installed both SSRS and PowerPivot for SharePoint on these servers)
2x SharePoint FrontEnd Servers (contain the SSRS and PowerPivot add-ins).
Now in dev, test and production, I can run PowerPivot reports that have been created in SharePoint without any issues. Those reports can access the SSAS Tabular model without any issues, and perform data refresh and OLAP functions (slicing, dicing, etc).
The problem is with Excel reports (i.e. .xlsx files) uploaded to SharePoint. While I can open them, I am having a hard time performing a data refresh. The error I get is:
"An error occurred during an attempt to establish a connection to the external data source [...]"
I ran SQL Profiler on my SSAS Server where the Tabular instance is and I noticed that every time I try to perform a data refresh, I get the following entries:
Every time I try to perform a data refresh, two entries under the user name ANONYMOUS LOGON.
Since things work without any issues on my single-server dev environment, I tried running SQL Server Profiler there as well to see what I get.
As you can see from the above, in the dev environment the query runs without any issues and the user name logged is in fact my username from the dev environment domain. I also have a separated user for the test domain, and another for the production domain.
Now upon some preliminary investigation I believe this has something to do with the data connection settings in Excel and the usage (or no usage) of secure store. This is what I can vouch for so far:
Library containing reports is configured as trusted in SharePoint Central Admin.
Library containing data connections is configured as trusted in SharePoint Central Admin.
The Data Provider referenced in the Excel report (MSOLAP.5) is configured as trusted in SharePoint Central Admin.
In the Excel report, the Excel Services authentication settings is set as "use authenticated user's account". This wortks fine in the DEV environment.
Concerning SecureStore, PowerPivot Configurator has configured it the PowerPivotUnnattendedAccount application ID in all the environments. There is
NO configuration of an Application ID for Excel Services in any of the environments (Dev, test or production). Altough I reckon this is where the solution lies, I am not 100% sure as to why it fails in test and prod. But as I read what I am
writing, I reckon this is because of the authentication "hops" through servers. Am I right in my assumption?
Could someone please advise what am I doing wrong in this case? If it is the fact that I am missing an Secure Store entry for Excel Services, I am wondering if someone could advise me on how to set ip up? My confusion is around the "Target Application
Type" setting.
Thank you for your time.
Regards,
P.Hi Rameshwar,
PowerPivot workbooks contain embedded data connections. To support workbook interaction through slicers and filters, Excel Services must be configured to allow external data access through embedded connection information. External data access is required
for retrieving PowerPivot data that is loaded on PowerPivot servers in the farm. Please refer to the steps below to solve this issue:
In Central Administration, in Application Management, click Manage service applications.
Click Excel Services Application.
Click Trusted File Location.
Click http:// or the location you want to configure.
In External Data, in Allow External Data, click Trusted data connection libraries and embedded.
Click OK.
For more information, please see:
Create a trusted location for PowerPivot sites in Central Administration:
http://msdn.microsoft.com/en-us/library/ee637428.aspx
Another reason is Excel Services returns this error when you query PowerPivot data in an Excel workbook that is published to SharePoint, and the SharePoint environment does not have a PowerPivot for SharePoint server, or the SQL Server Analysis
Services (PowerPivot) service is stopped. Please check this document:
http://technet.microsoft.com/en-us/library/ff487858(v=sql.110).aspx
Finally, here is a good article regarding how to troubleshoot PowerPivot data refresh for your reference. Please see:
Troubleshooting PowerPivot Data Refresh:
http://social.technet.microsoft.com/wiki/contents/articles/3870.troubleshooting-powerpivot-data-refresh.aspx
Hope this helps.
Elvis Long
TechNet Community Support -
Error occured in the data selection while extract data from Source system
Hello Friends
i am facing Problem while extracting data to Biw System from SAP R/3 system
The error mesage is 'Error occured in the data selection '
i.e. Monitoring - Details tab - Extraction - With errorHi
The delta wil take the Last init selection for loading data in to the BW...
Did u check the IP at the Update tab is it the correct delta only.. or its a full..
better to go to the RSA3 and check the extractor in the Delta mode .. if u give ur delta mode it automatically takes the selction options.. so please try in RSA3..
regards
CK
PS: CHECK THE INIT SELECTIONS TOO or do an init with outdatatransfer and perform the delta...
Message was edited by:
BW Star -
Anyone can help with the below issue please? Much appreciated.
We have about 2k+ messages in sys.transmission_queue
Telnet to the ports 4022 is working fine.
Network connectivity has been ruled out.
The firewalls are OFF.
We also explicitly provided the permissions to the service account on Server A and Server B to the Service broker end points.
GRANT
CONNECT ON
ENDPOINT <broker> <domain\serviceaccount>
Currently for troubleshooting purposes, the DR node is also out of the Availability Group, which means that we right now have only one replica the server is now a traditional cluster.
Important thing to note is when a SQL Server service is restarted, all the messages in the sys.transmission queue is cleared immediately. After about 30-40 minutes, the errors are continued to be seen with the below
The
connection was
closed by the
remote end,
or an
error occurred while
receiving data:
'64(The specified network name is no longer available.)'We were able to narrow down the issue to an irrelevant IP coming into play during the data transfer. We tried ssbdiagnose runtime and found this error:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Windows\system32>SSBDIAGNOSE -E RUNTIME -ID 54F03D35-1A94-48D2-8144-5A9D24B24520 Connect to -S <SourceServer> -d <SourceDB> Connect To -S <DestinationServer> -d <DestinationDB>
Microsoft SQL Server 11.0.2100.60
Service Broker Diagnostic Utility
An internal exception occurred: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
P 29830 Could not find the connection to the SQL Server that
corresponds to the routing address tcp://XX.XXX.XXX.199:4022. Ensure the tool is connected to this server to allow investigation of runtime events
The IP that corresponds to routing address is no where configured within the SSB. We are yet unsure why this IP is being referred despite not being configured anywhere. We identified that this IP belongs to one of nodes other SQL Server cluster, which has
no direct relation to the source server. We failed over that irrelevant SQL Server cluster and made another node active and to our surprise, the data from sys.transmission_queue started flowing. Even today we are able to reproduce the issue, if we bring
back this node [XX.XXX.XXX.199] as active. Since, its a high business activity period, we are not investigating further until we get an approved downtime to find the root cause of it.
When we get a approved downtime, we will bring the node [XX.XXX.XXX.199] as active and we will be running Network Monitor, Process Monitor and the SSB Diagnose all in parallel to capture the process/program that is accessing the irrelevant IP.
Once, we are able to nail down the root cause, I will share more information. -
I have set-up an ECT in SPD2013 on SP2013. It is a SQL Data source called ProjectWebApp. I have BCS/SSS set-up. I can create an ECT OK in SPD. I can add the ECT to a custom list.
The problem is when I add a new item in the list the following error message appears in red
An error occurred while retrieving data from ProjectWebApp. Administrators, see the server log for more information
I cannot filter or return any results. There is data in the DB.
Another test I do is to try and create a new App/List using the "External List" template. When
I select the ECT a red message appears "External Content Types are not available". which is odd since I can add an ECT to a list as mentioned above.
Any ideas?
Tx
Andrew
Andrew PayzeHi Andrew,
Please try the option Allow unlimited length in document libraries in the column settings:
http://littletalk.wordpress.com/2011/08/18/external-content-type-an-error-occurred-while-retrieving-data-from-a-system-administrators-see-the-server-log-for-more-information/
If it doesn't help, please refer to the link below and raise the External content type Read List operation thresholds:
http://lightningtools.com/bcs/business-connectivity-services-end-user-implications-part-one-threshold-limit-errors/
Please provide error message in ULS log for further troubleshooting.
Regards,
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected] .
Rebecca Tu
TechNet Community Support -
Error occurred in the data selection,If i do Repeat, then it is working fin
Hi Freinds,
Here is the error message,
Error message from the source system
Diagnosis
An error occurred in the source system.
System Response
Caller 09 contains an error message.
Further analysis:
The error occurred in Extractor .
Refer to the error message.
Procedure
How you remove the error depends on the error message.
Note
If the source system is a Client Workstation, then it is possible that the file that you wanted to load was being edited at the time of the data request. Make sure that the file is in the specified directory, that it is not being processed at the moment, and restart the request.
Details Tab:
Extraction (messages): Errors occurred
Error occurred in the data selection ....
If i do Repeat Delta, then it is working fine.
As it is a daily load, manually repeating the load from the past 10 days.
Have tried using program RS_TRANSTRU_ACTIVATE_ALL.
Any inputs pls.....Hi Friends,
Thanks for your valuable inputs, Problem is solved.
The Reason is that, there is a time difference in the r/3 system and bi system.
The tolerable time differene shud be only 60 seconds.
Basis guys took down time at the OS level and hav made the timers sync.....
The problem is on the source system GNP time differences
persists, which can cause the problem with delta upload .
Universal Time Coordinated UTC....: 1291187626
Date and time of database.........: 01.12.2010 12:46:59
Date and Time of R/3-Kernel.......: 01.12.2010 12:43:46
Date and Time of ABAP-Processor...: 01.12.2010 12:46:58
ABAP Time zone Setup ..............: 19800
Date and Time / local time ........: 01.12.2010 12:43:46
This leads to an exception of the delta processing, because this
tolerates a deviation of 60 seconds only (When the repeat is processed,
the "local time" in the ABAP is higher than the qrfc counter at the time when the delta was processed -> So a repeat works fine).
Please synchronize the timers like described in attached note 101726 and 741734 to eliminate the time difference .
With Regards
Badri Thiriveedhi. -
Error: An error occurred while skipping data rows
I am constantly getting error message “Error: An error occurred while skipping data rows”. Here is my scenario:
I am pulling data from a text flat file which is Vertical Bar {|} delimited. My data source files naturally come without headers (no column names on first row). So what I did to bypass
this is –
I used a control file to supply the header names when I developed my package. This control file’s column names have corresponding column order used in the data source files.
I then added an expression to my Flat File Connection Manager so that the system should automatically pick up new incoming files (files without headers).
Now when I try to run my package I am receiving “Error: An error occurred while skipping data rows”. Could this be due to the fact that the system is expecting the column names which I
entered when I developed the package while this new file does not have any headers, or could it be something different? There is very little information on the internet about this kind of error message. The only meaningful information that I have found is
from the link below but unfortunately the case explained there is not the same as my situation.
http://social.msdn.microsoft.com/forums/sqlserver/en-US/a790460b-9ef5-482b-b219-f55c05fa30d3/error-occured-while-skipping-data-rows
I’m also aware that one can get the same error if the specified delimiter type on their package is different from the one on the flat file. Still that is not the case in my situation. Can
someone please kindly help me troubleshoot this.
Many thanks,
MpumeleloI have managed to address my problem. I did not have to manually enter some nearly 2000 column names by hand. Here is what I have done. I will explain it in detail for the benefit of those who might face the same problem but have no answers on how to work
around it.
I have maintained the column names from the control file because it was important for me to do this in the interest of some data flow components further down the pipeline. It therefore means that my package Flat File Source components have column names
on both the External Column and Output Column sides.
When I configured the Flat Files Source component using the control file I left the option “Column names in the first row” ticked as shown in the picture below. This is the default selection from Microsoft.
I then went to my flat file connection manager; right clicked it and selected “Properties” to get something like shown below. You will notice that property “ColumnNamesInFirstRow” is down as “True” because when configuring my flat file manager I left
that selection ticked. To address my problem I changed property “ColumnNamesInFirstRow” from “True” to “False” and saved my package. This means that during runtime the package will not use the first row as column names but will use the already predefined
column names which I entered from the control file. Please note that selecting the option of not using the first row as column names should be done from the Properties selection instead of the Flat File Source component. Changing this property from the Flat
File Source component automatically changes all the metadata whereas doing this from the Properties selection leaves the metadata on the Flat File Source component unchanged.
Mpumelelo
Maybe you are looking for
-
my daughter's itunes library is on a computer that now has a broken usb port. can she view her library and download from my computer? is so, how?
-
Is there a limit of words for shortcuts on the iphone?
I'm having a problem with the shortcuts on my iphone. I had a bunch of shortcuts and since i had too many it started to rarely worked. Is there a limit or something? Now the option for shortcuts is still available. But only to add and when i try to s
-
How Do You Fix A 205 error on Install?
I keep getting a 205 error (see this) when trying to run the creative cloud installer. The trouble shooting is next to useless in telling me the cause and how to fix it - as its gibberish to me. https://helpx.adobe.com/creative-cloud/kb/troubleshoot-
-
One sender File to Multiple CC scenario
Hi, Iam working on simple file to file Scenario in that iam using One sender file to multiple Receiver Communication Channel,plz help me out
-
How to Create New Maintenance Order using IP30 against the deleted one
Dear Sir, We have an equipment having Monthly Maintenance Schedule . Using IP30 , we had generated Maintenance Order for next 3 months (i.e Jan / Feb / March ) . Due to some change in the Task List , We decided to Delete these earlier generated Main