Finding last cell in column that matches certain value?

I'm trying to make a function that will find the last cell in a column that has a specified value. For instance, if I have a table with:
A B C
T F F
T F T
F T T
F T F
and I want to find the last cell in column C that has a value of T (meaning True), how would I do this?
I appreciate any help.

In the cells of column H, the formula is:
=IF(E="T",ROW(),"")
In E1 the formula is:
=MAX(H)
which the num of the row which you want to know.
You will be able to reference the cell with the formula
=INDIRECT(ADDRESS($E$1,5))
Yvan KOENIG (VALLAURIS, France) samedi 5 septembre 2009 21:17:41

Similar Messages

  • Pages (iWork 06) won't split cells into columns past a certain number...

    I'm trying to split a number of cells into columns (only one column of cells selected at a time). It worked fine with 5 out of the 15 columns that I have, but now when I highlight a column's worth of cells and right click "split into columns" is grayed out. Why?
    I changed the page size and made it huge in case that was limiting the overall table dimensions or anything like that, but it's still not working. Thanks!

    Does the ext directory have the php_oci8.dll? In the original steps the PHP dir is renamed. In the given php.in the extension_dir looks like it has been updated correctly. Since PHP distributes php_oci8.dll by default I reckon there would be a very good chance that the problem was somewhere else. Since this is an old thread I don't think we'll get much value from speculation.
    -- cj

  • Import-csv how to make powershell ignore a line in a csv file if a column contains a certain value

    Basically I got a very basic script that uses a csv file to input values needed to remove people from a distro list. That part is working fine. I'd like to add to it's functionality so it can look at values in a certain column, and if any of those certain
    values are present, I want powershell to skip that line and not process it. For instance I have a column in the csv called Group. If I have a listing under Group that says ABC I want the script to skip that line and not try to process it. What could I insert
    into the script to acheive this?

    You're welcome. You can add to the if test with -and:
    Import-Csv .\groups.csv | ForEach {
    If ($_.Group -ne 'ABC' -and $_.Group -ne 'DEF') {
    Write-Output "Group is $($_.Group)"
    Write-Output "Name is $($_.Name)"
    Output:
    Group is GHI
    Name is Show Me
    groups.csv:
    Group,Name
    ABC,Skip Me
    DEF,Skip Me Too
    GHI, Show Me
    Don't retire TechNet! -
    (Don't give up yet - 13,085+ strong and growing)

  • How to find out the table column that is required for index

    hi all,
    i want to the column required for index in one schema.
    what are the ways to achieve the same.

    To know what columns to index you must, not should, but must, know your data, know how it will be used, and know how your WHERE clause filters will affect how the data is accessed.
    Building indexes based on some rule is a waste of CPU, disk i/o, and space.
    To build indexes that enhance rather than degrade a system requires research and the use of explain plan reports generated with DBMS_XPLAN.
    http://www.morganslibrary.org/library.html

  • Best way to code to retrieve a field that matches one value

    Hello,
    Thanks for reading this post!
    I have a data set where users can be part of workgroups. I want to exclude any user that is part of workgroup 2 and 7, and only retrieve users that are solely part of workgroup 2.
    There can be users that are part of just workgroup 7 or other workgroups like 4, 5, 6 etc., but I only want users that have only workgroup 2 and no other workgroup.
    CREATE TABLE users
    ( user_id NUMBER(10)
    , user_lastname VARCHAR2 (50)
    , workgroup NUMBER(10)
    INSERT ALL
    INTO users(user_id, user_lastname, workgroup) VALUES (1, User_lastname1, 2)
    INTO users(user_id, user_lastname, workgroup) VALUES (1, User_lastname1, 7)
    INTO users(user_id, user_lastname, workgroup) VALUES (2, User_lastname2, 2)
    INTO users(user_id, user_lastname, workgroup) VALUES (2, User_lastname2, 7)
    INTO users(user_id, user_lastname, workgroup) VALUES (3, User_lastname3, 2)
    INTO users(user_id, user_lastname, workgroup) VALUES (4, User_lastname4, 7)
    I want to exclude any users that have both workgroups 2 and 7 and
    only retrieve users that have just 2. In this case I only want to retrieve user_id 3.
    Thanks!
    Edited by: dbarcell on Oct 8, 2011 11:44 AM
    Edited by: dbarcell on Oct 8, 2011 11:48 AM
    Edited by: dbarcell on Oct 8, 2011 11:51 AM

    dbarcell wrote:
    Hello,
    Thanks for reading this post!
    I have a data set where users can be part of workgroups. I want to exclude any user that is part of workgroup 2 and 7, and only retrieve users that are solely part of workgroup 2.
    There can be users that are part of just workgroup 7 or other workgroups like 4, 5, 6 etc., but I only want users that have only workgroup 2 and no other workgroup.
    CREATE TABLE users
    ( user_id NUMBER(10)
    , user_lastname VARCHAR2 (50)
    , workgroup NUMBER(10)
    INSERT ALL
    INTO users(user_id, user_lastname, workgroup) VALUES (1, User_lastname1, 2)
    INTO users(user_id, user_lastname, workgroup) VALUES (1, User_lastname1, 7)
    INTO users(user_id, user_lastname, workgroup) VALUES (2, User_lastname2, 2)
    INTO users(user_id, user_lastname, workgroup) VALUES (2, User_lastname2, 7)
    INTO users(user_id, user_lastname, workgroup) VALUES (3, User_lastname3, 2)
    INTO users(user_id, user_lastname, workgroup) VALUES (4, User_lastname4, 7)
    I want to exclude any users that have both workgroups 2 and 7 and
    only retrieve users that have just 2. In this case I only want to retrieve user_id 3.
    Thanks!
    Edited by: dbarcell on Oct 8, 2011 11:44 AM
    Edited by: dbarcell on Oct 8, 2011 11:48 AM
    Edited by: dbarcell on Oct 8, 2011 11:51 AMSQL> CREATE TABLE users
    ( user_id NUMBER(10)
    , user_lastname VARCHAR2 (50)
    , workgroup NUMBER(10)
    INSERT ALL
    INTO users(user_id, user_lastname, workgroup) VALUES (1, User_lastname1, 2)
    INTO users(user_id, user_lastname, workgroup) VALUES (1, User_lastname1, 7)
    INTO users(user_id, user_lastname, workgroup) VALUES (2, User_lastname2, 2)
    INTO users(user_id, user_lastname, workgroup) VALUES (2, User_lastname2, 7)
    INTO users(user_id, user_lastname, workgroup) VALUES (3, User_lastname3, 2)
    INTO users(user_id, user_lastname, workgroup) VALUES (4, User_lastname4, 7) 2 3 4 5
    Table created.
    SQL> SQL> 2 3 4 5 6 7 ;
    INTO users(user_id, user_lastname, workgroup) VALUES (4, User_lastname4, 7)
    ERROR at line 7:
    ORA-00928: missing SELECT keyword
    test data is FUBAR!

  • Update statement conditioned on two columns but for certain values only

    Hi this is my my sample data:
    with Table_1       
    as
          select '20:00' incident_time, 'WEDNESDAY' Day, 'N' Weekend,  '' Weekend_Alt   from dual
          union all
          select '18:00' incident_time, 'SATURDAY' Day, 'Y' Weekend,  '' Weekend_Alt from dual
          union all
          select '19:00' incident_time, 'FRIDAY' Day, 'N' Weekend, '' Weekend_Alt from dual
          union all
          select '11:00' incident_time, 'FRIDAY' Day, 'N' Weekend, '' Weekend_Alt from dual
    select *
      from Table_1I want to perform an update as seen below
    Update Table_1 tt
    SET Weekend_Alt = (CASE WHEN TO_CHAR(tt.day,'fmDAY') IN ('FRIDAY AND TIME >= 19:00','SATURDAY','SUNDAY') THEN 'Y' ELSE 'N' END)
    I realize the syntax is wrong but just want to give you an idea of what I want to achieve.Final Result should look something like this:
    with Table_1       
    as
          select '20:00' incident_time, 'WEDNESDAY' Day, 'N' Weekend,  'N' Weekend_Alt   from dual
          union all
          select '18:00' incident_time, 'SATURDAY' Day, 'Y' Weekend,  'Y' Weekend_Alt from dual
          union all
          select '19:00' incident_time, 'FRIDAY' Day, 'N' Weekend, 'Y' Weekend_Alt from dual
          union all
          select '11:00' incident_time, 'FRIDAY' Day, 'N' Weekend, 'N' Weekend_Alt from dual
    select *
      from Table_1Thanks in advance!!!
    Banner:
    Oracle Database 11g Release 11.2.0.2.0 - 64bit Production
    PL/SQL Release 11.2.0.2.0 - Production
    "CORE 11.2.0.2.0 Production"
    TNS for Linux: Version 11.2.0.2.0 - Production
    NLSRTL Version 11.2.0.2.0 - Production

    with Table_1
    as
          select to_date('01-JUL-2009 20:10','DD-MON-YYYY HH24:MI') incident_date    from dual
          union all
          select to_date('23-MAR-2010 12:12','DD-MON-YYYY HH24:MI') incident_date from dual
          union all
          select to_date('25-JUL-2010 23:30','DD-MON-YYYY HH24:MI') incident_datet from dual
          union all
          select to_date('09-JAN-2010 08:30','DD-MON-YYYY HH24:MI') incident_date from dual
          union all
          select to_date('08-JAN-2010 08:30','DD-MON-YYYY HH24:MI') incident_date from dual
          union all
          select to_date('08-JAN-2010 20:30','DD-MON-YYYY HH24:MI') incident_date from dual
          union all
          select to_date('26-JUL-2010 00:00','DD-MON-YYYY HH24:MI') incident_datet from dual
    select incident_date, to_char(incident_date,'Day'),
        case
            when incident_date between trunc(incident_date,'IW') + 4 + 19/24
                                   and trunc(incident_date,'IW') + 7
            then 'Y' else 'N'
        end
    from Table_1 t;So your update would be
    update table_1 tt
    set weekend_alt =
        case
            when incident_date between trunc(incident_date,'IW') + 4 + 19/24
                                   and trunc(incident_date,'IW') + 7
            then 'Y' else 'N'
        end;But it does lead me to question whether it is a good idea to store this derived data
    Edited by: 3360 on Nov 8, 2011 10:14 AM

  • Find records in table that match strin

    Hello,
    I have a comma delimited string that contains zip codes. I
    need to find records in a table that match any of the zip codes in
    the string. The database table is MS SQL. What is the best method
    to do this?
    Thanks in advance for any help!

    ghanna wrote:
    > Hello,
    >
    > I have a comma delimited string that contains zip codes.
    I need to find
    > records in a table that match any of the zip codes in
    the string. The database
    > table is MS SQL. What is the best method to do this?
    >
    > Thanks in advance for any help!
    >
    cfquery
    select ...
    from ...
    where tablename.fieldname IN
    (#listqulify(yourcommadelimitedlist*)#);
    * pass it in as a variable
    OR
    where tablename.fieldname IN (<cfqueryparam
    cf_sql_type="cf_sql_clob"
    value="#yourlistvariable#" list="yes">);
    you might want ot check up on the cfqueryparam syntax - i
    have a feeling
    i didn;t get it quiet right there... :)
    Azadi Saryev
    Sabai-dee.com
    Vientiane, Laos
    http://www.sabai-dee.com

  • How to verify columns that made up an index

    hello,
    the SQL statement:
    select index_name,index_type,table_name,table_owner from dba_indexes where table_name=&table_name ; gives you indexes built on the table name.
    But how can I find out ( sql statement) columns that made up an index?
    thanks

    The columns which make up an index can be queried from DBA_IND_COLUMNS.
    For example:
    select column_name from dba_ind_columns
    where index_name = '<your-index-name>'
    order by column_position;
    The Oracle Data Dictionary is HUGE. When I'm looking for something and can't immediately recall the exact name of the view I need, I query DICT and get Oracle to give me a list of the likely views I need:
    For example:
    select table_name from dict where table_name like '%COLUMN%';
    All the best,
    SF.

  • I need to find similar text in two columns: e.g. cell a1 has The Art of War and there is another similar cell in another column that has Art of War HD

    I have text (list of items) on Column A
    I want to find the the same word/number of characters on Column C and to place the formula on Column B and I want the matching result. 
    A1 the art of War 
    I know that somewhere in column b there is a term similar (start with the same characters) The Art of War HD in Spanish
    So I want  a match between these two columns so on the result on cell B1 it will give me "The Art of" (if I ask for 10 matching characters).
    Thanks,

    Hi,
    Please try the following method:
    Get the Column A and Column B the front 10 characters to Column C and Column D
    Match the Column C and Column D
    Formula:
    C1: =LEFT(A1,10)
    D1: =LEFT(B1,10)
    E1: =IF(DELTA(C1,D1),"same","not same")
    Regards,
    George Zhao
    TechNet Community Support

  • How can I read the last cell of a JTable that a user Enters data

    I have a one column JTable with several rows that a user enters data to. Upon entering the last data, the user clicks a button to read all the data from the rows in the JTable and puts them in an arraylist. If the user does not click enter or navigates away from the last cell, then after clicking the button it does not read the last cell entered. Since the user is clicking on a button to indicate he is done entering data on the table, does he also have to hit the enter key to indicate he is done entering the data?
    The code below is my tablemodelListener:
    public class InteractiveTableModelListener implements TableModelListener {
    public void tableChanged(TableModelEvent evt) {
    if (evt.getType() == TableModelEvent.UPDATE) {
    int row = evt.getFirstRow();
    System.out.println("Update row:"+" "+row);
    jTable1.setRowSelectionInterval(row, row);
    }

    Don't forget to use the Code Formatting Tags so the posted code retains its original formatting. That is done by selecting the code and then clicking on the "Code" button above the question input area.
    In the future, Swing related questions should be posted in the Swing fourm. (This question has been asked and answered dozens of times).
    But there is not need to repost because [Table Stop Editing|http://www.camick.com/java/blog.html?name=table-stop-editing] explains whats happening and give a couple of solutions.

  • Getting a "Could not find a base address that matches scheme net.tcp"

    I've written several WCF services which use HTTP (and its variants).  Now I'm trying to learn how to write a WCF service which will use TCP.  I'm using Andrew Troelsen's book, "Pro C# 2008 and the .NET 3.5 Platform" as a guide (chapter 25).  I've asked questions related to this before on a much more complicated WCF service, so I decided to write a simple WCF service to learn how to do it, rather than work on my more complicated WCF service.  Coincidentally I chose the same routine as Troelsen did in his book, although in my case I called the WCF service SimpleAdd.
    Anyway, after writing the WCF service, I then wrote the Windows Service to host it.  I then installed it, and the installation went fine.  When I tried to run the service, the service started but then immediately stopped.  I checked the event log and found the following message in it:
    "Service cannot be started. System.InvalidOperationException: Could not find a base address that matches scheme net.tcp for the endpoint with binding MetadataExchangeTcpBinding. Registered base address schemes are [http]."
    Here's the interface code for my SimpleAdd:
    using System;  
    using System.Collections.Generic;  
    using System.Linq;  
    using System.Runtime.Serialization;  
    using System.ServiceModel;  
    using System.Text;  
    namespace SimpleAdd  
        // NOTE: If you change the interface name "IService" here, you must also update the reference to "IService" in App.config.  
        [ServiceContract]  
        public interface IService  
            [OperationContract]  
            int Add(int FirstNumber, int SecondNumber);  
    Here's the code for the implementation (I'm leaving out the using statements):
    namespace SimpleAdd  
        // NOTE: If you change the class name "Service" here, you must also update the reference to "Service" in App.config.  
        public class Service : IService  
            #region IService Members  
            int IService.Add(int FirstNumber, int SecondNumber)  
                return (FirstNumber + SecondNumber);  
            #endregion  
    And here's the App.Config file for the service:
    <?xml version="1.0" encoding="utf-8" ?> 
    <configuration> 
      <system.web> 
        <compilation debug="true" /> 
      </system.web> 
      <!-- When deploying the service library project, the content of the config file must be added to the host's   
      app.config file. System.Configuration does not support config files for libraries. --> 
      <system.serviceModel> 
        <services> 
          <service behaviorConfiguration="SimpleAdd.ServiceBehavior" name="SimpleAdd.Service">  
            <clear /> 
            <endpoint binding="wsHttpBinding" contract="SimpleAdd.IService" 
              listenUriMode="Explicit">  
              <identity> 
                <dns value="localhost" /> 
                <certificateReference storeName="My" storeLocation="LocalMachine" 
                  x509FindType="FindBySubjectDistinguishedName" /> 
              </identity> 
            </endpoint> 
            <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" 
              listenUriMode="Explicit">  
              <identity> 
                            <!--   
                <certificateReference storeName="My" storeLocation="LocalMachine" 
                  x509FindType="FindBySubjectDistinguishedName" /> 
                                --> 
              </identity> 
            </endpoint> 
            <endpoint address="net.tcp://localhost/SimpleAdd/" binding="netTcpBinding" 
              bindingConfiguration="" contract="SimpleAdd.IService" /> 
            <host> 
              <baseAddresses> 
                <add baseAddress="http://localhost:8731/Design_Time_Addresses/SimpleAdd/Service/" /> 
              </baseAddresses> 
            </host> 
          </service> 
        </services> 
        <behaviors> 
          <serviceBehaviors> 
            <behavior name="SimpleAdd.ServiceBehavior">  
              <serviceMetadata httpGetEnabled="true" /> 
              <serviceDebug includeExceptionDetailInFaults="false" /> 
            </behavior> 
          </serviceBehaviors> 
        </behaviors> 
      </system.serviceModel> 
    </configuration> 
    I don't think it will matter much, because I believe the problem probably lies in the App.config file for the Windows service, but just in case, here's the code for the AddWinService (without the using statements):
    namespace WindowsAddService  
        public partial class AddWinService : ServiceBase  
            //A member variable of type ServiceHost.  (I'm using the "Pro C# 2008" book as reference for this.)  
            private ServiceHost myHost;  
            public AddWinService()  
                InitializeComponent();  
            protected override void OnStart(string[] args)  
                //just to be really safe  
                if (myHost != null)  
                    myHost.Close();  
                    myHost = null;  
                //create the host  
                myHost = new ServiceHost(typeof(SimpleAdd.Service));    //I've included the class from SimpleAdd, which isn't in the book!!!  
                //open the host  
                myHost.Open();  
            protected override void OnStop()  
                //shut down the host  
                if (myHost != null)  
                    myHost.Close();  
    And lastly, here is the App.Config file from my AddWinService:
    <?xml version="1.0" encoding="utf-8" ?> 
    <configuration> 
        <system.serviceModel> 
            <client> 
                <endpoint address="net.tcp://localhost/SimpleAdd" 
                                    binding="netTcpBinding" 
                                    contract="SimpleAdd.IService" 
                                    name="netTcpBinding_IService" /> 
            </client> 
            <services> 
                <service name="SimpleAdd.Service" 
                                 behaviorConfiguration="SimpleAddMEXBehavior">  
                    <!-- Enable the MEX endpoint --> 
                    <endpoint address="mex" 
                                        binding="mexTcpBinding" 
                                        contract="IMetadataExchange" /> 
                    <host> 
                        <!-- Need to add this so MEX knows the address of our service. --> 
                        <baseAddresses> 
                            <add baseAddress="http://localhost:8731/Design_Time_Addresses/SimpleAdd/Service/" /> 
                        </baseAddresses> 
                    </host> 
                </service> 
            </services> 
            <behaviors> 
                <serviceBehaviors> 
                    <behavior name="SimpleAddMEXBehavior">  
                        <serviceMetadata httpGetEnabled="true" /> 
                    </behavior> 
                </serviceBehaviors> 
            </behaviors> 
        </system.serviceModel> 
    </configuration> 
    So, where have I gone wrong?
    Rod

    Hello Richard,
    Well, I've tried making the change to the MEX point for net.tcp, but now when I try to start the service I get the following error in the event log:
    Service cannot be started. System.InvalidOperationException: Service 'SimpleAdd.Service' has zero application (non-infrastructure) endpoints. This might be because no configuration file was found for your application, or because no service element matching the service name could be found in the configuration file, or because no endpoints were defined in the service element.
    I am sure the problem lies with what I've put into the app.config file.  My app.config file now looks like this:
    <?xml version="1.0" encoding="utf-8" ?> 
    <configuration> 
        <system.serviceModel> 
            <client> 
                <endpoint address="" 
                                    binding="netTcpBinding" 
                                    contract="SimpleAdd.IService" 
                                    name="netTcpBinding_IService" /> 
            </client> 
            <services> 
                <service name="SimpleAdd.Service" 
                                 behaviorConfiguration="SimpleAddMEXBehavior">  
                    <!-- Enable the MEX endpoint --> 
                    <endpoint address="mex" 
                                        binding="mexTcpBinding" 
                                        contract="IMetadataExchange" /> 
                    <host> 
                        <!-- Need to add this so MEX knows the address of our service. --> 
                        <baseAddresses> 
                            <add baseAddress="net.tcp://localhost/SimpleAdd" /> 
                        </baseAddresses> 
                    </host> 
                </service> 
            </services> 
            <behaviors> 
                <serviceBehaviors> 
                    <behavior name="SimpleAddMEXBehavior">  
                        <serviceMetadata httpGetEnabled="false" /> 
                    </behavior> 
                </serviceBehaviors> 
            </behaviors> 
        </system.serviceModel> 
    </configuration> 
    I've also tried using this for the <client> tag under <system.serviceModel>:
    <client> 
       <endpoint address="net.tcp://localhost/SimpleAdd" 
             binding="netTcpBinding" 
        contract="SimpleAdd.IService" 
        name="netTcpBinding_IService" /> 
    </client> 
    But that gives me the same error in the event log.
    So, what have I done wrong now?
    Rod

  • Total Last Cell from last row, last column into another table

    What I'm trying to do is create a sum in a final table that will add together all the last cell Sums in the last column, last row from all Ten tables.
    Example of where I want to get the information from:
    I know I could use something like this *=SUM(Table 1 :: K45,Table 2 :: D9)* but in the future I want to be able to add extra rows in the Ten tables and therefore have the final table calculate the last cell without having to manualy change the cell numbers in the Sum.
    Message was edited by: Pongify

    Pongify wrote:
    Your "Bingo" solution worked a treat, now with Ten tables do I have to put the code in the last table cell Ten times changing the table number on each?
    Yes you have, the last table is perfectly unable to guess from which table it must grab datas.
    CAUTION There is an oddity which I call a bug.
    If you rename one of the table from which you grab datas, the two first occurences (in bold) in the formula will be adjusted accordingly but the 3rd one will not (the underlined one).
    =INDIRECT(ADDRESS(ROWS( *Tableau 1* :: A),COLUMNS( *Tableau 1* :: 1:1),,,"_Tableau 1_"))
    My guess is that the designers forgot that this "string" has exactly the same status as the first two occurences. Of course it's reported to Apple but at this time, we have to live with it.
    Here is a slightly modifier formula:
    =INDIRECT(ADDRESS(ROWS(Tableau 1 :: A),COLUMNS(Tableau 1 :: $1:$1),,,"Tableau "&ROW()))
    I replaced 1:1 (in the COLUMNS operand) which was modified during the fill down process by $1:$1 which remains unchanged.
    As I am lazy, I modified the last reference to the tables so it is automatically adjusted during the fill down process (my tables are named Tableau 1 thru Tableau 10).
    Yvan KOENIG (from FRANCE dimanche 6 juillet 2008 16:27:30)

  • Find files that match with given string, except one character in a fixed position

    Hi,
    I want to find files in a directory with a given string (ss-20140129-process-000*.sdx), where only one character will be mismatched, so have to use wildcard for that character. This means I am looking for filenames where everything needs to be matched except
    one character in position of "*". For the samples given below: 1st 3 files matched with the given string, but last 3 files have not matched, so first 3 files will be counted.
    ss-20140129-process-0001.sdx
    ss-20140129-process-0004.sdx
    ss-20140129-process-0009.sdx
    zx-20140129-process-0001.sdx
    bt-20140129-process-0002.sdx
    zx-20140129-process-0001.sdx
    I can use the command like (GCI -path $folder -filter ss-20140129-process-000?.sdx), BUT problem is i am building a string for the filter (code given below), where i DO NOT know how to use "?" within the string to make a character exception.
    Code:
    $datevalue = [datetime]::parseexact($trandate,"MMddyy",$null)
    $yyyymmdd = $datevalue.tostring('yyyyMMdd')
    $FileToCheck = ("ss-"+$yyyymmdd+"-process-000?.sdx")
    GCI -path $folder -filter $FileToCheck
    But it's definitely NOT working for syntax problem.
    Any help?

    I don't think it's a syntax issue in the filter.  This works fine for me:
    $yyyymmdd = '20140129'
    $FileToCheck = ("ss-"+$yyyymmdd+"-process-000?.sdx")
    Get-ChildItem -Path . -Filter $FileToCheck
    <#
    Output:
    Directory: C:\source\Temp\sdxtext
    Mode LastWriteTime Length Name
    -a--- 1/30/2014 10:16 AM 0 ss-20140129-process-0001.sdx
    -a--- 1/30/2014 10:16 AM 0 ss-20140129-process-0004.sdx
    -a--- 1/30/2014 10:16 AM 0 ss-20140129-process-0009.sdx
    #>
    You can try adding some debug output right before the call to Get-ChildItem. Check the values of $Folder and $FileToCheck, make sure they're correct. You can also fiddle with the values and call Get-ChildItem manually until it works, which would then tell you
    how the code needs to be changed.

  • I've "successfully" installed the latest version of Flash Player. How do I find where it "lives" so that I'm certain it's in there. Also, do I put the App icon in the trash now? (I am on a Mac) Thank you!

    I've "successfully" installed the latest version of Flash Player, as recommended by Firefox. How do I find where it "lives" so that I'm certain it's in there. Also, do I put the App icon that appears on my desktop, in the trash now? I am on a Mac and I am not technically inclined.
    Thank you!

    Your list of plugins shows that you have installed Flash 10.2 r152 which is the current release version.
    You can also confirm that Flash is installed by visiting this link - http://www.adobe.com/software/flash/about

  • WCF Published Orch - Could not find a base address that matches scheme http for the endpoint with binding MetadataExchangeHttpBinding

    I have an orchestration published as a web service.  It was working fine on our test environment, we deployed to production, and now getting this error.  The website wouldn't go in the BizTalk MSI, so we copied the files.  We reset the Authentication
    to match the test system (we are using Basic Auth).
    When we try to browse the webservice in the browser, it prompt for userid/password, we enter it, then it gives the following error. 
    I'm not even sure what it means by "base address", if URL was https://prod.mydomain.com/myapp/myservice.svc, would https://prod.mydomain.com be the based address? In the test environment, the URL is https://test.mydomain.com/myapp/myservice.svc. 
    In both environments, we have a customer calling this webservice.
    Also, I don't know what it means "scheme http".  We are using https:... on the URL.
    I'm thinking this is either security related, something to do with the app pool being different, or maybe something to do with bindings. 
    Thanks,
    Neal Walter
    http://MyLifeIsMyMessage.net
    Web.config:
        <services>
          <!-- Note: the service name must match the configuration name for the service implementation. -->
          <service name="Microsoft.BizTalk.Adapter.Wcf.Runtime.BizTalkServiceInstance" behaviorConfiguration="ServiceBehaviorConfiguration">
            <endpoint name="HttpMexEndpoint" address="mex" binding="mexHttpBinding" bindingConfiguration="" contract="IMetadataExchange" />
            <!--<endpoint name="HttpsMexEndpoint" address="mex" binding="mexHttpsBinding" bindingConfiguration="" contract="IMetadataExchange" />-->
          </service>
        </services>
      </system.serviceModel>
        <system.webServer>
            <security>
                <authorization>
                    <remove users="*" roles="" verbs="" />
                    <add accessType="Allow" users="myCustomer" />
                </authorization>
            </security>
        </system.webServer>
    Server Error in '/eSecuritelIn' Application.
    Could not find a base address that matches scheme http for the endpoint with binding MetadataExchangeHttpBinding. Registered
    base address schemes are [https].
    Description:
    An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the
    code. Exception Details: System.InvalidOperationException: Could not find a base address that matches scheme http for the endpoint with binding MetadataExchangeHttpBinding. Registered base address schemes are [https].
    Source Error:
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using
    the exception stack trace below.
    Stack Trace:
    [InvalidOperationException: Could not find a base address that matches scheme http for the endpoint with binding MetadataExchangeHttpBinding. Registered base address schemes
    are [https].]
       System.ServiceModel.ServiceHostBase.MakeAbsoluteUri(Uri relativeOrAbsoluteUri, Binding binding, UriSchemeKeyedCollection baseAddresses) +16582113
       System.ServiceModel.Description.ConfigLoader.LoadServiceDescription(ServiceHostBase host, ServiceDescription description, ServiceElement serviceElement, Action`1
    addBaseAddress) +1082
       System.ServiceModel.ServiceHostBase.ApplyConfiguration() +156
       System.ServiceModel.ServiceHostBase.InitializeDescription(UriSchemeKeyedCollection baseAddresses) +215
       System.ServiceModel.ServiceHost..ctor(Object singletonInstance, Uri[] baseAddresses) +400
       Microsoft.BizTalk.Adapter.Wcf.Runtime.WebServiceHost`3..ctor(IsolatedReceiverType isolatedReceiver, BizTalkServiceInstance serviceInstance, Uri[] baseAddresses)
    +36
       Microsoft.BizTalk.Adapter.Wcf.Runtime.WebServiceHostFactory`3.CreateServiceHost(String constructorString, Uri[] baseAddresses) +533
       System.ServiceModel.HostingManager.CreateService(String normalizedVirtualPath) +1413
       System.ServiceModel.HostingManager.ActivateService(String normalizedVirtualPath) +50
       System.ServiceModel.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath) +1172
    [ServiceActivationException: The service '/eSecuritelIn/eSecuritelIn_OrchPublished_RepairEquipmentService.svc' cannot be activated due to an exception during compilation. 
    The exception message is: Could not find a base address that matches scheme http for the endpoint with binding MetadataExchangeHttpBinding. Registered base address schemes are [https]..]
       System.Runtime.AsyncResult.End(IAsyncResult result) +901424
       System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResult result) +178702
       System.Web.AsyncEventExecutionStep.OnAsyncEventCompletion(IAsyncResult ar) +107
    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET
    Version:4.0.30319.272

    When you want to migrate Web Applications from one environment to other there are multiple ways to achieve it.
    1) Migrate in MSI- Export MSI and select the option for your Web Application, however I don't recommend this option
    2) Is to browse the folder for Web Application(Right click on web app and browse). Copy this folder(normally within inetpub folder) and take it to the inetpub folder of other environment. Later from the IISManager create application.
    Are you not using the same Binding file?
    Check you web.config file and see if the endpoint is configured for mexHTTpBinding.
    Old: binding="mexHttpBinding"
    New: binding="mexHttpsBinding"
    web.config snippet:
    <services>
    <service behaviorConfiguration="ServiceBehavior" name="LIMS.UI.Web.WCFServices.Accessioning.QuickDataEntryService">
    <endpoint behaviorConfiguration="AspNetAjaxBehavior" binding="webHttpBinding" bindingConfiguration="webBinding"
    contract="LIMS.UI.Web.WCFServices.Accessioning.QuickDataEntryService" />
    <endpoint address="mex" binding="mexHttpsBinding" contract="IMetadataExchange" />
    </service>
    Also look into the below article- How to fix: "Could not find a base
    address that matches scheme http for the endpoint with binding WebHttpBinding" Errors
    Moving to https = Could not find a base address that matches scheme
    Thanks,
    Prashant
    Please mark this post accordingly if it answers your query or is helpful.

Maybe you are looking for

  • How to move a project from one library to another?

    I merged too many iPhoto libraries into one very large Aperture library,  It takes too long to load up even though I'm using a Thunderbolt external drive.  So I'm exporting some of the projects as new libraries.  After doing so, I discover that some

  • Continuity calling works but Handoff does not.

    I got continuity calling to work by doing the on & off tricks with my iPhone 6 and iPad 4, but Handoff still does not work.

  • How to reinstall apps in a new device. I downlowad from " selection of premium apps" last Dec

    Hi,All I downloaded and installed some apps from " selection of premium apps" last December. The device I installed was 9780. Now, I am starting to use a new 9900 device. How to reinstall apps I downloaded in my new 9900?  My old 9780 would be erased

  • Xmlinit/xmlinitenc problem on C parser

    Hi... It's probably a well-known problem and a far too many times asked question but I can't find any answer here... I'm trying to intialize a parser with xmlinit or xmlinitenc but not to avail... Anyway I'm using them (with or with any encoding expl

  • Error installing SAP IDES 6.00

    Dear guys, I'm installing SAP IDES 6.00 in VMWare with Win Server 2003, 2GB RAM. My laptop Spec are 4GB RAM, Core2Duo. I'm installing SAP 6.00 in external hard drive 1 TB. I have been trying for 5 times. And found the same problems in import ABAP.  O