Exception Message: The form cannot connect to the data source. Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'

When opening a form in SharePoint 12013 that was created from Infopath 2013, I get the following error.
You do not have permissions to access a database that contains data required for this form to function correctly.
An entry has been added to the Windows event log of the server.
Log ID:5566
When I go to the log files on the SharePoint server. I see the following error.
Exception Message: The form cannot connect to the data source. Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'
I am guessing this has something to do with the UDCX connection and the database.
Can anyone help me get this fixed?

Hi Jim,
Please check the following kb article when it occurs 5566errro with the UDCX conection file, try the method of using the Secure Store Service to store alternate credentials for the data connection method, or the method of stating the credentials
in the UDC file explicitly.
Also check if it could help with setting sql server as "SQL Server and Windows Authentication mode".
http://support.microsoft.com/kb/981684
Thanks
Daniel Yang
TechNet Community Support

Similar Messages

  • Linked Server : The old "Login failed for users "NT Authority\Anonymous Logon" issue

    Two SQL Servers: SQL Server 2008 sp3 and SQL Server 2014We are transitioning from 2008 to 2014.  We have need of some linked servers whilst this is ongoing.
    We've used them before, and indeed I set them up quite easily or so I thought.
    On the 2014 server, I can test the connection and everything ok.  If I logon to the linked server instance (ie the 2008 server) on the 2014 server, and connect to 2014 server, and test, I get the Error: 18456 Login failed error message.
    If I create a linked server on any instances of the 2008 server pointing to the 2014 server, no problems whatsoever going in that direction.
    Note that I'm selecting "Be made using the login's current security context"
    The 2008 sql server services is using a domain account as it's logon, whereas the 2014 server is using Managed Service Accounts.
    I've checked the SPN's and they all seem to be set ok.
    I then thought that perhaps there was an inconsistency with the Managed Service Account not being recognised (although does work when actually on the 2014 server).  I then changed (using Sql Server config manager) the account being used for the MSSQLSvc
    from the managed service account to the same account used by the 2008 sql server.  This seems to have produced a certain degree of success.  I can now test the connection from my local ssms and the 2008 server and these work ok for the most part. 
    I presumed I had a workaround and did further testing, however it doesn't always seem to run true.  This could of course be due to me not taking the same steps to reproduce the original workaround.
    This is effectively a transient condition as eventually we won't need the linked servers, however, they are needed for at least the next 2-3 months.
    Could anyone help explain the nature of this problem and where I'm going wrong?
    Regards
    Ian

    Hello,
    In addition to what Ashwin has asked (though the anonymous error message kind of gives it away):
    It does sound (I know you have you checked, but SPNs can be tricky devils) like an SPN issue or delegation issue
    The first thing I would point you to is the Kerberos Checking Tool for SQL Server. It's pretty new but in my testing it's been very accurate. Download, run it, and check the output:
    http://www.microsoft.com/en-us/download/details.aspx?id=39046
    Secondly, I would point you to this entry (yes, made by me):
    http://www.seangallardy.com/2014/05/using-kerberos-with-sql-server-part-1-double-hop/
    The reason why it works when you login from the 2008 server or the 2014 server and go to either or is because you're not double-hopping. You're local to the server, there is no delegation involved.
    Sean Gallardy | Blog
    MCM 2008
    MCSM:Data Platform Charter Member

  • Receiving error message "Login failed for user 'NT AUTHORITY\SYSTEM'" every minute on server which is the mirror

    Hello,
    I have 2 SQL Server 2008 R2 machines that are configured with database mirroring (using certificates as authentication), there is no witness configured.  My issue is that the mirror server is receiving at least one of the below pared messages every
    second and filling up my sql error log quickly.
    SYSTEM is the service account user for the MSSQLSERVER service. 
    [298] SQLServer Error: 4060, Cannot open database "<databasename>" requested by the login. The login failed. [SQLSTATE 42000]
    [298] SQLServer Error: 18456, Login failed for user 'NT AUTHORITY\SYSTEM'. [SQLSTATE 28000]
    The database has a status of: Affected database state is: Mirror, Synchronized/Restoring...
    When I checking the database mirror monitor, it shows that its mirroring ok and everything has green checkboxes.
    Is there a way to stop all these errors being logged, I'm assuming this isn't normal.
    Marcus

    Yes i have faced the same issues and tried everything and nothing was using this account, system was ended up with creating few GB's sql error log files everday.. and finally i had two options, 1 -- Rebuild the instance completely 2. Change the SQL Server
    Audit settings to Only successful logins and restart the instance.. ( May be your current sql server level Audit setting is set to Failed & Successful logins..
    Remeber my server was a DR so I have changed the SQL Server Audit settings to only Successful logins.. but production servers we will monitor both... :)
    Raju Rasagounder Sr MSSQL DBA

  • System.Data.SqlClient.SqlException: Cannot open database "MSCRM_CONFIG" requested by the login. The login failed. Login failed for user 'NT AUTHORITY\SYSTEM

    Dear ALL 
    After successfully shifting the CRM from 2011 to 2013 i found a problem in Reporting section none of the report is working after some finding i conclude that MSCRM_FetchDataSource is not able to connect successfully 
    Through my report manager i tried to test the connection of MSCRM_FetchDataSource but i got the following error 
    System.Data.SqlClient.SqlException: Cannot open database "MSCRM_CONFIG" requested by the login. The login failed. Login failed for
    user 'NT AUTHORITY\SYSTEM'. 
    I already add the NT Authority \ System as a db_owner under my database user of MSCRM_CONFIG
    But still no success any one have any idea why it's happaning 
    Regards 
    RB

    I found a solution I hope my post will help other
    I gave the  db_owner to 'NT AUTHORITY\SYSTEM' and 'NT AUTHORITY\NETWORK' and assigned with both CRM and Config database
    It resolved my issue
    RB

  • BCS - Message from External System : 'Login failed for user 'NT AUTHORITY\IUSR'.'.

    Hello,
     I have create a an external content type .
     I Choose "Connect with user's Identity".
     I create a external list that uses the ExternalContentType.
     When I try open the external list from browser by User "TestUser" . I get the following error "Message from External System : 'Login failed for user 'NT AUTHORITY\IUSR'.'"
       My Question :
           I need to know why pass the credential "NT AUTHORITY\IUSR" to connect to the data base not the
            current log in"TestUser" ?  How Can I solve it ?
            Thanks
             Hema
    ASk

    Hi,
    did you configure Kerberos delegation?
    NTLM fails when you try to open external list from client computer, because SharePoint cannot pass user's identity - "Double Hop" issue.
    Take a look at confguring Kerberos for SharePoint 2010 white paper
    Download Configuring Kerberos Authentication for Microsoft SharePoint 2010 Products from Official Microsoft Download Center
    http://www.microsoft.com/en-us/download/details.aspx?id=23176
    Robi MCT Kompas Xnet d.o.o. Ljubljana | blog: http://xblogs.kompas-xnet.si | website: http://www.kompas-xnet.si
    Slovenia
    Please vote if you find reply useful or mark it as answer.
    Thank you

  • Unable to connect to XL Reporter.  Login failed for user 'xlruser'

    Hi,
    I have one user getting the following error when starting XLR in 2005:
    Unable to connect to XL Reporter.  Login failed for user 'xlruser'
    I have done a clean uninstall of XLR on the client but the message still appears on starting the add-on
    Greig

    Check this SAP Note: 847981 Unable to connect to XLR after installation
    [https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/smb_searchnotes/display.htm?note_langu=E&note_numm=847981]

  • "Form cannot connect to the server" -- what to do?

    Although 90+% of our users can submit FormsCentral forms just fine, some get stuck after hitting "Submit" and see an Adobe error page saying the form cannot connect to the server.  We love FormsCentral because our non-profit has limited technical capability ... what should we do or tell the user to do in these cases?
    Thanks!

    For those users with problems submitting, do you know what browser version and operating system they are using?  Does your form contain any file attachment fields?  Can you provide a link to your form?  If you do not want provide this information in the forum, you can send it as an email using the Actions panel on the right.
    -DevRandy

  • My iPad works perfectly except when trying to update apps.  Then I get a message that says "Cannot connect to the iTunes store."

    My iPad works perfectly except when trying to update apps.  Then I get a message that says "Cannot connect to the iTunes store."

    Try logging out of your account on the iPad by tapping on your id in Settings > Store and then log back in and see if it then works.
    If that doesn't solve it then what has worked for some people is going into Settings > General > Date & Time and change the date to a few months in the future and then re-trying

  • I get a message that my ipad and iphone cannot connect to the iTunes store. I have tried to sync books to my iPad and iphone and i get the message that I cannot connect to the iTunes store and thus cannot sync a book to my books app. Why?

    I get a message that my ipad 2 and iphone 5 cannot connect to the itunes store when I try to sync a book to my book app. Although, when I click "store" both are able to access the itunes store. Why is this? Also I tried to open a book that was synced and a message that I did not have enough memory to load this book popped up--when I know that I have well over 40gb of memory left in my ipad and over 16gb left in my iphone. The message that I cannot connect to the itunes store is strange that it offers no option and I have to hit OK to get out and use my ipad or iphone.

    Try logging out of your account on the iPad by tapping on your id in Settings > Store and then log back in and see if it then works.
    If that doesn't solve it then what has worked for some people is going into Settings > General > Date & Time and changing the date to a few months (or maybe a year or two) in the future and then re-trying

  • My mini iPad will not connect to the internet. Getting a message that it cannot connect to the server.  What is this and how do I fix it?

    My mini iPad suddenly will not connect to the internet or retrieve my email.  I'm getting an error message that says "cannot connect to the server".  How do I fix this?

    Nevermind.  I found the answer from someone else's question.  Thank you.

  • HT1420 I am trying to rent a movie on my Apple TV and I keep getting the error message "Apple TV cannot connect to the server"  What can I do to correct this problem?

    Why does my Apple TV keep giving me the message "Apple TV cannot connect to the server" when I try and rent a movie to watch?

    Hello dprice3885,
    Thanks for using Apple Support Communities.
    Take a look at the Wi-Fi troubleshooting since you can access the network but not the content.
    Apple TV: Basic troubleshooting
    http://support.apple.com/kb/HT6106
    Apple TV (2nd and 3rd generation): Troubleshooting Wi-Fi networks and connections
    http://support.apple.com/kb/TS4546
    Have a nice day,
    Mario

  • Every device (iphone4, iphone4s, ipad2) I try to hook up to iTunes gives me a message "this device cannot connect because the apple mobile device service is not setup" does anyone have ideas as to why it keeps popping up? It just started doing this.

    Every device (iphone4, iphone4s, ipad2) I try to hook up to iTunes gives me a message "this device cannot connect because the apple mobile device service is not setup" does anyone have ideas as to why it keeps popping up? It just started doing this.

    I'd start with the following document with that one:
    iPhone, iPad, iPod touch: How to restart the Apple Mobile Device Service (AMDS) on Windows

  • I am getting the message that icloud cannot connect to the server

    Suddenly I am getting the message that iCloud cannot connect to the server.

    I have the same problem. Did you solve it already?

  • HT201269 I am trying to connect my iPhone to the cloud but when it asks me to agree to the new terms and conditions I click agree andI get a message stating it cannot connect to the server.

    I am trying to connect my iPhone to the cloud but when it asks me to agree to the new terms and conditions I click agree andI get a message stating it cannot connect to the server.

    Apple servers are currently down at the moment.  Try back later or wait until Apple resolves the issue.

  • The system cannot connect to the Application Server

    Hello Everybody,
    I have a problem when connecting to my BPC Application.
    I get the following error when trying to open BPC:
    "The system cannot connect to the (http://xxxxxx) Application Server. Verify that you have specified a valid Application server name, or see if the  application  server is unavailable at this time."
    We have to reboot the application server to have acces again to the application.
    The osoft website was also unavailable.
    The server diagnosotic was OK.
    And when consulting the tblLogs table I found this message:
      ==============[System Error Tracing]==============
      [System  Name] : ApplicationService  [Message Type] : ErrorMessage  [Job Name]     : OSoft.Services.Webservice.ApplicationService.ApplicationService.Query()  [DateTime]     : 1/3/2011 4:27:35 PM  [UserId]       : GROUPE\Deshors  [Exception]       DetailMsg  : {System.NullReferenceException: Object variable or With block variable not set.     at Microsoft.VisualBasic.CompilerServices.Symbols.Container.InvokeMethod(Method TargetProcedure, Object[] Arguments, Boolean[] CopyBack, BindingFlags Flags)     at Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateGet(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack)     at OSoft.Services.Webservice.ApplicationService.ApplicationService.ValidateUser()     at OSoft.Services.Webservice.ApplicationService.ApplicationService.Query(String strQueryType, String strParameter, String strContext, String strSecurity)}
    ==============[System Error Tracing  End ]============== 
      ==============[System Error Tracing]==============
        [System  Name] : Configuration  [Message Type] : ErrorMessage  [Job Name]     : ServerDefault.GetValue  [DateTime]     : 1/3/2011 4:40:08 PM  [UserId]       :   [Exception]       DetailMsg  : {System.Exception: Cannot create ActiveX component.     at Microsoft.VisualBasic.Interaction.CreateObject(String ProgId, String ServerName)     at OSoft.Services.Application.Configuration.ServerDefault.GetValue(String strKeyId)} 
    ==============[System Error Tracing  End ]============== 
    Any help?
    Thank you in advance.

    Hi expert,
    Unfortunately, we still encounter the issue !!
    We get Unhandled exceptions in the W3WP.EXE process, but the IIS logs do not show anything wrong.
    Here is the Windows event warning message we get :
    Event code: 3005
    Event message: An unhandled exception has occurred.
    Event time: 1/31/2011 11:43:11 AM
    Event time (UTC): 1/31/2011 10:43:11 AM
    Event ID: 0295c38777734029a3cec37ec035fa45
    Event sequence: 8
    Event occurrence: 1
    Event detail code: 0
    Application information:
        Application domain: /LM/W3SVC/1/ROOT/OSoft-1-129409441580590866
        Trust level: Full
        Application Virtual Path: /OSoft
        Application Path: C:\PC_MS\Websrvr\Web\
        *Machine name: **************
    Process information:
        Process ID: 4323
        Process name: w3wp.exe
        Account name: NT AUTHORITY\NETWORK SERVICE
    Exception information:
        Exception type: Exception
        Exception message: Invalid UserID
    Request information:
        Request URL: http://localhost/Osoft/Launch.aspx
        Request path: /Osoft/Launch.aspx
        User host address: ::1
        User:*******\Administrator
        Is authenticated: True
        Authentication Type: Negotiate
        Thread account name: NT AUTHORITY\NETWORK SERVICE
    Thread information:
        Thread ID: 12
        Thread account name: NT AUTHORITY\NETWORK SERVICE
        Is impersonating: False
        Stack trace:    at Microsoft.VisualBasic.CompilerServices.Symbols.Container.InvokeMethod(Method TargetProcedure, Object[] Arguments, Boolean[] CopyBack, BindingFlags Flags)
       at Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateGet(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack)
       at OSoft.Consumers.ZFP.WebBase.Utility.GetLastUserApp(CPMUser& mUser, String strAppServerURL, String strSecurity, String strContext, Boolean bServerPathReset)
       at OSoft.Consumers.ZFP.WebBase.PageBase.Page_Init(Object sender, EventArgs e)
       at System.EventHandler.Invoke(Object sender, EventArgs e)
       at System.Web.UI.Control.OnInit(EventArgs e)
       at System.Web.UI.Page.OnInit(EventArgs e)
       at OSoft.Consumers.ZFP.WebBase.PageBase.OnInit(EventArgs e)
       at System.Web.UI.Control.InitRecursive(Control namingContainer)
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    Thanks in advance for your help
    Lionel

Maybe you are looking for