Cannot use Query Builder in TableAdapter Configuration Wizard

I am using Visual Studio 2013 and MySQL NET adapter 6.8.3. I have created a WinForms app in VB. I am trying to create a dataset with a table from the MySQL database (named "propworx"). I do the following:
1. I create a new DataSet.
2. I edit the DataSet with the DataSet Designer.
3. I right-click on ANY TableAdapter, and I click "Configure".
4. I click on "Query Builder".
I get the following error message:
    The query builder has failed.
     Authentication to host '' for user '' using method 'mysql_native_password' failed with message: Access denied for user
''@'Fabs-Work' (using password: NO)
(In the above, "Fabs-Work" is my computer name.)
Looking at the error message, I immediately see that the host and user information appears to be missing. But it is in my app.config file:
<connectionStrings>
<add name="PropWorx.My.MySettings.PropWorxConnectionString" connectionString="server=localhost;user id=propworx;password=********;persistsecurityinfo=True;database=propworx" providerName="MySql.Data.MySqlClient" />
</connectionStrings>
(I have blanked out the password in the above post, but I have indeed double checked it and it is correct).
The database is hosted locally. I have created a database user in MySQL called "propworx" and have given it full rights.
Any ideas why Visual Studio Dataset Designer is not reading the info from my settings file?
Fabricio Rodriguez - Pretoria, South Africa

Hi Fabs,
According to your description, this issue is related to MYSQL. I am afraid this is out of our support. I would suggest that you could ask this issue in their official forum. Here is the link,
http://forums.mysql.com/
Thanks for your understanding.
Best regards,
Kristin
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • TableAdapter Configuration Wizard Bind Commands

    I am trying to use the TableAdapter Configuration Wizard to bind Insert and Update strored procedures to a Select stored procedure. When I choose the select stored proc, the list of data columns should appear on the list but nothing happens (it's not searching or anything). The select stored procs takes no other params (exept the Out sys_cursor) and returns 7 columns (string, string, string, datetime, string, int32, int32) nothing fancy. I want to do this to associate Insert and update parameters to specific columns for datagrids updates.
    I am using:
    VS 2010 Pro sp1
    Oracle Developer Tool for vs 11.2.0.2.0
    Oracle client 11.2.0.2.0
    Oracle database 11.2.0.2.0
    ODP version 11.2.0.2.1
    Note: When I drag the stored proc on the dataset gui, I get all the columns.
    Any help would be greatly appreciated.
    Thank you

    Hi Fabs,
    According to your description, this issue is related to MYSQL. I am afraid this is out of our support. I would suggest that you could ask this issue in their official forum. Here is the link,
    http://forums.mysql.com/
    Thanks for your understanding.
    Best regards,
    Kristin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • TableAdapter Configuration Wizard doesn't play nice w/explicit DataSource?

    I am having problems using the TableAdapter Configuration Wizard with a non-schema-owner account in a connection string that explicitly defines the data source. The following are the different combinations I've tried, some of which work, some of which do not:
    Scenario #1: If we define a connection string and specify the schema owner's username and password (which we do NOT want to do), and an explicit data source (which we DO want to do), such as the following:
    <add name="SchemaOwnerConnStr"
    connectionString="USER ID=THIS_SCHEMA_OWNER;PASSWORD=thisOwnerPassword;DATA SOURCE=(DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = our.database.server.com)(PORT = 1521))(LOAD_BALANCE = yes)(CONNECT_DATA = (SERVER = DEDICATED)(SERVICE_NAME = the.service.name) ))"
    providerName="Oracle.DataAccess.Client" />
    ...then the TableAdapter Configuration Wizard works as expected:
    * I choose SchemaOwnerConnStr on the first screen of the Wizard
    * On the "Enter a SQL Statement" screen of the wizard, I can click on the "Advanced Options" button and mark the checkboxes for "Generate Insert, Update and Delete statements" and "Use optimiztic concurrency"
    * On the "Choose Methods to Generate" screen of the wizard, I can mark the "Create methods to send updates directly to the database" checkbox, so it will automatically create Insert, Update, and Delete methods for me.
    Scenario #2: If we define a connection string using Window's Authentication (which we DO want to do), and provide a TNS name (which we do NOT want to do) as the DataSource:
    <add name="MyTNSConnStr" connectionString="USER ID=/;DATA SOURCE=MyDB" providerName="Oracle.DataAccess.Client" />
    ...it works just fine:
    * I choose MyTNSConnStr on the first screen of the Wizard
    * On the "Enter a SQL Statement" screen of the wizard, I can click on the "Advanced Options" button and mark the checkboxes for "Generate Insert, Update and Delete statements" and "Use optimiztic concurrency"
    * On the "Choose Methods to Generate" screen of the wizard, I can mark the "Create methods to send updates directly to the database" checkbox, so it will automatically create Insert, Update, and Delete methods for me.
    Scenario #3: If we define a connection string using Window's Authentication (which we DO want to do), and provide an explicit DataSource (which we DO want to do):
    <add name="MyExplicitConnStr" connectionString="USER ID=/;DATA SOURCE=(DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = our.database.server.com)(PORT = 1521))(LOAD_BALANCE = yes)(CONNECT_DATA = (SERVER = DEDICATED)(SERVICE_NAME = the.service.name) ))"
    providerName="Oracle.DataAccess.Client" />
    This does NOT work as expected:
    * I choose MyExplicitConnStr on the first screen of the Wizard
    * On the "Enter a SQL Statement" screen of the wizard, I can click on the "Advanced Options" button and mark the checkboxes for "Generate Insert, Update and Delete statements" and "Use optimiztic concurrency"
    * On the "Choose Methods to Generate" screen of the wizard, I can NOT mark the "Create methods to send updates directly to the database" checkbox -- it is greyed out!
    Scenario #4: If we define a connection string using a non-schema-owner's username and password (which under certain limited conditions we DO want to do), and provide an explicit DataSource (which we DO want to do):
    <add name="NonSchemaUser_ConnStr"
    connectionString="USER ID=OTHER_USERNAME;PASSWORD=thePassword;DATA SOURCE=(DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = our.database.server.com)(PORT = 1521))(LOAD_BALANCE = yes)(CONNECT_DATA = (SERVER = DEDICATED)(SERVICE_NAME = the.service.name) ))"
    providerName="Oracle.DataAccess.Client" />
    This does NOT work as expected:
    * I choose NonSchemaUser_ConnStr on the first screen of the Wizard
    * On the "Enter a SQL Statement" screen of the wizard, I can click on the "Advanced Options" button and mark the checkboxes for "Generate Insert, Update and Delete statements" and "Use optimiztic concurrency"
    * On the "Choose Methods to Generate" screen of the wizard, I can NOT mark the "Create methods to send updates directly to the database" checkbox -- it is greyed out!
    Scenario #5: I use the exact same connection string as in Scenario #4, expect I change it to use the TNS name for the Data Source:
    <add name="NonSchemaUser_TnsConnStr"
    connectionString="USER ID=OTHER_USERNAME;PASSWORD=thePassword;DATA SOURCE=MyDb"
    providerName="Oracle.DataAccess.Client" />
    ...this DOES work:
    * I choose NonSchemaUser_TnsConnStr on the first screen of the Wizard
    * On the "Enter a SQL Statement" screen of the wizard, I can click on the "Advanced Options" button and mark the checkboxes for "Generate Insert, Update and Delete statements" and "Use optimiztic concurrency"
    * On the "Choose Methods to Generate" screen of the wizard, I CAN mark the "Create methods to send updates directly to the database" checkbox, so it will automatically create Insert, Update, and Delete methods for me.
    The ONLY difference between Scenario #4 and Scenario #5 is that for #5 I used the TNS name for the data source. The explict data source defined in Scenario #4 is an exact cut-and-paste out of my tnsnames.ora file for the definition of "MyDb" -- so there should be absolutely no difference between #4 and #5 -- yet with #4, the checkbox is greyed out.
    I can get the same inconsistent results if I do the WinAuth connection string with again the only difference being the Data Source (explicit, or TNS name). So the problem doesn't have anything to do with using the "/" authentication method.
    Summary:
    Schema Owner Username/Pass + Explicit Data Source ....... Works
    Schema Owner Username/Pass +TNS Name Data Source ....... Works
    Non-Schema-Owner Username/Pass + Explicit Data Source ....... Does NOT work
    Non-Schema-Owner Username/Pass + TNS Name Data Source ....... Works
    "/" authentication + Explicit Data Source ....... Does NOT work
    "/" authentication + TNS Name Data Source ....... Works
    The two combinations that don't work are the two that we want to use!
    I can't for the life if me figure out what is possibly "wrong" with the combination that isn't working. As I said above, the explicit data source that does NOT work is an exact copy of the definition for the TNS name that DOES work. They should be functionally identical.
    What am I missing here!?
    Thanks.

    hi Michael!
    hmmm. it might be worth checking to see if at least one of the recognition problems is a drive letter issue:
    http://docs.info.apple.com/article.html?artnum=93499
    keep us posted.
    love, b

  • Query for recurring reports using Query Builder in Business objects

    1. How to count webi Recurring reports using query builder in business objects? (Need Query for this)
    2. How to count Crystal Recurring reports using query builder in business objects? (Need Query for this)
    I am able to get summerized recurring reports using Query Builder.
    For Example we have 343 reports which are under recurring (This includes both Webi Reports and Crystal Reports).
    we need to get individually how many webi reports are under Recurring and Crystal reports are under Recurring.

    1. How to count webi Recurring reports using query builder in business objects? (Need Query for this)
    2. How to count Crystal Recurring reports using query builder in business objects? (Need Query for this)
    I am able to get summerized recurring reports using Query Builder.
    For Example we have 343 reports which are under recurring (This includes both Webi Reports and Crystal Reports).
    we need to get individually how many webi reports are under Recurring and Crystal reports are under Recurring.

  • How to use Query Builder in JDeveloper?

    I am not able to use Query Builder with JDeveloper version 11g 2.
    The online documentation about Query Builder:
    http://docs.oracle.com/cd/E35521_01/user.111230/e17455/db_tools.htm#OJDUG2380
    "To use Query Builder:
    Open the SQL Worksheet.
    Right-click and choose Query Builder."
    But when I right-click on the SQL Worksheet, there is no menu item "Query Builder".
    Does the documentation belong to a different version of JDeveloper?
    Edited by: Ralf_user4689599 on 06.05.2013 15:40

    all features of 11.1.2.3.0 are installed.
    It makes no difference wether I start studio developer or database developer role.
    There's no query builder in the context menu of the sql worksheet.

  • Issue with TableAdapter Configuration Wizard and CASE statements

    I am having an issue with using any CASE statements in the select clause for the Table Adapter Configuration Wizard (TCW).  I can take any query without a CASE and it will run fine, but inserting any CASE statement in the Select such as:
    SELECT
    (CASE WHEN :ras_sort = 'D' THEN TO_CHAR(a.TRANS_DATE,'YYYYMMDD')
      WHEN :ras_sort = 'C' THEN  c.CLAIMDEP_NAME
      WHEN :ras_sort = 'A' THEN  TO_CHAR(a.ACCOUNT_NUMBER)
      END) sort1
    FROM xxxx
    causes the TCW to error with "error in list of function arguments, 'THEN' not recognized" and several other errors.  I have tried with and without parameters in the CASE and have tried both forms of the CASE statement.  I have tried multiple queries, all that run with no problem outside of TCW and ODP, but this seems to be a real issue
    Is this a known problem and are there any workarounds that will allow use of the TCW?
    Thanks,
    Dave

    Hi Ashish,
    perhaps you launch the Web service wizard from the wrong location (i.e. not selecting the SEI you want to use). Did you strictly follow the steps described in the <a href="http://help.sap.com/saphelp_nwce10/helpdata/en/44/f36fa8fd1d41aae10000000a114a6b/frameset.htm">documentation</a> for creating the web service?

  • Group by clause using query builder

    Hi,
    I have some event pages (pages created using a template called event) which are tagged with event types and I have 5 event types in total. In the event listing page, i want to show the events grouped by event types.
    Is there a facility in query builder to use "group by" which returns be results in different buckets?
    Is thats not the case, i have to run 1 query per event type which means i have to run 5 queries. (or i get the event type as facets -> get the buckets -> get the predicate for each bucket -> run one query per bucket which again is nothing buket one query per event type). I dont want to do that.  
    Hence using the query builder or any other form of querying, is there a way to group the results?
    Regards,
    yadhu

    Perfect... thats answers the query...
    Basically the summary is I cannot use aggregate functions like group by. Once i get the search results, i can either use facets, get the bucket predicates and drill down the search OR get all the results, do look up on property (using Node.getProperty) of each node in the result and build my UI based on mere coding. Am I right?

  • How to use Query Builder as a component inside our applications?

    I am very new to Apex, but I loved it until now :)
    After my first experience I am thinking to advice Apex as an Oracle database reporting environment to some of our marketing and sales guys. These guys are familiar to basic SQL and table, index concepts and their need is to create dynamic reports, take their output to excel and email these reports all around the company :)
    My first question is can Apex 3.1 work with 9.2 - 10.1 - 10.2 and 11.1?
    My second question is how can I open the Query Builder inside the Create Region>SQL Report wizard to my users inside a custom user defined form?
    My third question is if the answer of second question is it is not possible, then anyone can advice on alternatives for this kind of a need with Apex?
    My last question is how Apex can handle a distributed database environment, like Java applications can it open several database connections as needed?
    Thank you.

    Hello,
    My first question is can Apex 3.1 work with 9.2 - 10.1 - 10.2 and 11.1?Correct. That's said in the installation guide.
    My second question is how can I open the Query Builder inside the Create Region>SQL Report wizard to my users inside a custom user defined form?This does not yet exist out of the box. You can have a look how Oracle did it and try to mimic it in your own application.
    My third question is if the answer of second question is it is not possible, then anyone can advice on alternatives for this kind of a need with Apex?Import app 4500 in your own workspace. On page 1002 you should find the query builder.
    Again you can't just run this, you would need to make customizations to it. Alternatively you can add just a textarea on a page where you can run SQL statements from. But I guess you want to have the graphical display?
    My last question is how Apex can handle a distributed database environment, like Java applications can it open several database connections as needed?APEX is living in the Oracle database. So everything inside that database you can potentially work with. If you need data from other sources you can use a database link or hytrogenous connectivity. Basically if you can do it from the Oracle database, you can also do it from within APEX.
    Regards,
    Dimitri
    -- http://dgielis.blogspot.com/
    -- http://www.apex-evangelists.com/
    -- http://www.apexblogs.info/

  • Connection information to use Query Builder

    I am following the Oracle Reports tutorial - how to add data to a report
    http://download-east.oracle.com/docs/cd/B14099_17/bi.1012/b14364/rwtutorial_data.htm#i1012227
    I am at Step 6: Using the Query Builder.
    I already have the HR sample schema in my (9i) database, and have unlocked it.
    But at the prompt for user name and password and db name, I get this message:
    REP 0501 Unable to connect to the specified database
    ORA 12154 TNS: could not resolve the connect identifier specified.
    For each field I have this information:
    User name : hr
    Password ; hr
    Database : unidad
    This is the same information I use to connect to my database. What am I doing wrong?
    Many thanks.
    DA

    Hello again.
    The entry in the oracle92\network\admin file is
    # TNSNAMES.ORA Network Configuration File: C:\oracle\ora92\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    UNIDAD =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 2WIRE777)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = unidad.netcones.com)
    While the entry in the \DevSuiteHome_1\NETWORK is
    # tnsnames.ora Network Configuration File: C:\DevSuiteHome_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 2WIRE777)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = PLSExtProc)
    Do you suggest I change SERVICE NAME, from PLSExtProc to unidad.netcones.com ??
    Thank you again.
    DA

  • Parsing Error when using query builder

    I have a query with a subquery in the WHERE statement witn multiple fields listed in the select statement.
    For example, the subquery starts with "AND (center, jobid) IN SELECT center, jobid FROM ........
    The query runs fine and gives me the correct data
    However when I click on the Query builder option, I receive the following error
    "Text is not a valid, single SELECT statement.
    Parsing error:
    Failed to parse SQL query.
    Invalid Select Statement.
    Unexpected token "from" at line13, pos 1.
    Query Builder Disabled
    I believe this to be a problem with the query builder, Am I correct?

    Query Builder is a visual environment targeted at novice/intermediate users. Some advanced and/or hard to visualize language features are not supported. The improved error messaging coming in 3.1 would indicate this is 'unsupported' rather than 'not a valid, single SELECT statement.' For example, (using scott/tiger):
    Text contains unsupported syntax.
    Parsing error:
    Failed to parse SQL query.
    Invalid SELECT statement.
    Unexpected token "," at line 4, pos 16.
    Query Builder disabled.
    select distinct d.dname
    from dept d, emp e
    where d.deptno = e.deptno
      and (e.deptno, e.job) in
    (select x.deptno, x.job
    from emp x
    where x.deptno > 10
       and x.job NOT IN ('MANAGER', 'PRESIDENT')
    I don't know what your real query is, but refactoring to use join on derived table or table expression (or, as Gary said, separate IN clauses) rather than '(a, b) IN' will allow Query Builder to display it.
    derived table: select distinct d.dname
    from dept d, emp e,
    (select x.deptno, x.job
    from emp x
    where x.deptno > 10
       and x.job NOT IN ('MANAGER', 'PRESIDENT')
    ) filter
    where d.deptno = e.deptno
      and e.deptno = filter.deptno
      and e.job = filter.job
    table expression: with filter as (select x.deptno, x.job
    from emp x
    where x.deptno > 10
       and x.job NOT IN ('MANAGER', 'PRESIDENT')
    select distinct d.dname
    from dept d, emp e, filter
    where d.deptno = e.deptno
      and e.deptno = filter.deptno
      and e.job = filter.jobBrian Jeffries
    SQL Developer Team

  • How to identify recurring instance of a report using Query Builder

    Hi,
    I am having a report scheduled for four different set of  parameters.  I want to identify the instances pertaining to each schedule.  I tried the last successful instance but it gives only the last instance detail.
    Kindly help me
    Thanks and Regards,
    Subbu S

    Hi,
    Use the following query in the query builder
    SELECT
    SI_NAME, SI_SCHEDULEINFO.SI_STARTTIME
    FROM
    CI_INFOOBJECTS
    WHERE
    SI_RECURRING = 1
    SI_NAME: The recurring report name.
    SI_SCHEDULEINFO.SI_STARTTIME:  The date and time the report is scheduled to run next.
    The query above will return all the recurring reports .
    Regards,
    Prithvi
    Edited by: Raj_10 on Sep 14, 2011 1:54 PM

  • Hi, Cant use Query builder in Apps. Because there is no Foreign Keys define

    Hi,
    We Cant use any Query Builder (SqlDeveloper) in Oracle Apps.
    Because there is no Foreign Keys defined on the table except primary key.
    I agree that common colums are there on different table,
    But it's bit difficult to digout for numbers of tables from different modules (schema).
    Do any one have any query which can find common colums from different tables though the tables may or may not be from different Schemas too.
    Thanks in advance.
    Bachan

    >
    Due to performance oracle has not applied constraints
    on tables except Primary Key.
    I find this hard to believe. The most likely reason for this, is to speed up inserts, but thats only applicable if you have lots of inserts at the same time.
    But they have given eTRM to refer the forigen columns
    on different tables.
    Forigen column is just for name shake there is no
    constraint available except Primary key.
    And whenever we have to make query and apply join, we
    have to dig a lot.
    Even we cant use Sqldeveloper Query builder, which is
    a dam good tool for making Joins and query.
    My problem is the Time and effort which we have to
    put for diging tables.
    just want to reduce that with some intleactual
    Query.You will get quicker as you get more experienced. Of course, everytime you have a query to do a specific job you could save it in an appropriately named file and store it in your source control system.
    >
    Can u help me with names of the Tables which store
    information about tables, schema, columns, index, and
    views.select * from dictionary

  • Using Query Builder

    Hi Friends,
    I am having a small issue..
    I want to find out all folder names,report name & category using the Query Builder.
    kindly do the needful.
    I am using BOE: XI R2
    Data Base: Oracle 10
    Regards,
    RAVI

    Hello Ravi,
    You can use SQL statements as: -
    Folders: -
    select * from ci_infoobjects where SI_KIND='Folder'
    Category: -
    select * from ci_infoobjects where SI_KIND='Category'
    Webi Reports: -
    select * from ci_infoobjects where SI_KIND='Webi'
    Thanks,
    Vivek

  • How to use Query Builder in Oracle10g

    Since I'm new to Oracle , thus I'm facing some problem in some portions. When I went through the Query Builder option, actually I was not able to build the query as some of the features present in it were not clear to me like the "Condition" part and if I need to perform some join in it, how would that part work on it.
    Please reply and help me out. Thanks.
    Regards,
    Praveen Rai

    Query Builder is level 8.0, it's part of desupported developer 6i. Installation media has an online manual, which answers your questions. You should consider an alternative like SQLDeveloper. Query Builder may still work with 10g, but no guarantee.
    Werner

  • TableAdapter Configuration Wizard gives error when adding new TableAdapter

    Hi,
    I recently downloaded and installed the ODT for visual studio on my computer. I am running VS2008 on Windows 7 64-bit. I am able to create an ODP.NET connection to the Oracle XE 10.2g instance that is running on my computer with no problems and use that connection to browse the database. When I add a DataSet to my project, and start adding TableAdapters to the DataSet, I am getting errors. In an attempt to figure out what the problem is, I have followed various scenarios. I will describe each scenario, and what the end result is, and then after I have described them all, I will explain what I think the problem might be. Here are the different scenarios I have used:
    Scenario 1:
    From the Server Explorer, highlight ALL of the tables in my schema and drag them to the designer (all table adapters are added with no issues). I can add additional queries to each of the TableAdapters and then change the additional queries by right clicking and choosing "Configure". This all works with no issues. However, on certain TableAdapters, if I try to modify the primary query (Fill,GetData()), I can open the query editor just fine, change various settings, etc, but when I click on "Finish" I get the following error:
    Configure TableAdapter TABLENAME failed.
    Index was outside the bounds of the array.
    Scenario 2:
    From the Server Explorer, drag tables from my schema onto the designer one at a time. Some tables get added just fine, but for the rest of them, I get the following error:
    Failed to merge object(s).
    Index was outside the bounds of the array.
    Scenario 3:
    On the Dataset Designer, add tables one at a time by right clicking and choosing "Add -> TableAdapter" and then using SQL to define the query for each table. Some tables get added just fine, but for the rest of them, I get the following error:
    Failed to add TableAdapter.
    Index was outside the bounds of the array.
    Ok... now that I have described all of the different scenarios, I will explain what I think the problem is, and why. Based on my research, I believe the underlying problem has to do with Foreign Key Constraints on the various tables. While working on Scenarios 2 & 3, the same exact tables worked just fine in both scenarios. When I started looking at the definitions for the tables in my schema, it turns out that all of the tables that failed had foreign key constraints defined. When I remove the FK constraints from a table, I am then able to add it to my dataset and change the default query with no problems. My original application used the System.Data.OracleClient provided by Microsoft. When adding my tableadapters using the microsoft data provider, the FK relations are automatically generated for me in the designer, but not with the Oracle Data Provider
    I would be happy to provide you with the DDL that I used for creating my schema (it is not very big) if needed.
    Thanks,
    Jim

    Sorry let me clarify some of the config a little more.
    MAIL101 - Exch 2013
    MAIL102 - Exch 2013
    AP104 - Witness (strictly a witness nothing else on this machine)
    EDGE01 - Exch 2007 Edge
    CAS01 - Exch 2007 Hub/CAS load balancer for CAS02/03
    CAS02 - Exch 2007 Hub/CAS
    CAS03 - Exch 2007 Hub/CAS
    MBOX01 - Exch 2007 Mail cluster
    MBOX02 - Exch 2007 Mail cluster node
    MBOX03 - Exch 2007 Mail cluster node
    RDC01, RDC02, RDC03 - all 2008 R2 root domain controllers for rootdomain.rootdomain
    DC01, DC02, DC03, DC04 - all 2008 R2 domain controllers for us.rootdomain.rootdomain
    All DCs are Global Catalogs.
    I can ping all DCs and root DCs fromboth MAIL101 and 102
    The Exchange Replication service is running on both MAIL101 and 102.
    DC03 is in the same site as the MAIL101/102 servers so I'll run all replication tests from here.
    DCDIAG comes back with all tests passed.
    repadmin /replsum comes back with 0 fails and no errors largest delta for any intersite communication is 13min.
    When I run Test-ReplicationHealth -Identity MAIL101 and also 102 they both come back as everything passed.  No errors.

Maybe you are looking for