Adding Database copy failed

Dear Exchange 2013 users,
We have exchange environment of version in 2013.
We have main site and DR site. Adding database copy has failed in DR site.
The following getting.
error
EMPDB3
The seeding operation failed. Error: An error occurred while running prerequisite checks. Error: The specified database isn't configured for replication and therefore cannot be used to perform seed operations. [Database: EMPDB3, Server: SRVINFDRMBX01.x.x.x]
Kindly help how can resolve this issue.
Ashraf

Hi Ashraf,
Thank you for your question.
This issue may occur because the Add-MailboxDatabaseCopy cmdlet utilizes different DC’s (Domain Controllers) in different parts of the task and the DC’s may inconsistent due to site replication delay.
We could refer to Hinte's advice to force AD replication. We could refer to the following link:
http://support.microsoft.com/en-us/kb/2464273
Notice: although this is link about Exchange 2010, it is adapt for Exchange 2013.
If there are any questions regarding this issue, please be free to let me know. 
Best Regard,
Jim
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]
Jim Xu
TechNet Community Support

Similar Messages

  • Exchange Add Mailbox Database Copy fails.

    I'm recovering from a server failure on my Exchange System and while I've been able to rebuild the server an integrate it into the Exchange System and the DAG. When I attempt to replicate any of the databases, it fails. It creates a directory on the new Exchange server in the right place, but the database isn't there and I get the following error:--------------------------------------------Summary: 1 item(s). 0 succeeded, 1 failed.Elapsed time: 00:00:23AM.ScottFailedError:A source-side operation failed. Error An error occurred while performing the seed operation. Error: Failed to open a log truncation context to source server 'FRANKLIN2.domain.com'. Hresult: 0x80070057. Error: An unexpected error occurred. Error (0x80070057).. [Database: AM.Scott, Server: FRANKLIN0C.domain.com]Failed to open a log truncation context to source server...
    This topic first appeared in the Spiceworks Community

    Hi Belinda,
    Thanks for the response. I am holding off on using Eseutil or Isinteg for now as I may have finally found the problem.
    I was reading another forum yesterday where someone else was getting many of the same errors and everyone responding was telling them the same thing, to check the database as it seemed to have some corruption. Then there was one post at the very bottom where
    a guy said he had the same problems but found it was an incompatibility with Exchange 2010 and the Windows Serve Backup Command-line Tools for Server 2008. He removed the Command-line Tools and the problem was resolved. Since we do not use the Windows Serve
    Backup, we use Backup Exec, I decided to give it a try. I removed the Command-line Tools and reseeded the database. It has been running since about 12:30 PM yesterday with no errors at all. I'm not claiming victory yet as I stated in my original post that
    it has at times run for up to 5 days before failing. I will monitor it for the next week and  keep my fingers crossed that the issue has been resolved. I will report back if it fails before then and if not I will consider the issue resolved and post to
    the thread. 
    If this does in fact turn out to be the solution it is just another instance of Microsoft dropping the ball as I was only able to find this mentioned once on their website in a thread about Exchange logs not truncating. I would find it rather annoying their
    Server backup software is incompatible with their Mail program and even more annoying that they have not acknowledged the issue. I have been fighting this for months and only found the solution by a stroke of luck. I will update accordingly.
    Many thanks,
    Gerard

  • DAG 2013SP1: adding the database copy

    Hello!
    After adding DAG members (according to http://exchangeserverpro.com/exchange-2013-dag-database-copies/) I was going to add a database copy to the DAG (as per this explanation: http://exchangeserverpro.com/exchange-2013-dag-database-copies/) but failed to
    find "Add database copy command":
    Thank you in advance,
    Michael

    Hi,
    Please use the Add-MailboxDatabaseCopy command to add a mailbox database copy to check result.
    Please check the application log to see if there is any related error message.
    Best regards,
    If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Belinda Ma
    TechNet Community Support

  • Mailbox Database Copy Status Failed

    We have 2 Exchange 2010 servers.  We run a DAG.  Recently I have noticed that database copy DB2 which is located on Exch-1 is showing "Failed".  Database copy DB1 which is located on Exch-2 is showing Healthy.  I searched online
    for information regarding the issue with the failed database copy.  I found information that led me to run these commands.
    Suspend-MailboxDatabaseCopy -Identity “Mailbox Database XXXXX\Server Name”
    Update-MailboxDatabaseCopy -Identity “Mailbox Database XXXXX\Server Name” -DeleteExistingFiles
    It went thru the seeding process and completed but the database copy still shows "Failed".  Copy Q Length is 19.  I have refreshed the console.  What else do I need to do to correct this?  I did recently shut down Exch-2 server
    for maintenance.  thanks

    Hi,
    It's glade to hear the good news. Thanks for your updating.
    Best regards,
    Belinda
    Belinda Ma
    TechNet Community Support

  • SQL 2012 Copy Database Wizard fails

    I am trying to use the Copy Database Wizard in SQL Server 2012
    The host is running SQL Server 2000 (8.00.2066 (SP4)) on a Windows 2003 server
    The destination is SQL Server 2012 running on Windows Server 2012 Standard.
    Its gets to Execute SQL Server Agent Job and fails with this error:
    The job failed. Check the event log on the destination server for details
    Fails at – Execute SQL Server Agent Job
    I've looked at the application log and not sure which errors are relevant. Here are two of them:
    the first is an error, the second a warning.
    Log Name:      Application
    Source:        SQLISPackage110
    Date:          1/9/2015 11:39:24 AM
    Event ID:      12291
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          NT SERVICE\SQLSERVERAGENT
    Computer:      SQL2013
    Description:
    Package "CDW_SQL_SQL2013_7" failed.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="SQLISPackage110" />
        <EventID Qualifiers="16385">12291</EventID>
        <Level>2</Level>
        <Task>0</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2015-01-09T16:39:24.000000000Z" />
        <EventRecordID>456924</EventRecordID>
        <Channel>Application</Channel>
        <Computer>SQL2013</Computer>
        <Security UserID="S-1-5-80-344959196-2060754871-2302487193-2804545603-1466107430" />
      </System>
      <EventData>
        <Data>CDW_SQL_SQL2013_7</Data>
      </EventData>
    </Event>
    Log Name:      Application
    Source:        SQLSERVERAGENT
    Date:          1/9/2015 11:39:26 AM
    Event ID:      208
    Task Category: Job Engine
    Level:         Warning
    Keywords:      Classic
    User:          N/A
    Computer:      SQL2013
    Description:
    SQL Server Scheduled Job 'CDW_SQL_SQL2013_7_1' (0xDFA5EEDDB2D53A4FB3C7CED04563896E) - Status: Failed - Invoked on: 2015-01-09 11:39:18 - Message: The job failed.  The Job was invoked by User VGBtR3r0WgKjvthk.  The last step to run was step 1 (CDW_SQL_SQL2013_7_1_Step).
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="SQLSERVERAGENT" />
        <EventID Qualifiers="16384">208</EventID>
        <Level>3</Level>
        <Task>3</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2015-01-09T16:39:26.000000000Z" />
        <EventRecordID>456927</EventRecordID>
        <Channel>Application</Channel>
        <Computer>SQL2013</Computer>
        <Security />
      </System>
      <EventData>
        <Data>CDW_SQL_SQL2013_7_1</Data>
        <Data>0xDFA5EEDDB2D53A4FB3C7CED04563896E</Data>
        <Data>Failed</Data>
        <Data>2015-01-09 11:39:18</Data>
        <Data>The job failed.  The Job was invoked by User VGBtR3r0WgKjvthk.  The last step to run was step 1 (CDW_SQL_SQL2013_7_1_Step).</Data>
      </EventData>
    </Event>
    Any ideas would be appreciated. I'm anxious to retire this old SQL 2000 server!
    Mike

    Thanks David.
    is this the log you are looking for:
    Date  1/9/2015 11:39:18 AM
    Log  Job History (CDW_SQL_SQL2013_7_1)
    Step ID  1
    Server  SQL2013
    Job Name  CDW_SQL_SQL2013_7_1
    Step Name  CDW_SQL_SQL2013_7_1_Step
    Duration  00:00:08
    Sql Severity 0
    Sql Message ID 0
    Operator Emailed 
    Operator Net sent 
    Operator Paged 
    Retries Attempted 0
    Message
    Executed as user: NT Service\SQLSERVERAGENT. Microsoft (R) SQL Server Execute Package Utility  Version 11.0.2100.60 for 64-bit  Copyright (C) Microsoft Corporation. All rights reserved.    Started:  11:39:18 AM  Progress:
    2015-01-09 11:39:18.61     Source: sql_SQL2013_Transfer Objects Task      Task just started the execution.: 0% complete  End Progress  Error: 2015-01-09 11:39:24.50     Code: 0x00000000    
    Source: sql_SQL2013_Transfer Objects Task      Description: An error occurred while transferring data. See the inner exception for details.  StackTrace:    at Microsoft.SqlServer.Management.Smo.Transfer.TransferData()    
    at Microsoft.SqlServer.Dts.Tasks.TransferObjectsTask.TransferObjectsTask.TransferExtraObjectsViaSmoTransfer()  InnerException-->The specified schema name "INFORMATION_SCHEMA" either does not exist or you do not have permission to use it. 
    StackTrace:    at System.Data.SqlClient.SqlConnection.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.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite)     at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1
    completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)     at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()     at Microsoft.SqlServer.Management.Smo.Transfer.ExecuteStatements(SqlConnection
    destinationConnection, IEnumerable`1 statements, SqlTransaction transaction)     at Microsoft.SqlServer.Management.Smo.Transfer.TransferData()  End Error  Progress: 2015-01-09 11:39:24.50     Source: sql_SQL2013_Transfer
    Objects Task      Database transfer failed for one or more extra objects.: 0% complete  End Progress  Progress: 2015-01-09 11:39:24.50     Source: sql_SQL2013_Transfer Objects Task     
    Transfer objects finished execution.: 100% complete  End Progress  Warning: 2015-01-09 11:39:24.52     Code: 0x80019002     Source: CDW_SQL_SQL2013_7      Description: SSIS Warning
    Code DTS_W_MAXIMUMERRORCOUNTREACHED.  The Execution method succeeded, but the number of errors raised (1) reached the maximum allowed (1); resulting in failure. This occurs when the number of errors reaches the number specified in MaximumErrorCount. Change
    the MaximumErrorCount or fix the errors.  End Warning  DTExec: The package execution returned DTSER_FAILURE (1).  Started:  11:39:18 AM  Finished: 11:39:24 AM  Elapsed:  6.062 seconds.  The package execution failed. 
    The step failed.
    I will also look into backup/restore. Will that work between 2000 and 2012?

  • Database copy seeding fails

    Hi,
    I am trying to add a mailbox database copy from server1 to server2. Every time after seeding the status of the second copy is shown as 'Failed'. In the event log i can see one error message as given below :
    The required log file 374413 for BInew\EX02 is missing on the active copy. If you removed the log file, please replace it. If the log file is lost, the database copy will need to be reseeded using Update-MailboxDatabaseCopy.
    I have tried reseeding many times both from console and shell.
    Update-MailboxDatabaseCopy -Identity "Binew\EX02" -DeleteExistingFiles
    Is this the reason for the replication getting failed.I have never deleted any log file from server1.
    Please help!

    Hello,
    You may run the following cmdlets one by one:
    Suspend-MailboxDatabaseCopy <databaseName>\<ReplicaServerName>
    Update-MailboxDatabaseCopy <databaseName>\<ReplicaServerName> -SourceServer <ActiveServerName> -DeleteExistingFiles:$True
    Resume-MailboxDatabaseCopy <databaseName\<ReplicaServerName>
    Regards from ExchangeOnline.in|Windows Administrator Area | Skype:[email protected]

  • Fail to add mailbox database copy

    Hello,
    When I am trying to add a mailbox database copy in DAG, I receive the following error:
    error
    The seeding operation failed. Error: An error occurred while performing the seed operation. Error: Failed to notify source server 'mbx1.domain.local' about the local truncation point. Hresult: 0xc8000713. Error: Unable to find the file.
    when viewing details of the passiv, error message shows:
    The database file wasn't found after log replay. The copy will be set to failed
    Please help. Thanks

    Hi,
    Please use the Get-MailboxDatabaseCopyStatus cmdlet to check the health and status of mailbox database copy.
    Please dismount and remount the active mailbox database, remove the failed passive database copy and then add it again to check the result.
    Besides, please check the application log to see if there is any related events.
    Best regards,
    Belinda
    Belinda Ma
    TechNet Community Support

  • Database copy is failed and suspended

    Hi Everyone,
    My environment is Exchange server 2010 sp3, two sites one denver one houston, 2 DAGs and DR server of each DAG is placed on the second DAG.
    Scenario is
    Site 1:denmbx1,denmbx2 and den1 are hosted on denver DAG01
    Site 2: HOUmbx1,HOUmbx2 and HOU1 are hosted on DAG02
    We've had outage few days back and now one mailbox database copy on one DR server is FAILED and SUSPNEDED while rest of the databases are Fine.
    Now i cannot resume and update this database copy.
    CAn anyone please help on this?
    Thanks.

    Hi,
    You can reseed database copy manually to check result. You need to dismount the active copy of the database and copy the database file (EDB file) to the same location on Mailbox server in
    the DR site. If you use this method, there will be an interruption in service because the process requires you to dismount the database.
    1.  If circular logging is enabled for the database, it must be disabled before proceeding.
    2. 
    On the server who holds the active copy of the mailbox database, dismount this mailbox database.
    3. 
    Verify that database is in a Clean Shutdown state.
    4. 
    If it is Dirty Shutdown, we must use the command “ESEUTIL /r” to manually recover the database.
    5. 
    Copy the edb file to passive node to the same path as the active database copy.
    6.  Perform seeding operation using following command:
    Update-MailboxDatabaseCopy -Identity "database name / server name"
    To check if the above steps finished successfully. We could run the following command to check the mailbox database copy status:
    Get-MailboxDatabase| Get-MailboxDatabaseCopyStatus
    Here is a related article for your reference.
    http://technet.microsoft.com/en-gb/library/dd351100(v=exchg.141).aspx
    Hope this is helpful to you.
    Best regards,
    Belinda Ma
    TechNet Community Support

  • Cannot Adding Mailbox Server for Database Copy for Exchange 2013 SP1

    Before I upgraded to 2013 SP1 everything works find but after I upgrade to SP1 I cannot add database copy. the details are...
    I have 2 sites
    Site 1 : 4 Mailboxes (Mailbox01,Mailbox02,Mailbox03,Mailbox04)   + 2 CAS
    Site 2 : 2 Mailboxes (Mailbox05,Mailbox06)   + 2 CAS  (just for standby site)
    So I have 2 DAG group  (6 Mailboxes separate to 3 Mailboxes for 1 DAG group Mailbox01,Mailbox02,Mailbox05 for DAG1  and Mailbox03,Mailbox04,Mailbox06 for DAG2)
    After I upgrade Exchange 2013 to SP1 , I try to create new database on Mailbox01 and after that I try to add mailbox02 and mailbox05 to database copy of new database that I created.
    "Mailbox05 can added to be database copy but Mailbox02 cannot add database copy for it , Error "Network path not found" occur" but Im very sure that path is the same for each mailbox database server.
    so I try to create new database on Mailbox 03 and add database copy on mailbox04 and mailbox06.... the result is the same only Mailbox06 can add mailbox copy of database.
    It look like I cannot have 2 mailbox in site 1 for database copy of each new database (I already try to create new database on Mailbox 02 and add database copy on mailbox01 and mailbox05 , the result is only mailbox05 can be database copy of database).
    Please help me to fix this out.

    Hi,
    I recommend you check if the Remote Registry service is running on Mailbox01, Mailbox02, Mailbox03 and Mailbox04. If not, please start it and then add mailbox database copy to check the result.
    Best regards,
    Belinda
    Belinda Ma
    TechNet Community Support

  • Failed to Manually Seed the Mailbox Database Copy on Exchange 2013

    Hi,
    I tried to manually seed the mailbox database copy via exchange shell by run this command
    Update-MailboxDatabaseCopy –Identity “DB_name\Server” -sourceserver "Name Server" –DeleteExistingFiles.
    However, i got the error message whereas shown below.
    A parameter cannot be found that matches parameter name 'identity'.
        + CategoryInfo          : InvalidArgument: (:) [Update-MailboxDatabaseCopy], ParameterBindingException
        + FullyQualifiedErrorId : NamedParameterNotFound,Update-MailboxDatabaseCopy
        + PSComputerName        : XXXX.abc.XXX
    Any ideas?

    I hope database is in suspended state and not in failed state.
    Make sure EMS is running As Administrator.
    http://technet.microsoft.com/en-us/library/dd335201(v=exchg.150).aspx
    Cheers,
    Gulab Prasad,
    Technology Consultant
    Blog:
    www.exchangeranger.com 
    Twitter:   
    LinkedIn:   
    Check out CodeTwo’s tools for Exchange admins   
    Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

  • Crystal reports "Database login failed" when using push method

    I have a web application (ASP.NET, .NET v3.5), that pushes data to a CR 2008 report. On two servers one of the three reports returns a "Database login failed" error. I am stumped since there is no login, it's push not pull; in addition the problem is hard to debug since it works fine from my developers workstation. I have "updated" the xsd in that report, reinstalled the app, etc., non of which helped. If anyone has a solution or even ideas I'd appreciate the help.

    What about following the troubleshooting steps as described in the blog;
    Create an XML file off of your dataset. Make sure this is done just before you set the dataset to the report:
                rpt.Load(rptPath)
    myDataset.WriteXml(xmlPath, XmlWriteMode.WriteSchema)
    rpt.SetDataSource(myDataset)
    Copy the above created XML to your development system
    Open the problem report in the Crystal Reports designer
    In the Desigger, go to the Database menu and select u201CSet Datasource Locationu201D
    In the u201CReplace with:u201D pane, expand the u201CCreate New Connectionu201D folder.
    Double click the u201CADO .NET (XML)u201D icon
    Browse to the location of the XML file you created in step (1)
    Click on the path to the XML. The <Update> button should enable
    Click on the <Update> button
    Typically, either of the following will happen:
    You will get a u201CMap Fieldsu201D dialog. This indicates that the XML written off of your dataset does not match what the report is expecting. This may be due to incorrect fields name, incorrect field type, etc. You will now need eliminate the difference.
    Incorrect data or no data. There is an issue with your dataset and you need to determine why the data is not present in your dataset. Looking at the XML may be a good place to start.
    Ludek

  • Error while adding database in OEM

    hi
    when i trying to connect oem.When i am trying to add database to tree and to network i am
    getting following error
    oem error
    Failed to parse tnsnames.ora file
    Error :100--NLNV-NLNV String format Error
    So please help me.

    Hi,
    the connection string in tnsnames.ora file are having invalid syntax that why's oem is unable to parse it.
    Make new entry in tnsnames.ora file with proper syntax or provide
    information of hostname,port,sid in oem at the time of adding database into oem,after providing these details it will automatically create new connection string in tnsnames.ora file.
    Thanks
    Kuljeet Pal Singh

  • Database Logon Failed which created by Crystal Report 2008

    this time i meet the famous error again which is database logon failed.
    i created a crystal report 2008 starting from blank report, then connect with odbc
    i use 2008 method
    objRpt.SetDatabaseLogon(db_username, db_password, odbc_name, database_name);
    2008 method will get database logon failed even set database location and verify database again
    then i use 8.5 method and try again for 2008 report. it said field name is unknown for one of formula
    then i drag field again for formula and set database location and verify database again
    it said the same error.
    then i uninstall 8.5 crytal report software in window 7 deployment machine, and do above again, it said the same error
    //'Create a new Stored Procedure Table to replace the reports current table.
            CrystalDecisions.ReportAppServer.DataDefModel.Procedure boTable = new CrystalDecisions.ReportAppServer.DataDefModel.Procedure();
            //'boMainPropertyBag: These hold the attributes of the tables ConnectionInfo object
            PropertyBag boMainPropertyBag = new PropertyBag();
            //'boInnerPropertyBag: These hold the attributes for the QE_LogonProperties
            //'In the main property bag (boMainPropertyBag)
            PropertyBag boInnerPropertyBag = new PropertyBag();
            //'Set the attributes for the boInnerPropertyBag
            boInnerPropertyBag.Add("Connect Timeout", "15");
            //boInnerPropertyBag.Add("Data Source", "MyDataSource");
            boInnerPropertyBag.Add("Data Source", "10.1.1.191");
            boInnerPropertyBag.Add("DataTypeCompatibility", "0");
            boInnerPropertyBag.Add("General Timeout", "0");
            //boInnerPropertyBag.Add("Initial Catalog", "MyCatalog");
            boInnerPropertyBag.Add("Initial Catalog", database_name);
            boInnerPropertyBag.Add("Integrated Security", "False");
            boInnerPropertyBag.Add("Locale Identifier", "1033");
            boInnerPropertyBag.Add("MARS Connection", "0");
            //boInnerPropertyBag.Add("OLE DB Services", "-5");
            //boInnerPropertyBag.Add("ODBC", "-5");
            boInnerPropertyBag.Add("ODBC", "Cheque");
            boInnerPropertyBag.Add("Provider", "SQLNCLI");
            boInnerPropertyBag.Add("Tag with column collation when possible", "0");
            boInnerPropertyBag.Add("Trust Server Certificate", "0");
            boInnerPropertyBag.Add("Use Encryption for Data", "0");
            //'Set the attributes for the boMainPropertyBag
            boMainPropertyBag.Add("Database DLL", "crdb_ado.dll");
            //boMainPropertyBag.Add("Database DLL", "p2sodbc.dll");
            //boMainPropertyBag.Add("QE_DatabaseName", "VEPILOT");
            boMainPropertyBag.Add("QE_DatabaseName", database_name);
            //boMainPropertyBag.Add("QE_DatabaseType", "OLE DB (ADO)");
            boMainPropertyBag.Add("QE_DatabaseType", "ODBC");
            //'Add the QE_LogonProperties we set in the boInnerPropertyBag Object
            boMainPropertyBag.Add("QE_LogonProperties", boInnerPropertyBag);
            boMainPropertyBag.Add("QE_ServerDescription", "MyServer");
            boMainPropertyBag.Add("QE_SQLDB", "True");
            boMainPropertyBag.Add("SSO Enabled", "False");
            //'Create a new ConnectionInfo object
            CrystalDecisions.ReportAppServer.DataDefModel.ConnectionInfo boConnectionInfo = new CrystalDecisions.ReportAppServer.DataDefModel.ConnectionInfo();
            //'Pass the database properties to a connection info object
            boConnectionInfo.Attributes = boMainPropertyBag;
            //'Set the connection kind
            boConnectionInfo.Kind = CrConnectionInfoKindEnum.crConnectionInfoKindCRQE;
            //'*EDIT* Set the User Name and Password if required.
            boConnectionInfo.UserName = db_username;
            boConnectionInfo.Password = db_password;
            //'Pass the connection information to the table
            boTable.ConnectionInfo = boConnectionInfo;
    CrystalDecisions.ReportAppServer.DataDefModel.Tables boTables = objRpt.ReportClientDocument.DatabaseController.Database.Tables;
                CrystalDecisions.CrystalReports.Engine.Tables tables = objRpt.Database.Tables;
                foreach (CrystalDecisions.CrystalReports.Engine.Table table in tables)
                    if (!string.IsNullOrEmpty(table.Name))
                        //boTable.Name = table.Name;
                        //boTable.QualifiedName = database_name + ".dbo." + table.Name;
                        //boTable.Alias = table.Name;
                        boTable.Name = "sp_ChequeIssueDetRpt";
                        boTable.QualifiedName = database_name + ".dbo.sp_ChequeIssueDetRpt";
                        boTable.Alias = "sp_ChequeIssueDetRpt";
                        objRpt.ReportClientDocument.DatabaseController.SetTableLocation(boTables[0], boTable);
                objRpt.VerifyDatabase();
    http://sourceforge.net/projects/aspchequesprint/files/ChequeIssueDet.rpt/download

    No subreport, only a stored procedure with final two lines are
    print @m_sql
    exec (@m_sql)
    After use generated code in the link above
    Error at boReportDocument.VerifyDatabase();
    Inner Exception : no error
    Message "Logon failed"
    ErrorID : CrystalDecisions.CrystalReports.Engine.EngineExceptionErrorID.LogOnFailed
    HelpLink : null
    stacktrace :  CrystalDecisions.CrystalReports.Engine.ReportDocument.VerifyDatabase()\r\n   at viewReport.Page_Load(Object sender, EventArgs e) 於 d:
    Data
    My Documents
    Visual Studio 2008
    WebSites
    Cheques
    viewReport.aspx.cs: row 1302\r\n   at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)\r\n   at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)\r\n   at System.Web.UI.Control.OnLoad(EventArgs e)\r\n   at System.Web.UI.Control.LoadRecursive()\r\n   於 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    TargetSite : {Void VerifyDatabase()}
    string reportPath = report_path + "ChequeIssueDet.rpt";
                boReportDocument = new ReportDocument();
                //**EDIT** Change the path and report name to the report you want to change.
                boReportDocument.Load(reportPath, OpenReportMethod.OpenReportByTempCopy);
                //Create a new Stored Procedure Table to replace the reports current table.
                CrystalDecisions.ReportAppServer.DataDefModel.Procedure boTable =
                new CrystalDecisions.ReportAppServer.DataDefModel.Procedure();
                //boMainPropertyBag: These hold the attributes of the tables ConnectionInfo object
                PropertyBag boMainPropertyBag = new PropertyBag();
                //boInnerPropertyBag: These hold the attributes for the QE_LogonProperties
                //In the main property bag (boMainPropertyBag)
                PropertyBag boInnerPropertyBag = new PropertyBag();
                //Set the attributes for the boInnerPropertyBag
                boInnerPropertyBag.Add("Database", database_name);
                boInnerPropertyBag.Add("DSN", "Cheque");
                boInnerPropertyBag.Add("UseDSNProperties", "False");
                //Set the attributes for the boMainPropertyBag
                boMainPropertyBag.Add("Database DLL", "crdb_odbc.dll");
                boMainPropertyBag.Add("QE_DatabaseName", database_name);
                boMainPropertyBag.Add("QE_DatabaseType", "ODBC (RDO)");
                //Add the QE_LogonProperties we set in the boInnerPropertyBag Object
                boMainPropertyBag.Add("QE_LogonProperties", boInnerPropertyBag);
                boMainPropertyBag.Add("QE_ServerDescription", "Cheque");
                boMainPropertyBag.Add("QE_SQLDB", "True");
                boMainPropertyBag.Add("SSO Enabled", "False");
                //Create a new ConnectionInfo object
                CrystalDecisions.ReportAppServer.DataDefModel.ConnectionInfo boConnectionInfo =
                new CrystalDecisions.ReportAppServer.DataDefModel.ConnectionInfo();
                //Pass the database properties to a connection info object
                boConnectionInfo.Attributes = boMainPropertyBag;
                //Set the connection kind
                boConnectionInfo.Kind = CrConnectionInfoKindEnum.crConnectionInfoKindCRQE;
                //**EDIT** Set the User Name and Password if required.
                boConnectionInfo.UserName = db_username;
                boConnectionInfo.Password = db_password;
                //Pass the connection information to the table
                boTable.ConnectionInfo = boConnectionInfo;
                //Get the Database Tables Collection for your report
                CrystalDecisions.ReportAppServer.DataDefModel.Tables boTables;
                boTables = boReportDocument.ReportClientDocument.DatabaseController.Database.Tables;
                //For each table in the report:
                // - Set the Table Name properties.
                // - Set the table location in the report to use the new modified table
                boTable.Name = "sp_ChequeIssueDetRpt;1";
                boTable.QualifiedName = database_name+".dbo.sp_ChequeIssueDetRpt;1";
                boTable.Alias = "sp_ChequeIssueDetRpt;1";
                boReportDocument.ReportClientDocument.DatabaseController.SetTableLocation(boTables[0], boTable);
                //Verify the database after adding substituting the new table.
                //To ensure that the table updates properly when adding Command tables or Stored Procedures.
                boReportDocument.VerifyDatabase();
                //**EDIT** Set the value for the Stored Procedure parameters.
                string m_curUser = "";
                int spid = Convert.ToInt32(Request.Cookies["login_cookie"]["spid"]);
                queryString = "select * from v_All_Session where SPID=" + spid.ToString();
                //string _connectionString = ConfigurationManager.ConnectionStrings["ChequeConnectionString"].ConnectionString;
                using (SqlConnection connection = new SqlConnection(_connectionString))
                    SqlCommand command = connection.CreateCommand();
                    command.CommandText = queryString;
                    connection.Open();
                    using (SqlDataReader datareader = command.ExecuteReader())
                        if (datareader.HasRows == true)
                            while (datareader.Read())
                                if (datareader["UserID"] != System.DBNull.Value)
                                    m_curUser = datareader["UserID"].ToString();
                        datareader.Close();
                    connection.Close();
                boReportDocument.SetParameterValue("@UserID", m_curUser);
                if (string.IsNullOrEmpty(Session["fm_CoCode"].ToString()))
                    boReportDocument.SetParameterValue("@fm_CoCode", Session["fm_CoCode"].ToString());
                if (string.IsNullOrEmpty(Session["to_CoCode"].ToString()))
                    boReportDocument.SetParameterValue("@to_CoCode", Session["to_CoCode"].ToString());
                if (string.IsNullOrEmpty(Session["fm_BankACNo"].ToString()))
                    boReportDocument.SetParameterValue("@fm_BankACNo", Session["fm_BankACNo"].ToString());
                if (string.IsNullOrEmpty(Session["to_BankACNo"].ToString()))
                    boReportDocument.SetParameterValue("@to_BankACNo", Session["to_BankACNo"].ToString());
                if (string.IsNullOrEmpty(Session["fm_BatchNo"].ToString()))
                    boReportDocument.SetParameterValue("@fm_BatchNo", Session["fm_BatchNo"].ToString());
                if (string.IsNullOrEmpty(Session["to_BatchNo"].ToString()))
                    boReportDocument.SetParameterValue("@to_BatchNo", Session["to_BatchNo"].ToString());
    Edited by: Mathew_666 on Jul 19, 2011 4:27 AM
    Edited by: Mathew_666 on Jul 19, 2011 4:28 AM

  • Attempt to fetch logical page (6:78) in database 5 failed.

    Hello every one:
    I am upgrading to SQL 2005 using sql 2000 datafiles in clustered environment.
    I have followd note 799058 hemogenious system copy. However after attaching the database, we are getting the following error message, when running SQL 2005 upgrade tools.
    I ran dbcheck on source database there is no issue, However dbcheck is failing in new database. I tried dbcheck with repais fast and dbcheck with data loss, however both attempts have failed with exact same message.
    I am not sure how to handle this error.
    Please advice.
    executeSQL is called with following parameters:
    Server: cacgcbcrr518
    Login: integrated security
    Resultset will not be copied
    Ignore errors is false
    Append results is false
    select (@@microsoftversion / 65536) / 256
    executeSQL is called with following parameters:
    Server: cacgcbcrr518
    Login: integrated security
    Resultset will not be copied
    Ignore errors is false
    Append results is false
    select count(*) from master..sysdatabases where name = 'R3T'
    executeSQL is called with following parameters:
    Server: cacgcbcrr518
    Login: integrated security
    Resultset will not be copied
    Ignore errors is false
    Append results is false
    select count(*) from R3T..sysusers where name = 'r3t'
    executeSQL is called with following parameters:
    Server: cacgcbcrr518
    Login: integrated security
    Resultset will not be copied
    Ignore errors is false
    Append results is false
    select count(*) from master..sysprocesses where dbid = db_id('R3T') and program_name like 'R3%' and uid = (select uid from R3T..sysusers where name = 'r3t')
    executeSQL is called with following parameters:
    Server: cacgcbcrr518
    Login: integrated security
    Resultset will not be copied
    Ignore errors is false
    Append results is false
    select (@@microsoftversion / 65536) / 256
    executeSQL is called with following parameters:
    Server: cacgcbcrr518
    Login: integrated security
    Resultset will not be copied
    Ignore errors is false
    Append results is false
    DECLARE @n NVARCHAR(4000) DECLARE @ns NVARCHAR(4000) SET @ns = ''
    DECLARE c CURSOR FOR
    select case when serverproperty('Collation') is NULL then '' else convert(sysname, serverproperty('Collation')) end
    union all select case when serverproperty('Edition') is NULL then '' else convert(sysname, serverproperty('Edition')) end
    union all select case when serverproperty('InstanceName') is NULL then '' else convert(sysname, serverproperty('InstanceName')) end
    union all select case when serverproperty('IsClustered') is NULL then '' else convert(sysname, serverproperty('IsClustered')) end
    union all select case when serverproperty('IsFullTextInstalled') is NULL then '' else convert(sysname, serverproperty('IsFullTextInstalled')) end
    union all select case when serverproperty('IsIntegratedSecurityOnly') is NULL then '' else convert(sysname, serverproperty('IsIntegratedSecurityOnly')) end
    union all select case when serverproperty('IsSingleUser') is NULL then '' else convert(sysname, serverproperty('IsSingleUser')) end
    union all select case when serverproperty('IsSyncWithBackup') is NULL then '' else convert(sysname, serverproperty('IsSyncWithBackup')) end
    union all select case when serverproperty('MachineName') is NULL then '' else convert(sysname, serverproperty('MachineName')) end
    union all select case when serverproperty('NumLicenses') is NULL then '' else convert(sysname, serverproperty('NumLicenses')) end
    union all select case when serverproperty('ProcessID') is NULL then '' else convert(sysname, serverproperty('ProcessID')) end
    union all select case when serverproperty('ProductVersion') is NULL then '' else convert(sysname, serverproperty('ProductVersion')) end
    union all select case when serverproperty('ProductLevel') is NULL then '' else convert(sysname, serverproperty('ProductLevel')) end
    union all select case when serverproperty('ServerName') is NULL then '' else convert(sysname, serverproperty('ServerName')) end
    union all select case when serverproperty('Release') is NULL then '' else convert(sysname, serverproperty('Release')) end
    union all select case when serverproperty('Patch') is NULL then '' else convert(sysname, serverproperty('Patch')) end
    union all select case when serverproperty('IsSysAdmin') is NULL then '' else convert(sysname, serverproperty('IsSysAdmin')) end
    OPEN c FETCH NEXT FROM c INTO @n
    WHILE @@FETCH_STATUS = 0
    BEGIN set @ns = @ns + @n + ';' FETCH NEXT FROM c INTO @n END
    CLOSE c DEALLOCATE c select @ns
    executeSQL is called with following parameters:
    Server: cacgcbcrr518
    Login: integrated security
    Resultset will not be copied
    Ignore errors is false
    Append results is false
    select IS_SRVROLEMEMBER('sysadmin')
    executeSQL is called with following parameters:
    Server: cacgcbcrr518
    Login: integrated security
    Resultset will not be copied
    Ignore errors is false
    Append results is false
    select count(*) from master..sysdatabases where name = 'R3T'
    executeSQL is called with following parameters:
    Server: cacgcbcrr518
    Login: integrated security
    Resultset will not be copied
    Ignore errors is false
    Append results is false
    select count(*) from R3T..sysusers where name = 'r3t'
    executeSQL is called with following parameters:
    Server: cacgcbcrr518
    Login: integrated security
    Resultset will not be copied
    Ignore errors is false
    Append results is false
    select count(*) from R3T..sysusers where name = 'r3t'
    executeSQL is called with following parameters:
    Server: cacgcbcrr518
    Login: integrated security
    Resultset will not be copied
    Ignore errors is false
    Append results is false
    use R3T
    declare @info nvarchar(2000)
    declare @cs nvarchar(100)
    declare @tmp nvarchar(200)
    declare @rel nvarchar(100)
    declare @patch nvarchar(100)
    declare @sql nvarchar(2000)
    declare schema_cursor cursor for
    select name
    from dbo.sysusers
    where islogin = '1'
    open schema_cursor
    select @info = ''
    fetch next from schema_cursor into @cs
    while @@fetch_status = 0
    begin
    select @info = @info + @cs
    select @info = @info + ':'
    select @info = @info + cast(count(*) as varchar(20)) from sysobjects where uid = user_id(@cs) and name not in ('dtproperties')
    select @info = @info + ':'
    select @info = @info + cast(count(*) as varchar(20)) from sysobjects where uid = user_id(@cs) and type = 'U' and name not in ('dtproperties')
    if exists(select * from sysobjects where name = 'CVERS' and uid = user_id(@cs) and type = 'U')
    begin
    select @info = @info + ':1'
    select @sql = 'select @rel = RELEASE, @patch = EXTRELEASE from ' + @cs + '.CVERS where COMPONENT = ''SAP_BASIS'''
    exec sp_executesql @sql, N'@rel nvarchar(100) output, @patch nvarchar(100) output', @rel output, @patch output
    select @info = @info + ':'
    select @info = @info + @rel
    select @info = @info + ':'
    select @info = @info + @patch
    end
    else select @info = @info + ':0'
    if exists(select * from sysobjects where name = 'BC_CVERS' and uid = user_id(@cs) and type = 'U')
    begin
    select @info = @info + ':1'
    end
    else select @info = @info + ':0'
    select @info = @info + ';'
    fetch next from schema_cursor into @cs
    end
    close schema_cursor
    deallocate schema_cursor
    select @info
    executeSQL is called with following parameters:
    Server: cacgcbcrr518
    Login: integrated security
    Resultset will not be copied
    Ignore errors is false
    Append results is false
    use [R3T] select count(*) from sysobjects where name like 'Y%' and type='P' and uid=user_id('r3t')
    executeSQL is called with following parameters:
    Server: cacgcbcrr518
    Login: integrated security
    Resultset will not be copied
    Ignore errors is false
    Append results is false
    select count(*) from R3T..sysusers where name = 'SAPR3TDB'
    executeSQL is called with following parameters:
    Server: cacgcbcrr518
    Login: integrated security
    Resultset will not be copied
    Ignore errors is false
    Append results is false
    DECLARE @n NVARCHAR(4000) DECLARE @ns NVARCHAR(4000) SET @ns = ''
    DECLARE c CURSOR FOR
    select case when serverproperty('Collation') is NULL then '' else convert(sysname, serverproperty('Collation')) end
    union all select case when serverproperty('Edition') is NULL then '' else convert(sysname, serverproperty('Edition')) end
    union all select case when serverproperty('InstanceName') is NULL then '' else convert(sysname, serverproperty('InstanceName')) end
    union all select case when serverproperty('IsClustered') is NULL then '' else convert(sysname, serverproperty('IsClustered')) end
    union all select case when serverproperty('IsFullTextInstalled') is NULL then '' else convert(sysname, serverproperty('IsFullTextInstalled')) end
    union all select case when serverproperty('IsIntegratedSecurityOnly') is NULL then '' else convert(sysname, serverproperty('IsIntegratedSecurityOnly')) end
    union all select case when serverproperty('IsSingleUser') is NULL then '' else convert(sysname, serverproperty('IsSingleUser')) end
    union all select case when serverproperty('IsSyncWithBackup') is NULL then '' else convert(sysname, serverproperty('IsSyncWithBackup')) end
    union all select case when serverproperty('MachineName') is NULL then '' else convert(sysname, serverproperty('MachineName')) end
    union all select case when serverproperty('NumLicenses') is NULL then '' else convert(sysname, serverproperty('NumLicenses')) end
    union all select case when serverproperty('ProcessID') is NULL then '' else convert(sysname, serverproperty('ProcessID')) end
    union all select case when serverproperty('ProductVersion') is NULL then '' else convert(sysname, serverproperty('ProductVersion')) end
    union all select case when serverproperty('ProductLevel') is NULL then '' else convert(sysname, serverproperty('ProductLevel')) end
    union all select case when serverproperty('ServerName') is NULL then '' else convert(sysname, serverproperty('ServerName')) end
    union all select case when serverproperty('Release') is NULL then '' else convert(sysname, serverproperty('Release')) end
    union all select case when serverproperty('Patch') is NULL then '' else convert(sysname, serverproperty('Patch')) end
    union all select case when serverproperty('IsSysAdmin') is NULL then '' else convert(sysname, serverproperty('IsSysAdmin')) end
    OPEN c FETCH NEXT FROM c INTO @n
    WHILE @@FETCH_STATUS = 0
    BEGIN set @ns = @ns + @n + ';' FETCH NEXT FROM c INTO @n END
    CLOSE c DEALLOCATE c select @ns
    executeSQL is called with following parameters:
    Server: cacgcbcrr518
    Login: integrated security
    Resultset will not be copied
    Ignore errors is false
    Append results is false
    select IS_SRVROLEMEMBER('sysadmin')
    executeSQL is called with following parameters:
    Server: cacgcbcrr518
    Login: integrated security
    Resultset will not be copied
    Ignore errors is false
    Append results is false
    DECLARE @n NVARCHAR(4000) DECLARE @ns NVARCHAR(4000) SET @ns = ''
    DECLARE c CURSOR FOR
    select case when serverproperty('Collation') is NULL then '' else convert(sysname, serverproperty('Collation')) end
    union all select case when serverproperty('Edition') is NULL then '' else convert(sysname, serverproperty('Edition')) end
    union all select case when serverproperty('InstanceName') is NULL then '' else convert(sysname, serverproperty('InstanceName')) end
    union all select case when serverproperty('IsClustered') is NULL then '' else convert(sysname, serverproperty('IsClustered')) end
    union all select case when serverproperty('IsFullTextInstalled') is NULL then '' else convert(sysname, serverproperty('IsFullTextInstalled')) end
    union all select case when serverproperty('IsIntegratedSecurityOnly') is NULL then '' else convert(sysname, serverproperty('IsIntegratedSecurityOnly')) end
    union all select case when serverproperty('IsSingleUser') is NULL then '' else convert(sysname, serverproperty('IsSingleUser')) end
    union all select case when serverproperty('IsSyncWithBackup') is NULL then '' else convert(sysname, serverproperty('IsSyncWithBackup')) end
    union all select case when serverproperty('MachineName') is NULL then '' else convert(sysname, serverproperty('MachineName')) end
    union all select case when serverproperty('NumLicenses') is NULL then '' else convert(sysname, serverproperty('NumLicenses')) end
    union all select case when serverproperty('ProcessID') is NULL then '' else convert(sysname, serverproperty('ProcessID')) end
    union all select case when serverproperty('ProductVersion') is NULL then '' else convert(sysname, serverproperty('ProductVersion')) end
    union all select case when serverproperty('ProductLevel') is NULL then '' else convert(sysname, serverproperty('ProductLevel')) end
    union all select case when serverproperty('ServerName') is NULL then '' else convert(sysname, serverproperty('ServerName')) end
    union all select case when serverproperty('Release') is NULL then '' else convert(sysname, serverproperty('Release')) end
    union all select case when serverproperty('Patch') is NULL then '' else convert(sysname, serverproperty('Patch')) end
    union all select case when serverproperty('IsSysAdmin') is NULL then '' else convert(sysname, serverproperty('IsSysAdmin')) end
    OPEN c FETCH NEXT FROM c INTO @n
    WHILE @@FETCH_STATUS = 0
    BEGIN set @ns = @ns + @n + ';' FETCH NEXT FROM c INTO @n END
    CLOSE c DEALLOCATE c select @ns
    executeSQL is called with following parameters:
    Server: cacgcbcrr518
    Login: integrated security
    Resultset will not be copied
    Ignore errors is false
    Append results is false
    select IS_SRVROLEMEMBER('sysadmin')
    executeSQL is called with following parameters:
    Server: cacgcbcrr518
    Login: integrated security
    Resultset will not be copied
    Ignore errors is false
    Append results is false
    exec sp_configure 'show advanced options', 1
    reconfigure with override
    exec sp_configure 'xp_cmdshell', 1
    reconfigure with override
    executeSQL is called with following parameters:
    Server: cacgcbcrr518
    Login: integrated security
    Resultset will not be copied
    Ignore errors is false
    Append results is false
    exec sp_dbcmptlevel 'R3T', 90
    executeSQL is called with following parameters:
    Server: cacgcbcrr518
    Login: integrated security
    Resultset will not be copied
    Ignore errors is false
    Append results is false
    use R3T select count(*) from sysobjects where type = 'P' and uid = user_id('r3t')
    executeSQL is called with following parameters:
    Server: cacgcbcrr518
    Login: integrated security
    Resultset will not be copied
    Ignore errors is false
    Append results is false
    use R3T
    declare @name sysname
    declare allnames cursor for
    select name from sysobjects
    where type = 'P'
    and (name like 'Y%' or name like 'SAP%')
    and uid = user_id('r3t')
    open allnames
    fetch next from allnames into @name
    while (@@fetch_status =0)
    begin
    exec ('drop procedure [r3t].[' + @name + ']')
    fetch next from allnames into @name
    end
    close allnames
    deallocate allnames
    [Microsoft][ODBC SQL Server Driver][SQL Server]Attempt to fetch logical page (6:78) in database 5 failed. It belongs to allocation unit 71905451171905536 not to 281474979397632.
    executeSQL is called with following parameters:
    Server: cacgcbcrr518
    Login: integrated security
    Resultset will not be copied
    Ignore errors is false
    Append results is false
    use R3T select count(*) from sysobjects where type = 'P' and uid = user_id('r3t')
    executeSQL is called with following parameters:

    THIS IS THE SQL ERROR LOGS:
    2008-05-28 15:49:20.79 spid21s     Starting up database 'R3T'.
    2008-05-28 15:49:20.79 spid20s     Starting up database 'msdb'.
    2008-05-28 15:49:20.82 spid20s     1 transactions rolled forward in database 'msdb' (4). This is an informational message only. No user action is required.
    2008-05-28 15:49:20.84 spid20s     0 transactions rolled back in database 'msdb' (4). This is an informational message only. No user action is required.
    2008-05-28 15:49:20.84 spid20s     Recovery is writing a checkpoint in database 'msdb' (4). This is an informational message only. No user action is required.
    2008-05-28 15:49:20.88 spid21s     Analysis of database 'R3T' (5) is 100% complete (approximately 0 seconds remain). This is an informational message only. No user action is required.
    2008-05-28 15:49:20.90 spid21s     1 transactions rolled forward in database 'R3T' (5). This is an informational message only. No user action is required.
    2008-05-28 15:49:21.06 spid21s     0 transactions rolled back in database 'R3T' (5). This is an informational message only. No user action is required.
    2008-05-28 15:49:21.06 spid21s     Recovery is writing a checkpoint in database 'R3T' (5). This is an informational message only. No user action is required.
    2008-05-28 15:49:21.06 spid5s      Recovery of any in-doubt distributed transactions involving Microsoft Distributed Transaction Coordinator (MS DTC) has completed. This is an informational message only. No user action is required.
    2008-05-28 15:49:21.06 spid5s      Recovery is complete. This is an informational message only. No user action is required.
    2008-05-28 15:49:25.60 spid51      Configuration option 'Agent XPs' changed from 0 to 1. Run the RECONFIGURE statement to install.
    2008-05-28 15:49:25.74 spid51      Using 'xpsqlbot.dll' version '2005.90.3042' to execute extended stored procedure 'xp_qv'. This is an informational message only; no user action is required.
    2008-05-28 15:49:25.81 spid51      Using 'xpstar90.dll' version '2005.90.3042' to execute extended stored procedure 'xp_instance_regread'. This is an informational message only; no user action is required.
    2008-05-28 15:49:25.82 spid51      Using 'xplog70.dll' version '2005.90.3042' to execute extended stored procedure 'xp_msver'. This is an informational message only; no user action is required.
    2008-05-28 15:58:29.52 spid53      Setting database option SINGLE_USER to ON for database R3T.
    2008-05-28 15:58:29.52 spid53      Setting database option SINGLE_USER to ON for database R3T.
    2008-05-28 15:59:15.77 spid53      Error: 605, Severity: 21, State: 3.
    2008-05-28 15:59:15.77 spid53      Attempt to fetch logical page (6:72) in database 5 failed. It belongs to allocation unit 71905451171905536 not to 281474979397632.
    2008-05-28 15:59:15.78 spid53      DBCC CHECKDB (R3T, repair_fast) WITH all_errormsgs, no_infomsgs executed by sa terminated abnormally due to error state 5. Elapsed time: 0 hours 0 minutes 18 seconds.
    2008-05-28 16:02:17.43 spid54      Error: 605, Severity: 21, State: 3.
    2008-05-28 16:02:17.43 spid54      Attempt to fetch logical page (6:72) in database 5 failed. It belongs to allocation unit 71905451171905536 not to 281474979397632.
    2008-05-28 16:02:17.44 spid54      DBCC CHECKDB (R3T, repair_allow_data_loss) WITH all_errormsgs, no_infomsgs executed by sa terminated abnormally due to error state 5. Elapsed time: 0 hours 0 minutes 10 seconds.
    2008-05-28 16:04:53.26 spid54      Setting database option MULTI_USER to ON for database R3T.
    2008-05-28 16:04:53.26 spid54      Setting database option MULTI_USER to ON for database R3T.
    2008-05-29 00:00:06.31 spid15s     This instance of SQL Server has been using a process ID of 2016 since 5/28/2008 3:49:21 PM (local) 5/28/2008 10:49:21 PM (UTC). This is an informational message only; no user action is required.
    2008-05-29 09:45:59.67 spid54      Error: 605, Severity: 12, State: 3.
    2008-05-29 09:45:59.67 spid54      Attempt to fetch logical page (6:72) in database 6 failed. It belongs to allocation unit 71905451171905536 not to 281474979397632.
    2008-05-29 09:45:59.69 spid54      DBCC CHECKDB (R3T) WITH no_infomsgs executed by sa terminated abnormally due to error state 5. Elapsed time: 0 hours 1 minutes 20 seconds.

  • Live Office: Database logon failed error

    Please help...Live Office problem...
    Am working in Xcelsius 2008.
    Here's what I'm trying to do:
    1. I set up a Crystal Report using a Stored Procedure as the data provider.
    2. The Stored Procedure has a parameter built into it.
    3. When the report is refreshed within Crystal, the prompt dialog box is displayed; I fill in the desired value, and run. Everything comes back fine.
    4. Crystal Report is exported to the repository.
    5. In Excel, I inserted the Crystal Report using Live Office. It shows up as a Live Office object just fine.
    6. I bound an Excel cell to the prompt; when you change the value in the bound cell, the Live Office object refreshes and displays the correct results.
    7. In Xcelsius, I imported the Excel spreadsheet.
    8. I set up a Text component that is bound to the cell containing the parameter value. Also set up a Grid to display the results, and a Connection Refresh button to call the refresh. Added a Live Office Data Connection pointing to the Web Service URL for the report. 
    Note: When in Designer mode, if the value of the bound cell is changed, the results in the grid change accordingly.
    9.  When in Preview mode (or generated swf), if the Refresh button is pressed, a "User Identification" dialog box appears asking me to log on. The values it asks for are: System, User Name, Password, and Authentication.  I enter the same credentials as are within the Live Office settings in Excel, (which are working correctly), but receive an error "soapenv:Server.generalException: Database logon failed.".
    Note - all the id's are synced up - Business Objects, Database, etc.
    I've tried all kinds of combinations, but nothing gets me past this error. If I use any other server than the system one, the error message is "soapenv:Server.generalException: Server XXXXX not found or server may be down".
    I've noticed that in Excel directly, when I open the spreadsheet and refresh the Live Office object, I am prompted to log on to the database where the stored procedure is being executed. This dialog box does not appear once the Excel sheet has been imported into Xcelsius. One of the combinations I tried in the "User Identification" dialog box was the name of the database server, that didn't work either.
    I also tried creating the Live Office object directly within the Excel spreadsheet in Xcelsius, but then I was unable to bind the prompt value. Could never get the Live Office/Properties menu to appear.
    Ideas? Thoughts?
    Thanks in advance!
    Stephanie

    Got it!
    Here's what I had to do...
    In the CMC, under Object/Process/Database for the Crystal Report -
    which says...
    "Set the default information for logging onto the data source(s) automatically whenever the report is run."
    The Database Connection option had to be set to "Use custom database logon information specified here" and
    the When Viewing Report option set to "Use same database logon as when report is run".
    Then everything works fine - prompts appear, and Xcelsius passes the log on information to the database correctly. Stored procedure executes and returns the correct results.
    Thanks to everyone for their help!
    Stephanie

Maybe you are looking for

  • Getting the E-mu 1212M & EmulatorX

    Hi guys as per title, I will be puchasing the above, this will be in together with my Audigy Patinum. What I would like to know any issues with the card drivers installation when the Audigy is in the pc, I would grateful for any tips and tricks with

  • Settings for enabling message security tab in message display tool

    Hi Experts, We have a scenario where we are sending data by applying web service security using SOAP receiver communication channel . I want to check message security log along with audit log in message display tool in RWB. Can anybody know what are

  • Using a thermocouple, how do I get measurements with reference to time?

    I have a thermocouple wired to an XY graph but when I run the application the Y-axis takes the data but does not move along the X-axis, with reference to time, while plotting each new data point. This is to say that I have a completely vertical plot

  • LKM mix up in ODI 10.1.3.5.5

    Hello everyone I have written 2 LKMs in ODI 10.1.3.5.5, both of them are SQl to SQL LKMs. Every now and then, (and I don't know how to reproduce this problem) The sql statement of one LKM is replaced by the sql of the other lkm. Can somebody tell me

  • Passing report results parameters to different page

    Hi y'all, I was wondering how report results (results acquired by custom written sql query) can be passed to different pages? Can anyone help or provide me with a link which can point me to some documentation on this subject. Thanks, Cleo