HttpClusterServlet not allowing streaming data

          We have HttpClusterServlet load balancing for a cluster of 3 servers. Simple POST
          requests work fine. Our app requires a special kind of request where the connection
          is kept open for a period of time as the server sends different bits of data.
          The ObjectOutputStream on the server side is not closed until all data is sent.
          It seems that the HttpClusterServlet is not sending the data to client until the
          ObjectOutputStream is closed, but client needs some of this data before that.
          The client gets an exception when it tries to close its ObjectOutputStream, probably
          because on the server side the ObjectOutputStream is not closed yet. Does the
          HttpClusterServlet simply not process write() and flush() calls until close()
          is called?
          

sorry, my mistake, the browser kept crashing when i pushed the submit button and i didnt think it had posted - if you would like to help pease could you see the post in the "java programming" forum
thank you
Edited by: jermaindefoe on Mar 16, 2008 11:05 AM

Similar Messages

  • Credit block not allowing delivery dates on the order confirmations

    Hello,
    We are a full module SAP shop on ECC 6.0.
    For one of our businesses, we have credit checking to take place at the time of Sales Order entry.  This is causing an issue for the business because they are using Demand planning and need to have the Delivery Dates on the Order confirmations and they also want to be able to run an ATP check on the Sales Order.  The credit check on sales order entry, prevents them from doing both of these things.
    Does anybody know if there is a way to get the dates to show up on the order confirmations when a sales order is on credit block?   Also, is it possible to run the order through ATP checking with this sales order credit block taking place?
    thanks for your help!

    Dear,
    Ideally this question should have been posted in ERP SD forum.Please check out your credit check settings in OVAK and OVA8. Hopefully it help you.

  • ITunes Match not allowing stream - also loss of music.

    Hi guys,
    Hoping somebody can help. Recently tried to listen to some music via the Cloud on my MacBook Pro. I couldn't play the music and iTunes had the symbol of the Cloud with the lines moving through it. This stayed the same for several days so I googled how to fix. I was instructed to Turn off iTunes Match on my computer and turn it back on again. I have done that and also updated iTunes Match. The only music I can see now is the music saved to my hard drive and the cloud with the lines is still there. As you can imagine, this is very frustrating. Anyone able to help?
    Cheers!

    Hi,
    The symbol of the Cloud with the lines moving through it suggests that your are not making a connection to the iTunes. Did you try holding the option key whilst turning match?
    If you have not already done so, try rebooting your internet router.
    Jim

  • HT204410 Photos not allowing to add or edit location data

    The new Photos app does not allow location data to be edited or added.
    For those users who own a camera without a GPS, there is no way to add the location data to the photos which defeats the purpose of having the map function if some/most/all of your photos can't be included.
    I spent a great deal of time updating my locations, using the Location Manager, in iPhoto only to find that they have been replaced with simplified locations.  For example, Waterworld has been replaced with a Suburb/State location.
    The new app has severe limitations compared to iPhoto.  As bad as iPhoto was, these limitations make it extremely hard to work with.
    Apart from the location issue above, photos can only be sorted by name.  In Event view, any new events are added to the bottom of the list.  Faces are ordered by, what appears to be, the number of photos associated with the face.  So when your adding faces from the suggested faces, one has to look closely at the faces to find the face to associate the photo with.  If the library contains a lot of Faces, then this can be a difficult task.  Also, when selecting faces from the Suggested Faces list, multiple faces cannot be selected and each photo has to be moved, or ignored, individually.
    I had a smart list which showed all of the un-named faces but that has gone and there doesn't seem to be a way to show all of the photos with named faces other than to go through each photo individually.

    Thanks for your reply.
    If I have to use iPhoto, then that begs the question: Why would I want to upgrade to the new app?
    It's not a good situation to have to use the old app (iPhoto) just to geotag my photos.
    When I refer to the sorting issue, I had the sidebar visible.  When not using the sidebar, the organisation is still not very good.  For instance, to find my wedding photos, I must  locate the event by drilling down through the years, collections etc.  Or to view ALL of the photos taken at my house is now impossible as the location is now the same as my child's school!
    As for the date sorting, I can't change it so that the most recent appear at the top.  I must scroll down.
    It's a terrible app given what iPhoto used to provide.  I'm using it on my desktop, not a mobile phone.  What applies to memorial doesn't, nor should, be applied to my desktop as there are quite different constraints.
    By all means, have continuity (or whatever they call it), but don't constrain the desktop app to the capabilities of a mobile.  It's just plain silly!

  • Constraint on a Date Column to Not Allow Setting Weekend Dates

    We are utilizing SQL Server 2008 R2 for scheduling AD user migrations. We keep track of all user accounts to be migrated and have a column for Migration_DATE with data type "Date". 
    I am looking to add a constraint to the Migration_DATE column to not allow scheduling dates on weekends. In other words I don't want anyone setting dates that fall on the weekend or a list of dates on a table.  Can anyone help me with how to do this
    or point me in the right direction. 
    Thanks much!

    Hello,
    Based on your description, you had a table which used for track AD user migration. And you wan to alter the date column "Migration_DATE" to not allow insert weekend date. If I understanding correctly, you can add a constraint to check the insert values.
    ALTER TABLE teble_name ADD constraint ck_Migration_date
    CHECK (DATENAME(WEEKDAY,Migration_DATE) NOT IN ('Saturday','Sunday'))
    Reference:Creating and Modifying CHECK Constraints
    Regards,
    Fanny Liu
    If you have any feedback on our support, please click here. 
    Fanny Liu
    TechNet Community Support

  • Java.sql.BatchUpdateException: ORA-01027: bind variables not allowed for da

    Hi guys, I m facing a problem while executing below query .Query is working fine in toad i don't know what is the issue with the code
    <code>
    String url3 = "CREATE OR REPLACE VIEW Table2(PERIOD, YEARS, COST_CENTRE, S_DIR_PERM, S_DIR_CONT, S_INDIR_PERM, S_INDIR_CONT, O_DIR_PERM, O_DIR_CONT, O_INDIR_PERM, O_INDIR_CONT)AS select period, year, cost_center, sum(s_dir_perm), sum(s_dir_cont), sum(s_indir_perm), sum(s_indir_cont), sum(o_dir_perm), sum(o_dir_cont), sum(o_indir_perm), sum(o_indir_cont) from ( select b.period, b.year, a.cost_center, sum(a.perm_dir_hc) as s_dir_perm, sum(a.contract_dir_hc) as s_dir_cont, sum(a.perm_indir_hc) as s_indir_perm, sum(a.contract_indir_hc) as s_indir_cont, 0 as o_dir_perm, 0 as o_dir_cont, 0 as o_indir_perm, 0 as o_indir_cont from ZVHR_ACT_HC_ASOF_FISPRD a, pertable b where to_char(as_of_date, 'mm/dd/yyyy') = b.ENDPERIOD and shift not in ('G','N','O2','O7') and b.endperiod = ? group by b.period, b.year, a.cost_center union select b.period, b.year, a.cost_center, 0 as s_dir_perm, 0 as s_dir_cont, 0 as s_indir_perm, 0 as s_indir_cont, sum(a.perm_dir_hc) as o_dir_perm, sum(a.contract_dir_hc) as o_dir_cont, sum(a.perm_indir_hc) as o_indir_perm, sum(a.contract_indir_hc) as o_indir_cont from ZVHR_ACT_HC_ASOF_FISPRD a, pertable b where to_char(as_of_date, 'mm/dd/yyyy') = b.ENDPERIOD and shift in ('G','N','O2','O7') and b.endperiod = ? group by b.period, b.year, a.cost_center) group by period, year, cost_center";
    PreparedStatement statement3 = connection.prepareStatement(url3);
    statement3.setString(1, "12/10/2008");
    statement3.setString(2, "12/10/2008");
    statement3.addBatch();
    statement3.executeBatch();
    </code>
    i m getting the following error
    java.sql.BatchUpdateException: ORA-01027: bind variables not allowed for data definition operations
    can any1 help me with this.

    Can you explain what you are trying to do from a business perspective?
    If you are creating a view, it doesn't make sense to pass bind variables to that DDL statement. The view definition itself is going to have to end up with hard coded date values there. So what possible benefit is there to using bind variables?
    As an aside, if you are using bind variables and you have DATE columns, you really want to pass in the proper data type (i.e. setDate or setTimestamp rather than setString). Otherwise, Oracle has to do implicit string to date conversion, which depends on the session's NLS settings, which is likely to be different on different client machines and lead to all sorts of odd errors and behaviors down the line.
    Are you trying to build a view that takes parameters? If so, there are a few options for that sort of thing.
    Justin

  • HT1766 I have a pop up about  Photo stream which does not allow me to click ignore or settings - nothing happens when pressed........I cannot click on anything - the screen seems to have frozen and having tried to turn off I cannot slide to turn off. Plea

    I have a pop up about  Photo stream which does not allow me to click ignore or settings - nothing happens when pressed........I cannot click on anything - the screen seems to have frozen and having tried to turn off I cannot slide to turn off. Please can e frozen and having tried to turn off I cannot slide to turn off. Please can you help

    Reset iPad
    Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears
    Note: Data will not be affected.

  • I recently did an update for my iTunes and now when I try to open it, I get an error that says that my data execution prevention is not allowing it to open. How do I fix this issue?

    I recently did an update for my iTunes and now when I try to open it, I get an error that says that my data execution prevention is not allowing it to open. How do I fix this issue?

    Try updating your QuickTime to the most recent version. Does that clear up the DEP errors in iTunes?

  • Removing IOS 5 and reverting to ios 4 (iphone 4) - as it will not allow me to download apps or stream music on radio apps.

    HI
    i updated to ios 5 today on my iphone 4 much to my dismay it cant stream radio apps i paid for anymore because it somehow HOGS the internet, but yet when i tried to play one of the multiplayer adventure games it is fine.  i dont know if its an INDIVIDUAL app issue whereby i have to enable or disable something or something within the settings to do with the itnernet i need to change?
    i cant even download apps on my iphone either it gives an error reading something along the lines of my internet; i connect at home with wifi and successfully stream music radio apps through my home speaker system; or i did do so before updating to this TRASH!. so i'm sure you can understand why i now ask to remove ios5 otherwise there is no point in me keeping the iphone, i have one year left on my mobile contract with orange to pay for.
    i need to perform a downgrade, i have ONE back up from july which would be the ios4 version if i restore it using this back up file in itunes, would it definately remove the ios 5 and put the ios4 backon my iphone ?
    Lorrie

    You can NOT downgrade iOS.
    That said, millions people have updated to iOS 5 without experiencing the problems you report. Why don't you try some basic troubleshooting before you resort to drastic measures.
    Restoring from your backup will NOT revert the phone to iOS 4.
    First, try to reset all settings. This will re-set the network settings and clear any personalization (wallpaper, custom assigned ringtones, etc.) but you will not lose any data.
    Then, try a simple re-set. If that doesn't work, try restoring from your last backup. If that doesn't work, Erase all content and settings and set it up as a new device.  It's possible one or more of the apps you are trying to use

  • I have an iPhone 4s, and I reset the content and setting. It turned on, I chose English, Australia, and now, I am unable to connect/activate my iPhone through Wi-Fi, and for an unknown reason, it will not allow me to use cellular data or iTunes.

    I have an iPhone 4s, and I reset the content and setting. It turned on, I chose English, Australia, and now, I am unable to connect/activate my iPhone through Wi-Fi, and for an unknown reason, it will not allow me to use cellular data or iTunes. I'm not sure of what to do. It's quite frustrating, and all I need is advice, and help. I would much appreciate it. Thank-you.

    In order to download to your phone over the air, you need to be connected to WiFi.
    It's possible the Internet connection through Verizon is not stable enough for the downlaod to begin (it is a very large download).
    You might want to head over to Starbucks with your laptop for the afternoon and see if you can download it over their WiFi.

  • Calendar:  Why not allow freedom to set alerts on any date/time?

    Hypothetically speaking...
    A man's wedding anniversary is every July 29th, however his memory has failed to prepare himself for the date appropriately for the last few years.
    He recently added this date to his Iphone Calendar app, however it only allows him to alert the event the maximum of 2 days before. Why not allow the freedom to set alerts weeks in advance? Or perhaps allow alerts to be provided at any date/time you feel necessary?
    I feel this scenario, and many varieties of others would benefit to the availability of this feature within the Calendar app.
    I also have one additional recommendation for the app. If an event is considered an ALL DAY event and an alert is set as a reminder, this alert will go off at midnight since it 'technically' is the beginning of the day. Quite annoying in my opinion. Lets also have the availability to set the alert notification time for ALL DAY events.
    I look forward to Apple recognizing these innovative ideas and providing these additions to their next upgrade! THANKS!
    Message was edited by: Drew Henderson

    I agree completely that this sort of freedom is needed.

  • 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

  • HT4623 My old school iPod touch won't update.  Does apple mess it's customers over by not allowing updates for older models of the touch?  My last update is Ios5.  My touch says its up to date.  So has my old school touch reached its pinnacle?

    My old school iPod touch won't update.  Does apple mess it's customers over by not allowing updates for older models of the touch?  My last update is Ios5.  My touch says its up to date.  So has my old school touch reached its pinnacle?

    Correct. The 3G iPod does not have the hardware to support an iOS version higher than 5.1.1
    To more easily find compatible apps:
    iOSSearch - search the iTunes store for compatible apps.
    Apple Club - filter apps by iOS version.
    Starting when iOS 7 was releases, Apple now allows downloading the last compatible version of some apps (iOS 4.2.1 and later only)
    App Store: Downloading Older Versions of Apps on iOS - Apple Club
    App Store: Install the latest compatible version of an app
    You first have to download the non-compatible version on your computer. Then when you try to purchase the version on your iPod you will be offered a compatible version if one exists.

  • HT201364 I have a macbook pro 15" 2007 version 10.6.8 and try to up date to mavericks and it's not allowing too. what should i do?

    I have a macbook pro 15" 2007 version 10.6.8 and try to up date to mavericks and it's not allowing too. what should i do?

    What does it tell you. If it says it isn't compatible, then you don't have a mid/late 2007 MBP. You might have an early 2007 MBP, which cannot run Mountain Lion or Mavericks.
    You can check here to see exactly which MBP you have: http://support.apple.com/kb/ht4132
    If you hold down the Option key and select System Profiler from the Apple Menu, it will display the model identifier under the Hardware Section.
    It must be a macbookpro3,1 or later.

  • My iPhone six with iOS 8.1.1 will not allow me to upload credit card data to Apple pay

    My iPhone six with iOS 8.1.1 will not allow me to add credit card data to Apple pay. It does not recognize my credit card in iTunes. I have I have set location to the United States, and restarted. Still nothing. When I enter the passbook app, hit the plus button, select set up Apple pay, select add new credit card,I get no response when trying to add credit card number expiration date etc., nor does the camera feature work. Bottom line is to date, I cannot add any credit card data at all.

    jimpeg10000 wrote:
    I have I have set location to the United States, and restarted.
    I am guessing there is something about your situation that occurred outside the U.S.  Perhaps you purchased your iPhone outside the U.S., or live outside the U.S., ...
    At the moment, Apple Pay only works in the U.S.

Maybe you are looking for

  • How can you get your i pod touch screen fixed

    How can you get your screen on an i pod fixed

  • Is there a way i can organise my apps in itunes?

    Hi, I'm pretty sure i've looked everywhere in itunes to see if there is a way to organise the thousands of iOS Apps I have but so far I cannot see one.  Can someone shed light on how to best organise apps so that you can for example, put games you li

  • Error while saving xml document in table

    I am using dbms_xmlsave.insert to insert records in the table. The procedure works fine when the xml file size is less then 1 Mb. But when the file size is around 4 MB I get the error java.lang.outofMemoryError. Is there any limitation of number of r

  • TabNavigator - How to change what happens when a user clicks a tab

    I am using a TabNavigator in my Flex application and I'd like to be able to change what happens when a user clicks a tab on the TabNavigator. I'd like to be able to handle the click on the tab myself and stop Flex from perfoming it's default actions.

  • Can´t add a roll or function

    Hi, I installed a server 2012 Essentials and it worked well, but when I try to add a roll or function it says ca´t show the functions that are avalibel on the server. Coulden´t open a DISM-session. Error 0x80070032. What to do??