System.Web.HttpException: Unable to find control id 'txtDob' referenced by the 'ControlToValidate' property of 'RequiredFieldValidator5'.

i hv got error in this code below..plz give solution.
using System;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.SqlClient;
using System.Configuration;
using System.Data;
using System.Data.OleDb;
public partial class _Default: System.Web.UI.Page
    protected void Page_Load(object sender, EventArgs e)
    //declaring connection string and command
    //here we are extracting connection string from web.config file
    OleDbConnection con = new OleDbConnection(@"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=D:\WebSite5\App_Data\db.accdb");
    protected void btnSubmit_Click(object sender, EventArgs e)
        if
(!Page.IsPostBack)
            //Fill Years
            for (int i = 2013; i <= 2020; i++)
                ddlYear.Items.Add(i.ToString());
            ddlYear.Items.FindByValue(System.DateTime.Now.Year.ToString()).Selected = true;  //set current year as selected
            //Fill Months
            for (int i = 1; i <= 12; i++)
                ddlMonth.Items.Add(i.ToString());
            ddlMonth.Items.FindByValue(System.DateTime.Now.Month.ToString()).Selected = true; // Set current month as selected
            //Fill days
            FillDays();
    public void FillDays()
        ddlDay.Items.Clear();
        //getting numbner of days in selected month & year
        int noofdays = DateTime.DaysInMonth(Convert.ToInt32(ddlYear.SelectedValue), Convert.ToInt32(ddlMonth.SelectedValue));
        //Fill days
        for (int i = 1; i <= noofdays; i++)
            ddlDay.Items.Add(i.ToString());
        ddlDay.Items.FindByValue(System.DateTime.Now.Day.ToString()).Selected = true;// Set current date as selected
    protected void ddlYear_SelectedIndexChanged(object sender, EventArgs e)
        FillDays();
    protected void ddlMonth_SelectedIndexChanged(object sender, EventArgs e)
        FillDays();
        try
            con.Open();
            OleDbCommand cmd = new OleDbCommand("INSERT INTO UserDetails values(@Fname,@Lname,@Email,@Password,@Gender,@Dob,@Mobile,@Address)",con);
            //cmd.Connection = con; //assigning connection to command
            //cmd.CommandType = CommandType.Text; //representing type of command
            //cmd.CommandText = "INSERT INTO UserDetails (Fname,Lname,Email,Password,Gender,Dob,Mobile,Address) values
            // (@Fname,@Lname,@Email,@Password,@Gender,@Dob,@Mobile,@Address)";
            //cmd.CommandText = "INSERT INTO UserDetails values(@Fname,@Lname,@Email,@Password,@Gender,@Dob,@Mobile,@Address)";
            //adding parameters with value
            cmd.Parameters.AddWithValue("@Fname", txtFirstName.Text.ToString());
            cmd.Parameters.AddWithValue("@Lname", txtLastName.Text.ToString());
            cmd.Parameters.AddWithValue("@Email", txtEmail.Text.ToString());
            cmd.Parameters.AddWithValue("@Password", txtPassword.Text.ToString());
            cmd.Parameters.AddWithValue("@Gender", RdoGender.SelectedItem.Text.ToString());
            cmd.Parameters.AddWithValue("@Dob", ( ddlDay.SelectedIndex+ddlMonth.SelectedIndex+ddlYear.SelectedIndex).ToString());
            cmd.Parameters.AddWithValue("@Mobile", txtMobile.Text.ToString());
            cmd.Parameters.AddWithValue("@Address", txtAddress.Text.ToString());
            //con.Open(); //opening connection
            cmd.ExecuteNonQuery();  //executing query
            con.Close(); //closing connection
            lblMsg.Text = "Registered Successfully..";
        catch (Exception ex)
            lblMsg.Text = ex.Message.ToString();
    protected void btnClear_Click(object sender, EventArgs e)
        //refreshing/reloading page to clear all the controls
        Page.Response.Redirect(Page.Request.Url.ToString(), true);
and my web.conf code is below:
<?xml version="1.0"?>
<!--
    Note: As an alternative to hand editing this file you can use the
    web admin tool to configure settings for your application. Use
    the Website->Asp.Net Configuration option in Visual Studio.
    A full list of settings and comments can be found in
    machine.config.comments usually located in
    \Windows\Microsoft.Net\Framework\v2.x\Config
-->
<configuration>
    <configSections>
      <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
        <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
          <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
requirePermission="false" allowDefinition="MachineToApplication"/>
          <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
            <section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
requirePermission="false" allowDefinition="Everywhere" />
            <section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
requirePermission="false" allowDefinition="MachineToApplication" />
            <section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
requirePermission="false" allowDefinition="MachineToApplication" />
            <section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
requirePermission="false" allowDefinition="MachineToApplication" />
          </sectionGroup>
        </sectionGroup>
      </sectionGroup>
    </configSections>  
    <appSettings/>
    <connectionStrings>
        <add name="ConnectionString" connectionString="Provider=Microsoft.ACE.OLEDB.12.0;Data Source=D:\WebSite5\App_Data\db.accdb"
            providerName="System.Data.OleDb" />
    </connectionStrings>
    <system.web>
        <!--
            Set compilation debug="true" to insert debugging
            symbols into the compiled page. Because this
            affects performance, set this value to true only
            during development.
        -->
        <compilation debug="false">
          <assemblies>
            <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
            <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
            <add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
            <add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
          </assemblies>
        </compilation>
        <!--
            The <authentication> section enables configuration
            of the security authentication mode used by
            ASP.NET to identify an incoming user.
        -->
        <authentication mode="Windows" />
        <!--
            The <customErrors> section enables configuration
            of what to do if/when an unhandled error occurs
            during the execution of a request. Specifically,
            it enables developers to configure html error pages
            to be displayed in place of a error stack trace.
        <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
            <error statusCode="403" redirect="NoAccess.htm" />
            <error statusCode="404" redirect="FileNotFound.htm" />
        </customErrors>
        -->
      <pages>
        <controls>
          <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
          <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
        </controls>
      </pages>
      <httpHandlers>
        <remove verb="*" path="*.asmx"/>
        <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
        <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
        <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
validate="false"/>
      </httpHandlers>
      <httpModules>
        <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
      </httpModules>
    </system.web>
    <system.codedom>
      <compilers>
        <compiler language="c#;cs;csharp" extension=".cs" warningLevel="4"
                  type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
          <providerOption name="CompilerVersion" value="v3.5"/>
          <providerOption name="WarnAsError" value="false"/>
        </compiler>
        <compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" warningLevel="4"
                  type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
          <providerOption name="CompilerVersion" value="v3.5"/>
          <providerOption name="OptionInfer" value="true"/>
          <providerOption name="WarnAsError" value="false"/>
        </compiler>
      </compilers>
    </system.codedom>
    <!--
        The system.webServer section is required for running ASP.NET AJAX under Internet
        Information Services 7.0.  It is not necessary for previous version of IIS.
    -->
    <system.webServer>
      <validation validateIntegratedModeConfiguration="false"/>
      <modules>
        <remove name="ScriptModule" />
        <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
      </modules>
      <handlers>
        <remove name="WebServiceHandlerFactory-Integrated"/>
        <remove name="ScriptHandlerFactory" />
        <remove name="ScriptHandlerFactoryAppServices" />
        <remove name="ScriptResource" />
        <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode"
             type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
        <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode"
             type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
        <add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions,
Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
      </handlers>
    </system.webServer>
    <runtime>
      <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
        <dependentAssembly>
          <assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35"/>
          <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>
        </dependentAssembly>
        <dependentAssembly>
          <assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35"/>
          <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>
        </dependentAssembly>
      </assemblyBinding>
    </runtime>
</configuration>

Hi,
This error must be generated from any of the ".aspx" page.
As,error clearly mentions 
control "txtDob" not found. It means you definitely dont have this control present on your page, Or you renamed it to some other Name.
To resolve this error,
1) Search for text box (i think in your case Date of birth) take name of that textbox
2) Assign same textbox name in  "RequiredFieldValidator5" Property "ControlToValidate"
Regards 

Similar Messages

  • System.Web.HttpException: Request timed out.

    Hi,
    In custom web part I am getting the bulk data from SharePoint audit logs.
    We are getting the below error when we have moved this to production.
    System.Web.HttpException: Request timed out. 
    Please let me know to avoid the same.
    Please provide your valuable inputs on the same.
    Regards,
    Sudheer
    Thanks & Regards, Sudheer

    Hi Sudheer,
    Please try to modify the web.config to this:
    <httpRuntime maxRequestLength="51200" executionTimeout="3600" requestValidationMode="2.0" />
    Best Regards
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • I am trying to setup Microsoft office mail and need assistance  - I am receiving the error, unable to find server and DNS setting in the Network

    I am trying to setup Microsoft office mail and need assistance  - I am receiving the error, unable to find server and DNS setting in the Network

    Which version of OSX and what email provider are you using.

  • After i had my hard drive replaced, i've gone to get my old emails and am unable to find them on time machine. The file com.apple.mail.plist isn't there. HELP!

    Pretty sure this will be some sort of user error, but i'm lost.
    I had to have my hard drive replaced, so before taking it to the genius bar, i backed up using time machine. I'd had issues with trying to use Carbon Copy Cloner previously so had formatted the external drive before doing time machine. TM seemed to work fine and copied what looked to be everything. Once i'd got the new hard drive in and went to restore everything, when i looked for the file i need to get to apparently get my mails back (Library > Preferences > com.apple.mail.plist) it's not there.
    Any help would be MASSIVELY appreciated.
    J

    Turn Time Machine OFF temporarily in its preference pane. Leave the window open.
    Navigate in the Finder to your backup disk, and then to the folder named "Backups.backupdb" at the top level of the volume. If you back up over a network, you'll first have to mount the disk image file containing your backups by double-clicking it. Descend into the folder until you see the snapshots, which are represented by folders with a name that begins with the date of the snapshot. Find the one you want to restore from. There's a link named "Latest" representing the most recent snapshot. Use that one, if possible. Otherwise, you'll have to remember the date of the snapshot you choose.
    Inside the snapshot folder is a folder hierarchy like the one on the source disk. Find one of the items you can't restore and select it. Open the Info dialog for the selected item. In the Sharing & Permissions section, you may see an entry in the access list that shows "Fetching…" in the Name column. If so, click the lock icon in the lower right corner of the dialog and authenticate. Then delete the "Fetching…" item from the icon list. Click the gear icon below the list and select Apply to enclosed items from the popup menu.
    Now you should be able either to copy the item in the Finder or to restore it in the time-travel view. If you use the time-travel view, be sure to select the snapshot you just modified. If successful, repeat the operation with the other items you were unable to restore. You can select multiple items in the Finder and open a single Info dialog for all of them by pressing the key combination option-command-I.
    When you're done, turn TM back ON and close its preference pane.

  • Unable to find OSB API classes while submitting the resources to OER

    Hi,
    i had installed weblogic 11gR1 and installed OSB and OER on top of it.
    when i try to submit any xsd or WSDL file from eclipse to Oracle Enterprise Repository it will work fine.
    But when i try to submit any .biz or .proxy file (from osb project) i am getting the following error.
    can anybody please help
    0 [main] WARN com.oracle.oer.sync.framework.impl.DefaultPluginManager - Unable to initialize harvester plugin: D:\OSBOracleMiddleware\repository111\core\tools\solutions\11.1.1.5.0-OER-Harvester\harvester\.\plugins\osb10.productReader
    218 [main] INFO com.oracle.oer.sync.framework.MetadataManager - Oracle Enterprise_Repository_Harvester version: v11.1.1.5.0-110414_0001-1399976
    562 [main] WARN com.oracle.oer.sync.framework.impl.DefaultPluginManager - Unable to initialize harvester plugin: D:\OSBOracleMiddleware\repository111\core\tools\solutions\11.1.1.5.0-OER-Harvester\harvester\.\plugins\osb10.productReader
    968 [main] ERROR com.oracle.oer.sync.plugin.artifact.osb10.OSBServiceIntrospectorBase - Unable to find OSB API classes. Make sure that the BEA_HOME environment variable points to an installation of OSB Server version 10.3.1
    com.oracle.oer.sync.framework.MetadataIntrospectionException: Unable to find OSB API classes. Make sure that the BEA_HOME environment variable points to an installation of OSB Server version 10.3.1
         at com.oracle.oer.sync.plugin.artifact.osb10.OSBServiceIntrospectorBase.introspect(OSBServiceIntrospectorBase.java:96)
         at com.oracle.oer.sync.plugin.reader.file.FileReader.introspectFile(FileReader.java:414)
         at com.oracle.oer.sync.plugin.reader.file.FileReader.readFromFileArray(FileReader.java:286)
         at com.oracle.oer.sync.plugin.reader.file.FileReader.read(FileReader.java:132)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         at java.lang.reflect.Method.invoke(Method.java:601)
         at com.flashline.util.classloader.ContextClassLoaderHandler.invoke(ContextClassLoaderHandler.java:39)
         at $Proxy24.read(Unknown Source)
         at com.oracle.oer.sync.framework.MetadataManager.start(MetadataManager.java:630)
         at com.oracle.oer.sync.framework.Introspector.<init>(Introspector.java:204)
         at com.oracle.oer.sync.framework.Introspector.main(Introspector.java:428)
    Caused by: java.lang.NoClassDefFoundError: com/bea/wli/sb/services/bindings/config/ServiceTypeChoice
         at com.oracle.oer.sync.plugin.artifact.osb10.OSBServiceIntrospectorBase.processInterface(OSBServiceIntrospectorBase.java:429)
         at com.oracle.oer.sync.plugin.artifact.osb10.BusinessServiceIntrospector.processServiceAsset(BusinessServiceIntrospector.java:70)
         at com.oracle.oer.sync.plugin.artifact.osb10.OSBServiceIntrospectorBase.processService(OSBServiceIntrospectorBase.java:154)
         at com.oracle.oer.sync.plugin.artifact.osb10.OSBServiceIntrospectorBase.introspect(OSBServiceIntrospectorBase.java:90)
         ... 12 more
    Caused by: java.lang.ClassNotFoundException: com.bea.wli.sb.services.bindings.config.ServiceTypeChoice
         at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
         at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
         ... 16 more
    968 [main] ERROR com.oracle.oer.sync.plugin.reader.file.FileReader - Introspection failed due to: Unable to find OSB API classes. Make sure that the BEA_HOME environment variable points to an installation of OSB Server version 10.3.1
    968 [main] ERROR com.oracle.oer.sync.framework.MetadataManager - Artifact harvest failed due to: Unable to find OSB API classes. Make sure that the BEA_HOME environment variable points to an installation of OSB Server version 10.3.1
    com.oracle.oer.sync.framework.MetadataIntrospectionException: Unable to find OSB API classes. Make sure that the BEA_HOME environment variable points to an installation of OSB Server version 10.3.1
         at com.oracle.oer.sync.plugin.artifact.osb10.OSBServiceIntrospectorBase.introspect(OSBServiceIntrospectorBase.java:96)
         at com.oracle.oer.sync.plugin.reader.file.FileReader.introspectFile(FileReader.java:414)
         at com.oracle.oer.sync.plugin.reader.file.FileReader.readFromFileArray(FileReader.java:286)
         at com.oracle.oer.sync.plugin.reader.file.FileReader.read(FileReader.java:132)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         at java.lang.reflect.Method.invoke(Method.java:601)
         at com.flashline.util.classloader.ContextClassLoaderHandler.invoke(ContextClassLoaderHandler.java:39)
         at $Proxy24.read(Unknown Source)
         at com.oracle.oer.sync.framework.MetadataManager.start(MetadataManager.java:630)
         at com.oracle.oer.sync.framework.Introspector.<init>(Introspector.java:204)
         at com.oracle.oer.sync.framework.Introspector.main(Introspector.java:428)
    Caused by: java.lang.NoClassDefFoundError: com/bea/wli/sb/services/bindings/config/ServiceTypeChoice
         at com.oracle.oer.sync.plugin.artifact.osb10.OSBServiceIntrospectorBase.processInterface(OSBServiceIntrospectorBase.java:429)
         at com.oracle.oer.sync.plugin.artifact.osb10.BusinessServiceIntrospector.processServiceAsset(BusinessServiceIntrospector.java:70)
         at com.oracle.oer.sync.plugin.artifact.osb10.OSBServiceIntrospectorBase.processService(OSBServiceIntrospectorBase.java:154)
         at com.oracle.oer.sync.plugin.artifact.osb10.OSBServiceIntrospectorBase.introspect(OSBServiceIntrospectorBase.java:90)
         ... 12 more
    Caused by: java.lang.ClassNotFoundException: com.bea.wli.sb.services.bindings.config.ServiceTypeChoice
         at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
         at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
         ... 16 more
    com.oracle.oer.sync.framework.MetadataIntrospectionException: Artifact harvest failed due to: Unable to find OSB API classes. Make sure that the BEA_HOME environment variable points to an installation of OSB Server version 10.3.1
         at com.oracle.oer.sync.framework.MetadataManager.start(MetadataManager.java:655)
         at com.oracle.oer.sync.framework.Introspector.<init>(Introspector.java:204)
         at com.oracle.oer.sync.framework.Introspector.main(Introspector.java:428)
    Caused by: com.oracle.oer.sync.framework.MetadataIntrospectionException: Unable to find OSB API classes. Make sure that the BEA_HOME environment variable points to an installation of OSB Server version 10.3.1
         at com.oracle.oer.sync.plugin.artifact.osb10.OSBServiceIntrospectorBase.introspect(OSBServiceIntrospectorBase.java:96)
         at com.oracle.oer.sync.plugin.reader.file.FileReader.introspectFile(FileReader.java:414)
         at com.oracle.oer.sync.plugin.reader.file.FileReader.readFromFileArray(FileReader.java:286)
         at com.oracle.oer.sync.plugin.reader.file.FileReader.read(FileReader.java:132)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         at java.lang.reflect.Method.invoke(Method.java:601)
         at com.flashline.util.classloader.ContextClassLoaderHandler.invoke(ContextClassLoaderHandler.java:39)
         at $Proxy24.read(Unknown Source)
         at com.oracle.oer.sync.framework.MetadataManager.start(MetadataManager.java:630)
         ... 2 more
    Caused by: java.lang.NoClassDefFoundError: com/bea/wli/sb/services/bindings/config/ServiceTypeChoice
         at com.oracle.oer.sync.plugin.artifact.osb10.OSBServiceIntrospectorBase.processInterface(OSBServiceIntrospectorBase.java:429)
         at com.oracle.oer.sync.plugin.artifact.osb10.BusinessServiceIntrospector.processServiceAsset(BusinessServiceIntrospector.java:70)
         at com.oracle.oer.sync.plugin.artifact.osb10.OSBServiceIntrospectorBase.processService(OSBServiceIntrospectorBase.java:154)
         at com.oracle.oer.sync.plugin.artifact.osb10.OSBServiceIntrospectorBase.introspect(OSBServiceIntrospectorBase.java:90)
         ... 12 more
    Caused by: java.lang.ClassNotFoundException: com.bea.wli.sb.services.bindings.config.ServiceTypeChoice
         at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
         at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
         ... 16 more

    hi,
    hey i overcome the yesterday's error,
    in my osb11g-harvest.bat file 'call setenv.bat' this line was missing.
    when i added this line it works fine.
    but still i am facing another issue
    8332 [Main Thread] INFO com.bea.alsb.harvester.plugin.reader.OSBReader - OSB Config Jar Import / Validation starting.
    <Mar 13, 2012 10:28:16 AM IST> <Warning> <ConfigFwk> <BEA-000000> <Setting transaction '6' as rollback only. Rollback reason:
    java.io.IOException: Invalid jar file
         at com.bea.wli.config.importexport.ConfigJar$LogicalJarForm.<init>(ConfigJar.java:1341)
         at com.bea.wli.config.task.impl.UploadJarTask._execute(UploadJarTask.java:46)
         at com.bea.wli.config.task.impl.SessionedTask$1.execute(SessionedTask.java:233)
         at com.bea.wli.config.transaction.TransactionalTask._doExecute(TransactionalTask.java:217)
         at com.bea.wli.config.transaction.TransactionalTask._doExecuteWithRetry(TransactionalTask.java:162)
         at com.bea.wli.config.transaction.TransactionalTask.doExecute(TransactionalTask.java:142)
         at com.bea.wli.config.task.impl.SessionedTask.doExecute(SessionedTask.java:236)
         at com.bea.wli.config.task.impl.SessionedTask.doExecute(SessionedTask.java:191)
         at com.bea.wli.config.task.impl.UploadJarTask.uploadJar(UploadJarTask.java:36)
         at com.bea.wli.config.mbeans.Config.uploadJarFile(Config.java:442)
         at com.bea.alsb.harvester.utils.ConfigJarUtils.importConfigJar(ConfigJarUtils.java:79)
         at com.bea.alsb.harvester.plugin.reader.OSBReader.readQuery(OSBReader.java:196)
         at com.bea.alsb.harvester.plugin.reader.OSBReader.readQueries(OSBReader.java:112)
         at com.bea.alsb.harvester.plugin.reader.OSBReader.read(OSBReader.java:87)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.flashline.util.classloader.ContextClassLoaderHandler.invoke(ContextClassLoaderHandler.java:39)
         at $Proxy0.read(Unknown Source)
         at com.oracle.oer.sync.framework.MetadataManager.start(MetadataManager.java:630)
         at com.oracle.oer.sync.framework.Introspector.<init>(Introspector.java:204)
         at com.oracle.oer.sync.framework.Introspector.main(Introspector.java:430)
    >
    8426 [Main Thread] ERROR com.oracle.oer.sync.framework.MetadataManager - Artifact harvest failed due to: Unexpected error import: Invalid jar file
    com.oracle.oer.sync.framework.MetadataIntrospectionException: Unexpected error import: Invalid jar file
         at com.bea.alsb.harvester.utils.ConfigJarUtils.importConfigJar(ConfigJarUtils.java:97)
         at com.bea.alsb.harvester.plugin.reader.OSBReader.readQuery(OSBReader.java:194)
         at com.bea.alsb.harvester.plugin.reader.OSBReader.readQueries(OSBReader.java:112)
         at com.bea.alsb.harvester.plugin.reader.OSBReader.read(OSBReader.java:87)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.flashline.util.classloader.ContextClassLoaderHandler.invoke(ContextClassLoaderHandler.java:39)
         at $Proxy0.read(Unknown Source)
         at com.oracle.oer.sync.framework.MetadataManager.start(MetadataManager.java:630)
         at com.oracle.oer.sync.framework.Introspector.<init>(Introspector.java:204)
         at com.oracle.oer.sync.framework.Introspector.main(Introspector.java:430)
    Caused by: java.io.IOException: Invalid jar file
         at com.bea.wli.config.importexport.ConfigJar$LogicalJarForm.<init>(ConfigJar.java:1341)
         at com.bea.wli.config.task.impl.UploadJarTask._execute(UploadJarTask.java:46)
         at com.bea.wli.config.task.impl.SessionedTask$1.execute(SessionedTask.java:233)
         at com.bea.wli.config.transaction.TransactionalTask._doExecute(TransactionalTask.java:217)
         at com.bea.wli.config.transaction.TransactionalTask._doExecuteWithRetry(TransactionalTask.java:162)
         at com.bea.wli.config.transaction.TransactionalTask.doExecute(TransactionalTask.java:142)
         at com.bea.wli.config.task.impl.SessionedTask.doExecute(SessionedTask.java:236)
         at com.bea.wli.config.task.impl.SessionedTask.doExecute(SessionedTask.java:191)
         at com.bea.wli.config.task.impl.UploadJarTask.uploadJar(UploadJarTask.java:36)
         at com.bea.wli.config.mbeans.Config.uploadJarFile(Config.java:442)
         at com.bea.alsb.harvester.utils.ConfigJarUtils.importConfigJar(ConfigJarUtils.java:79)
         at com.bea.alsb.harvester.plugin.reader.OSBReader.readQuery(OSBReader.java:196)
         ... 11 more
    seems that some invalid jar file is there.
    can please take a look in to it,
    Sorry for inconvinience
    anyways thanks a lot for your kind help
    Regards,
    Yogesh

  • Unable to find ADF Faces core option in the component palette...

    Hai
    I am learning ADF framework. Iam going through the ADF developers guide..
    When i am layouting a JSF JSP page .. am unable to find the panelPage option...
    In the tutorial i read like this
    component palette-->ADF Faces core ---> panelPage.
    I am unable to find this option...i am using Jdev10.1.3
    any one can help me....

    What exactly can't you find?
    The component palette? It is by default on the right side of JDev.
    The ADF Faces Core option? The component palette is by default initiated on HTML Forms (I think). When you click on this, you'll be able to select the desired option.
    The PanelPage? When selecting ADF Faces Core as describe above, you should see PanelPage among the possibilities.

  • WRT160N V2 - Web Browser unable to find home server using server name, IP address OK.

    Hi, I have just got a WRT160N V2, it is working fine apart from one irritating issue. I am unable to browse a web server running on my local network by the computers (servers) name. If I use the IP address it works fine. Viewing my shared files and folders  with Windows Explorer using servers name also works fine. The problem seems to be limited to web browsers, I have tried Internet Explorer and Chrome, neither can find the server using its name, using IP address they can. I have checked NetBIOS settings on all connected computers and they are ok. If I switch back to my old Netgear router the problem goes away. So, it seems it's something specific the the WRT160N. This isn't a huge issue as I can fix by adding a line in the Hosts file. I just wondered if this is a known issue?
    Many Thanks
    Ian

    The first thing that you can try is upgrading the firmware of the router..
    Reset the router for 30 sec , reconfigure the router again and then try to setup the web browser for the server.

  • NW 7 EHP1 Installation problem - unable to find control.xml file

    Hi,
    I'm trying to install NW 7 with EHP1 on AIX/Oracle environment. My installation got to the stage where SAPinst paused to allow the installation of the Oracle database software. After installing the Oracle database software, I closed down the SAP installation GUI in the hope of picking up the installation at a later date. However, when reattempting to pick up where the installation left off, I recieve the following error when starting sapinst after selecting "continue with old installation" option.
    guiengine: 2010-03-29 11:23:24 Login in progress
    guiengine: 2010-03-29 11:23:24 Login successful
    Mar 29, 2010 10:23:25 AM [Info]: GUI started.
    init: retrieving account information for group sapinst...
    init: retrieving account information done.
    ERROR      2010-03-29 11:24:17.681 [sixxcpars.cpp:50]
    FKD-00048  Unable to open URL file:///tmp/sapinst_instdir/NW701/AS-ABAP/ORA/CENTRAL//control.xml.
    Unable to start a service execution.
    Can anybody please advise me how to resolve this issue if possible?
    Thanks.

    Hi Naveed,
    I can't see any sap inst processes running under the root account, however I can see the following two processes running under oraSID user from the date of my original installation attempt:
    /bin/sh /oracle/DB1/102_64/jdk/bin/java -Djava.awt.headless=true -Doracle.oc4j.localhome=/oracle/DB1/10...
    /oracle/DB1/102_64/jdk/bin/java.bin -Dibm.stream.nio=true -Djava.awt.headless=true -Doracle.oc4j.localh...
    Could this be related to the cause of my issue?
    Thanks.

  • Unable to find file [any file].htm in the Configuration/Floaters directory (CS6) [Solved]

    This is more of an answer than a question. I had been having this problem all of a sudden, and none of the solutios I'd found on Adobe or anywhere else were working. SO sicne the easy route wasn't working, I looked at it myself.
    A key lead came from an answer on Adobe Forum in that the problem exists in the last configuration you were using (e.g., Desginer, Coding, Dual Screen, etc). The issue is that one of the XML entires lists an item that DW doesn't like, so you need to delete that entry and everything is great.
    Close Dreamweaver.
    On the PC, look in C:\Users\[your name]\AppData\Roaming\Adobe\Dreamweaver CS6\en_US\Configuration\Workspace for a file with the name of [your configuration].xml, and open it with a text editor.
    Look for "id=[your configuration]"
    Delete the <panelframe></panelframe> that contantains that id in the previous step.
    Save and close the file.
    Open Dreamwweaver.
    In my case the problem was com.html and my Workspace Configuration was Dual Screen. So I edited "Dual Screen.xml" and deleted the <panelframe></panelframe> that contained id="com" saved it, and started Dreamweaver without the error.
    My only question is that since this is a not uncommon error, why the #$%^&* isn't Adobe support able to provide this info? Or, better yet, since their start-up process can find the spcific error, why aren't they capable of simply deleting that Panelframe data as a restult of the error and taking care of it that way?
    Anyway, good luck with this!

    BTW, I'm sorry for my horrible typing in the intial post.

  • Exact fetch returns more than requested number of rows oracle error ; unable to find where exactly throwing error in the below code.

    hi i am receiving "exact fetch returns more than requested number of rows oracle error". but i am not able to locate the error in the below code. Any help would be appreciated!!!
    CREATE OR REPLACE PROCEDURE load_scene_collection_item (
    --pdname                                  VARCHAR2,
    -- LOCATION TO ADD/CHANGE below!!!
    pITEM_TYPE_ID                      INTEGER,
    pSCENE_COLLECTION_ID        INTEGER,
    pCOLLECTION_ITEM_NAME     VARCHAR2,
    pCOLLECTION_ITEM_DESC      VARCHAR2,
    pDEFAULT_COORD_X      NUMBER,
    pDEFAULT_COORD_Y      NUMBER,
    pDEFAULT_COORD_Z      NUMBER,
    pDEFAULT_WIDTH            NUMBER,
    pDEFAULT_HEIGHT            NUMBER,
    pDEFAULT_ROTATION      INTEGER,
    pDEFAULT_ALPHA            INTEGER,
    pfname                                 VARCHAR2)    IS
    src_file BFILE;
    dst_file BLOB;
    lgh_file BINARY_INTEGER;
    BEGIN
    src_file := bfilename('BUSINESSBLOBSIMAGES', pfname);
    -- insert a NULL record to lock
    Insert into SCENE_COLLECTION_ITEM
       ( ITEM_TYPE_ID,
       SCENE_COLLECTION_ID,
       COLLECTION_ITEM_NAME,
       COLLECTION_ITEM_DESC,
        COLLECTION_ITEM_IMAGE,
       DEFAULT_COORD_X,
       DEFAULT_COORD_Y,
       DEFAULT_COORD_Z,
       DEFAULT_WIDTH,
       DEFAULT_HEIGHT,
       DEFAULT_ROTATION,
       DEFAULT_ALPHA,
        CREATE_USER,
        CREATE_DATE)
    Values    ( pITEM_TYPE_ID, pSCENE_COLLECTION_ID, pCOLLECTION_ITEM_NAME, pCOLLECTION_ITEM_DESC, EMPTY_BLOB(),   
       pDEFAULT_COORD_X,
       pDEFAULT_COORD_Y,
       pDEFAULT_COORD_Z,
       pDEFAULT_WIDTH,
       pDEFAULT_HEIGHT,
       pDEFAULT_ROTATION,
       pDEFAULT_ALPHA,  
    sys_context('USERENV', 'OS_USER'), 
    sys_extract_utc(systimestamp))
    RETURNING COLLECTION_ITEM_IMAGE INTO dst_file;
    -- LOCATIONs(2) TO ADD/CHANGE above!!!
    -- lock record
    SELECT COLLECTION_ITEM_IMAGE
    INTO dst_file
    FROM SCENE_COLLECTION_ITEM
    WHERE ITEM_TYPE_ID     = pITEM_TYPE_ID
    AND SCENE_COLLECTION_ID = pSCENE_COLLECTION_ID
    AND COLLECTION_ITEM_NAME= pCOLLECTION_ITEM_NAME
    AND COLLECTION_ITEM_DESC= pCOLLECTION_ITEM_DESC
    AND    pDEFAULT_COORD_X = DEFAULT_COORD_X
    AND   pDEFAULT_COORD_Y  = DEFAULT_COORD_Y
    AND   pDEFAULT_COORD_Z  = DEFAULT_COORD_Z
    AND   pDEFAULT_WIDTH    = DEFAULT_WIDTH
    AND   pDEFAULT_HEIGHT   = DEFAULT_HEIGHT
    AND   pDEFAULT_ROTATION = DEFAULT_ROTATION
    AND   pDEFAULT_ALPHA    = DEFAULT_ALPHA
    FOR UPDATE;
    -- LOCATION TO ADD/CHANGE above!!!
    -- open the file
    dbms_lob.fileopen(src_file, dbms_lob.file_readonly);
    -- determine length
    lgh_file := dbms_lob.getlength(src_file);
    -- read the file
    dbms_lob.loadfromfile(dst_file, src_file, lgh_file);
    -- update the blob field
    UPDATE SCENE_COLLECTION_ITEM
    SET COLLECTION_ITEM_IMAGE = dst_file
    WHERE ITEM_TYPE_ID     = pITEM_TYPE_ID
    AND SCENE_COLLECTION_ID = pSCENE_COLLECTION_ID
    AND COLLECTION_ITEM_NAME= pCOLLECTION_ITEM_NAME
    AND COLLECTION_ITEM_DESC= pCOLLECTION_ITEM_DESC
    AND    pDEFAULT_COORD_X = DEFAULT_COORD_X
    AND   pDEFAULT_COORD_Y  = DEFAULT_COORD_Y
    AND   pDEFAULT_COORD_Z  = DEFAULT_COORD_Z
    AND   pDEFAULT_WIDTH    = DEFAULT_WIDTH
    AND   pDEFAULT_HEIGHT   = DEFAULT_HEIGHT
    AND   pDEFAULT_ROTATION = DEFAULT_ROTATION
    AND   pDEFAULT_ALPHA    = DEFAULT_ALPHA
    -- LOCATION TO ADD/CHANGE above!!!
    -- close file
    dbms_lob.fileclose(src_file);
    END load_scene_collection_item;
    Thanks in advance!!!!

    Hi PaulHorth,
    Thanks for the quick reply.
    Actually, i am getting  error while updating the records.
    below is the error message:
    Error starting at line 1 in command:
    exec load_scene_collection_item(3,15,'2 Lane 4way Stop','4 Way Stop Intersection with 2 lanes in each direction',0,0,0,400,517,0,1,'2 Lane 4way Stop.PNG');
    Error report:
    ORA-01422: exact fetch returns more than requested number of rows
    ORA-06512: at "DP_OWNER.LOAD_SCENE_COLLECTION_ITEM", line 55
    ORA-06512: at line 1
    01422. 00000 - "exact fetch returns more than requested number of rows"
    *Cause:    The number specified in exact fetch is less than the rows returned.
    *Action:   Rewrite the query or change number of rows requested

  • Unable to find the timestamp in SPRO-"delete timestamp for infosource"

    in system BIT.
    issue: unable to find the timestamp in SPRO-"delete timestamp for infosource" in ECQ, for a load which i did in BIQ and getting error that init was already done but request was deleted from target.
    for cube 0CFM_C10, i did init load from 0CFM_POSITIONS flow , was fine
    next init load from flow 0CFM_DELTA_POSITIONS, some issue,
    got messaget that init was already done but request was deleted from target.
    so i deleted req from infopkg-scheduler-init options for src system - here deleted the req.
    did load got same error again.
    next in ECQ, SPRO- "delete timestamp for infosource", for this option when i search, i am getting msg that "0 timestamps deleted for infosource".
    why is that i am unable to find the timestamp here in SPRO in ECQ? any other solution ?
    pls  help
    regards,
    swetha

    thanks.
    deleted the additional entry from SPRO as suggested in this thread.
    Error while executing RSA3
    did the load ,
    init load via 0CFM_DELTA_POSITIONS flow, successful :   so that error got solved.
    delta load via 0CFM_DELTA_POSITIONS flow, getting another new error and message below
    Job terminated in source system --> Request set to red
    can anyone suggest on how to solve this?
    in src system logs, this data was found
    Job log overview for job:    BIREQU_DAVZG15LMNNG2N3XPN9J5C6QS / 11111300
    Date       Time     Message text                                                                      Message class Message no. Message type
    19.07.2011 11:11:13 Job started                                                                            00           516          S
    19.07.2011 11:11:13 Step 001 started (program SBIE0001, variant &0000000083979, user ID ALEECQREMOTE)      00           550          S
    19.07.2011 11:11:13 Asynchronous transmission of info IDoc 2 in task 0001 (0 parallel tasks)               R3           413          S
    19.07.2011 11:11:13 DATASOURCE = 0CFM_DELTA_POSITIONS                                                      R3           299          S
    19.07.2011 11:11:13 RLOGSYS    = BITST                                                                     R3           299          S
    19.07.2011 11:11:13 REQUNR     = REQU_DAVZG15LMNNG2N3XPN9J5C6QS                                            R3           299          S
    19.07.2011 11:11:13 UPDMODE    = D                                                                         R3           299          S
    19.07.2011 11:11:13 LANGUAGES  = *                                                                         R3           299          S
    19.07.2011 11:11:13 *************************************************************************              R8           048          S
    19.07.2011 11:11:13 *          Current Values for Selected Profile Parameters               *              R8           049          S
    19.07.2011 11:11:13 *************************************************************************              R8           048          S
    19.07.2011 11:11:13 * abap/heap_area_nondia......... 0                                       *             R8           050          S
    19.07.2011 11:11:13 * abap/heap_area_total.......... 16777216000                             *             R8           050          S
    19.07.2011 11:11:13 * abap/heaplimit................ 40000000                                *             R8           050          S
    19.07.2011 11:11:13 * zcsa/installed_languages...... 1CEFIJKLNOSUV                           *             R8           050          S
    19.07.2011 11:11:13 * zcsa/system_language.......... E                                       *             R8           050          S
    19.07.2011 11:11:13 * ztta/max_memreq_MB............ 2047                                    *             R8           050          S
    19.07.2011 11:11:13 * ztta/roll_area................ 3000000                                 *             R8           050          S
    19.07.2011 11:11:13 * ztta/roll_extension........... 2000000000                              *             R8           050          S
    19.07.2011 11:11:13 *************************************************************************              R8           048          S
    19.07.2011 11:14:15 Internal session terminated with a runtime error (see ST22)                            00           671          A
    19.07.2011 11:14:15 Job cancelled                                                                          00           518          A
    Edited by: Swetha N on Jul 21, 2011 6:40 AM
    Edited by: Swetha N on Jul 21, 2011 6:40 AM

  • JDBC error - Unable to find or load Driver

    Hi,
    I'm attempting to connect to a MySQL database with using the statement below, using MySQL Connector 3.0.8:
    public void connectToDB() {
    try {
    connection = DriverManager.getConnection(
    "jdbc:mysql://localhost:3306/accounts?user=root&password=spider");
    } catch(SQLException connectException) {
    System.out.println(connectException.getMessage());
    System.out.println(connectException.getSQLState());
    System.out.println(connectException.getErrorCode());
    However, I obtain the error shown below when executing my code:
    C:\> java Accounts
    Unable to find and load Driver
    which is an output from:
    public Accounts() {
    try {
    Class.forName("com.mysql.jdbc.Driver").newInstance();
    } catch (Exception e) {
    System.err.println("Unable to find and load driver");
    System.exit(1);
    My database is not located on another machine, but on the same machine rather (127.0.0.1) i.e. on my local PC.
    I've tried trouble shooting the problem by:
    C:\> telnet localhost 3306
    Bad Connection 4.0.20a-max@!5
    Connection to host lost
    C:\> ping 127.0.0.1
    4.0.20a-maCGxG;2&f,&#9787;
    Connection to host lost.
    C:\>ping 127.0.0.1:3306
    Ping request could not find host 127.0.0.1:3306. Please check the name and try a
    gain.
    C:\>ping 127.0.0.1
    Pinging 127.0.0.1 with 32 bytes of data:
    Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
    Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
    Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
    Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
    Ping statistics for 127.0.0.1:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
    Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms
    C:\>
    Could anyone kindly tell me where did I go wrong, and how do I go about solving this issue?
    Below is the complete set of code(Accounts.java) which querries, inserts and deletes entries in the database.
    Thanks in advance.
    // Accounts.java
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.sql.*;
    import java.util.*;
    public class Accounts extends JFrame {
    private JButton getAccountButton,
    insertAccountButton,
    deleteAccountButton,
    updateAccountButton;
    private JList accountNumberList;
    private Connection connection;
    private JTextField accountIDText,
    usernameText,
    passwordText,
    tsText,
    activeTSText;
    private JTextArea errorText;
    public Accounts() {
    try {
    Class.forName("com.mysql.jdbc.Driver").newInstance();
    } catch (Exception e) {
    System.err.println("Unable to find and load driver");
    System.exit(1);
    private void loadAccounts() {
    Vector v = new Vector();
    try {
    Statement statement = connection.createStatement();
    ResultSet rs = statement.executeQuery("SELECT acc_id FROM acc_acc");
    while(rs.next()) {
    v.addElement(rs.getString("acc_id"));
    rs.close();
    } catch(SQLException e) {
    displaySQLErrors(e);
    accountNumberList.setListData(v);
    private void buildGUI() {
    Container c = getContentPane();
    c.setLayout(new FlowLayout());
    accountNumberList = new JList();
    loadAccounts();
    accountNumberList.setVisibleRowCount(2);
    JScrollPane accountNumberListScrollPane = new JScrollPane(accountNumberList);
    //Do Get Account Button
    getAccountButton = new JButton("Get Account");
    getAccountButton.addActionListener (
    new ActionListener() {
    public void actionPerformed(ActionEvent e) {
    try {
    Statement statement = connection.createStatement();
    ResultSet rs = statement.executeQuery("SELECT * FROM acc_acc WHERE acc_id = " + accountNumberList.getSelectedValue());
    if (rs.next()) {
    accountIDText.setText(rs.getString("acc_id"));
    usernameText.setText(rs.getString("username"));
    passwordText.setText(rs.getString("password"));
    tsText.setText(rs.getString("ts"));
    activeTSText.setText(rs.getString("act_ts"));
    } catch(SQLException selectException) {
    displaySQLErrors(selectException);
    //Do Insert Account Button
    insertAccountButton = new JButton("Insert Account");
    insertAccountButton.addActionListener (
    new ActionListener() {
    public void actionPerformed(ActionEvent e) {
    try {
    Statement statement = connection.createStatement();
    int i = statement.executeUpdate("INSERT INTO acc_acc VALUES(" +
    accountIDText.getText() + ", " +
    "'" + usernameText.getText() + "', " +
    "'" + passwordText.getText() + "', " +
    "0" + ", " +
    "now())");
    errorText.append("Inserted " + i + " rows successfully");
    accountNumberList.removeAll();
    loadAccounts();
    } catch(SQLException insertException) {
    displaySQLErrors(insertException);
    //Do Delete Account Button
    deleteAccountButton = new JButton("Delete Account");
    deleteAccountButton.addActionListener (
    new ActionListener() {
    public void actionPerformed(ActionEvent e) {
    try {
    Statement statement = connection.createStatement();
    int i = statement.executeUpdate("DELETE FROM acc_acc WHERE acc_id = " +
    accountNumberList.getSelectedValue());
    errorText.append("Deleted " + i + " rows successfully");
    accountNumberList.removeAll();
    loadAccounts();
    } catch(SQLException insertException) {
    displaySQLErrors(insertException);
    //Do Update Account Button
    updateAccountButton = new JButton("Update Account");
    updateAccountButton.addActionListener (
    new ActionListener() {
    public void actionPerformed(ActionEvent e) {
    try {
    Statement statement = connection.createStatement();
    int i = statement.executeUpdate("UPDATE acc_acc " +
    "SET username='" + usernameText.getText() + "', " +
    "password='" + passwordText.getText() + "', " +
    "act_ts = now() " +
    "WHERE acc_id = " + accountNumberList.getSelectedValue());
    errorText.append("Updated " + i + " rows successfully");
    accountNumberList.removeAll();
    loadAccounts();
    } catch(SQLException insertException) {
    displaySQLErrors(insertException);
    JPanel first = new JPanel(new GridLayout(5,1));
    first.add(accountNumberListScrollPane);
    first.add(getAccountButton);
    first.add(insertAccountButton);
    first.add(deleteAccountButton);
    first.add(updateAccountButton);
    accountIDText = new JTextField(15);
    usernameText = new JTextField(15);
    passwordText = new JTextField(15);
    tsText = new JTextField(15);
    activeTSText = new JTextField(15);
    errorText = new JTextArea(5, 15);
    errorText.setEditable(false);
    JPanel second = new JPanel();
    second.setLayout(new GridLayout(6,1));
    second.add(accountIDText);
    second.add(usernameText);
    second.add(passwordText);
    second.add(tsText);
    second.add(activeTSText);
    JPanel third = new JPanel();
    third.add(new JScrollPane(errorText));
    c.add(first);
    c.add(second);
    c.add(third);
    setSize(500,500);
    show();
    public void connectToDB() {
    try {
    connection = DriverManager.getConnection(
    "jdbc:mysql://localhost:3306/accounts?user=root&password=spider");
    } catch(SQLException connectException) {
    System.out.println(connectException.getMessage());
    System.out.println(connectException.getSQLState());
    System.out.println(connectException.getErrorCode());
    private void displaySQLErrors(SQLException e) {
    errorText.append("SQLException: " + e.getMessage() + "\n");
    errorText.append("SQLState: " + e.getSQLState() + "\n");
    errorText.append("VendorError: " + e.getErrorCode() + "\n");
    private void init() {
    connectToDB();
    public static void main(String[] args) {
    Accounts accounts = new Accounts();
    accounts.addWindowListener(
    new WindowAdapter() {
    public void windowClosing(WindowEvent e) {
    System.exit(0);
    accounts.init();
    accounts.buildGUI();
    }

    Hi,
    Below is my PATH setting to the MySQL JDBC JAR added in the autoexec.bat file:
    PATH C:\j2sdk1.4.1_01\bin;C:\mysql-connector-java-3.0.8-stable-bin.jar;%CLASSPATH%
    Could you tell me where did I go wrong & how can I fix this problem?
    FYI, I'm using a Windows XP platform.
    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.
    C:\mysql\bin>net stop mysql
    The MySQL service is stopping..
    The MySQL service was stopped successfully.
    C:\mysql\bin>mysqld.exe
    C:\mysql\bin>net stop mysql
    The MySQL service is not started.
    More help is available by typing NET HELPMSG 3521.
    C:\mysql\bin>net start mysql
    The MySQL service is starting.
    The MySQL service was started successfully.
    I then tried initiating the MySQL client also on the same PC machine, but obtained the error below:
    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.
    C:\mysql\bin>mysql.exe
    ERROR 2003: Can't connect to MySQL server on 'localhost' (10061)
    C:\mysql\bin>telnet localhost 3306
    Connecting To localhost...Could not open connection to the host, on port 3306: C
    onnect failed
    C:\mysql\bin>
    Could you or anyone else help me on this problem? I'm still a newbie with MySQL and JDBC.
    Thanks in advance

  • Sapinst /usr/lib/hpux64/dld.so: Unable to find library 'libclntsh.so.10.1'

    Hi
    Using Oracle 10.2 , HP-UX 11.23, ECC 6.0 SR3. I am running sapinst with homogeneous system copy option. Database already restored and opened properly. Getting error during backup/restore step -creating the password file. Looking at the sapinst logs it says /usr/lib/hpux64/dld.so: Unable to find library 'libclntsh.so.10.1' 
    The Library Paths defined are below:
    For user qasadm
    DIR_LIBRARY=/usr/sap/QAS/SYS/exe/run
    SHLIB_PATH=/usr/sap/QAS/SYS/exe/run:/oracle/client/10x_64/instantclient
    For oraqas
    DIR_LIBRARY=/usr/sap/QAS/SYS/exe/run
    SHLIB_PATH=/usr/sap/QAS/SYS/exe/run:/oracle/QAS/102_64/lib
    I have checked OSS Note 819829. Verified the path /oracle/client/10x_64/
    all the files look good. The permissions and ownership are all correct under /oracle
    The sapinst is supposed to install the client.
    In /exe directory
    :qasadm 22> ldd dboraslib.so
            libnsl.so.1 =>  /usr/lib/hpux64/libnsl.so.1
            libpthread.so.1 =>      /usr/lib/hpux64/libpthread.so.1
            libclntsh.so.10.1 =>    /oracle/client/10x_64/instantclient/libclntsh.so.10.1
            libnnz10.so =>  /oracle/client/10x_64/instantclient/libnnz10.so
            libc.so.1 =>    /usr/lib/hpux64/libc.so.1
            libxti.so.1 =>  /usr/lib/hpux64/libxti.so.1
            libnnz10.so =>  /oracle/client/10x_64/instantclient/libnnz10.so
            librt.so.1 =>   /usr/lib/hpux64/librt.so.1
            libnss_dns.so.1 =>      /usr/lib/hpux64/libnss_dns.so.1
            libdl.so.1 =>   /usr/lib/hpux64/libdl.so.1
            libm.so.1 =>    /usr/lib/hpux64/libm.so.1
            libpthread.so.1 =>      /usr/lib/hpux64/libpthread.so.1
            libunwind.so.1 =>       /usr/lib/hpux64/libunwind.so.1
            libnsl.so.1 =>  /usr/lib/hpux64/libnsl.so.1
            libdl.so.1 =>   /usr/lib/hpux64/libdl.so.1
            libuca.so.1 =>  /usr/lib/hpux64/libuca.so.1
    R3trans -d -v works fine
    RC = 0000
    qasadm 31> ./genezi -v
    Client Shared Library 64-bit - 10.2.0.5.0
    System name:    HP-UX
    Release:        B.11.23
    Version:        U
    Machine:        ia64
    The above does not show which mode the client is running (InstantClient Mode or Oracle Home Mode)
    qasadm 33> cd /oracle/client/10x_64/instantclient
    qasadm 34> ls -ltr
    total 254056
    -rwxrwxrwx   1 qasadm     sapsys       83768 Feb 24  2011 genezi
    -rwxrwxrwx   1 qasadm     sapsys     67574560 Feb 24  2011 libociei.so
    -rwxrwxrwx   1 qasadm     sapsys     51705200 Feb 24  2011 libclntsh.so.10.1
    -rwxrwxrwx   1 qasadm     sapsys     2165720 Feb 24  2011 ojdbc6.jar
    -rwxrwxrwx   1 qasadm     sapsys     1576737 Feb 24  2011 ojdbc14.jar
    -rwxrwxrwx   1 qasadm     sapsys     1628358 Feb 24  2011 classes12.jar
    -rwxrwxrwx   1 qasadm     sapsys     5337360 Feb 24  2011 libnnz10.so
    -rwxrwxrwx   1 qasadm     sapsys        1474 Feb 24  2011 SAPIC_README
    lrwxrwxrwx   1 qasadm     sapsys          17 Dec 29 19:03 libclntsh.so -> libclntsh.so.10.1
    qasadm 35> ldd libclntsh.so.10.1
            libnnz10.so =>  /oracle/client/10x_64/instantclient/libnnz10.so
            librt.so.1 =>   /usr/lib/hpux64/librt.so.1
            libnss_dns.so.1 =>      /usr/lib/hpux64/libnss_dns.so.1
            libdl.so.1 =>   /usr/lib/hpux64/libdl.so.1
            libm.so.1 =>    /usr/lib/hpux64/libm.so.1
            libpthread.so.1 =>      /usr/lib/hpux64/libpthread.so.1
            libunwind.so.1 =>       /usr/lib/hpux64/libunwind.so.1
            libnsl.so.1 =>  /usr/lib/hpux64/libnsl.so.1
            libdl.so.1 =>   /usr/lib/hpux64/libdl.so.1
            libuca.so.1 =>  /usr/lib/hpux64/libuca.so.1
            libxti.so.1 =>  /usr/lib/hpux64/libxti.so.1
    So basically the file libclntsh.so.10.1 does exist and is in the path defined in the environment variable.
    Any idea experts why it cant find the library?

    Thanks. Actually its the other way round. The 10.2.0.5 you see is the Client version. The database is at 10.2.0.2. But thats not an issue. This is resolved now. Issue was sapinst was running with root and trying to start the listener and create the password file which I could do successfully manually with oraSID but not with root. Not sure why sapinst did not switch to orasid to do that
    Had to do two things:
    1) Set the correct environment variables for root (it was already good for sidadm and orasid bu must be done for root as well)
    2) Recreate the links (with ln -fs) for an older installation we had that was recently uninstalled.

  • Unable to find abstract layer object definition

    Hi,
    I am using SoapUI 3.6.1.
    When I send a request "getAttribute" along with all the optional parameters, specifying the Username and password in the Request Properties window, I am getting following error.
    <ns1:VdxServiceException xmlns="http://www.novell.com/vdx/service" xmlns:ns1="http://www.novell.com/vdx/service">
    <reason>Unable to find abstract layer object definition for the specified definition key.</reason>
    </ns1:VdxServiceException>
    <stackTrace xsi:type="xsd:string">com.novell.srvprv.impl.vdata .soap.ws.impl.VdxServiceException
    at com.novell.srvprv.impl.vdata.soap.ws.impl.VdxServe rHelper.convertToVdxServiceException(VdxServerHelp er.java:90)
    In case of "getAttributes" request, an error is thrown.
    <html><head><title>JBoss Web/2.1.3.GA - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 401 - </h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>This request requires HTTP authentication ().</u></p><HR size="1" noshade="noshade"><h3>JBoss Web/2.1.3.GA</h3></body></html>
    Please suggest steps how can one get attributes of a user using SoapUI.

    Sorry, I can't help you.
    It's been too long since I have used SoapUI.
    What is "getAttribute"?
    It is not a SOAP request.
    I also do know what "www.novell.com/vdx/service" is.
    Preston
    >>> On Friday, October 11, 2013 at 12:16 AM,
    Nikender<[email protected]> wrote:
    > Hi,
    >
    > I am using SoapUI 3.6.1.
    >
    > ‑ When I send a request "getAttribute" along with all the optional
    > parameters, specifying the Username and password in the Request
    > Properties window, I am getting following error.
    >
    > * <ns1:VdxServiceException xmlns="http://www.novell.com/vdx/service"
    > xmlns:ns1="http://www.novell.com/vdx/service">
    > <reason>Unable to find abstract layer object definition
    > for the specified definition key.</reason>
    > </ns1:VdxServiceException>
    > <stackTrace
    > xsi:type="xsd:string">com.novell.srvprv.impl.vdata .soap.ws.impl.VdxServic
    > eException
    > at
    > com.novell.srvprv.impl.vdata.soap.ws.impl.VdxServe rHelper.convertToVdxSe
    > rviceException(VdxServerHelper.java:90)*
    >
    > 2
    > ‑ In case of "getAttributes" request, an error is thrown.
    >
    > <HTML><HEAD><TITLE>JBOSS WEB/2.1.3.GA ‑ ERROR
    > REPORT</TITLE><STYLE><!‑‑H1
    >
    {FONT‑FAMILY:TAHOMA,ARIAL,SANS‑SERIF;COLOR:WHI TE;BACKGROUND‑COLOR:#525
    D76;F
    > ONT‑SIZE:22PX;}
    > H2
    >
    {FONT‑FAMILY:TAHOMA,ARIAL,SANS‑SERIF;COLOR:WHI TE;BACKGROUND‑COLOR:#525
    D76;F
    > ONT‑SIZE:16PX;}
    > H3
    >
    {FONT‑FAMILY:TAHOMA,ARIAL,SANS‑SERIF;COLOR:WHI TE;BACKGROUND‑COLOR:#525
    D76;F
    > ONT‑SIZE:14PX;}
    > BODY
    >
    {FONT‑FAMILY:TAHOMA,ARIAL,SANS‑SERIF;COLOR:BLA CK;BACKGROUND‑COLOR:WHIT
    E;}
    > B
    >
    {FONT‑FAMILY:TAHOMA,ARIAL,SANS‑SERIF;COLOR:WHI TE;BACKGROUND‑COLOR:#525
    D76;}
    > P
    >
    {FONT‑FAMILY:TAHOMA,ARIAL,SANS‑SERIF;BACKGROUN D:WHITE;COLOR:BLACK;FONT
    SIZE
    > :12PX;}A
    > {COLOR : BLACK;}A.NAME {COLOR : BLACK;}HR {COLOR :
    #525D76;}‑‑></STYLE>
    > </HEAD><BODY><H1>HTTP STATUS 401 ‑ </H1><HR SIZE=\"1\"
    > NOSHADE=\"NOSHADE\"><P><B>TYPE</B> STATUS REPORT</P><P><B>MESSAGE</B>
    > <U></U></P><P><B>DESCRIPTION</B> <U>THIS REQUEST REQUIRES HTTP
    > AUTHENTICATION ().</U></P><HR SIZE=\"1\" NOSHADE=\"NOSHADE\"><H3>JBOSS
    > WEB/2.1.3.GA</H3></BODY></HTML>
    >
    > Please suggest steps how can one get attributes of a user using SoapUI.

  • Unable to find Cube / Query in Catalog (Designer)

    Hello,
    Our current environment consists of BW Queries which are access by BO Universes. When creating a Universe we were able to see all queries but since we did some changes to the MP and cubes we don't see the queries anymore from BO Side.
    Also the current reports fail with an error "Unable to find Cube <QueryName> in catalog".
    The queries used in the universes are still visible and accessible in BEx Analyzer.
    What I tried so far (with a super user) is:
    1. Generate query again -> no change
    2. Save the query again -> no change
    3. Remove the flag u201CAllow external Access to this queryu201D, save query and flag the option again -> no change
    4. Activate the MultiProvider again -> no change
    5. Copy the query to another query u2013
         -> New query is accessible. This means the MP and cubes are not the reason. It seems like the query is gone in an inactive modeu2026
    6. Used BAPI  BAPI_MDPROVIDER_GET_CUBES to get the list of accessible queries.
         -> I see the same list as in BO. Most queries are missing. The ones that are in the list disappear whenever we try to access these queries from BO.
    Did anyone encounter the same issue and was able to solve it?
    Environment: SAP BI 7.1 EHP1 SP5, BO XI 3.1 SP2(1.7).
    Thanks in advance.
    Manu

    Hi Manu,
    your are talking about universe designer here - right?
    We have the same behaviour currently in Crystal 2008 designer and universe designer.
    In both we can see the same but not the complete list of queries.
    We made sure the "allow external access" option is set in BEX.
    We resolved both issues with same root cause :  adjust Query properties -> Req. status ->   ...
    Pls refer to thread Unable to find BW Query while creating connection with universe designer as well - thanks Ingo !
    - logon to the SAP system
    - start transaction RSRT
    - enter the technical name of the BW query in the syntax CUBE/QUERY
    - click Properties
    - set the second item called Req.Status.
    - set that one to 0
    Let us know if this helped !
    Holger
    Edited by: Holger Brasch on Mar 26, 2010 11:58 PM

Maybe you are looking for

  • For all those having issues with the 11.1.4.62 update

    The issues encountered are vast... msvcr80.dll issues.. Apple Mobile Device failed to start... and on and on... Never understand how a simple update can completely screw up everything and make iTunes unusable. Go into Programs and Features and ANYTHI

  • Xi: File to Idoc doubt

    Dear all, I am working on File to Idoc. I am doing some fields are constants and some fields are let it be. When i am  executing this sceenario, in XML file contains the data those i dclared as constants and remaining fields are not appearing in XML

  • IProcurement: Ship To and Bill To location at the header level

    All, Standard Oracle displays Deliver-To location at the detail level. But the Ship To and Bill To locations do not show on the requisition. I do understand that a typical requisitioner does not need to know this information and is just requesting an

  • Material type WERT already defined as VO material, others not allowed

    Hi all, I am currently trying to create a new movement type (Valuated , Non-Stock Materials). However, I was hit with the following error:- Material type WERT already defined as VO material, others not allowed Message no. CZ273 Understood that WERT i

  • Calendars (MobleMe & Exchange) showing same 'color' on iOS4?

    Just changed to iOS4 on my iPhone 3GS. With OS3.x, my MobileMe calendar items showed as blue dots on my list view calendar, and my Exchange account items appeared as red dots. Now, in iOS4, all items are blue dots. I've deleted, then added back, both