"In initializer for 'mxmlContent', type Object is not assignable to target Array element type..."

Hi all,
So I've have built an application on flash builder 4.5 using Christophe Coenraets' tutorial "Building an EmployeeDirectory" (http://www.adobe.com/devnet/flex/articles/employee-directory-android-flex.html#articlecont entAdobe_numberedheader).
I'm getting this error message "In initializer for 'mxmlContent', type Object is not assignable to target Array element type mx.core.IVisualElement." and then the debugger highlights my code this line of my code "</s:List>" in my EmployeeDetails.mxml file. This started after I coded Part 5, Step 2 "Integrating with the Device Capabilities: Triggering the Actions".   The rest of the code debugged fine.
I think it relates to Christophe's note "Note: Make sure you import spark.events.IndexChangeEvent (and not mx.events.IndexChangedEvent) for this code to compile.".  I don't know where to place this
" import spark.events.IndexChangeEvent;" line of code. 
Any help?  Tks in advance..
Any help would be greatly appreciated.  Thanks

You have a DataGrid directly inside a State element. Perhaps wrap it in an AddChild element?
More information on using states can be found here:
http://livedocs.adobe.com/flex/3/html/help.html?content=using_states_1.html

Similar Messages

  • ABAP DUMP -OBJECTS OBJREF NOT ASSIGNED in webdynpro application.

    Hi,
    When i tried to run webdynpro application program no output is display in the browser. when i checked  ST22 have received dump like OBJECTS OBJREF NOT ASSIGNED .
    Anyone help me to solve this
    Thanks
    Venkat

    I'm seeing the same message.  Here's the code from my short dump.  It seems to be related to the window, but this is a pretty simple "hello world" type webdynpro I've created (example from the SAP PRESS interactive forms book)
      152         if lr_view_element is initial.
      153           lr_view_element ?= lr_toplevel_window->view_manager->root->get_root_element( ).
      154         endif.
      155         read table cl_wdr_view_element_adapter=>mt_cur_view_elem_adapters
      156              with key view_element_adapter->m_view_element = lr_view_element
      157              into view_elem_adapter.
      158         if sy-subrc = 0.
      159           m_adapter_id = view_elem_adapter-view_element_adapter->m_id.
    >>>>>           m_window_id = view_elem_adapter-window_adapter->m_id.  " für lightspeed
      161         else.
      162           return.
      163         endif.
      164         lr_representative = lr_view_element.
      165         lr_representative_adapter = view_elem_adapter-view_element_adapter.
      166       endif.
    Edited by: Anthony Tripp on Oct 13, 2010 12:48 PM
    For what it is worth to SDN, I started at the view and moved to the window and application.  Check and re-activated as I went and the error went away.
    Thanks,
    Anthony

  • How to declare and initialize a STRING ARRAY (assign strings to array elements)

    How to declare and initialize a STRING ARRAY (assign desired strings to elements of an array, for example "abc", "def", "ghi", "jkl", etc.) in LabVIEW? I saw a "string array" block in help, but could not find it in the function palette. Does a spreadsheet string have to be in a file (or can it be in a string constant block)? Thank you.

    Hi,
    you can do it in several ways:
    1. Direct way: Create string array control on front panel and type strings in its elements
    2. Programmatically 1: Create string array indicator (or local variable of control), right click on it in block diagram, select "Create constant" from drop down menu. The array constant will appear. Now type values in this constant's strings
    3. Programmatically 1: Use "Build array", "Replace array subset", "Insert into array" or "Initialize array" functions from "Functions->Array" palette.
    And of course you can combine all of these methods.
    Good luck.
    Oleg Chutko.

  • Just did a Mac update yesterday for Yosemite and I can not open a picture in elements with out it crashing.  Spent over 4 hours with Mac and it came down to an Adobe Issue with the New Photo which is replacing the I photo. Elements does not recognize it,

    Does anyone know a direct number for adobe that will not cost you to just ask about their program which will not work with a new mac update!

    You can do that in iPhoto, too. Just go to the iphoto prefs>advanced, and set PSE as your external editor. Note that the actual editor is not the file at the top level of Applications>Adobe Photoshop Elements < version number >, but rather hidden away inside the Support Files folder:
    Then you just right the click the photo in iphoto and choose edit with external editor.
    If you have the new Photos app, you can't drag and drop, either.

  • Unexpected Error - Type Initializer for Microsoft.Mashup.Host.Document.Formulas.SimpleFilterRowsFormula

    Hello!
    I have a client experiencing the following error regularly with Power Query (2.10.3547.461, 32-bits). I have a hard time reproducing the issue and identifying the cause, anyone experienced the same and maybe even have a solution?
    Best regards,
    Daniel

    I'm a little surprised that the text "Unexpected Error" is in English while the text of the exception message is in Swedish. Which language Power Query addin was installed, and how does it compare to the languages configured for Excel?
    The type initializer for this type is trying to load language-specific resources.

  • Object instance not getting created

    Hi all,
    I have created a report using local classes entirely,
    I created the object reference and instantiating it in INITIALIZATION event then i'm using one method of the class in AT SELECTION-SCREEN ON event.
    now everything is fine except that in some rare cases a a short dump is coming that object is not assigned, this is happening for the same test case also.
    Now can there be any case that INITIALIZATION doesnot get executed and directly AT SELECTION-SCREEN is called?
    this is happening entirely randomly.
    кu03B1ятu03B9к

    well here's the dump analysis, you might be interested to look at it, might be there's something i'm missing
    INITIALIZATION.
    *  Too add movement types 101 & 261 as default movement types
      l_wa_bwart-sign = c_i.    "I
      l_wa_bwart-option = c_eq. "EQ
      l_wa_bwart-low = c_101.   "101
      APPEND l_wa_bwart TO s_bwart.
      l_wa_bwart-low = c_261.   "261
      APPEND l_wa_bwart TO s_bwart.
    *  Instance Creation
      CREATE OBJECT: o_validate.
         IF sy-subrc IS NOT INITIAL.
           MESSAGE e999.
         ENDIF.
    * Instance Creation
      CREATE OBJECT: o_alv.
        IF sy-subrc IS NOT INITIAL.
          MESSAGE e999.
        ENDIF.
    *    SELECTION SCREEN VALIDATIONS
    AT SELECTION-SCREEN ON s_plant.
      "To validate plant and check authorisation
      CALL METHOD o_validate->validate_p_plant." <---Dump at this statement
    AT SELECTION-SCREEN ON s_matnr.
    "To validate material
      CALL METHOD o_validate->validate_p_matnr.
    AT SELECTION-SCREEN ON s_bwart.
    "To validate movement type
      CALL METHOD o_validate->validate_s_bwart.
    Runtime Error          OBJECTS_OBJREF_NOT_ASSIGNED
    Except.                CX_SY_REF_IS_INITIAL
    What happened?
        Error in ABAP application program.
        The current ABAP program "/FIR/RRF2S_A042_001" had to be terminated because one
         of the
        statements could not be executed.
        This is probably due to an error in the ABAP program.
    Error analysis
        An exception occurred. This exception is dealt with in more detail below
        . The exception, which is assigned to the class 'CX_SY_REF_IS_INITIAL', was
         neither
        caught nor passed along using a RAISING clause, in the procedure
         "%_SEL_SCREEN_S_PLANT" "(FORM)"
        Since the caller of the procedure could not have expected this exception
         to occur, the running program was terminated.
        The reason for the exception is:
        Attempt to access a component using 'NULL' object reference (points
        to nothing).
        An object reference must point to an object (an instance of a class)
        before you can use it to access components (variable: "O_VALIDATE").
        Either the reference has not yet been set, or it has been reset to
        'NULL' by a CLEAR statement.
    I'm not sure where to move this create object statement.
    Edited by: Kartik Tarla on Oct 20, 2009 1:07 PM

  • Error: In initializer for 'source'

    I have a strange problem.  When I try and compile the application, I get two errors, one of which is below, but they are essentially the same. 
    If I edit FaqEventMapButtonSkin.mxml and update ButtonSecondaryDefault to ButtonSecondaryDefaultTEST, and change the corresponding ButtonSecondaryDefault.fxg to ButtonSecondaryDefaultTEST.fxg, everything works fine.
    The compiler must be caching something.  I've looked and looked for information on this topic without any luck.  I'm not using incremental compile.  Any ideas on how to clear things out?
    FaqEventMapButtonSkin.mxml(44): Error: In initializer for 'source', type com.thomson.convene.ui.assets.ButtonSecondaryDefault is not assignable to target type 'Object'.
        [compc]
        [compc]                     <assets:ButtonSecondaryDefault width="100%" height="100%" />

    I don’t know the compiler well enough to know if it caches stuff or not.  The compiler source code is available in the Apache Flex repository if you want to try to look yourself.  I’ve seen some compiler code that implies there are three ways of running a compile:
    1.  incremental: when editing and saving in FB
    2.  full: when cleaning and building in FB
    3.  standalone: when running mxmlc from ant or command line
    I’m pretty sure stuff is cached between builds for #1.  It is possible that there is caching between builds in #2.  There should not be caching between builds in #3, but I would not put money on it.  When you say you are not using incremental compile, are you using #2 or #3 or both?
    What does happen in #3 (and hopefully #2) is that SWCs found in the library path are read in and parsed and all of their classes go in a lookup mechanism to be used when trying to resolve symbols from other compilation units.  Plenty of folks have been burned when there is some stale SWC in some folder of SWCs pointed to by some configuration file that is supplying a competing definition.  And that’s what makes it machine specific.

  • Permit not assigned for Actual cost

    Hi Dears,
    Permit not assigned for actual cost in maint order
    Actual cost in maintenance order is 3000
    In IPMD, cost1 is assigned with class ACTUAL COST and value 3000 is defined.
    In OIPG,  Permit class ACTUALCOST is assigned.
    Goods issue done to order for value 3000.
    Again cost determination executed, but still cost1 is not assinged to the work order.
    Am i missing anything ?
    Regards,
    Alagesan M

    Hi
    In charac CT04 i maintained one value 3000 and table maintained CSEVPERMIT and IKOSTEN
    In class CL01, assigned the charac for 049 class type
    In OIPG, permit class is maintained with class
    In IPMD, new permit created and assigned class in classification and maintained 3000
    Now order created and component assigned the planned value is 3000.
    through MIGO goods issue done and found the actual value is 3000.
    But still opened the permit found nothing assigned.
    For Estimated cost and planned costs it is working good only for actual cost permit is not assigning.
    Actual cost we need to anything more other than this ?
    Alagesan

  • InfoObject Z_C_NO is not assigned to an InfoArea

    hello expert,
    I am trying to load master data attribute through data source but when I do the transformation using info object it shows me error that "InfoObject Z_C_NO is not assigned to an InfoArea".
    I have refer this pdf http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/1049343f-45bf-2e10-a78f-cc60acda867a?overridelayout=t…
    and using this I am trying to load but it shows me error that I mentioned above.
    And also give me another ways to load master data attribute as well as text also.
    so please help me to solve it...

    BB,
    It is odd that the objects are not assigned to any infoarea.  I don't really understand what steps you took to put yourself into this position.  Well, no matter.
    Normally when you create a project, you also create a new infoarea in which to store all of the objects that will be used in your project.  This makes it easer to locate them later on.  Objects that are not specifically assigned to an infoarea are normally found in the "Unassigned Nodes" infoarea.  I have never tried to manually assign an object to this infoarea, though, I normally find the objects already there, and assign them to my custom infoarea.
    Best Regards,
    DB49

  • The type initializer for 'System.Data.SqlClient.SqlConnection' threw an exception. InnerException: Requested registry access is not allowed.

    I have read some of the other posts for people that got this error, but none seem to apply to me.
    My program has been working for weeks.  I made some minor changes, and started getting the error (full details below).
    I did a TFS "undo pending changes" and still getting the same error, even after logging off.  The one odd thing is that I did change my Windows password this week. The connection string is using a SQL user id and password that has no issues.
    I'm an Admin own my own box (running WIn XP SP3).  I even tried "Run as Admin" on Visual Studio.
    I'm doing a Debug-Start, running a Console-Test-Program that calls a WCF service, which on local machine is hosted by "ASP.NET Development Server".
    We have two other developers, one has the same problem, one does not.  In theory, we have all done "get latest" and are running the same code.
    The SQL Connection is related to a trace database; we are using this library http://ukadcdiagnostics.codeplex.com which has worked fine for months.
    When I do "Start Run" in Visual Studio, I get this error:
    {"The type initializer for 'System.Data.SqlClient.SqlConnection' threw an exception. "}
    with InnerException: {"The type initializer for 'System.Data.SqlClient.SqlConnectionFactory' threw an exception."}
    and it has InnerException: {"Requested registry access is not allowed. "}
    Outmost StackTrace:
       at System.Data.SqlClient.SqlConnection..ctor()
       at System.Data.SqlClient.SqlConnection..ctor(String connectionString)
       at FRB.Diagnostics.Listeners.SqlDataAccessCommand..ctor(String connectionString, String commandText, CommandType commandType)
       at FRB.Diagnostics.Listeners.SqlDataAccessAdapter.CreateCommand()
       at FRB.Diagnostics.Listeners.SqlTraceListener.TraceEventCore(TraceEventCache eventCache, String source, TraceEventType eventType, Int32 id, String message)
       at FRB.Diagnostics.Listeners.CustomTraceListener.FilterTraceEventCore(TraceEventCache eventCache, String source, TraceEventType eventType, Int32 id, String message)
       at FRB.Diagnostics.Listeners.CustomTraceListener.TraceEvent(TraceEventCache eventCache, String source, TraceEventType eventType, Int32 id, String format, Object[] args)
       at System.Diagnostics.TraceSource.TraceEvent(TraceEventType eventType, Int32 id, String format, Object[] args)
       at System.Diagnostics.TraceSource.TraceInformation(String message)
       at FRB.EC.AdminService.AdminService.TestHelloWorldWithTrace(String name)
       at SyncInvokeTestHelloWorldWithTrace(Object , Object[] , Object[] )
       at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
       at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)
    Second Inner StackTrace:
       at System.Data.SqlClient.SqlConnection..cctor()
    Third Inner StackTrace:
          at System.Data.SqlClient.SqlConnectionFactory..cctor()
    When I do "Run as Admin", I get this error:
    {"Could not load file or assembly 'FRB.EFDataAccess, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. Access is denied. "}
    Server stack trace:
       at System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter)
       at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
       at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
       at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
       at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
    Exception rethrown at [0]:
       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
       at FRB.EC.AdminService.ConsoleTester.svcRef.IAdminService.GetDispositionStatusTypeList()
       at FRB.EC.AdminService.ConsoleTester.svcRef.AdminServiceClient.GetDispositionStatusTypeList() in C:\SourceEagleConnect\EagleConnect\Dev\WCFServices\FRB.EC.AdminService.ConsoleTester\Service References\svcRef\Reference.cs:line 2459
       at FRB.EC.AdminService.ConsoleTester.ConsoleProgram.GetDispositionStatusTypeList() in C:\SourceEagleConnect\EagleConnect\Dev\WCFServices\FRB.EC.AdminService.ConsoleTester\ConsoleProgram.cs:line 565
       at FRB.EC.AdminService.ConsoleTester.ConsoleProgram.ExecuteNewRelease103QueryMethods() in C:\SourceEagleConnect\EagleConnect\Dev\WCFServices\FRB.EC.AdminService.ConsoleTester\ConsoleProgram.cs:line 189
       at FRB.EC.AdminService.ConsoleTester.ConsoleProgram.Main(String[] args) in C:\SourceEagleConnect\EagleConnect\Dev\WCFServices\FRB.EC.AdminService.ConsoleTester\ConsoleProgram.cs:line 76
       at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
       at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()
    I am also posting the web.config/app.config, but I would rather not focus on that since there were absolutely no changes to it between the time it was working and the time it began failing. 
    Client app.config
    <?xml version="1.0" encoding="utf-8" ?>
    <configuration>
      <connectionStrings>
      </connectionStrings>
      <system.serviceModel>
        <behaviors>
          <serviceBehaviors>
            <behavior name="ServiceBehavior">
              <serviceMetadata httpGetEnabled="true"/>
              <serviceDebug includeExceptionDetailInFaults="false"/>
              <serviceAuthorization impersonateCallerForAllOperations="true"/>
            </behavior>
          </serviceBehaviors>
          <endpointBehaviors>
            <behavior name="FRB.AllowImpersonate">
              <clientCredentials>
                <windows allowedImpersonationLevel="Impersonation"/>
              </clientCredentials>
            </behavior>
          </endpointBehaviors>
        </behaviors>
        <bindings>
          <wsHttpBinding>
            <binding name="WSHttpBinding_IAdminService" closeTimeout="00:01:00"
              openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
              bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard"
              maxBufferPoolSize="524288" maxReceivedMessageSize="5565536"
              messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true"
              allowCookies="false">
              <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
                maxBytesPerRead="4096" maxNameTableCharCount="16384" />
              <reliableSession ordered="true" inactivityTimeout="00:10:00"
                enabled="false" />
              <security mode="Message">
                <transport clientCredentialType="Windows" proxyCredentialType="None"
                  realm="" />
                <message clientCredentialType="Windows" negotiateServiceCredential="true"
                  algorithmSuite="Default" />
              </security>
            </binding>
          </wsHttpBinding>
        </bindings>
            <client>
                  <endpoint address="http://localhost:3588/AdminService.svc" binding="wsHttpBinding"
                        bindingConfiguration="WSHttpBinding_IAdminService" contract="svcRef.IAdminService"
                        name="WSHttpBinding_IAdminService">
                        <identity>
                              <dns value="localhost" />
                        </identity>
                  </endpoint>
            </client>
        </system.serviceModel>
    </configuration>
    web.config of WCF service:
      <?xml version="1.0"?>
    <configuration>
        <configSections>
        <section name="FRB.Diagnostics" type="FRB.Diagnostics.Configuration.UkadcDiagnosticsSection, FRB.Diagnostics"/>
      </configSections>
        <appSettings>
           <!-- whatever goes here -->
        </appSettings>
        <!-- connection string section -->
      <connectionStrings>
        <add name="log" connectionString="Data Source=myserver;Initial Catalog=ECWCFLOG_SharedDev;User ID=myuser;Password=mypass;MultipleActiveResultSets=True" providerName="System.Data.SqlClient"/>
        <add name="DBConn" connectionString="Data Source=myserver;Initial Catalog=ECData_SharedDev;User ID=myuser;Password=mypass;MultipleActiveResultSets=True" providerName="System.Data.SqlClient"/>
        <add name="EagleConnectEntities" connectionString="metadata=res://*/EagleConnect.csdl|res://*/EagleConnect.ssdl|res://*/EagleConnect.msl;provider=System.Data.SqlClient;provider connection string=&quot;Data Source=myserver;Initial
    Catalog=ECData_SharedDev;User ID=myuser;Password=mypass;MultipleActiveResultSets=True&quot;" providerName="System.Data.EntityClient"/>
      </connectionStrings>
        <!-- FRB.Diagnostics logging section -->
        <FRB.Diagnostics>
            <sqlTraceListeners>
                <sqlTraceListener name="sqlTraceListenerSettings"
                            connectionStringName="log"
                            commandText="INSERT INTO LogStore VALUES(@Source, @ActivityId, @ProcessId, @ThreadId, @EventType, @Message, @Timestamp)"
                            commandType="Text">
                    <parameters>
                        <parameter name="@Source" propertyToken="{Source}"/>
                        <parameter name="@ActivityId" propertyToken="{ActivityId}"/>
                        <parameter name="@ProcessId" propertyToken="{ProcessId}"/>
                        <parameter name="@ThreadId" propertyToken="{ThreadId}"/>
                        <parameter name="@EventType" propertyToken="{EventType}" callToString="true"/>
                        <parameter name="@Message" propertyToken="{Message}"/>
                        <parameter name="@Timestamp" propertyToken="{DateTime}"/>
              <!-- <parameter name="@UserId" propertyToken="{WindowsIdentity}"/> -->
            </parameters>
                </sqlTraceListener>
            </sqlTraceListeners>
            <smtpTraceListeners>
                <smtpTraceListener name="smtpTraceListenerSettings"
                             host="vssmtp"
                             port="25"
                             from="[email protected]"
                             to="[email protected]"
                             subject="AdminService Logging Event: {EventType}, {MachineName}"
                             body="{Message}&#xA;=======&#xA;Process={ProcessId},&#xA;Thread={ThreadId},&#xA;ActivityId={ActivityId}"/>
            </smtpTraceListeners>
        </FRB.Diagnostics>
        <!-- System.Diagnostics logging section -->
        <system.diagnostics>
            <sources>
                <source name="FRB.EC.AdminService" switchValue="All">
                    <listeners>
                        <clear/>
                        <add name="ods"/>
                        <add name="smtp"/>
                        <add name="sql"/>
                    </listeners>
                </source>
                <source name="System.ServiceModel" switchValue="Off" propagateActivity="true">
                    <listeners>
                        <add name="ignored" type="System.Diagnostics.ConsoleTraceListener"/>
                    </listeners>
                </source>
            </sources>
            <sharedListeners>
                <!-- OutputDebugStringTraceListener -->
                <add name="ods"
               type="FRB.Diagnostics.Listeners.OutputDebugStringTraceListener, FRB.Diagnostics"
               initializeData="{ActivityId}|{EventType}: {Message} - {DateTime}, Process={ProcessId}, Thread={ThreadId}"/>
                <!-- SqlTraceListener -->
                <add name="sql"
               type="FRB.Diagnostics.Listeners.SqlTraceListener, FRB.Diagnostics"
               initializeData="sqlTraceListenerSettings"
               traceOutputOptions="Timestamp"/>
                <!-- SmtpTraceListener -->
                <add name="smtp"
               type="FRB.Diagnostics.Listeners.SmtpTraceListener, FRB.Diagnostics"
               initializeData="smtpTraceListenerSettings">
                       <filter type="System.Diagnostics.EventTypeFilter"
                       initializeData="Error"/>
                </add>
            </sharedListeners>
            <trace autoflush="true"/>
        </system.diagnostics>
        <system.web>
        <compilation debug="true" targetFramework="4.0">
        </compilation>
            <roleManager enabled="true" defaultProvider="AspNetWindowsTokenRoleProvider"/>
        </system.web>
        <system.serviceModel>
            <services>
                <service name="FRB.EC.AdminService.AdminService"
                   behaviorConfiguration="FRB.EC.AdminService.AdminServiceBehavior">
                    <!-- Service Endpoints -->
                    <endpoint address="" binding="wsHttpBinding"
                      bindingConfiguration="wsHttpEndpointBinding"
                      contract="FRB.EC.AdminService.IAdminService">
                        <!--
                  Upon deployment, the following identity element should be removed or replaced to reflect the
                  identity under which the deployed service runs. 
                  If removed, WCF will infer an appropriate identity automatically.
              -->
                        <identity>
                            <dns value="localhost"/>
                        </identity>
                    </endpoint>
                    <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
                </service>
            </services>
            <bindings>
                <wsHttpBinding>
                    <binding name="wsHttpEndpointBinding"
                     maxBufferPoolSize="2147483647"
                     maxReceivedMessageSize="500000000">
                        <readerQuotas maxDepth="2147483647"
                            maxStringContentLength="2147483647"
                            maxArrayLength="2147483647"
                            maxBytesPerRead="2147483647"
                            maxNameTableCharCount="2147483647"/>
                        <security>
                            <message clientCredentialType="Windows"/>
                        </security>
                    </binding>
                </wsHttpBinding>
            </bindings>
            <behaviors>
                <serviceBehaviors>
                    <behavior name="FRB.EC.AdminService.AdminServiceBehavior">
                        <!-- To avoid disclosing metadata information, set the value below to false and
                   remove the metadata endpoint above before deployment -->
                        <serviceMetadata httpGetEnabled="true"/>
                        <!-- To receive exception details in faults for debugging purposes, set the value below to true. 
                   Set to false before deployment to avoid disclosing exception information -->
                        <serviceDebug includeExceptionDetailInFaults="true"/>
                        <serviceCredentials>
                        </serviceCredentials>
                        <!--<serviceAuthorization principalPermissionMode="UseAspNetRoles"
                    roleProviderName="AspNetWindowsTokenRoleProvider"/>-->
                        <serviceAuthorization principalPermissionMode="UseWindowsGroups"
                                    impersonateCallerForAllOperations="true"/>
                    </behavior>
                    <behavior name="FRB.EC.AdminService.IAdminServiceTransportBehavior">
                        <!-- To avoid disclosing metadata information, set the value below to false and
                   remove the metadata endpoint above before deployment -->
                        <serviceMetadata httpGetEnabled="true"/>
                        <!-- To receive exception details in faults for debugging purposes, set the value below to true. 
                   Set to false before deployment to avoid disclosing exception information -->
                        <serviceDebug includeExceptionDetailInFaults="false"/>
                        <serviceCredentials>
                            <clientCertificate>
                                <authentication certificateValidationMode="PeerTrust"/>
                                <!--<authentication certificateValidationMode="Custom" customCertificateValidatorType="DataFactionServices.FRBX509CertificateValidator"/>-->
                            </clientCertificate>
                            <serviceCertificate findValue="WCfServer"
                                    storeLocation="LocalMachine"
                                    storeName="My" x509FindType="FindBySubjectName"/>
                        </serviceCredentials>
                    </behavior>
                </serviceBehaviors>
            </behaviors>
            <serviceHostingEnvironment multipleSiteBindingsEnabled="true"/>
        </system.serviceModel>
        <system.webServer>
            <modules runAllManagedModulesForAllRequests="true"/>
        </system.webServer>
    </configuration>
    Thanks for any help.
    Neal

    I think I found it... this is sure a strange error for what is really happening.
    Apparently it had happened to me before, and fortuantely, I actually added the following comment:
                // Above is related to the WCFLOG SQL Diagnostics Trace 
                // If you get error here an inner exception "requested registry access is not allowed"
                // inside exception "type initializer for System.Data.SqlClient.SqlConnection"
                // then make sure you have impersonation enabled in your client.
                // See AdminConsole web.config or FRB.EC.AdminService.ConsoleTester.app.config for examples
    Now I think I will do a try catch and spit out the same text.
    Still testing to assure that this really was the issue.
          <endpointBehaviors>
            <behavior name="FRB.AllowImpersonate ">
              <clientCredentials>
                <windows allowedImpersonationLevel="Impersonation"/>
              </clientCredentials>
            </behavior>
          </endpointBehaviors>
    The line below in BOLD below is what somehow seemed to disappear from my app.config - probably due to a TFS human error - still checking that also:
            <client>
                  <endpoint address="http://localhost:4998/AdminService.svc"
                                  behaviorConfiguration="FRB.AllowImpersonate"
                                  binding="wsHttpBinding"
                                  bindingConfiguration="WSHttpBinding_IAdminService"
                                 contract="svcRef.IAdminService"
                            name="WSHttpBinding_IAdminService">
                        <identity>
                              <dns value="localhost" />
                        </identity>
                  </endpoint>
            </client>
    Here's how I "idiot-proofed" this error for now, to give an error that actually at least points to a solution:
            public SqlDataAccessCommand(string connectionString, string commandText, CommandType commandType)
                try
                    _connection = new SqlConnection(connectionString);
                    // Above is related to the WCFLOG SQL Diagnostics Trace  
                    // If you get error here an inner exception "requested registry access is not allowed"
                    // inside exception "type initializer for System.Data.SqlClient.SqlConnection"
                    // then make sure you have impersonation enabled in your client.
                    // See AdminConsole web.config or FRB.EC.AdminService.ConsoleTester.app.config for examples
                catch (Exception ex)
                    if (ex.ToString().Contains("The type initializer for"))
                    throw new System.ApplicationException(@"
                    Your client app <endpoint> must be cofigured have a
                  'behaviorConfiguration' attribute like this:
                    behaviorConfiguration='FRB.AllowImpersonate'
                   that points back to a behavior that has this syntax:         
              <behavior name='FRB.AllowImpersonate'>
                 <clientCredentials>
                     <windows allowedImpersonationLevel='Impersonation'/>
                 </clientCredentials>
              </behavior>
              ", ex);
                   else
                        throw ex;
                _command = _connection.CreateCommand();
                _command.CommandText = commandText;
                _command.CommandType = commandType;
                // TODO _command.CommandTimeout = ;
    Neal

  • Object type not maintained for message type

    Hi,
    I am working on chnage pointers for Vendor classification data. when I execute the program RBDMIDOC (BD21) I get the error Object type LIFNR not maintained for Message type.
    If anyone has worked on change pointers, please guide me in solving this error.
    Thanks
    Hari

    Hi
    Which msg type u r using there.
    Regads,
    Prasad.

  • SSRS Database Configuration Manager Error - Could not connect to server: The type initializer for 'System.Data.SqlClient.SqlConnection' threw an exception

    I'm Getting the "Could not connect to server: The type initializer for 'System.Data.SqlClient.SqlConnection' threw an exception" Error on an existing Instance of SSRS that had been working previously (lots of installs/patches since).
    Any time I try to hit the "Test Connection" button on existing connections or create new ones from the SSRS Config Mgr., it throws that error.
    I know the SQL Server connectivity works (I have SSMS installed on there and can cut and paste server Login to connect). The problem is I can't really get any more details on the error...Event Viewer isn't logging anything, I have upped the trace level
    to 4 in the reportingservicesservice.config file, I have even watched it with procmon and nothing obvious pops up.
    Let me know if anyone else has been down this path and what they have tried.

    Hi BillOlive,
    Based on my research, the issue may be related to user access permission. You can refer to the following method to troubleshooting the issue:
    Open C:\Windows\Microsoft.NET\Framework\v2.0.50727\CONFIG folder | right click on the machine.config file | Properties | Security | make sure your domain account has FULL CONTROL permission on this file.
    If above steps still do not work, please backup your machine.config file to somewhere else and replace with the attached one from my Windows Server 2008 environment.
    Alternatively, app.config file also may cause the same issue. There is a similar issue, you can refer to it.
    http://stackoverflow.com/questions/6922879/exception-type-initializer-for-system-data-sqlclient-sqlconnection
    Hope this helps.
    Regards,
    Alisa Tang
    If you have any feedback on our support, please click
    here.
    Alisa Tang
    TechNet Community Support

  • Exception '1250' is not defined for method 'CREATE' object type 'MESSAGE'

    Dear experts,
    I set up the document distribution (SWU3, backgroundjob SMTP, activated the workflows, flagged the linkages, etc). Now, I have still a error:
    Exception '1250' is not defined for method 'CREATE' object type 'MESSAGE'
    Does anyone know what the cause of exception 1250 could be?
    Thanks in advance and kind regards,
    Samuel

    hi,
    SAP ITS is SAP Internet Transaction Server which provides connection between SAP ERP system and html client.
    Check with bassis, i think TCP/IP or work station application not configured yet. i guess?
    Benakaraja
    ??P

  • Exception '1003' is not defined for method 'SENDTASKDESCRIPTION' object type 'SELFITEM'

    Hi All,
    Please help me in this. I am trying to send a mail when user rejected the item in his inbox. I am getting error like
    Exception '1003' is not defined for method 'SENDTASKDESCRIPTION' object type 'SELFITEM'. I tried so  many ways like no attachments,send express ,siganture,encryption all disabled but still the same error from user outbox who ever rejects it.
    Regards,
    Madhu.

    Hi Madhu,
    This exception is raised means you have checked the Signature check-box  and encrypt check box.
    Now you have unchecked that the issue should be solved , but if it is still giving the same exception synchronize your run time buffer using the t-code SWU_OBUF .
    Let me know if the issue is still there.
    Regards
    Bikas

  • Child tag initializer for type 'Array' may not be empty?error.

    hey,
    I imported this file from illustrator into catalyst. WE assume the error is caused by the filters tags but we can't delete them in the code view. The project is unable to run with this error. Is there a way to resolve this?

    Hey,
    I am also getting this error message and reads: "Errors (1 item) Child tag initializer for type 'Array' may not be empty. There is no way to edit anything in Code view, and I've been working this project for a little while. Imported items from Photoshop CS4. What to do? Thanks.

Maybe you are looking for

  • How can I edit a mp3 file and drop it in an iMovie project?

    I wish to edit an mp3 music file so that I can drop a piece of it into an iMovie project. iMovie's audio tools are very rudimentary---one can reposition a music file, shorten it, etc but cannot pick a piece of it to complement a movie segment. So I d

  • Hierarchical filter in Web Reporting

    Hi, I'm working with BI 7.0 SPS13 and the problem is the hierarchical filter displays every characteristic node using a very long text linking every attribute of the base characteristic along with it's values. For example: Gcia.Tecnica, Ind gpo.compr

  • Link to Community in 4.5WS

    I am trying to create a gadget in 4.5WS that provides a list of communities which when the user clicks on the link they are taken to that community. I have tried to follow the guidance given in one of the Plumtree Knowledge base articles which basica

  • Can't download the trial of the LiveCycle ES4 - Designer

    I'm trying to download the trial of the LiveCycle ES4 - Designer, but when I click on "download" on the "LiveCycle Trial Downloads" page, I get a page reading "413  Header Length too Large." What does this mean? How can I download the trial?

  • How to remove an app that refuses to update

    Ok, so I was updating my apps and all but one did so successfully. Now the one that didn't keeps prompting my phone for my itunes password to update it, but it won't update and I keep getting the prompt for my password about every 5-10 minutes that I