System Data Container in ECATT

I am trying to create some catt scripts in the CUA box (SECATT)
when creating a new system data container i am selecting the RFC destination and typing in the Target system and description fields.
However - when ever we select the RFC destination the Instance description field populates automatically, which is not happening in my case(it is greyed out)
I gave myself SAP_ALL and tried again but in vain.
I am not sure why this is happening - i tried searching in the SDN forums but was unable to find the appropriate answer.
Can anyone point me to the right direction?
Thank you
Seshank

Thank you both for the replies,
I checked the T000 table and it is good.
I also tested the RFC connections, they are working fine.
I dont know why or i dont know how - I am able to add the target systems now without any issues.
about 10 minutes back i was unable to do it. This could be due to some maintanance happening - i am not sure.
But for now - its working
Appreciate your effort.
Edited by: seshank vemuri on Dec 22, 2010 8:18 PM

Similar Messages

  • How to execute Script in Test Plan with two different System Data Container

    Dear members,
    I have a requirement.
    I need to execute one Test Config in a Test Plan with one System Data Container and another Test Config in a Test plan with another SDC.
    How to achieve this ?
    Kind regards,
    Pradeep
    Edited by: Pradeep Singh Rawat on Mar 23, 2011 7:10 AM

    >
    Pradeep Singh Rawat wrote:
    > I need to execute one Test Config in a Test Plan with one System Data Container and another Test Config in a Test plan with another SDC. How to achieve this ?
    Currently it is not possible, to maintain more than one SDC on a test plan.
    A workaround is, to maintain one SDC on a test plan and specify no target system direct in a test plan. If you maintain then your  two systems in one SDC, you can specifiy each target system in the test configuration, where it is needed.
    Here the example:
    test plan:
    systemdata container: SDC_ALL
    target system: <empty>
    test config 1:
    systemdata container:
    target system: CRM
    test config 2:
    systemdata container:
    target system: ERP
    systemdata container: SDC_ALL
    target system: CRM -> rfc 1
    target system: ERP -> rfc 2
    Kind regards,
    Christoph

  • SAPGUI(attach) saying You Didnot Specify a system Data Container

    Hi,
    I need help in Modularization of Script., where I am getting a message while SAPGUI(attach) saying"You Didnot Specify a system Data Container.In This case You can only Record connections to Current System,Do you want to Continue Anyway?
    I have done the below steps.
    1.I created a System Data container and mentioned detials of Target System and Trusted Rfc.
    2.I created a Z_Mod1 Test Script and mentioned this System data container and target system detials in attributes,
    3.Then wenteditor tab then to pattern-> Sapgui(record) and recorded the script succesfully for the target system.
    4.Now I am creating another script Z_Mod2 for Mdoularization.. and gave the detials of System Data Container, target system,
    5.I went to editor tab then to pattern and selected "Test Script Refernces"and test script=Z_Mod1 ,and target system detials.
    6.then i went to Edit-->Predefine Target System Instance and selected the RFC destination
    7.Now i executed the script and selected the option Do NOT Close created session in UI Control.
    8.the script executed fine and Target system session is still open after the task is done.
    9.Now I went back to the script and Clicked on Pattern Button. choose Group = UI Control,Command = SAPGUI (Attach) Interface = [Generated]
    Now its giving the above message
    **You Didnot Specify a system Data Container.In This case You can only Record connections to Current System,Do you want to Continue Anyway?
    **and not able to select the target systems Scripting session...instead looking for session of same system,

    Hello,
    As mentioned the session is still open.
    Also you are doing attach, check if the session open of the system earlier and the system mentioned in the attributes of the script which you are changing both are pointing to the same system.
    We get this error when it refers two different system.
    Solution either remove the system details in the attributes or mention the system details of the system which is open.
    Thanks
    Ajay

  • How can eCATT used for testing of z program on DEV system &data on Quality?

    Hello All,
    Background - Custom object is (for e.g. any report program) which I want to test is present on DEV system  and required data (e.g. data that will be passed to selection screen fields of program) on Quality system.
    Question -How to do testing of program using eCATT without transporting my program to Quality box? Please anyone can give me any insights on this to fix the data availability issue. 
    My efforts - Created System data container specifying RFC connection for Quality system. Created Test Data Container with data available on Quality box. Here, I specified target system as 'Quality' for the data.  Created Test script (for SE38 tcode ) and did the parameterization(giving program name as parameter , other selection screen fields) and set the Target system for each parameter to QUALITY.  Created Test Configuration specifying with all required parameters .
    When I ran the test script from Test Configuration, test script started to run on Quality system. But failed saying program/object does not exist on quality box.
    Importance - This is required as no data available on DEV box, need to move program/object to Quality system. Hence, multiple transort requests are created.
    Edited by: Tripti on Feb 26, 2012 9:29 AM

    Thank you for your quick response, BalusC. I really appreciate your answer.
    Yes, you are right. If I manually code the same amount of those components in the JSF pages instead of generating them dynamically, the server will still run out of memory. That is to say, JSF pages might not accommodate a great deal of concurrent visiting. If I upgrade the server to just allow 1,000 teachers making their own test papers at the same time, but when over 2,000 students take the same questionnaire simultaneously, the server will need another upgrading. So I have to do what you have told me, using JS+DOM instead of upgrading the server endlessly.
    Best Regards, Ailsa

  • Printing System Date on Report Title

    How can I print the system date on the title of report generated by SQL*Plus?
    I remember it is possible to include SQL.PNO in the statement TTITLE to print the page number. Is there any variable like SQL.PNO which represent system date?
    Previously I've include SYSDATE to the SELECT statement of the report. It is the column named TODAY, with option NOPRINT and NEW_VALUE TT_TODAY, where TT_TODAY is include in TTITLE statement. The problem is: if the SELECT statement returns nothing, TT_TODAY will be blank/Null.
    How can I work around with this problem?

    Dear all,
    My colleague told me the way to print System Date on title of SQL*Plus report as followed:
    COLUMN today NEW_VALUE tt_today NOPRINT FORMAT A1 TRUNC
    TTITLE CENTER tt_today RIGHT SQL.PNO
    SET FEEDBACK OFF
    SET TERMOUT OFF
    SELECT SYSDATE AS today FROM DUAL;
    SPOOL RPTFILE
    SELECT ....... << to generate report output >> .......
    SPOOL OFF
    SET TERMOUT ON
    SET FEEDBACK ON
    It works! The output file contains System Date on each page title.
    I don't understand why Oracle didn't implement variable similar to SQL.PNO to represent the System Date. If Oracle is able to create SQL.PNO which can increment on each page break, why not the System Date which remains the same on each page?

  • 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

  • Instance failure, in System.Data in sql 2012

    On Win Server 2012 Standard I have a C# app that runs fine with sql 2008 express. When I installed sql 2012 express I get "instance Failure" source: System.data. when the following LYNQ query executes:
    //MessageBox.Show("Starting GetInitialPortStatus.");
    db =new
    DataClasses1DataContext();   //establish
    dataconnection to CALMasterSQL
    // 2. Query creation.
    var PortsQuery =from
    portrecord in db.Channels
    select portrecord;
    // 3. Query execution.
    int count = 0;
    // MessageBox.Show("Starting >portrecord in PortsQuery<.");
    foreach (var
    portrecord in PortsQuery)           
    // add rows to the grid for each record in the database Ports table
    Otherwise the app works fine. The closet fix in the forum I could find was to run
    exec sp_configure 'user instances enabled',
    1.
    Go
    Reconfigure
    Which I did but no change.
    How can this be corrected. It seems like it is a known issue but no fix for sql 2012?
    Thanks
    Morris
    Thank you Morris

    Thanks for your reply.
    The connection string is:
    <add name="CMMainWindow.Properties.Settings.CALLMASTERConnectionString"
                connectionString="Data Source=HLA2012\\SQL2012EXP;Initial Catalog=CALLMasterSQL;Integrated Security=True;Connect Timeout=5"
                providerName="System.Data.SqlClient" />
    The SQl instance is call "SQL2012EXP". There is also SQL 2008 Express on the same machine called SQLExpress.
    Both engines work fine in every other way.
    Thanks
    Morris
    Thank you Morris
    Hi MoCoder,
    According to your description, if it contains a double-slash between the server name and the database instance name in your connection string, it should be localhost\SQLEXPRESS. There is a similar issue about instance failure when connecting to SQL Server
    Express in C# application. You can review the following article.
    http://www.hanselman.com/blog/FixingInstanceFailureWhenConnectingToSQLServer2005Express.aspx
    In addition, Make sure your SQL Server instance(MSSQLSERVER) is running via the services management console.
    Thanks,
    Sofiya Li
    If you have any feedback on our support, please click here.
    Sofiya Li
    TechNet Community Support

  • BBPCF02 - BBP_PD002 Interface data contains errors

    Hi all,
    I need your help.
    We have a problem when the user confirm a purchase order from transaction BBPCF02.
    During the creation of confirmation the system returns the pop-up with message "Interface data contains errors".
    I have SRM 5.0 classic scenario.
    Thanks in advance.
    Davide

    refer to note 805965. Although this note is not exactly for the problem you are stating but it should be close enough to solve your problem.

  • Customer Exit for Calendar Month based on the day (system Date)

    Hello,
    I need help in creating a customer exit for Calendar month without the user input. The logic is as follows:
    For the BEx variable created with customer exit option and no user input:
    If the day on the system date falls in between 1 to 14 take the calendar year/month value as previous month.
    If the day on the system date falls in between 15 through 31 then take the calendar year/month as current month.
    eg if report is run on March 24th2009 the calendar year/month variable should be calculated as 03/2009 (March 2009)
    if the report is run on March 1st2009 the calendar year/month should be calculated as 02/2009 (Feb 2009).
    The code should be effective when run in the first 15 days of Jan when the previous month would contain the previous year as well.
    Thank You
    Srishti

    Thanks Shanthi. I am trying to incorporate the logic when the query is run in beginning of Jan when the year should be the previous year.Following is the code.please let me know if it would work. Is there a way I can test it as well?
    CASE I_VNAM.
    WHEN 'ZCURCALMON'.
    IF i_step = 2.
    data: mm(2),
            dd(2),
            yy(4),
            FM(6).
    if sy-datum+4(2) EQ 1.
    sy-datum(4) = sy-datum(4) - 1.
    else.
    sy-datum(4) = sy-datum(4).
    endif.
    if sy-datum+6(2) LE 15.
      mm = sy-datum+4(2) - 1.
      concatenate sy-datum(4) mm into FM.
    else.
      concatenate sy-datum(4) sy-datum+4(2)  into FM.
    endif.
    l_s_range-low = FM.
    l_s_range-sign = 'I'.
    l_s_range-opt = 'EQ'.
    append l_s_range to e_t_range.
    Endif.
    ENDCASE.
    Thanks
    Srishti

  • Creating a field or workflow that responds to the Current System Date.

    In our activities/tasks we have a field that is the Expected Completion Date or Required Completion Date. Based on that date, and the current date, I want a workflow to trigger when the required completion date is less than 30 days away, sending daily reminders to the owner/manager that they have a activity/task due.
    The way I see it I have two options.
    1. Customize a field to be the system date. Create a workflow that says every time that field changes, and the date is within 30 days of required completion date, send out an email.
    2. Create a workflow that somehow incorporates the current/system date, and do the same thing as above, substituting the field with the actual date.
    I don't know how to make either of those options happen. Does anyone either have other options or advice on how to make this work?
    Thank you in advance!

    Hello Cyril,
    Here is an idea that could be done:
    You could create a dynamic step by having a step that holds all the properties for both configurations (the superset of the necessary variables) and an extra one that indicates which 'mode' the step is in.  Then you create the main Edit substep in whichever language you desire.  That substep window will then have a box/dropdown/etc. at the top you can use to choose between modes A & B.  When the user changes the value, you would dynamically change the rest of the window to contain the appropriate properties for mode A or B.  You then copy the property values in that window to the Step properties, and copy the mode to your variable and you can run the step in that mode.  When the step then runs, it checks the mode variable, and depending on its value, it will run the step in mode A or B.
    Now we could add a dialog that allows us to choose when we put a step down but we should still allow the user to change later via the Edit substep we create.
    I don't think we can create something that inserts a completely different step, but we can have one step that has the ability to do both and we can pick which one we execute.  Also note we still don't have the ability to edit the Panels for a step, so we have to use a new window that we call from our Edit substep to complete the step.
    Hope this helps.
    Regards,
    Olivier L. | Certified LabVIEW Developer

  • Convert system date to MM/dd/yyyy

    Hi,
    I have to insert system date(current date) to MS Access database which contains colums in MM/dd/yyyy. Can you tell me how can i do it?
    --Ramesh.N                                                                                                                                                                                                                                                                                                                           

    String getDate() {
              Date theDate = new Date();
              SimpleDateFormat newForm = new SimpleDateFormat("MM/dd/yyyy");
              String date =  newForm.format(theDate);
              return date;
         }Try that

  • Binded Datagrid displays System.Data.Datarow as data

    Using VS2010 C#
    Hi All,
    I am having a really annoying issue which I know there's an easy fix for, but i cannot figure it out for the life of me. My goal is to copy info from an excel sheet to the datagrid. To achieve this, I am taking the clipboard and creating a datatable, and
    from the datatable --> datagrid. I have finally got the datagrid to display the correct column names and number of rows, but the records are showing "System.Data.Row" instead of the row's ItemArray. I've debugged the datatable and the correct
    info is right there in the ItemArray properties. Can someone please help me resolve this issue?
    Thanks in Advance!!!
    Here's my code:
    private void button1_Click(object sender, RoutedEventArgs e)
    string s = System.Windows.Clipboard.GetText();
    string[] lines = s.Split('\n');
    string[] columnsNames = lines[0].Split('\t');
    lines = lines.Where(w => w != lines[0]).ToArray();
    DataTable dt = new DataTable();
    DataRow dr;
    List<DataRow> list = new List<DataRow>();
    foreach (string str in columnsNames)
    dt.Columns.Add(str, typeof(string));
    DataGridTextColumn dgtxcol = new DataGridTextColumn();
    dgtxcol.Header = str;
    dataGrid1.Columns.Add(dgtxcol);
    dgtxcol.Binding = new Binding(".");
    for (int row = 0; row < lines.Length; row++)
    string[] rowInfo = lines[row].Split('\t');
    dr = dt.NewRow();
    for (int z = 0; z < rowInfo.Length; z++)
    if (rowInfo[z].Contains('\r'))
    rowInfo[z] = rowInfo[z].Replace('\r', ' ');
    dr[columnsNames[z]] = rowInfo[z];
    dt.Rows.Add(dr);
    list = dt.AsEnumerable().ToList();
    dataGrid1.ItemsSource = list;
    string name = ((DataRow)dataGrid1.Items[0]).ToString();
    private void dataGrid1_LoadingRow(object sender, DataGridRowEventArgs e)
    e.Row.Header = (e.Row.GetIndex()+1).ToString();
    <Window x:Class="ClipboardToWPF.MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="MainWindow" Height="500" Width="846" WindowStartupLocation="CenterScreen" Loaded="Window_Loaded">
    <Grid>
    <DataGrid ItemsSource="{Binding}" AutoGenerateColumns="False" Height="346" HorizontalAlignment="Left" Margin="12,103,0,0" Name="dataGrid1" VerticalAlignment="Top" Width="800" LoadingRow="dataGrid1_LoadingRow" CanUserAddRows="True">
    </DataGrid>
    <Button Content="PASTE" Height="39" HorizontalAlignment="Left" Margin="691,33,0,0" Name="button1" VerticalAlignment="Top" Width="96" Click="button1_Click" />
    </Grid>
    </Window>

    Since the DataContext of a DataGridRow is an item in the DataGrid's IEnumerable<T> ItemsSource, you must specify the column name or property name of T to bind to for each column. "." just binds to the DataRow itself.
    You must also remove the \r also from the column name. You can then set the ItemsSource property of the DataGrid to the DefaultView of the DataTable itself.
    The following modified code seems to work fine for this sample data:
    col1 col2
    val1 val2
    private void button1_Click(object sender, RoutedEventArgs e)
    string s = System.Windows.Clipboard.GetText();
    string[] lines = s.Split('\n');
    string[] columnsNames = lines[0].Split('\t');
    lines = lines.Where(w => w != lines[0]).ToArray();
    DataTable dt = new DataTable();
    List<DataRow> list = new List<DataRow>();
    foreach (string str in columnsNames)
    string name = str.Replace("\r", "");
    dt.Columns.Add(name, typeof(string));
    DataGridTextColumn dgtxcol = new DataGridTextColumn();
    dgtxcol.Header = name;
    dataGrid1.Columns.Add(dgtxcol);
    dgtxcol.Binding = new Binding(name);
    for (int row = 0; row < lines.Length; row++)
    string[] rowInfo = lines[row].Split('\t');
    DataRow dr = dt.NewRow();
    for (int z = 0; z < rowInfo.Length; z++)
    if (rowInfo[z].Contains('\r'))
    rowInfo[z] = rowInfo[z].Replace('\r', ' ');
    dr[z] = rowInfo[z];
    dt.Rows.Add(dr);
    dataGrid1.ItemsSource = dt.DefaultView;
    string firstname = dt.Rows[0][0].ToString();
    Hope that helps.
    Please remember to mark helpful posts as answer to close the thread and then start a new thread if you have a new question.

  • ESS Information errors if end date is less than system date

    Hi to all,
    I have create an WD Java aplication to create new entries in infotype 0023.
    First problem: At the beginning I couldn't create new entries if start date is less than system date. To solve this problem I used:
    The transaction SPRO to go to Personnel Management>Employee Self Service>Service Specific Setting-->Change Default Start Date
    In HRXSS_PER_BEGDA I changed BEGDA to 01.01.1900 in the DEFAULT_DATE method and i solved the first problem.
    Now I need solved the second problem - we couldn't create new entries if end date is less than system date.
    In this method DEFAULT_DATE I can't change ENDDA because ENDDA isn't a parameter in this method.
    MOLGA (Importing)
    PERNR (Importing)
    INFTY (Importing)
    SUBTY (Importing, optional)
    BEGDA (Changing)
    Can anybody helps me about this second problem?
    Thank a lot for your help.

    I am creating an aplication WD Java:
    - This application uses a R3 Function Module HRXSS_PER_MODIFY_PNNNN
    - This FM uses the method CALL METHOD xss_adapter->modify
    - This Method uses IF_HRPA_PERNR_INFTY_XSS~MODIFY
    - This method uses:
      IF buffer_entry-container->a_pskey-endda < user_today.
        msg-msgid = 'PG'.
        msg-msgty = 'E'.
        msg-msgno = '016'.
        msg-msgv1 = 'Data valid only for past is not'(009).
        msg-msgv2 = 'allowed;'(010).
        msg-msgv3 = 'correct'(011).
        msg-msgv4 = 'end date to a date today or future date.'(012).
        CALL METHOD message_list->if_hrpa_message_handler~add_message
          EXPORTING
            message = msg
            cause   = xss_adapter_generic.
      ENDIF.
    How can I change the value user_today?
    This value is a parameter for the method GET_INSTANCE in CL_HRPA_PERNR_INFTY_XSS, but I don't know when this method is called.
    Can you help me?

  • Calculate number of days based on System Date and a date column!

    Hi everyone,
    I have a query to run a report where the results has a column named “Due Date” which holds a date value based on the project submission date.
    Now, I need to add 4 columns named, “45 Days Expectant”, “30 Days Overdue”, “60 Days Overdue” and “90 Days Overdue”.
    I need to do a calculation based on the “Due Date” and “System (I mean default computer date) Date” that if “System Date” is 45 days+ to “Due Date” than put “Yes” in “45 Days Expectant” row.
    Also, if “Due Date” is less than or equal to system date by 30 days, put “Yes” in “30 Days Overdue” and same for the 60 and 90 days.
    For example the output should be like:
    Is this possible? Can someone help me how to write this Case Statement please? I have some answers how to do it in SSRS (Report Designer) but I want to get the results using T-SQL...Thanks heaps...cheers...
    artistdedigital

    Hi Jay,
    Thanks but those dates are just a reference. The actual table contains hundreds of date rows... so I guess this technique will not work (not sure though)...
    I am quite cool with this bit:
    select duedate,
    case when days > -45 and days < 0 then 'YES' else '' end as '45 Days Expectant',
    case when days between 30 and 60 then 'YES' else '' end as '30 Days overdue',
    case when days between 60 and 90 then 'YES' else '' end as '60 Days overdue',
    case when days > 90 then 'YES' else '' end as '90 Days overdue'
    from cte--------------------------------------------------------------------------------------------------But can you please explain this bit a more? Thanks for being so prompt though : )declare @tab table (duedate datetime)
    insert @tab select '04/25/2014'
    insert @tab select '02/10/2014'
    insert @tab select '01/10/2014'
    insert @tab select '12/10/2013'
    ;with cte
    as
    select duedate,datediff(dd,duedate,getdate()) as days
    from @tab
    artistdedigital

  • Difference between the XML for the "Initial System Data" in the module ERM

    Hello,
    I wan to know what's the difference between the XML for the "Initial System Data" in the module ERM of SAP GRC AC 5.3.
    RE_init_clean_and_insert_data.xml
    RE_init_append_data.xml
    RE_init_methodology_data.xml
    And what "Initial System Data" do I have to put?? the rule set?
    I'm new in SAP GRC.
    Thank you very much.
    Pablo Mortera.

    Pablo,
        I am sorry but I am not able to get the question so I will explain as per my understanding. All of these three xml files contain necessary out of the box data which is required for ERM to function. Without this data, your ERM would not work so this is the first thing you want to do in ERM after successful installation.
    After that, you will have to create connector and landscape and then synchronize transaction code, auth objects, fields, values etc by running through each background job one by one.
    Regards,
    Alpesh

Maybe you are looking for

  • Conditional Split - Expression Evaluates to Null

    Hi everyone! I'm using a conditional split to discriminate modified records. My expression looks like this: col1_source != col1_dest || col2_source != col2_des.....and so on. I use OLE DB Command afterward to update modified records. It all works fin

  • How to import java Classes in report Builder

    Hi, I want to import classes from a jar file into Report Builder (10 g). I'm not able to find my JAR in -- Program --> Import Java Classes option. I have set the classpath pointing to my JAR.

  • I can't find a serial number to adobe x?

    I currently have adobe x installed on my machine and downloaded XI to upgrade.  I know have an error message saying "serial number you provided is valid, but a qualifying product could not be found on this computer."  I didn't have an account until i

  • Manual Tabular Form Generation in Interactive Reports

    Dear All; I used the following statement to generate a tabular form in an interactive report region; SELECT id No, apex_item.text(1,C1,3,4, ,'f01_#ROWNUM#') C1 from test_table The no of items on the form depends on the number of rows in test_table. H

  • HT1752 need printer setup utility for OS. 10.3.7.

    Mac mini from '05 or '06. Os 10.3.7 installed Tiger. several utilities won't work. printer setup ut and About this Mac. (wont show details) etc. There isno software update. Nothing shows. How can I update this mac?