"Could not find Matching Media Query style sheet" [was: Dreamweaver Creative Cloud]

I have an error message at the top left of my document saying "Could not find matching Media Query style sheet. Nothing happens when I alter the CSS so I'm guessing that is not linked somewhere. I also have made certain that all my .css and .js files are linked.
Subject line edited by moderator for clarity

HI tkennedys,
I found a similar thread with a solution that could help you.
http://forums.adobe.com/thread/1014094
Thanks,
Preran

Similar Messages

  • Visio Shapes "Could not find match" Error

    I upgraded to office 2010 just this past week, and after the upgrade I noticed I could no longer search for shapes in Visio 2007. I tried a repair.  I re-indexed everything in the Indexing Options in the control panel. I uninstalled reinstalled. and
    then I upgraded to Visio 2010 and aboslutely nothing has worked to fix this issue. please advise

    If the shape search is no longer supported, why is there a search edit control under shapes?
    Shape search is still supported. Internet shape search is no longer available.
    Mind you, when shapes are found the shape search display is really badly broken. The display used to show which stencil the shapes had been found in (which was very, very useful because it gave you a clue to where other similar shapes might be found), but
    now it's just a list of shapes with duplicates (and you have no idea which is metric and which is US units. Yes, I know the information is available if you do <shape>right-click -> properties, but that isn't the point.
    Paul Herber, Sandrila Ltd. Engineering and software shapes for Visio
    Sandrila Ltd

  • Eclipse give following error :could not find Java 2 runtime environment

    When I try to start eclipse it is giving me following error could not find Java 2 runtime environment.It was working fine untill I installed a new verson of eclipse although I am not whethar that is the source of problem.
    When i give java -version command in command prompt it shows
    Registry key 'Software\JavaSoft\Java Runtime Environment\CurrentVersion'
    has value '1.4', but '1.6' is required.
    Error: could not find java.dll
    Error: could not find Java 2 Runtime Environment.
    My java Home ,classpath , and path are all set as I say it was earliar woking fine.
    Please Help.

    I know this is a relatively old post, but some people can stumble on this page when doing a search for this problem.
    Anyway, I ran into this on my PC after I installed Sybase which had an older jre.
    Solution:
    1. Run regedit
    2. Look for Java Runtime Environment
    You may have to do multiple searches. Eventually you'll find one with the version number.
    3. Modify the value and change it to the correct version number. (in your case, you would have changed it from 1.4 to 1.6).
    This is much quicker than reinstalling Java every time installing something that uses an older version of Java hoses up the registry value.

  • Could not find Dreamweaver Fluid Grid style sheet

    I have error in Adobe Dreamweaver CS6 which is part of the Creative Suite 6 Master Collection.
    Error was when I trying to use "rubber" <div> layout: "Could not find Dreamweaver Fluid Grid style sheet". When I clicked on the button in the sidebar, in the new document.

    Ask in the DW forum.
    Mylenium

  • "Could not find  Dreamweaver Fluid Grid style sheet error" in Dreamweaver CS6

    I have error in Adobe Dreamweaver CS6 which is part of the Creative Suite 6 Master Collection.
    Error  was when I trying to use "rubber" <div> layout: "Could not find  Dreamweaver Fluid Grid style sheet". When I clicked on the button in the  sidebar, in the new document.

    #1 Go to File > New FluidGrid Layout > select 3rd item > Hit Create button.  See screenshots.
    #2  DW will prompt you for a file name and location for your new FluidGrid.css file.  Give your style sheet a name without spaces or special characters eg. MyFluidGrid.css.  Save.
    #3 From the SourceCode tag, hit Ctrl+S to Save your HTML Page.  DW will set the corrected path to your external files: 
    MyFluidGrid.css
    boilerplate.css
    respond.js
    That's all there is to it.
    Nancy O.

  • 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.

  • 11.1.1.4:Could not find the item selected to match the value of type Number

    Hi,
    I have a taskflow with an input parameter.
    The input parameter value is to be assigned to a list item as the default selected value.
    I have mapped the pageFlow scope parameter to set value to the list item using input page parameters defined in task flow.
    but When i Run the task flow the value does not get assigned to the drop down list and jdevloper console screen shows up the following message
    "Could not find the item selected to match the value 2 by type: oracle.jbo.domain.Number in LOV."
    But If I click the Lov to check the values it shows that value is present in the list.
    The same configurations works if the list of values is for a column with type as java.lang.String.
    Is it somethng different that is to be done for a Number field to assign value from a taskflow parameter?
    Edited by: user3067156 on Jun 25, 2011 3:34 PM

    Hi Jobinesh,
    I am assigning the default value in the task flow using input page parameters ...
    <view id="VIEW1">
    <page>/title.jsff</page>
    <input-page-parameter>
    <from-value>#{pageFlowScope.pInputTyp_Id}</from-value>
    <to-value>#{bindings.pTyp_Id1.attributeValue}</to-value>
    </input-page-parameter>
    </view id>
    It does not assign the value, if Bind variable(pTyp_Id1) NDtype and task flow input parameter(pInputTyp) class type, both are set to use type oracle.jbo.domain.Number.
    If I change both to use java.lang.String and additionally also change the VO defination the accept the bind variable of type string, it assigns the value correctly.
    Usecase:
    I have a a task flow for which has its first page a search page.
    The Search page is created using operation execute with params and dragging the query parameters on the page.
    The Query parameters are to be filled using a select one choice option and the list is bound to the master values.
    This task flow can be used inside a standalone page as a region to provide a search page
    The same task flow can be called from within another taskflow which will provide the default values for the drop down lists ..
    Since the search page is a jsff fragment i dont have a page on load handler to provide default values..
    So assiging the values using input page parameters defined in task flow view tag.
    For testing I am passing the taskflow input parameters by calling the task flow from a jspx page a region . When I configure this task flow a region in a page its asks for providing the values for the parameters
    And the same gets configured in my testpage def as
    <executables>
    <variableIterator id="variables"/>
    <taskFlow id="Flow1" taskFlowId="/WEB-INF/Flow1.xml#Flow1"
    activation="deferred"
    xmlns="http://xmlns.oracle.com/adf/controller/binding">
    <parameters>
    <parameter id="pTyp_Id" value="1207"/>
    </parameters>
    </taskFlow>
    </executables>
    Edited by: user3067156 on Jun 27, 2011 1:50 PM

  • WARNING: ADFv: Could not find selected item matching value ...

    Using Windows JDev 11.1; I have an entity object with an attribute which has a LOV configured to supply a select-one-choice render. The LOV query requires that a bind variable be supplied. When creating a new record in the entity via the VO, I can use the ViewImpl to create a new row, retrieve the RowSet which corresponds to the attribute LOV query, set the named where clause parameter, and I'm away. When updating however, I'm getting the following error reported:
    09/12/2009 2:44:04 PM oracle.adfinternal.view.faces.model.binding.FacesCtrlListBinding getInputValue
    WARNING: ADFv: Could not find selected item matching value EMPLOYER of type: java.lang.String in the list-of-values.
    I can't supply the bind variable value before the row is instantiated (and presumably populated with the current value/key) because the View Accessor RowSet is only accessible via the RowImpl. If after the query has executed, I apply the bind variable value, re-execute the RowSet query, I can see that it's populated, and I can create a RowSetIterator to loop through the LOV RowSet and confirm that the key/value is there. I can even setCurrentRow on the RowSet but I still find that the above error appears in the serve log output seemingly after all this code executes.
    So my question is what is the technique for supplying bind variables to attribute LOV View Accessors as part of an underlying EO object query.
    In the run-time, the list items appear unpopulated (current value and list items). If I reload the page, it all comes up fine, which could tend to suggest that a PPR event might fix me up, but I would prefer to know how this should be done.
    Thanks in advance.
    Edited by: robli on Dec 9, 2009 9:01 PM

    Hi,
    Is your issue resolved. I'm facing similar issue. I have created a viewaAccessors in EO, associated these to ViewObject attributes as List of Values.
    I created the table in UI using the ViewObject.
    I see those as selectOneChoice but not values (Empty list).
    If I create new record in the table by CreateInsert. table now shows the ListOfvalues.
    any Idea what am I missing.
    Thanks,
    Satya
    Edited by: stammine on Mar 2, 2010 4:09 PM

  • Could not find selected item matching value "null" in CoreSelectOneRadio

    Hello,
    I get the following error with my selectOneChoice components:
    WARNING Could not find selected item matching value "null" in CoreSelectOneRadio[UIXEditableFacesBeanImpl, id=dyna_2709976_11]
    It seem that the component looks for a selectItem object qith its value set to null, so I tried to add one with a null value to no avail. The error don't cause any problem on the rendered page but it might spam the log when many users will be connected. Anyone every got this error and found a fix to stop it from appearing?
    Regards,
    Simon Lessard

    you said you're using selectOneChoice but the error says radio. Is the information correct?

  • Could not find selected item matching value "New" warning message in ADF

    Hi,
    I have a selectOneChoice1 for a field which has the following fixed values in it. And while creating it, I selected the 'SelctionRequired' option so that this field will always have a value.
    New
    Pending
    Completed.
    While navigating to this page, I am trying to set the value to 'New' (Retrieved from the DB) in the backing bean. But when the page is rendered, the above field is empty with the above options in the list and jdev has the follwing error message in its log.
    WARNING: Could not find selected item matching value "New" in CoreSelectOneChoice[UIXEditableFacesBeanImpl, id=selectOneChoice1]
    Can any one help me with this issue?
    Thanks,
    Priya

    The value of a list binding is the zero-based integer position in the list that is selected, not the actual underlying value.
    The simplest way to set the value of an attribute is to use an attribute binding (which can be bound to the same attribute as the list binding). When you set the value of an attribute binding, it sets the value as you supply it. Otherwise, you'd need to set the list binding's value to the numerical "slot" number of the one you want to change the value to.

  • Sun C++ 5.13 SunOS_sparc Beta2 2014/06/17: Error: Could not find a match for std::_Tuple_impl 0, unsigned&& ::_Tuple_impl(std::tuple unsigned&& , unsigned) needed in std::tuple unsigned&& ::tuple unsigned, void (unsigned&&).

    I think I downloaded the latest Solaris Studio version.  When I compile my code, I got the following error:
    bash-3.00$ gmake -f Makefile.sun
    CC -c -o metadata.o metadata.cpp -I. -I.. -g -O0 -std=c++11 -I/export/home/oracle/zhifan/boost_1_55_0 -I/export/home/oracle/zhifan/instantclient_11_2/sdk/include -V
    CC: Sun C++ 5.13 SunOS_sparc Beta2 2014/06/17
    ccfe: Sun C++ 5.13 SunOS_sparc Beta2 2014/06/17
    "metadata.cpp", line 20: Warning: db hides databus::MetadataManager::db.
    "metadata.cpp", line 26: Warning: db hides databus::MetadataManager::db.
    Error: Could not find a match for std::_Tuple_impl<0, unsigned&&>::_Tuple_impl(std::tuple<unsigned&&>, unsigned) needed in std::tuple<unsigned&&>::tuple<unsigned, void>(unsigned&&).
    "/export/home/oracle/zhifan/SolarisStudio12.4-beta_jul14-solaris-sparc/lib/compilers/CC-gcc/include/c++/4.8.2/tuple", line 868:     Where: While instantiating "std::tuple<unsigned&&>::tuple<unsigned, void>(unsigned&&)".
    "/export/home/oracle/zhifan/SolarisStudio12.4-beta_jul14-solaris-sparc/lib/compilers/CC-gcc/include/c++/4.8.2/tuple", line 868:     Where: Instantiated from std::forward_as_tuple<unsigned>(unsigned&&).
    "/export/home/oracle/zhifan/SolarisStudio12.4-beta_jul14-solaris-sparc/lib/compilers/CC-gcc/include/c++/4.8.2/bits/stl_map.h", line 485:     Where: Instantiated from non-template code.
    1 Error(s) and 2 Warning(s) detected.
    gmake: *** [metadata.o] Error 2
    with the same code, It can be compiled with g++ on Linux platform.
    1 Is the issue same as 12.4 Beta, Error: Could not find a match for std::_Tuple_impl<0, std::string &&>::_Tuple_impl(std::tuple<std::string &&> ?
    2 Do we have any workaround for this issue?
    3 When will the final 12.4 release  be available?

    I can't say for sure whether your problem is fixed in the final release without a test case, but I'd say the chances are very good.
    The final release will be announced soon. Watch this space, or the Oracle Solaris Studio page for an announcement.

  • 12.4 Beta, Error: Could not find a match for std::_Tuple_impl 0, std::string && ::_Tuple_impl(std::tuple std::string &&

    Hi,
    would you guys say code that compiles fine without -std=c++11 should also compile *with* -std=c++11?
    raider@sol112_x86:/tmp $ CC -V
    CC: Sun C++ 5.13 SunOS_i386 Beta2 2014/06/17
    raider@sol112_x86:/tmp $ CC buggy.cc  
    raider@sol112_x86:/tmp $ CC -std=c++11 buggy.cc         
    Error: Could not find a match for std::_Tuple_impl<0, std::string &&>::_Tuple_impl(std::tuple<std::string &&>, std::string ) needed in std::tuple<std::string &&>::tuple<std::string, void>(std::string &&).
    "/opt/SolarisStudio12.4-beta_jul14-solaris-x86/lib/compilers/CC-gcc/include/c++/4.8.2/tuple", line 868:     Where: While instantiating "std::tuple<std::string &&>::tuple<std::string, void>(std::string &&)".
    "/opt/SolarisStudio12.4-beta_jul14-solaris-x86/lib/compilers/CC-gcc/include/c++/4.8.2/tuple", line 868:     Where: Instantiated from std::forward_as_tuple<std::string>(std::string &&).
    "/opt/SolarisStudio12.4-beta_jul14-solaris-x86/lib/compilers/CC-gcc/include/c++/4.8.2/bits/stl_map.h", line 485:     Where: Instantiated from non-template code.
    1 Error(s) detected.
    raider@sol112_x86:/tmp $ cat buggy.cc
    #include <map>
    #include <string>
    typedef std::map<std::string, std::string> StrStrMap;
    int main(void)
        StrStrMap dict;
        dict["bug"] = "feature";
        return 0;

    C++11 is approximately a superset of C++03. If you write in the common subset, the code will compile in any mode. For example, a basic hello-world program
    #include <iostream>
    int main() { std::cout << "Hello, world!\n"; }
    will compile and run as C++98/03, as C++11, as C++14, and I'm sure will also work with the next standard, planned for 2017.
    But if you use syntax or library types and functions that are new in C++11, the code will not compile as C++03.
    In my previous post, I might have sounded too negative about compiling C++03 code in C++11 mode. If you have a C++03 program that is intended to be portable, and that works with different compilers on different platforms, chances are good that it will continue to work in C++11. The chances are very good that only minor modifications will be needed.

  • Error: Could not find a match for... ?

    Hi,
    I am trying to compile some code using Studio 10/11 which appears to compile cleanly using a bunch of different C++ compilers (xlC, aCC, VC, g++) but is failing using the C++ compiler in both Studio 10 and Studio 11 with:
    "test.cpp", line 18: Error: Could not find a match for MKGeomT::getDistanceSquared<MKGeomT::_DIM, MKGeomT::_TYPE>(const MKGeomT::Segment<MKT::Dim2, MKT::Double>&, const MKGeomT::Point<MKT::Dim2, MKT::Double>&, MKGeomT::Point<MKT::Dim2, MKT::Double>*, double*).
    "test.cpp", line 23: Error: Could not find a match for MKGeomT::getDistanceSquared<MKGeomT::_DIM, MKGeomT::_TYPE>(const MKGeomT::Segment<MKT::Dim3, MKT::Double>&, const MKGeomT::Point<MKT::Dim3, MKT::Double>&, MKGeomT::Point<MKT::Dim3, MKT::Double>*, double*).
    Any ideas on how to get this to compile would be appreciated.
    test.cpp:
    /opt/SUNWspro/bin/CC -library=stlport4 -c test.cpp
    #include "all.h"
    namespace MKGeomT
    template < class DIM, class TYPE >
    double getDistanceSquared(Segment < DIM, TYPE > const &segment,
    Point < DIM, TYPE > const &querypt,
    Point < DIM, TYPE > *closestpoint,
    double *param)
    { return 0.0; }
    template double getDistanceSquared < MKT::Dim2 > (Segment2 const &segment,
    Point2 const &querypt,
    Point2 *closestpoint,
    double *param);
    template double getDistanceSquared < MKT::Dim3 > (Segment3 const &segment,
    Point3 const &querypt,
    Point3 *closestpoint,
    double *param);
    all.h:
    // a.h
    namespace MKGeomT
    template < class DIM, class TYPE > class Point;
    template < class DIM, class TYPE > class Segment;
    template < class DIM, class TYPE >
    double getDistanceSquared(Segment < DIM, TYPE > const &segment,
    Point < DIM, TYPE > const &point,
    Point < DIM, TYPE > closestpoint /= 0*/,
    double *param = 0);
    template < class DIM, class TYPE >
    inline double getDistance(Segment < DIM, TYPE > const &segment,
    Point < DIM, TYPE > const &point,
    Point < DIM, TYPE > *closestpoint = 0)
    return 0.0;
    // b.h
    namespace MKT
    class Dim2 { public: enum { NUM_DIM = 2 }; };
    class Dim3 { public: enum { NUM_DIM = 3 }; };
    class Float { public: typedef float  Stor_t; typedef double Calc_t; };
    class Double { public: typedef double Stor_t; typedef double Calc_t; };
    } // end of namespace MKT
    // c.h
    using MKT::Dim2;
    using MKT::Dim3;
    using MKT::Double;
    namespace MKGeomT
    template < class DIM, class TYPE >
    class PointBase
    template < class DIM, class TYPE > class Point;
    #if 1
    template < class _TYPE >
    class Point < Dim2, TYPE > : public PointBase < Dim2, TYPE >
    template < class _TYPE >
    class Point < Dim3, TYPE > : public PointBase < Dim3, TYPE >
    #endif
    typedef Point < Dim2, Double > Point2;
    typedef Point < Dim3, Double > Point3;
    } // end of namespace MKGeomT
    // d.h
    namespace MKGeomT
    /*! The Segment is a geometry class storing a segment in 3-D. Things
    like the segment vector and length are cached behind the
    scenes so subsequent retrieval is a no-op. */
    template < class DIM, class TYPE = MKT::Double >
    class Segment
    template < class DIM, class TYPE >
    double getDistanceSquared (Segment < DIM, TYPE > const &rkSeg0,
    Segment < DIM, TYPE > const &rkSeg1,
    double* pfSegP0 = 0,
    double* pfSegP1 = 0);
    template < class DIM, class TYPE >
    double getDistanceSquared2(Segment < DIM, TYPE > const &rkSeg0,
    Segment < DIM, TYPE > const &rkSeg1,
    double* pfSegP0 = 0,
    double* pfSegP1 = 0);
    typedef Segment < MKT::Dim2, MKT::Double > Segment2;
    typedef Segment < MKT::Dim3, MKT::Double > Segment3;
    thanks,
    k.m

    Never mind, I see that you intended to include b.h, c.h, and d.h in all.h.
    Many compilers do not look at template code until the code is instantiated. This code consists only of declarations, with little that can be instantiated. It's possible that other compilers would also complain about this code if they got to the point of processing all the template declarations.
    Can you add some instantiations along with template definitions and a main function so that the code can be compiled and linked?

  • "Could not find a match" error when passing parameter prefixed with "std::"

    We're moving from Solaris 8 to Solaris 10, and I'm compiling our C/C++ applications using the Sun Studio 8 C++ compiler to verify that they'll still run correctly under Solaris 10.
    All is well except for an error I'm getting on my Solaris 10 system but not on my Solaris 8 system.
    Specifically, this line of code compiles correctly on both systems:
        if ( std::find_if(ident.begin(), ident.end(), is_not_alnum) != ident.end() )
            throw invalid_ident(caption, ident, code);but this line produces an error on Solaris 10 (but not on a Solaris 8 server):
        if ( std::find_if(ident.begin(), ident.end(), std::islower) != ident.end() )
            throw invalid_ident(caption, ident, code);The error returned is:
    "auth_validate.C", line 140: Error: Could not find a match for std::find_if<std::InputIterator,
    std::Predicate>(const char*, const char*, extern "C" int(int)).Clearly the "std::" prefix is involved... but why would this code compile successfully under Solaris 8 but fail under Solaris 10?
    I've eliminated the usual suspects: the compiler is the same (including the include files) on both servers; there are no differences in the makefiles; there are no differences in the source code; all the referenced include directories exist on the Solaris 10 server.
    At this point I'm stumped. My guess is that there's some environmental variable somewhere in Solaris 10 that is telling the Sun Studio 8 compiler to behave in a particular way (which Solaris 8 isn't telling the compiler), but I can't guess where such a thing might be occurring or what it might look like.
    I've tried changing the source code to simply delete the "std::" prefix, and that code then compiles correctly on both my Solaris 8 and Solaris 10 servers. However, I'd very much prefer not to have to change any source code -- if this is an environmental issue with Solaris 10 affecting how the Sun Studio 8 C++ compiler behaves, I'd like to know about that.
    If anyone can shed some light on this problem, or even propose additional tests I might try, I'd appreciate it!

    clamage45, thanks very much for the response.
    I'm looking into putting together a small example app. Meanwhile, I took your suggestion to check the patch levels of the two compiler instances and lo! there is a discrepancy.
    The compiler installed on our Solaris 8 server reports itself from a CC -V command as "CC: Sun C++ 5.5 Patch 113817-19 2006/10/13", while the version on the Solaris 10 server reports as "CC: Sun C++ 5.5 2003/03/12". So although my eyeball comparison of the compiler's include files and libraries (including file sizes and timestamps) showed no differences, that was just a spot check; it wasn't the more "official" check that you helpfully suggested.
    I've asked our sysadmin to look into this. No guarantees, of course, but I would not be surprised if patching the compiler on our Solaris 10 system resolved the problem. (Assuming we can find a version of the most recent patch for the Sun Studio 8 C++ compiler that's valid for Solaris 10.)
    Regarding Sun Studio 8, we're definitely aware that it's reached its expiration date. We already have plans to transition to a more up-to-date version (probably Sun Studio 12) at a later date -- all I'm doing currently is testing to verify that the current application compiles and runs properly on Solaris 10. If possible, I'd like to get that working independently of any potential code changes driven by a significant compiler version upgrade.
    Thanks again, and I'll add a new comment with additional information if our patching doesn't help.

  • 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

Maybe you are looking for

  • One file for multiple IDOCs

    Hi, Need help on IDOC files created on application server. For IDOCs of EDI type generally one file is created on application server for one idoc. Is there any way to create a common file for multiple IDOCs that are created in a batch job? Thanking i

  • How can I install my iMac's Aperture on my MacBrookPro

    How can I install my iMac's Aperture on my MacBrookPro

  • Resources garbage collection, can be done this way ?

    The problem I would like to apply the same concept of garbage collection to system resources like Files, Database resulsets, Sockets etc... The reasons I am tired of looking around desperately into a program to identify memory leak that are instead r

  • Calling RH_ShowLocalHelp with 5 arguments

    Hello all, I'm trying to make a context-sensitive help call from C#. According to the documentation at http://help.adobe.com/en_US/robohelp/robohtml/WS5b3ccc516d4fbf351e63e3d11aff59c571-7f39.ht ml , there's a function named RH_ShowLocalHelp that take

  • Windows Live Messenger crash with Adobe Flash Player

    operating system : Windows 7, 64 browser: Mozilla Firefox (latest version. I have problems with WLM's latest version). Flash Player version: 10.1 Everytime I install Adobe Flash Player for Windows Live Messenger (it has to be done by Internet Explore