Servername changed, but Login failed

CR2008 full version, VS 2005 Standard (did not come with CR).  Everything works great on dev box, but cannot login to sql server 2000 when I deploy to client site.  I have updated both VS and CR to their latest service packs.  Deployed using the redist instead of merge modules.  Installation went fine.  Application can Read and Update sql data, but when I open the report, it waits a while, then brings up a logon screen.  I added a VerifyDatabase() which replaced the logon screen with this error message:
CrystalDecisions.CrystalReports.Engine.LogOnException: Log on failed...
I'm not changing anything other than the ServerName.  DatabaseName is the same and it's integrated security, so no UserID/Password.  I can't test it on the server because the server is SBS 2000, which CR2008 runtime apparently will not install on.
I went through Mike's Thread (*** Canu2019t Change ServerName or DatabaseName At Runtime In Crystal Report!!!) which I thought would do it, but it didn't.
I'll post my code below.  Note the MessageBox output at the end shows me the correct servername, databasename, and true (integrated security).
ReportDocument crptdocGradeSheet = new ReportDocument();
crptdocGradeSheet.Load(Application.StartupPath + "\\Reports\\GradeSheet.rpt");
TableLogOnInfo crTableLogOnInfo = new TableLogOnInfo();
foreach (Table crTable in crptdocGradeSheet.Database.Tables)
                crTableLogOnInfo = crTable.LogOnInfo;
                crTableLogOnInfo.ConnectionInfo.ServerName = Program.conn.DataSource.ToUpper();
                crTableLogOnInfo.ConnectionInfo.IntegratedSecurity = true;
                crTable.ApplyLogOnInfo(crTableLogOnInfo);
crptdocGradeSheet.VerifyDatabase();
crptdocGradeSheet.SetParameterValue("@ClassKEY", _ClassKEY);
crptdocGradeSheet.SetParameterValue("ClassName", _ClassName);
crptdocGradeSheet.SetParameterValue("InstructorName", _InstructorName);
this.crvGradeSheet.ReportSource = crptdocGradeSheet;
this.crvGradeSheet.Refresh();
            MessageBox.Show(crptdocGradeSheet.Database.Tables[0].LogOnInfo.ConnectionInfo.ServerName.ToString() + "\r\n" + crptdocGradeSheet.Database.Tables[0].LogOnInfo.ConnectionInfo.DatabaseName.ToString() + "\r\n" + crptdocGradeSheet.Database.Tables[0].LogOnInfo.ConnectionInfo.IntegratedSecurity.ToString());
            MessageBox.Show(crvGradeSheet.LogOnInfo[0].ConnectionInfo.ServerName.ToString() + "\r\n" + crvGradeSheet.LogOnInfo[0].ConnectionInfo.DatabaseName.ToString() + "\r\n" + crvGradeSheet.LogOnInfo[0].ConnectionInfo.IntegratedSecurity.ToString());
What am I doing wrong?

Here it is:
Symptom
How do you implement Single Sign On (SSO) using Crystal Reports XI in a Visual Studio .NET web application?
Resolution
====================
NOTE:
This article applies to Crystal Reports XI, Crystal Reports XI Release 2, and Crystal Reports for Visual Studio .NET 2005. The solution will not work in Crystal Reports 10 or lower.
====================
There are two steps to implementing Single Sign On (SSO) using Crystal Reports XI in a Visual Studio .NET web application. The first step has several sub-steps that are outlined in the referenced article.
The required system configuration is explained in a Microsoft white paper. Search for "Troubleshooting_Kerberos_Delegation" at www.microsoft.com.
Within your Visual Studio .NET code, you will need to add code between the section in which report objects are set and the section in which the log on code is set ('if .IntergatedSecurity = False'). The code to add is:
Report.DataSourceConnections(0).IntegratedSecurity = True
See Also
For more information about using integrated and SQL authentication in applications that use the Crystal Reports .NET SDK, please refer to the technical paper Using Integrated and SQL Authentication in .NET Applications.
Ludek

Similar Messages

  • Password is correct but still compain Login failed in C sharp

    Hello,
    I am developing a small tool to collect the performance data and save the data in a central database, as you can see the end servers could be in different domains, the weird thing is the tool is running successfully on our servers in two different domains,
    when run it on the third domain(our new environment), it always complains the login failed error, I found it might be related to the Integrated Security setting in the connection string, if I change it to false, the tool cannot work on all environments, but
    no matter what value I use(SSPI,TRUE,FALSE), it just failed in the new environment, I have tried to use the same login in ODBC/SMSS on this new environment, all working fine, the instance name, database name are correct, everything is correct in program, it
    doesn't work on this new machine.
    My environment is windows 2012 R2 .Net 4.5
    Any ideas? Thanks a million!
    Please see below details:
    using (SqlConnection con = new SqlConnection(@"Data Source=servername;Initial Catalog=dbname;Integrated Security=false;UID=ReportUser;Password=12345678"))
    Log File Viewer:
    Login failed for user 'ReportUser'. Reason: Password did not match that for the login provided. [CLIENT: 10.61.132.101]
    Error: 18456, Severity: 14, State: 8.
    C Sharp exception:
    [12-Dec-2014 15:16:23] Error Message:System.Data.SqlClient.SqlException (0x80131904): Login failed for user 'ReportUser'.    at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
       at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)    at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler,
    SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)    at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet
    bulkCopyHandler, TdsParserStateObject stateObj)    at System.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlistOK)    at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword,
    SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)    at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword,
    Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout)    at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions,
    SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)    at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential
    credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData)    at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions
    options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)    at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool
    pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)    at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal
    oldConnection)    at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)    at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection
    owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)    at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection
    owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)    at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions
    userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)    at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1
    retry, DbConnectionOptions userOptions)    at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)  
     at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry)    at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)    at System.Data.SqlClient.SqlConnection.Open()    at System.Data.SqlClient.SqlBulkCopy.CreateOrValidateConnection(String
    method)    at System.Data.SqlClient.SqlBulkCopy.WriteRowSourceToServerAsync(Int32 columnCount, CancellationToken ctoken)    at System.Data.SqlClient.SqlBulkCopy.WriteToServer(DataTable table, DataRowState rowState)    at ClusterServerMonitor1._0.Program.Main(String[]
    args) ClientConnectionId:5a9db108-fdb4-4164-b539-ae87fd9786c1
    using (SqlConnection con = new SqlConnection(@"Data Source=servername;Initial Catalog=dbname;Integrated Security=SSPI;UID=ReportUser;Password=12345678"))
    [16-Dec-2014 16:29:29] Error Message:System.Data.SqlClient.SqlException (0x80131904): Login failed. The login is from an untrusted domain and cannot be used with Windows authentication.
       at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
       at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
       at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
       at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
       at System.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlistOK)
       at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)
       at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer
    timeout)
       at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
       at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance,
    SqlConnectionString userConnectionOptions, SessionData reconnectSessionData)
       at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
       at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
       at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
       at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
       at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
       at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
       at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
       at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
       at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
       at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry)
       at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
       at System.Data.SqlClient.SqlConnection.Open()
       at ClusterServerMonitor1._0.Program.Main(String[] args)
    ClientConnectionId:a7156d12-ec69-482e-83f6-cfdb30e5bc8d

    There are two different errors from error log.
    Login failed for user 'ReportUser'. Reason: Password did not match that for the login provided. [CLIENT: 10.61.132.101]
    Error: 18456, Severity: 14, State: 8.
    This error indicates that there is invalid password issue.
    [16-Dec-2014 16:29:29] Error Message:System.Data.SqlClient.SqlException (0x80131904): Login failed. The login is from an untrusted domain and cannot be used with Windows authentication.
    see below link:
    http://stackoverflow.com/questions/14170927/login-failed-the-login-is-from-an-untrusted-domain-and-cannot-be-used-with-wind
    Please Mark This As Answer if it solved your issue
    Please Mark This As Helpful if it helps to solve your issue
    Thanks,
    Shashikant

  • In Portal Anonymous mode - Change password option not coming- login fails

    Hi Experts,
         We are having some application which requires login in anonymous mode. When we click the application and give the user id password, it loggs in properly, there is no problem in that.
        But if the password is reset by administrator, then when entering the reset password given by admin it should ask to change the password. This is happening in normal scenario(/irj/portal), but when try the same in anonymous mode(irj/portal/anonymous) where the prompt is from the login required application, then it says login failed instead of giving the change password and confirm password screen.
    Appreciate your help in solving this issue. I hope many would have faced similar situation.
    Thanks
    Yusuf

    Hi Yusuf.
    Do you use a standard or custom login module for your application?
    More likely the used login module does not have a logic that handles such scenario as a change of user's password.
    In this case you need to implement a custom module with a required functionality.
    Best regards,
    Aliaksandr Zhukau

  • Rich Client Login fails from Infoview but works fine if opened from desktop

    Hi Friends,
    When i open WebI Rich Client from my infoview (By changing the preferrance settings in Infoview), it returns an error as "Login Fails" , but if i open the webI Rich Client from my Start->Programs->Business Objects XI 3.0->WebI Rich Client , it works fine. i am not sure why invoking rich client from infoview fails, but the same works fine, if opened directly from the desktop. I have only one user "administrator" Created with no password in the Enterprise.
    Configuration:
    Platform:             Windows Xp
    Type:                  Vertical Installation  (All the servers and Presentation Layer in a single Box)
    Boxi Version:     BOXI 3.0
    Authentication:   BO Enterprise.
    Any help in the regard is appreciated.
    Regards,
    Ram kumar G
    Edited by: Ramkumar Govindasamy on Aug 11, 2009 9:58 AM

    Hi,
    Windows XP is not officially supported for a BOBJ server installation. Can you consider installing BO on a Windows Server machine?
    Have a look prior to the installation at the Support Platforms document for BO XI 3.0. You can find this here:
    [http://service.sap.com/bosap-support]
    Regards,
    Stratos

  • I created a second email account with a password but when I try to get mail for it and I put in password it says login failed. Why? and how do I fix it.

    I created second email account ([email protected]) with a Password but when I try to get mail and enter password, it says "Sending of Password did not succeed. Mail server mail.comcast.net responded: login failed". What am I doing wrong?

    Have you logged on to the webmail account using a browser and enabled either Pop or Imap forwarding for that email address?
    Have you created a mail account in Thunderbird that uses the chosen webmail forwarding option?
    Password - make sure caps lock is not switched - it must be the same password you use to access the webmail account.
    check:
    Tools > account Settings > Server Settings
    username = full email address
    Please post info:
    In Thunderbird
    Help > Troubleshooting information
    click on 'copy text to clipboard'
    paste info in this question
    edit /remove all info on fonts and printers.

  • Reports successfully execute but generate a login failed for user 'sa' err

    I am running Crystal Reports Server XI R2. Classic ASP is used to generate embedded reports within our application. The crystal reports use ODBC to connect to a SQL Server 2005 database. The reports successfully generate in our Classic ASP application. However in SQL Server 2005,  the following error messages are being generated each time a crystal report is ran:
    - Login failed for user 'sa'.
    - Error: 18456, Severity: 14, State: 8.
    We know that we are passing the correct username/password to the crystal reports, becuase they execute successfully.
    It appears that when the report is called, Crystal Reports appears to conect to SQL Server using a username/password that we didn't provide it at execution time, this fails and the SQL Server 'login failed for user' is generated. Then it runs the report using the username/password we provide and it successfully generates a report.
    I have ran Profiler against the SQL Server Database and the 'Login failed for user 'sa' ' errors have a ApplicationName of either 'Seagate Crystal Reports' or 'Crystal Reports'. Therefore I know it is Crystal Reports generating these errors in SQL Server.
    Does anyone have any ideas on how to stop these SQL Server 'Login failed for user 'sa' ' errors being generated?

    What happens if you use Profiler when running the report using Crystal Report Designer?
    If the report is ran through Crystal Report Designer, NO 'Login failed for user' error messages appear in profiler. Everything looks ok when ran in Designer.
    Also, need to know what patch level you are on?
    We are running Crystal Reports Server XI Release 2, Version: 11.5.8.8265
    No additional patchs have been applied since Crystal Reports Server was installed.
    We may try the SA account if one of the connections fail to log on with the credentials you provided. Verify the user you logged on with has rights to all tables.
    The reports were running through our application using the SA account. The SA account has permissions to these tables. The reports do generate results and appear perfectly fine in the application.  The issue is that when our application requests the report from Crystal Reports Server. Crystal Reports Server delivers the correct report to our application. However during the process to generate the report, 'login failed for user 'sa' ' errors are being generated in SQL Server 2005.
    Also, I have tried creating a completely new SQL user called 'crystaluser'. I ran the report using Crystal Report Designer and used the crystaluser logon and saved the report. Then I ran the same report through our application. SQL Profiler will then display 'login failed for user 'crystaluser''. 
    Its seems as though Crystal Reports Server is first executing the report using the default SQL user saved with the report, but is either sending a blank password or no password at all. This generates the 'login failed for user' in SQL Server 2005. But it then uses the SQL username/password my application gives it and successfully generates the report. Of course this is only speculation.

  • I try to log into my user account but I set a master password and everytime I input the password it says login failed any suggestions?

    I am trying to login into my user account but I set a simple masterpassword and everytime I input the password it says login failed. Any suggestions?

    Or is it because I forgot my username?

  • Forget my ipad2 login password.Try many times but still fail. How can i re-start it?

    forget my ipad2 login password.Try many times but still fail. How can
    i re-art it?

    You will have to restore it with the last computer that you synced with in order to restore all of your data. This will tell you how to restore the iPad.
    http://support.apple.com/kb/ht1414

  • I want to borrow my wife's iPad for a trip but have access to my iBooks account. If I change her login access will that mess up her books for the future?

    I want to borrow my wife's iPad for a trip but have access to my iBooks account. If I change her login access will that mess up her books for the future?

    I assume that iBooks is limited in the same way that iTunes and the App store are.  That is, you can only change the AppleID associated with a device once every 90 days.
    http://support.apple.com/kb/ht4627
    So if you log out of the iBook store with her AppleID, and use yours, you will have to wait 90 days before she can use her AppleID with that same device again.

  • Mac App Store login fails, but Apple ID/password is correct.

    OK, I just went to get an App, and login failed repeatedly (5 times). In between, I went to iTunes and opened up my account info, which required login, which worked. Same on iCloud on my browser.
    Now, I go back about 10 minutes later, and now suddenly the Mac App Store login works.
    Weird.

    http://www.apple.com/support/mac/app-store/contact.html?form=account

  • AFP/SMB Login fails on OD Master w/ AD

    I've been trying to get a test server set up in our lab (which will eventually be deployed) that can complete the "magic triangle".
    Server is running 10.5.2, I did a fresh install with Workgroup configuration and after the initial setup, I opened Directory Utility and bound the computer to our AD domain. I set up some groups and computer settings, logged in with a client running 10.4.11 (that was bound to AD first and OD second), and everything appeared to be working. All the MCX settings were working, the user was able to login without issues.
    But now I'm trying to get AFP and/or SMB to work so I can eventually switch to a network home folder. If I use "Connect to Server" to connect to AFP, I get a box that says "Login Failed". No Error messages in the AFP logs. If I use it to connect to SMB, it asks for authentication and then fails when I give it the same info I used to login with. Do I have to do a special step to get these services to "Kerberosize"?
    I've already tried unbinding and rebinding the AD domain on the server and issuing "dsconfigad -enableSSO". I can see all the kerberos realms in klist -ke, and the AFP config file also has the realm listed.
    On the client machine:
    smbclient -L servername
    --enter the password of the currently logged in user
    "NTSTATUS_ACCESSDENIED"
    smbclient //servername/Users -k
    -- get a couple of error messages, one of which says "Server not found in Kerberos database" but I also get a "NTSTATUSOK" message at the end
    The SMB log shows:
    [2008/02/22 12:40:51, 0, pid=440] /SourceCache/samba/samba-187/samba/source/lib/opendirectory.c:opendirectoryuser_auth_and_sessionkey(679)
    dsDoDirNodeAuthOnRecordType gave -14091 [eDSAuthMethodNotSupported]
    [2008/02/22 12:40:51, 0, pid=440] /SourceCache/samba/samba-187/samba/source/auth/authodsam.c:opendirectory_smb_pwd_checkntlmv1(383)
    opendirectoryuser_auth_and_sessionkey gave -14091 [eDSAuthMethodNotSupported]
    [2008/02/22 12:40:51, 0, pid=440] /SourceCache/samba/samba-187/samba/source/auth/pampass.c:smbpamaccount(567)
    smbpamaccount: PAM: User thinkdiff is NOT permitted to access system at this time
    [2008/02/22 12:40:51, 0, pid=440] /SourceCache/samba/samba-187/samba/source/auth/pampass.c:smbpamaccountcheck(784)
    smbpamaccountcheck: PAM: Account Validation Failed - Rejecting User thinkdiff!
    Running out of ideas here. Any help is appreciated.

    I've now tried changing the server to "Connected to a Directory System" and have it bound to my AD. It still won't allow users to login to AFP or SMB (non-Kerberos or with Kerberos). Do I need to edit something in my AD config? Is there a specific log I should be looking at to try to diagnose this problem?
    Any ideas at all are appreciated.

  • Intermittant (not constant) SQL database ShareWebDb login failed events 3760 and 2424

    My Sharepoint 3.0 services that were bundled with SBS 2008 appear to be working fine. Companyweb, etc, all work w/o issue, so I don't want to take violent action, but these errors seem to be accellerating so I would love to know if there is a known
    solution.
    I typically receive the following (these are in reverse time order, latest at the top, just as they appear in the event log):
    Error Event ID: 3760 SQL Database 'ShareWebDb' on SQL Server instance 'np:\\.\pipe\MSSQL$Microsoft##SSEE\sql\query' not found. Additional error information from SQL Server is included below. Cannot open database "ShareWebDb" requested
    by the login. The login failed. Login failed for user 'NT AUTHORITY\NETWORK SERVICE'.
    one second earlier:Error Event ID: 2424 The update cannot be started because the content sources cannot be accessed. Fix the errors and try the update again. Context: Application 'Search', Catalog 'index file
    on the search server Search'
    Information Event ID: 18456 No description, here is the Details:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    <System>
    <Provider
    Name="MSSQL$MICROSOFT##SSEE" />
    <EventID Qualifiers="49152">18456</EventID>
    <Level>0</Level>
    <Task>4</Task>
    <Keywords>0x90000000000000</Keywords>
    <TimeCreated
    SystemTime="2010-11-12T18:35:06.000Z" />
    <EventRecordID>491461</EventRecordID>
    <Channel>Application</Channel>
    <Computer>myserver.mydomain.local</Computer>
    <Security
    UserID="S-1-5-20" />
    </System>
    <EventData>
    <Data>NT AUTHORITY\NETWORK SERVICE</Data>
    <Data>[CLIENT: <named pipe>]</Data>
    <Binary>184800000E000000170000005000450054003300310030005C004D004900430052004F0053004F00460054002300230053005300450045000000070000006D00610073007400650072000000</Binary>
    </EventData>
    </Event>
    Two seconds earlier
    Information Event ID 17137 No description, here is the Details:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    <System>
    <Provider
    Name="MSSQL$MICROSOFT##SSEE" />
    <EventID Qualifiers="16384">17137</EventID>
    <Level>4</Level>
    <Task>2</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated
    SystemTime="2010-11-12T18:35:04.000Z" />
    <EventRecordID>491460</EventRecordID>
    <Channel>Application</Channel>
    <Computer>mysever.mydomain.local</Computer>
    <Security
    UserID="S-1-5-20" />
    </System>
    <EventData>
    <Data>ShareWebDb</Data>
    <Binary>F14200000A000000170000005000450054003300310030005C004D004900430052004F0053004F00460054002300230053005300450045000000070000006D00610073007400650072000000</Binary>
    </EventData>
    </Event>
    I get more 3760 errors than 2424's. However, the
    2424's do seem to usually correspond to a 3760 18456 17137 occurance and the
    3760 are always preceeded by 18456 17137. I was getting one or two sets a day, lately that has increased to 5 or 10.
    I've done a lot of
    web research on Sharepoint Errors 3760 and
    2424 and I see a number of people are experiencing the the same issue. Most of what I've come across for solutions do not apply, since errors are intermittent, not chronic and my public remote URL has already been added
    to BackConnectionHostNames as per:
    http://blogs.technet.com/b/sbs/archive/2009/08/05/sharepoint-services-3-search-event-errors-after-an-sbs-2008-update-rollup.aspx
    I installed the SQL Server Management Studio Express so I could try to track down the permissions on this database. I see the SQL server instance, MYSERVER\Microsoft##ssee, and it shows as running, but when I try to connect to it I get the following
    error: "A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote
    connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) (Microsoft SQL Server, Error: -1)" I'm assuming that is because I don't have access permission for that internal database.
    I don't see any errors in the event log related to failed logins or any errors at all from the SQL server, but there are the time matching informational entries right before the error events and lots of other 17137's and 2803's from MSSQL$Microsoft##ssee

    Thank you Kevin, that does seem to match my symptoms and I have made the change suggested. Just incase that page becomes unreachable by others, here is the part of the page that applies to this:
    Issue:
    =========
    Receive event error 3760 and 6398 on SBS 2008
    Cause:
    ==========
    Issue was caused by incorrect Auto Close option for ShareWebDb database
    Solution:
    ==========
    1. On the SBS 2008 server, click Start -> All Programs -> Microsoft SQL Server 2005, right click SQL Server Management Studio Express and choose run as administrator.
    NOTE: You must run it as administrator to perform steps below.
    2. In the Server Name box, type \\.\pipe\MSSQL$Microsoft##SSEE\sql\query, click connect.
    3. Expand Database node and right click the ShareWebDb then choose properties.
    4. Click Options in the left pane, in the right pane, please check whether the Auto Close option is set to True, if so, please change it to False.

  • Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection

    "[DBNETLIB] Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection"
    After patches applied on patch Tuesday the database reports the above error. 
    All accounts are domain accounts and SQLServer uses Windows auth.
    DCDIAG show no errors
    All servers and DC have been restarted,
    Message in db log confirms the connection is being denied due to trust.
    Event log shows same rejection
    Protocols enabled: named pipes, tcpip, memory
    TESTS:
    PortQry: "
    TCP port 1433 (ms-sql-s service): LISTENING"
    Connect with domain admin accounts works from multiple clients systems to DB.
    Cannot connect with newly created domain admin account
    Can connect if new admin account connect to server in terminal server session and uses UDL wizard or any other tool including isql.
    New standard user also fails to connect.
    NOTES:
    I removed the SSL patch and the IE security update to see if that was an issue.
    ¯\_(ツ)_/¯

    Has someone left the company or has an account of some nature been dropped/replaced?
    Please click "Mark As Answer" if my post helped. Tony C.
    Hi Tony,
    Srry but No.  We just installed the monthly updates.
    I went back and found I had missed removing a patch.  I missed the rollup for Windows Server 2003:
    Event Type: Information
    Event Source: NtServicePack
    Event Category: None
    Event ID: 4382
    Date:  3/12/2015
    Time:  12:26:04 PM
    User:  NETTEST\admin
    Computer: DATA1
    Description:
    Windows Server 2003 KB954920 was removed from your computer, and the previous Windows Server 2003 configuration was restored.
    After I removed that is still didn't work but after about five minutes it started working.
    I guess I ned to report that to MS after I research what might be changed to make the patch work.
    Every time I get stuck and ask for help it seems to be just before I stumble on the solution.
    Thanks for replying.
    Well - maybe this will help someone else.
    Thanks again for replying Tony
    ¯\_(ツ)_/¯

  • Cisco Anyconnect "Login Failed"

    in debug ldap 255, i see this message:
    memberOf: value = CN=L-NOUSA-VPN_Access,OU=Security Groups,OU=NOUSA,OU=PROD,DC=wmh-ag,DC=org
    [378534]                mapped to Group-Policy: value = GroupPolicy_WM-Wisconsin
    [378534]                mapped to LDAP-Class: value = GroupPolicy_WM-Wisconsin
    and
    WM-Wisconsin# show run group-policy GroupPolicy_WM-Wisconsin
    group-policy GroupPolicy_WM-Wisconsin internal
    group-policy GroupPolicy_WM-Wisconsin attributes
     wins-server none
     dns-server value 10.155.17.246
     vpn-tunnel-protocol ssl-client
     default-domain value ABC-ag.org
    and
    WM-Wisconsin# show run tunnel-group WM-Wisconsin
    tunnel-group WM-Wisconsin type remote-access
    tunnel-group WM-Wisconsin general-attributes
     address-pool Anyconnect-pool
     authentication-server-group CA-LDAP-WM-AnyC
     default-group-policy NO_VPN_ACCESS
    tunnel-group WM-Wisconsin webvpn-attributes
     group-alias WM-Wisconsin enable
    When I try to login, it says "Login Failed"
    it is evident from ldap debug that group policy is getting mapped to user, still failed.
    When i change default group policy in tunnel group to GroupPolicy_WM-Wisconsin, it works !  but thats not the way i want....

    this solved he issue:
    group-policy GroupPolicy_WM-Wisconsin attributes
     vpn-simultaneous-con 10

  • Deployment issue - Login failed for user 'NT AUTHORITY\NETWORK SERVICE'

    I am attempting to deploy a site from my development PC to my server. I have no issues running the site on the server using VS2010 Express Web in debug. All page queries are working within the debugger. The connection strings are identical between the PC
    and Server, except the host name.
    connectionString
    ="Data
    Source=SOCIALSERVER;Initial Catalog=Intake_be;Integrated Security=True"
    However, when using the site normally via IIS, the pages containing data access are failing with a permissions problem. The non-data access pages render normally.
    Login failed for user 'NT AUTHORITY\NETWORK SERVICE'
    Looking at the SQL2005 instance via SQL Management Studio, I see security folder with Logins under the Server. NTA\NS is listed as a user login. But, I also see similar folders under each
    of 3 databases. NTA\NS is not listed as a login specific to my target dB.
    My site is for internal (intranet) use only. There is no internet access into my IIS. This is my first deployment into production. I think I only need Windows Authentication but I lack the experience to make a good decision. My goal is to allow domain users
    to access pages that produce read only data. But, I also need controlled access to pages that can modify data. I used the native winform template for ASP.NET 4, which includes some roles based security.
    How do I grant permissions for internal users on the pages that access SQL data? How does that security model work with the native roles based security? i.e.
    add
    name="AspNetSqlMembershipProvider"type="System.Web.Security.SqlMembershipProvider"connectionStringName="ApplicationServices"...
    etc.
    Thanks for your time and patience on this Deployment 101 type issue.
    Kurt

    hi,
    You receive either of these error messages specifically when you use integrated security.
    To resolve you can use one of below.
    Method 1: Programmatically change the security context of the ASP.NET worker process to a user who has the correct SQL Server permissions.
    Method 2: Change the default configuration of ASP.NET so that the ASP.NET worker process starts and runs under the context of a user who has the correct permissions in SQL Server.
    Method 3: Grant the correct permissions in SQL Server so that the ASPNET account (or NetworkService account, for an application that runs on IIS 6.0) has the appropriate access to the required resources.(Go to the Computer Management >> Local User and
    Groups >> Groups >> Right Click and go to properties on IIS_IUSRS >> Add appropriate user.
    Thanx, Mark as answered if you are ok ..

Maybe you are looking for

  • Manipulating Calendar Display

    Hi all, Does anybody know how to produce a link to the calendar where instead of it displaying the current month view (Apex launches it - by default), it launches a month that we specify. Cheers, Glenn

  • RingTone Help

    Hello, Ok according to the iTunes Store Beautiful Girls by Sean Kingston should be ring tone working. But in the Purchased Tab under iTunes Store that song is not popping up with the ringtone icon. A ton of my other songs are popping up with that ico

  • Black bar on left will not go away and covers slides

    WHen we use keynote a black vertical see through bar appeared on left covering the slides. This bar will not disappear and we can't access the individual slides anymore. CAn anyone help please. THanks

  • Aren't some templates included in the CS4 Premier/Encore Package

    These templates would be used for the Flash output and other content produced in Encore.  I have none available to me in Encore.  Are they hidden or not available with the package? Thanks!

  • Cisco 2960x - auto qos voip cisco-phone on access ports

    After configuring "auto qos voip cisco-phone" on a stack of 2960x switches, we later noticed that after a power cycle (config was saved first) it went missing when doing a "show run" from the interface configs, on one of the switches (g1/0/1-48 had i