SQLite encrypted Database does not get attached Using Adobe Air,Why?

Hi,
Any one knows the solution, am trying to attach the encrypted SQLite database adobe air-adobe flex bulder , it does not get attached using sqlconnection.attach throws error, though the given key is correct, but it gets open using sqlconnection.open with the same key, any one knows the solution, how to attach the encrypted data base, since am using two data base one is opened and another must be attached to the existing ,thanks in advance. using adobe air- flex related. i use the following code
               databaseFile1 = File.applicationStorageDirectory.resolvePath("Sample_1.sqlite");
               databaseFile2 = File.applicationStorageDirectory.resolvePath("Sample_2.sqlite");
dbConnection.open(databaseFile1, SQLMode.CREATE, false, 1024, secKey);
dbConnection.attach("db2",databaseFile2,null,secKey);
got the following error.
ERROR #3125 Unable to open the database file.

And I would say more "this is the issue" !
It should be possible as it is clearly stated in the doc :
public function attach(name:String, reference:Object = null, responder:Responder = null, encryptionKey:ByteArray = null):void
with 
encryptionKey:ByteArray (default = null) — The encryption key for the database file. If the attach() call creates a database, the database is encrypted and the specified key is used as the encryption key for the database. If the call attaches an existing encrypted database, the value must match the database's encryption key or an error occurs. If the database being attached is not encrypted, or to create an unencrypted database, the value must be null (the default).
so with a same encryptionkey, I (and this should be the same for FinalTarget) can open the encrypted db but not to attach it... quite strange.

Similar Messages

  • HT1435 My Nano 3rd Generation suddenly stopped working. It is a refurbished, not old (to me) and does not get much use. I put it in my pocket with the head phones plugged in & the power off. Now I get nothing, not even the charging symbol when I try to ch

    Hello, My Nano 3rd Generation suddenly stopped working. It is a refurbished and I do not use it ofetn and keep it on the charger. The one night I leave it in my pocket with the head phones plugged in and the power off. it stopped working. I thought it lost it's charge so I put it back on the charger. Now I do not get the charging indicator. Is there anything I can do?

    Probably needs a new battery. 

  • Firefox does not display my customised Adobe Air browser based skin when viewed from a server

    Hi,
    I have edited the skin for my Adobe Air Browser based help. It appears fine in Explorer and Chrome, but Firefox displays the default black Air skin when viewed from a server.
    However, it appears OK when viewed locally on my machine in Firefox?
    Does anyone know why this is or if there is a way to make my customised skin display when viewed from a server using the Firefox browser?
    Cheers

    Peter,
    I think this was it:
    http://forums.adobe.com/message/2846292#2846292
    although my problem is just with Firefox - my amended skin displays fine in Internet Explorer.
    Firefox just applies the default Midnight Black skin.
    Cheers

  • Type does not show in my Adobe AIR apps? Mac OS 10.7.4

    I recently upgraded to Mac Lion, OS 10.7.4. Using a MacBook Pro 15",1st generation.
    In AIR v3.3, Iopen an application, and the type is invisible, or "white on white." The type is present, but is not visible. This has happened in two apps from two different developers. This is the only instance of this happening in the entire system.
    Any advice would be greatly appreciated!
    Thanks --
    Bill

    Ok, further developments. Still can't get Firefox to work; it makes Lion hang and I have to force a reboot. I tried using terminal to open FF's profile manager, delete my old profile and make a new one. Same problem.
    I tried making a new user account in Mac OS, and doing another fresh install of Firefox. It worked! I was able to use drop down menus and right click without crashing the system!
    However, as soon as I installed the Zotero plugin... the same issue started occurring again.
    Dear programmers, please help me. It will literally take me weeks of work to re-do all of my citations using a different software or manually. There must be a way to fix this problem!

  • My itunes does not get the names of all tracks which i import.

    When i import a cd into itunes, it does not get any track names. Why is this.
    Also, itunes does not connect to the music store. It tells me that i should check my connection etc etc. Are these problems related, and what can i do to fix it?

    Let me guess, did you just install/upgrade iTunes?
    If so, then it's surely your security software (firewall, web accelerator, privacy filters, etc) that is blocking iTunes.
    The iTunes "upgrade" is actually an uninstall, then total new install, of iTunes and QuickTime. Many security packages such as Norton, Zone Alarm, Google Web accelerator, McAfee, PCillin (...the list is long) see this new iTunes install as a malicious threat, and block out the previous settings without telling you.
    Go to your security software vendor's website and see if they have directions for allowing iTunes & QT back in the list of programs allowed to access the internet.

  • User defined fields does not get added into database

    Hello Experts
                              User defined fields does not get added into database , when i click add button it
    shows data added sucessfully , but when i check data base no entry is made , only entry is made for
    B1 fields , like DocEntry ,DocNum etc.., no entry is made for U_fields..
    I have check every thing databound is also set to true
    Actually first few 6 data was added properly but now its not geeting added for user fields
    I have used 2 document row  child table for 2 matrix and for remaining Document table
    What might be the problem
    reply soon
    plz suggest

    Hello sir
    I have checked Default form , in that entry is made into database
    but running the form in screen painter in preview mode or through coding it does not get added for user field
    this id my binding code
    LoadFromXML("updateopd.srf")
                oForm = SBO_Application.Forms.Item("updopd")
                oForm.DataBrowser.BrowseBy = "txtpatid"
                'Adding combo in Obervation
                oItem = oForm.Items.Item("txtpatid")
                oEdit2 = oItem.Specific()
                oEdit2.DataBind.SetBound(True, "@UPDATE", "U_PID")
                oItem = oForm.Items.Item("txtmnane")
                oEdit3 = oItem.Specific()
                oEdit3.DataBind.SetBound(True, "@UPDATE", "U_FName")
                oItem = oForm.Items.Item("txtlname")
                oEdit3 = oItem.Specific()
                oEdit3.DataBind.SetBound(True, "@UPDATE", "U_LName")
    Plz suggest

  • Getting "Method 'sign_in' does not exist" Error (using Charles)

    This may be a bit off the FLEX field, and have to do with Zend Framework's ZEND_AMF class. Unfortunately I haven't been able to dig anything up, and comments posted on Wade Arnolds site have not received any responses, so I thought I'd give it a go here.
    My ServiceController Class:
    public function loginAction()
         $this->_helper->viewRenderer->setNoRender();
         $server = new Zend_Amf_Server();
         $server->setClass('LoginAmfService', 'LoginService');
         $server->setClassMap('CurrentUserVO', 'CurrentUserVO');
         $server->setProduction(false);
         print($server->handle());
    My LoginAmfService class:
    class LoginAmfService
          * Main login function.
          * @param  string        $name
          * @param  string        $password
          * @return CurrentUserVO
         public function sign_in($name, $password)
              $authAdapter     = new Zend_Auth_Adapter_DbTable(Zend_Registry::get('db'), 'users', 'user_name', 'password', 'PASSWORD(?) AND active = 1');
              $returnValue     = new CurrentUserVO();
              $authAdapter->setIdentity(htmlspecialchars($name))
                   ->setCredential(htmlspecialchars($password));
              $authResult = $authAdapter->authenticate();
              if ($authResult->isValid())
                   $userArray                          = $authAdapter->getResultRowObject(array('id', 'first_name', 'last_name', 'title', 'photo'));
                   $returnValue->first_name     = $userArray->first_name;
                   $returnValue->last_name          = $userArray->last_name;
                   $returnValue->title               = $userArray->title;
                   $returnValue->photo               = $userArray->photo;
                   $returnValue->token               = $userArray->id;
              return $returnValue;
          * Function used to log people off.
         public function sign_out()
              $authAdapter = Zend_Auth::getInstance();
              $authAdapter->clearIdentity();
    My SignIn FLEX module (the relevant portions):
         <mx:RemoteObject
              id="LoginRemote"
              destination="login"
              source="SignIn"
              showBusyCursor="true"
              fault="parentDocument.handleFault(event)"
         >
               <mx:method name="sign_in" result="signin_handle(event)" />
               <mx:method name="sign_out" result="signout_handle(event)" />
         </mx:RemoteObject>
         <mx:Script>
              <![CDATA[
                   import mx.rpc.events.FaultEvent;
                   import mx.utils.ArrayUtil;
                   import mx.rpc.events.ResultEvent;
                   import mx.controls.Alert;
                   import com.brassworks.ValueObjects.CurrentUserVO;
                   import mx.events.VideoEvent;
                   [Bindable]
                   private var this_user:CurrentUserVO = new CurrentUserVO();
                   private function mdl_init():void
                        focusManager.setFocus(txt_username);
                   private function signin_handle(event:ResultEvent):void
                             this_user = event.result as CurrentUserVO;
                             if (this_user.token == null) {Alert.show("Supplied login credentials are not valid. Please try again.");}
                             else
                                  this.parentApplication.setUser(this.this_user);
                   private function signout_handle(event:ResultEvent):void
                   private function sign_in(event:Event):void
                        try
                             //Alert.show(txt_name.text + "|" + txt_password.text);
                             LoginRemote.sign_in(txt_username.text, txt_password.text);
                        catch (error:Error)
                             this.parentDocument.handleFault(error);
                   private function sign_out(event:Event):void
                   private function show_error(error:Error, s_function:String):void
                        Alert.show("Method:" + s_function + "\nName: " + error.name + "\nID: " + error.errorID + "\nMessage: " + error.message + "\nStack Trace: " + error.getStackTrace() + "\nError: " + error.toString());
                   private function handleFault(event:FaultEvent):void
                        Alert.show(event.fault.faultDetail, event.fault.faultString);
              ]]>
         </mx:Script>
    Now, all this is great and good, as it works with Zend Framework 1.7.6. However, when I try to upgrade to 1.7.8 (to take advantage of session management and other bug-fixes), I get the following error (using Charles):
    #1 /var/web/htdocs/core/library/Zend/Amf/Server.php(390): Zend_Amf_Server->_handle(Object(Zend_Amf_Request_Http))
    #2 /var/web/htdocs/core/application/default/controllers/ServicesController.php(73): Zend_Amf_Server->handle()
    #3 /var/web/htdocs/core/library/Zend/Controller/Action.php(503): ServicesController->loginAction()
    #4 /var/web/htdocs/core/library/Zend/Controller/Dispatcher/Standard.php(285): Zend_Controller_Action->dispatch('loginAction')
    #5 /var/web/htdocs/core/library/Zend/Controller/Front.php(934): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
    #6 /var/web/htdocs/core/application/bootstrap.php(39): Zend_Controller_Front->dispatch()
    #7 /var/web/htdocs/core/public/index.php(5): Bootstrap->runApp()
    #8 {main} ?Method "sign_in" does not exist
    I have no idea why this would not work anymore. My assumption is that I am not correctly setting up Zend_Amf (but then again, my counter-argument is that it worked before, so ..... ????)
    Thanks for any help!
    -Mike

    For those that are also fighting this issue:
    The problem appears to be that the RemoteObject needs to specify the class containing the methods as a source parameter. According to this bug report (http://framework.zend.com/issues/browse/ZF-5168) it is supposed to have been addressed, but apparently has re-emerged in Zend_Amf since version 1.7.7.
    Using my example above, I would have to specify the RO as:
    <mx:RemoteObject
              id="LoginRemote"
              destination="login"
              source="LoginAmfService"
              showBusyCursor="true"
              fault="parentDocument.handleFault(event)"
         >
               <mx:method name="sign_in" result="signin_handle(event)" />
               <mx:method name="sign_out" result="signout_handle(event)" />
         </mx:RemoteObjecct>

  • I am going crazy changing passwords that do not get recognized by the different services when it is time to use them, until I am asked to change the password again, until the next time I need to use it and it does not get recognized again. Is there any fi

    I am going crazy changing passwords that do not get recognized by the different services when it is time to use them, until I am asked to change the password again, starting the vicious cycle again: i need to use the password, it does not get recognized three times, then the system asks me to change it again, and again, and I am stuck!! Is there any fix for this "glitch?

    The first thing I would suggest is for you to go to the folder containing your catalog, using your system browser. There will be a folder that has the extension .lrdata. Delete that folder, and then try to start Lightroom. If that doesn't work, replace your catalog with your most recent backup.

  • Error:domain database does not exist

    Hi we are running Iplanet mssaging Server 5.2 p1 running in dirsync mode and iplanet directory server 5.1.We have configured th ldap settings of some of the users using the maildeliveryoption to mailbox and forward & we have set the mailforwarding attribute to forward the mail to a set of users.Now yesterday our smtp server panic & service stopped working.After removing the lock files in ../imta/tmp/ directory the service started working.But now for all the users for whom this forwarding of mails has been sent are getting there mails bounced.for other users for whom this option is not there the mail is getting delivered.The error recived is Illegal host / domain name.
    I ran imsimta test -rewrite -debug for a user whose mail is getting bounced and i get the following output.here attaching some of the lines Can anyone please guide me as to what the problem is?(nslookup is working).
    Does the imsimta cleandb might have corrupted the entries?
    Regards and thanks in advance
    Script started on Tue Nov 30 16:45:02 2004
    # imsimta test -rewrite -debug
    Initializing mm_.
    Initializing mm_ submission.
    Checking identifiers.
    Address: [email protected]
    *** Debug output from initializing MM for submission:
    16:45:17.33: mmc_winit('l','[email protected]','[email protected]') called.
    16:45:17.33: Queue area size 9236824, temp area size 3202696
    16:45:17.33: 2309206 blocks of effective free queue space available; setting disk limit accordingly.
    16:45:17.33: 1601348 blocks of free temporary space available; setting disk limit accordingly.
    16:45:17.33: Rewriting: Mbox = "postmaster", host = "mail1.hathway.com", domain = "$*", literal = "", tag = ""
    16:45:17.33: Rewrite: "$*", position 0, hash table -
    16:45:17.33: Failed.
    16:45:17.33: Rewrite: "$*", position 0, rewrite database -
    16:45:17.33: (domain database does not exist)
    16:45:17.33: Failed
    16:45:17.33: Rewriting: Mbox = "postmaster", host = "mail1", domain = "mail1.hathway.com", literal = "", tag = ""
    16:45:17.33: Rewrite: "mail1.hathway.com", position 0, hash table -
    16:45:17.33: Found: "$U%[email protected]"
    16:45:17.33: New mailbox: "postmaster".
    16:45:17.33: New host: "mail1.hathway.com".
    16:45:17.33: New route: "mail1.hathway.com".
    16:45:17.34: New channel system: "mail1.hathway.com".
    16:45:17.34: Looking up host "mail1.hathway.com".
    16:45:17.34: - found on channel l
    16:45:17.34: Routelocal flag set; scanning for % and !
    16:45:17.34: Rewriting: Mbox = "postmaster", host = "mail1.hathway.com", domain = "$*", literal = "", tag = ""
    16:45:17.34: Rewrite: "$*", position 0, hash table -
    16:45:17.34: Failed.
    16:45:17.34: Rewrite: "$*", position 0, rewrite database -
    16:45:17.34: (domain database does not exist)
    16:45:17.34: Failed
    16:45:17.34: Rewriting: Mbox = "postmaster", host = "mail1", domain = "mail1.hathway.com", literal = "", tag = ""
    16:45:17.34: Rewrite: "mail1.hathway.com", position 0, hash table -
    16:45:17.34: Found: "$U%[email protected]"
    16:45:17.34: New mailbox: "postmaster".
    16:45:17.34: New host: "mail1.hathway.com".
    16:45:17.34: New route: "mail1.hathway.com".
    16:45:17.34: New channel system: "mail1.hathway.com".
    16:45:17.34: Looking up host "mail1.hathway.com".
    16:45:17.34: - found on channel l
    16:45:17.34: Routelocal flag set; scanning for % and !
    16:45:17.34: Mapped return address: [email protected]
    *** Debug output from rewriting a forward header address:
    16:45:17.34: Rewriting: Mbox = "systeam", host = "hathway.net", domain = "$*", literal = "", tag = ""
    16:45:17.35: Rewrite: "$*", position 0, hash table -
    16:45:17.35: Failed.
    16:45:17.35: Rewrite: "$*", position 0, rewrite database -
    16:45:17.35: (domain database does not exist)
    16:45:17.35: Failed
    16:45:17.35: Rewriting: Mbox = "systeam", host = "hathway", domain = "hathway.net", literal = "", tag = ""
    16:45:17.35: Rewrite: "hathway.net", position 0, hash table -
    16:45:17.35: Found: "$U%[email protected]"
    16:45:17.35: New mailbox: "systeam".
    16:45:17.35: New host: "hathway.net".
    16:45:17.35: New route: "mail1.hathway.com".
    16:45:17.35: New channel system: "mail1.hathway.com".
    16:45:17.35: Looking up host "mail1.hathway.com".
    16:45:17.35: - found on channel l
    16:45:17.35: Routelocal flag set; scanning for % and !
    16:45:17.35: Rewrite rules result: [email protected]
    16:45:17.35: Applying reverse database to: [email protected]
    16:45:17.35: No match -- no such entry.
    forward channel = l
    channel description =
    channel user filter =
    dest channel filter =
    source channel filter =
    channel flags #0 = BIDIRECTIONAL MULTIPLE IMMNONURGENT NOSERVICEALL
    channel flags #1 = NOSMTP DEFAULT
    channel flags #2 = COPYSENDPOST COPYWARNPOST POSTHEADONLY HEADERINC NOEXPROUTE
    channel flags #3 = LOGGING NOGREY NORESTRICTED RETAINSECURITMULTIPARTS
    channel flags #4 = EIGHTBIT NOHEADERTRIM NOHEADERREAD RULES
    channel flags #5 =
    channel flags #6 = LOCALUSER REPORTHEADER
    channel flags #7 = NOSWITCHCHANNEL NOREMOTEHOST DATEFOUR DAYOFWEEK
    channel flags #8 = NODEFRAGMENT EXQUOTA REVERSE NOCONVERT_OCTET_STREAM
    channel flags #9 = NOTHURMAN INTERPRETENCODING USEINTERMEDIATE RECEIVEDFROM VALIDATELOCALSYSTEM NOTURN
    defaulthost = hathway.com hathway.com
    linelength = 1023
    channel env addr type = SOURCEROUTE
    channel hdr addr type = SOURCEROUTE
    channel official host = mail1.hathway.com
    channel queue 0 name = LOCAL_POOL
    channel queue 1 name = LOCAL_POOL
    channel queue 2 name = LOCAL_POOL
    channel queue 3 name = LOCAL_POOL
    channel after params =
    channel user name =
    urgentnotices = 1 2 4 7
    normalnotices = 1 2 4 7
    nonurgentnotices = 1 2 4 7
    channel rightslist ids =
    local behavior flags = %x7
    backward channel = l
    header To: address = [email protected]
    header From: address = [email protected]
    envelope To: address = [email protected] (route (mail1.hathway.com,mail1.hathway.com)) (host hathway.net)
    envelope From: address = [email protected]
    name =
    mbox = systeam
    Extracted address action list:
    [email protected]
    Extracted 733 address action list:
    [email protected]
    Address list expansion:
    systeam.hathway.net@ims-ms-daemon
    nasser.hathway.net@ims-ms-daemon
    sayed.hathway.net@ims-ms-daemon
    sameerm.hathway.net@ims-ms-daemon
    daji.hathway.net@ims-ms-daemon
    umanga.hathway.net@ims-ms-daemon
    6 expansion total.
    *** Debug output from submitting an envelope address:
    16:45:17.37: mmc_wadr(0x0005ef70,'[email protected]','[email protected]') called.
    16:45:17.37: Copy estimate before address addition is 1
    16:45:17.37: Parsing address [email protected]
    16:45:17.37: Rewriting: Mbox = "systeam", host = "hathway.net", domain = "$*", literal = "", tag = ""
    16:45:17.37: Rewrite: "$*", position 0, hash table -
    16:45:17.37: Failed.
    16:45:17.37: Rewrite: "$*", position 0, rewrite database -
    16:45:17.37: (domain database does not exist)
    16:45:17.37: Failed
    16:45:17.37: Rewriting: Mbox = "systeam", host = "hathway", domain = "hathway.net", literal = "", tag = ""
    16:45:17.37: Rewrite: "hathway.net", position 0, hash table -
    16:45:17.37: Found: "$U%[email protected]"
    16:45:17.37: New mailbox: "systeam".
    16:45:17.37: New host: "hathway.net".
    16:45:17.37: New route: "mail1.hathway.com".
    16:45:17.37: New channel system: "mail1.hathway.com".

    Your first mistake. . .
    Hi we are running Iplanet mssaging Server 5.2 p1 running in dirsync mode
    please get off dirsync mode. There are bugs with dirsync that will never be fixed. 5.2p1 is well over a year old, and there're hundreds of fixed bugs there. 5.2p2 is available for free, on Sun's web site.
    You still have some dirsync problems.

  • CRVS2010 beta - Date field from database does not display in report

    Hi there - can someone please help?!
    I am getting a problem where a date field from the database does not display in the report viewer (It displays on my dev machine, but not on the client machines...details given below)
    I upgraded to VS 2010
    I am using the CRVS2010 Beta
    My development machine is Windows 7 - and so is my fellow developer's
    We are using Microsoft SQL Server 2000
    We run the queries within VS and then we send the data table to VS using .SetDataSource
    We have a few reports which display the date on our dev machines (whether we run the EXE or from within Visual Studio)
    When we roll out to the client machines (running Windows XP SP3) then everything works, except that the date does not display (on quite a few reports)
    This is the only real issue I have had - a show stopper for me
    The rest works well - any input will be greatly appreciated
    Regards,
    Ridwan

    Hi Ridwan,
    After much testing I have it all working now using CRDB_adoplus.dll as a data source ( XML )
    Alter your Config file to look like this:
    <startup useLegacyV2RuntimeActivationPolicy="true">
    <supportedRuntime version="v4.0"/>
    </startup>
    Then using the code below, and CR requires the Schema to be able to read the date format.
    private void SetToXML_Click(object sender, EventArgs e)
    CrystalDecisions.CrystalReports.Engine.ReportDocument rpt = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
    ISCDReportClientDocument rcd;
    rcd = rptClientDoc;
    string connString = "Provider=SQLOLEDB;Data Source=dwcb12003;Database=xtreme;User ID=sb;Password=password";
    string sqlString = "Select * From Orders";
    OleDbConnection oleConn = new OleDbConnection(connString);
    OleDbDataAdapter oleAdapter = new OleDbDataAdapter(sqlString, oleConn);
    //OleDbDataAdapter oleAdapter2 = new OleDbDataAdapter(sqlString2, oleConn);
    DataTable dt1 = new DataTable("Orders");
    oleAdapter.Fill(dt1);
    System.Data.DataSet ds = new System.Data.DataSet();
    // We need the schema to get the data formats
    ds.WriteXml("c:
    sc.xml", XmlWriteMode.WriteSchema);
    //Create a new Database Table to replace the reports current table.
    CrystalDecisions.ReportAppServer.DataDefModel.Table boTable = new CrystalDecisions.ReportAppServer.DataDefModel.Table();
    //boMainPropertyBag: These hold the attributes of the tables ConnectionInfo object
    PropertyBag boMainPropertyBag = new PropertyBag();
    //boInnerPropertyBag: These hold the attributes for the QE_LogonProperties
    //In the main property bag (boMainPropertyBag)
    PropertyBag boInnerPropertyBag = new PropertyBag();
    //Set the attributes for the boInnerPropertyBag
    boInnerPropertyBag.Add("File Path ", @"C:\sc.xml");
    boInnerPropertyBag.Add("Internal Connection ID", "{680eee31-a16e-4f48-8efa-8765193dccdd}");
    //Set the attributes for the boMainPropertyBag
    boMainPropertyBag.Add("Database DLL", "crdb_adoplus.dll");
    boMainPropertyBag.Add("QE_DatabaseName", "");
    boMainPropertyBag.Add("QE_DatabaseType", "");
    //Add the QE_LogonProperties we set in the boInnerPropertyBag Object
    boMainPropertyBag.Add("QE_LogonProperties", boInnerPropertyBag);
    boMainPropertyBag.Add("QE_ServerDescription", "NewDataSet");
    boMainPropertyBag.Add("QE_SQLDB", "False");
    boMainPropertyBag.Add("SSO Enabled", "False");
    //Create a new ConnectionInfo object
    CrystalDecisions.ReportAppServer.DataDefModel.ConnectionInfo boConnectionInfo =
    new CrystalDecisions.ReportAppServer.DataDefModel.ConnectionInfo();
    //Pass the database properties to a connection info object
    boConnectionInfo.Attributes = boMainPropertyBag;
    //Set the connection kind
    boConnectionInfo.Kind = CrConnectionInfoKindEnum.crConnectionInfoKindCRQE;
    //*EDIT* Set the User Name and Password if required.
    boConnectionInfo.UserName = "";
    boConnectionInfo.Password = "";
    //Pass the connection information to the table
    boTable.ConnectionInfo = boConnectionInfo;
    //Get the Database Tables Collection for your report
    CrystalDecisions.ReportAppServer.DataDefModel.Tables boTables;
    boTables = rptClientDoc.DatabaseController.Database.Tables;
    //For each table in the report:
    // - Set the Table Name properties.
    // - Set the table location in the report to use the new modified table
    boTable.Name = "Orders";
    boTable.QualifiedName = "Orders";
    boTable.Alias = "Orders";
    rptClientDoc.DatabaseController.SetTableLocation(boTables[0], boTable);
    //Verify the database after adding substituting the new table.
    //To ensure that the table updates properly when adding Command tables or Stored Procedures.
    rptClientDoc.VerifyDatabase();
    MessageBox.Show("Data Source Set", "RAS", MessageBoxButtons.OK, MessageBoxIcon.Information);
    Thanks again
    Don

  • Database does not exist in the specified path

    Just bought a USB 6009 DAQ and for some reason I now keep getting this error: "Database does not exist in the specified path" in VI Logger 2.0.1 it was working.  Can anyone help??

    Jared,
    It sounds like VI Logger somehow lost its association with its
    database. Please open MAX and check out the "Historical
    Data"->"Citadel 5 Universe" entry. Under "My Computer" in the
    right-hand pane, you should have a database called "VI Logger Data". It
    must be spelled, spaced, and capitalized the exact same way. If you do
    not have this database (which I suspect you do not), right click on "My
    Computer" and select "Create/Attach Database..." The default database
    path (if you want to have access to your old data) is C:\Documents and
    Settings\All Users\Application Data\National Instruments\VI Logger,
    with the database name as "VI Logger Data". If you want to create a new
    database, then specify a new path.
    If "VI Logger Data" does appear, a possible fix is to detach and
    reattach it. Right click on "VI Logger Data," select
    "Detach/Delete...," and chose the "Detach" option. Finally, reattach
    the database as described above.
    Hope this helps,
    Ryan Verret
    Product Marketing Engineer
    Signal Generators
    National Instruments

  • My database does not start automatically

    i am using windows 2000 server and oracle 9.0.1, my database does not start automatically when i am booting the system.
    in regedit autostart is there, my service is getting started automatically and i used startmode auto in my oradim command but still i have to manually log in to start the database, PLS help!!!
    another issue is that i want to startup/shutdown the database using a user other than sysdba, pls tell which permission shud i grant as dba, connect, resource permissions are not doing the required job

    spfile concept is introduced from Oracle 9i. You can call it system parameter file. Benefits of having spfile concept is that what ever changes u make to system through commands
    alter system set ??? = ????
    get automatically saved in the spfile???.ora which is managed by Oracle.
    Main idea behind that as thought by Oracle is that previously u needed to change that parameter in init.ora file then start the database again after shutdown. Now u are doing everything online. spfile???.ora takes priority in the new Oracle concept.
    If u delete spfile???.ora file, then it needs some specific init.ora which need to told to Oracle which can be through command like
    startup pfile='complete patah .............'
    Bansal

  • Hostname verifier does not get invoked

    Hi All,
    I am new to weblogic and currently facing an issue with SSL. I checked this forum but none of the solutions really worked for me, so seeking advice starting a new thread. Kindly help.
    Problem 1
    I have a REST webservice running in one weblogic server and another weblogic server contains a client which is based on the code from the following link -
    http://wiki.open-esb.java.net/attach/RestBCEchoSSL/SslClient.java
    One way handshaking is enabled in both the weblogic and the KeyStore and Truststore are read from configurable directory in the client java code. I specify a directory which resides outside weblogic home.
    Even though there is an HostnameVerifier implemented in the code to return true always, it does not get invoked and I get a certificate exception as below -
    <Warning> <Security> <BEA-090542> <Certificate chain received from xx.yy.zz.rrr - xx.yy.zz.rrr was not trusted causing SSL handshake failure. Check the certificate chain to determine if it should be trusted or not. If it should be trusted, then update the client trusted CA configuration to trust the CA certificate that signed the peer certificate chain. If you are connecting to a WLS server that is using demo certificates (the default WLS server behavior), and you want this client to trust demo certificates, then specify -Dweblogic.security.TrustKeyStore=DemoTrust on the command line for this client.>
    But when I run the java client from Eclipse I am able to invoke the webservice methods using HTTPs.
    So is not it possible to add a default hostname verifier as in the java code when the application is deployed in weblogic?
    Problem 2
    I another attempt to solve the above issue I turned off the hostname verification from weblogic admin console in the client weblogic side. In the console for the server Configuration > SSL->Hostname Verification field is set to "None". But that did not help.
    Then I added the '-Dweblogic.security.SSL.ignoreHostnameVerification=true' flag into the <domain>/bin/startWebLogic.sh file and restarted the weblogic. No luck again.
    ${JAVA_HOME}/bin/java ${JAVA_VM} ${MEM_ARGS} ${JAVA_OPTIONS} -Dweblogic.Name=${SERVER_NAME} -Djava.security.policy=${WL_HOME}/server/lib/weblogic.policy -Dweblogic.security.SSL.ignoreHostnameVerification=true ${PROXY_SETTINGS} ${SERVER_CLASS}
    I tried recreating the certificate using the' hostname' instead of the ip address ( also added an entry into the /etc/hosts file putting the ip and hostname so that I can do ping <hostname> from the client and get response returned from the server side). Again no luck :(. I keep getting the same handshake failure as mentioned above.
    The weblogic version is 10.x.
    Thanks,
    Amrit

    I did some more research for the issue mentioned which I yet to get rid of.
    1) I wrote a REST web service which makes a call to another REST service deployed on another weblogic using HTTPs (same code as mentioned above is used). I delpoyed the war and made a http call to the first webservice, the other REST service was invoked successfully using HTTPs. So this confirmed that there is no problem with the certificates or keystore or hostname verifictaion.
    2) My actual application still throws the handshake exception as below -
    <Warning> <Security> <BEA-090542> <Certificate chain received from xx.yy.zz.rrr - xx.yy.zz.rrr was not trusted causing SSL handshake failure. Check the certificate chain to determine if it should be trusted or not. If it should be trusted, then update the client trusted CA configuration to trust the CA certificate that signed the peer certificate chain. If you are connecting to a WLS server that is using demo certificates (the default WLS server behavior), and you want this client to trust demo certificates, then specify -Dweblogic.security.TrustKeyStore=DemoTrust on the command line for this client.>
    So I think the problem is something else but weblogic is priniting the exception message wrong.
    The process hierarchy ( in UNIX ) is as shown below -
    bea 31914 31913 0 14:29 ? 00:00:00 /bin/sh <DOMAIN HOME>//bin/startWebLogic.sh
    bea 31989 31914 0 14:29 ? 00:01:25 /opt/bea/jdk160_24/bin/java <The weblogic start server process> started by startWebLogic.sh
    bea 32107 31989 0 14:29 ? 00:00:09 /opt/bea/jdk160_24/bin/java <One of custom process>
    bea 2038 32107 0 18:38 ? 00:00:15 /opt/bea/jdk160_24/bin/java <Another custom process which contains my java classes containing the REST client>
    The problem is there in both Weblogic 11 and 10.3 version.
    I will be grateful if someone gives any clue about the problem.

  • SA520W does not get IP on optional WAN

    We are using a SA520W as our primary router and have a fiber connection attached to the default WAN interface. We would like to improve our uptime using a secondary internet connection on the optional WAN interface.
    We have bought a dovado tiny 4g router for this other connection. It acts as a dhcp server but the Cisco router does not get an IP from the dovado router. The router works as expected when connected to a normal computer. But somehow the cisco router doesnt get an IP.
    I have also tried to set a static IP for the Cisco router but that didn't help either. The dovado router is setup do deliver ip in the range 192.168.0.2-254
    Link is up but WAN state is Down. Any ideas?

    Hello Christian,
    What is the port configuration settings, set to 10/100/1000 Half or Full. If Auto try manually changing. Also you can try to clone the mac address, or set the mdi/mdix settings on the G4 router if possible.
    Cisco Small Business Support Center
    Randy Manthey
    CCNA, CCNA - Security

  • Database could not be opened. May be caused because database does not exist or lack of authentication to open the database.

    Hello,
    I've been running the DMV 'sys.event_log', and have noticed that I am getting a lot of errors about connection issues to some of my SQL Azure databases saying "Database could not be opened. May be caused because database does not exist or lack of authentication
    to open the database."
    The event type column says: 'connection_failed' and the event_subtype_desc column says: 'failed_to_open_db' both are associated with the above error message.
    I know that these databases are on-line as I have numerous people connected to them, all of whom are not experiencing any issues.  My question is, is there a query that you can run on SQL Azure to try and find out a bit more information about the connection
    attempts?
    If this was a hosted SQL solution it would be much easier.
    Marcus

    Hello,
    As for Windows Azure SQL Database, we can't access the error log file as On-premise SQL Server. Currently, it is only support troubleshooting the connection error with the following DMV. The SQL database connections events are collected and aggregated in
    two catalog views that reside in the logical master database: sys.database_connection_stats and sys.event_log. We can use sys.event_log view to display the details if there is error occurs.
    Just as  the connection failed describe, it may ocurrs when user didnot has login permission when connect to the SQL Database. If so, please verify the user has logon permission.
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

Maybe you are looking for