Create directory fails on Android
The code works on PC. The directory is successfully created under My Documents. But somehow it is not working on Android.
var workDirectory:File = File.documentsDirectory.resolvePath("testDir/tempDir");
if (!workDirectory.exists) {
workDirectory.createDirectory();
I have already added this in the manifest:
<uses-permission android:name="android-permission.WRITE_EXTERNAL_STORAGE" />
The workDirectory.url is file:///mnt/sdcard/testDir/tempDir
The SD card is good. I can create the directory manually on the Android tablet.
I am running AIR2.5 and Android 2.2.
Any help is appreciated.
Thanks in advance!
I found out what the problem is. It is a silly typo.
"android-permission" should be "android.permission"
Similar Messages
-
USMT is failing with error 71 for all users in a specific office when backing up to a specific share:
COMPUTERNAME\Guest, administrator: No, interactive: Yes, logged on: No, has profile: No
DOMAIN\USERNAME, administrator: Yes, interactive: Yes, logged on: Yes, has profile: Yes
COMPUTERNAME\Administrator, administrator: Yes, interactive: Yes, logged on: No, has profile: Yes
2014-10-31 12:52:37, Status [0x000000] Activity: 'MIGACTIVITY_TRANSPORT_SELECTION'
2014-10-31 12:52:37, Info [0x000000] Processing the settings store
2014-10-31 12:52:37, Error [0x000000] SelectTransport: creating directory \\san.f.q.d.n\share$\username\BACKUP\USERNAME\USMT failed: Win32Exception: root of directory to create not found: The system cannot find the path specified. [0x00000003] class UnBCL::DirectoryInfo *__cdecl UnBCL::Directory::CreateDir(const class UnBCL::String *)[gle=0x00000005]
2014-10-31 12:52:37, Info [0x000000] Failed.[gle=0x00000091]
2014-10-31 12:52:37, Info [0x000000] A Windows Win32 API error occurred
Windows error 3 description: The system cannot find the path specified.[gle=0x00000091]
2014-10-31 12:52:37, Info [0x000000] Windows Error 3 description: The system cannot find the path specified.
2014-10-31 12:52:37, Info [0x000000] USMT Completed at 2014/10/31:12:52:37.861[gle=0x00000091]
2014-10-31 12:52:37, Info [0x000000] Entering MigShutdown method
2014-10-31 12:52:37, Info [0x080000] COutOfProcPluginFactory::FreeSurrogateHost: Shutdown in progress.
2014-10-31 12:52:37, Info [0x0803e5] Not unmapping HKLM\ELAM; it is not mapped
2014-10-31 12:52:37, Info [0x0803e6] Removing mapping for HKLM
2014-10-31 12:52:37, Info [0x0803e7] Successfully unmapped HKLM
2014-10-31 12:52:37, Info [0x0803e6] Removing mapping for HKU
2014-10-31 12:52:37, Info [0x0803e7] Successfully unmapped HKU
2014-10-31 12:52:37, Info [0x080487] Destroying OS analysis service
2014-10-31 12:52:37, Info [0x080488] Destroyed OS analysis service
2014-10-31 12:52:37, Info [0x000000] Leaving MigShutdown method
2014-10-31 12:52:37, Info [0x000000] ----------------------------------- USMT ERROR SUMMARY -----------------------------------
2014-10-31 12:52:37, Info [0x000000] * USMT error code 71:
2014-10-31 12:52:37, Info [0x000000] +-----------------------------------------------------------------------------------------
2014-10-31 12:52:37, Info [0x000000] | A Windows Win32 API error occurred
2014-10-31 12:52:37, Info [0x000000] | Windows error 3 description: The system cannot find the path specified.
2014-10-31 12:52:37, Info [0x000000] +-----------------------------------------------------------------------------------------
As the user in question, when I browse \\san.f.q.d.n\share$\username, the BACKUP directory exists, but there are no sub directories.
I manually created the sub directories, USERNAME\USMT - so the full path now exists: \\san.f.q.d.n\share$\username\BACKUP\USERNAME\USMT
I re-ran USMT but the process returned the same error.
If I specify other shares not on san.f.q.d.n but on san1.f.q.d.n or server.f.q.d.n or even workstation.f.q.d.n, it works fine.
Can someone provide guidance on how to troubleshoot this further?In Windows, setting the Environmental Variable sometimes DOES NOT WORK.
The -Djava.io.tmpdir=C:\temp setting must be made in the server properties of the oc4j in order for it to work.
Jae -
Hello SAP Gurus,
when trying to install SAPNW2004sSneakPreviewABAP in phase 4 I get error:
ERROR 2006-08-08 08:52:40
CJS-30129 Creating node $(DIR_TRANS) with type DIRECTORY failed. Original exception text was: syslib.filesystem.nodeCreationFailed:
Unable to create node
pc05\sapmnt\ with type DIRECTORY: can't create parent node..
I searched SDN and found as possible error causes: lacking authorization of installation user or users nspadm and SAPServiceNSP, wrong JRE version, but those are not applicable.
Any other suggestions?
SimonHello Prince Jose,
thanks for the reply, it brought me to the solution: I had to de-activate the Windows Firewall and hat to check 'Network users are allowed to change files'.
I know made it till phase 17, quite a step.
Best,
Simon -
Burrito install fail, trying to create directory in wrong place
Below is the error log from my attempted install. Of the 23 errors 22 are being unable to deleted things it never created. The error that seems to be the initial cause is this:
Unable to create directory "\\drnas02\users\CADU\gae04\..\Adobe Flash Builder Burrito Preview
\\drnas02\users\CADU\gae04 is a home directory I have on a network drive, but the installer isn't trying to create the directory there, it is trying to put it one dir up (with the ..) where I don't even have read permissions. I never specified the gae04 directory to the installer, but I assume its defined as some sort of application data directory as one other app created a directory there.
Here is the full error log.
Exit Code: 7
-------------------------------------- Summary --------------------------------------
- 0 fatal error(s), 23 error(s), 0 warning(s)
ERROR: 16101 Unable to create directory "\\drnas02\users\CADU\gae04\..\Adobe Flash Builder Burrito Preview
ERROR: 16101 Command ARKCreateDirectoryCommand failed.
ERROR: 16101 Unable to delete directory "\\drnas02\users\CADU\gae04\..\Adobe Flash Builder Burrito Preview". Error 2 The system cannot find the file specified.
ERROR: 16101 Error rolling back command ARKCreateDirectoryCommand
ERROR: 16098 Unable to delete file copy at "C:\Program Files\Adobe\Adobe Flash Builder Burrito\eclipse\configuration\config.ini" Error 3 The system cannot find the path specified.
ERROR: 16098 Error rolling back command ARKMoveFileCommand
ERROR: 16097 Unable to delete directory "C:\Program Files\Adobe\Adobe Flash Builder Burrito\eclipse\configuration". Error 2 The system cannot find the file specified.
ERROR: 16097 Error rolling back command ARKCreateDirectoryCommand
ERROR: 16035 Unable to delete file copy at "C:\Program Files\Adobe\Adobe Flash Builder Burrito\AMT\application.xml" Error 3 The system cannot find the path specified.
ERROR: 16035 Error rolling back command ARKMoveFileCommand
ERROR: 16034 Unable to delete file copy at "C:\Program Files\Adobe\Adobe Flash Builder Burrito\AMT\application.sif" Error 3 The system cannot find the path specified.
ERROR: 16034 Error rolling back command ARKMoveFileCommand
ERROR: 16033 Unable to delete directory "C:\Program Files\Adobe\Adobe Flash Builder Burrito\AMT". Error 2 The system cannot find the file specified.
ERROR: 16033 Error rolling back command ARKCreateDirectoryCommand
ERROR: 21 Deleting Registry Key - failure. Error 5
ERROR: 3 Unable to delete file copy at "C:\Program Files\Adobe\Adobe Flash Builder Burrito\FlashBuilder.exe" Error 3 The system cannot find the path specified.
ERROR: 3 Error rolling back command ARKMoveFileCommand
ERROR: 2 Unable to delete file copy at "C:\Program Files\Adobe\Adobe Flash Builder Burrito\.eclipseproduct" Error 3 The system cannot find the path specified.
ERROR: 2 Error rolling back command ARKMoveFileCommand
ERROR: 1 Unable to delete directory "C:\Program Files\Adobe\Adobe Flash Builder Burrito". Error 2 The system cannot find the file specified.
ERROR: 1 Error rolling back command ARKCreateDirectoryCommand
ERROR: The following payload errors were found during install:
ERROR: - Adobe Flash Builder: Install failedIndeed, our core installer team has agreed to supply the home folder path token we need for this fix, in time for the Burrito release.
I experimented with changing my own network Documents location a few months ago, and was able to move it down one level without much difficulty. The actual steps vary a little depending on whether you're on WinXP, Vista or Win7:
WinXP:
http://support.microsoft.com/kb/310147
Win7:
http://social.answers.microsoft.com/Forums/en-US/w7files/thread/fd508c30-7dad-4a7e-a652-ba 49828e5f0e
-Chris -
Backup failed with Error: (-50) Creating Directory
Repeats ad nauseum.
This is backing up to a second internal drive that is an exact duplicate (in terms of HD model and size).
Does anyone know what Error -50 means? Lack of permissions? Invalid name (doesn't seem like it)?
8/30/08 9:06:37 AM /System/Library/CoreServices/backupd Starting standard backup
8/30/08 9:06:37 AM /System/Library/CoreServices/backupd Backing up to: /Volumes/Sliffy Time/Backups.backupdb
8/30/08 9:06:58 AM /System/Library/CoreServices/backupd Error: (-50) Creating directory 2008-08-30-090658.inProgress
8/30/08 9:06:58 AM /System/Library/CoreServices/backupd Failed to make snapshot container.
8/30/08 9:07:03 AM /System/Library/CoreServices/backupd Backup failed with error: 2Hi Glenn,
Thanks for the suggestion. Nope, it's not listed. The only thing listed is my Time Machine volume.
After a reboot, Time Machine seems to be working. It's making backups on schedule and the logs look good, not reporting any strangeness.
A bit bummed about these phantom errors that go away on reboot. I'll keep on eye on the error/reboot frequency.
Rob -
Has anyone received this error, "Failed to create directory for PX images"
I recently migrated to Windows7. 98% of the migration went well. All of my pictures and Elements Catalog came over fine. I had to "reconnect" all of the pictures in the catalog due to new directory name, but it worked fairly well. Of the 11,000 entries synch'd with photoshop.com, 10,500 re-synch'd fine. However almost 500 are stuck with an error of "Failed to create directory for PX images". Can anyone help with how to resolve this issue? Note, I did try to remove the picture from the album and then re-add, but that didn't work.
Thank you in advance for any help you can provide.
Thanks,
Jefffunction(){return A.apply(null,[this].concat($A(arguments)))}
JeffAGoldberg wrote:
Erased everything on photoshop.com (which I couldn't accomplish due to bugs on photoshop.com) and created a new catalog.
Jeff
What problems are you facing in deleting files from PS.com. Are you able to maintain a proper synced catalog now ? If possible please elaborate so that we can help. -
Creating ASInstance failed obiee11115(software only) configuration failed
Hi,
OBIEE11115/6 simple install is working fine on my windows 7 Home edition sp1 64bit os.the problem when i am trying to install obiee11.1.1.5/6 "software only" installation time only getting the error message like "Creating ASInstance failed" for more refer my screen short
http://imgur.com/sPWSG
Steps and configuration Details:
1) installed looback adoptor and static ip updated in host/hosts/etc file
host/hosts/etc file info:
FYI:
# localhost name resolution is handled within DNS itself.
10.10.1.7 deva-pc
and also there is no folder space b/w temp,tem,and java path.
2)jrockit-jdk1.6.0_29 64 bit (setted java path and TEMP,TMP space 4GB each) java running and Static IP running fine.
3) install RCU 11.1.1.5.0 64bit win
4) weblogic 10.3.5 win 64 bit install and we can able to create weblogic domain on weblogic itself.
5) installed obiee11.1.1.5.0 successfully and when i trying to configure obiee from C:\Oracle\Middleware\Oracle_BI1\bin\config.cmd only getting below error meaase.
also setted JRE_MEMORY_OPTIONS=" -mx2048m -XX:MaxPermSize=2048m" in oraparam.ini file.
Error Message at log:
Executing Task: Creating ASInstance
Trying to assign 3 consecutive ports where the starting port range is: 9500 - 10000
AdminServer port is 7001
trying to connect to deva-pc 7001
Successful
getDomainRuntimeMBeanServerConnection ...
Connecting to Domain runtime ...
trying to connect to deva-pc 7001
Successfully connected to the Domain Runtime ...
trying to connect to deva-pc 7001
Successful
MBean Server Connection is :javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection@524c23f8
deva-pc 7001
weblogic.Deployer invoked with options: -adminurl deva-pc:7001 -username weblogic -name NonJ2EEManagement -source C:\Oracle\Middleware\Oracle_BI1\opmn\applications\NonJ2EEManagement.ear -nostage -deploy -upload -noexit
<Apr 24, 2012 1:19:43 AM SGT> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating deploy operation for application, NonJ2EEManagement [archive: C:\Oracle\Middleware\Oracle_BI1\opmn\applications\NonJ2EEManagement.ear], to configured targets.>
Task 0 initiated: [Deployer:149026]deploy application NonJ2EEManagement on AdminServer.
Task 0 completed: [Deployer:149026]deploy application NonJ2EEManagement on AdminServer.
Target state: deploy completed on Server AdminServer
opmnctl start: failed.
Can not resolve deva-pc for interface any
oracle.as.provisioning.exception.ASProvisioningException
at oracle.as.provisioning.engine.Config.executeConfigWorkflow_WLS(Config.java:872)
at oracle.as.install.bi.biconfig.standard.StandardWorkFlowExecutor.executeHelper(StandardWorkFlowExecutor.java:31)
at oracle.as.install.bi.biconfig.standard.InstanceProvisioningTask.doExecute(InstanceProvisioningTask.java:81)
at oracle.as.install.bi.biconfig.standard.AbstractProvisioningTask.execute(AbstractProvisioningTask.java:70)
at oracle.as.install.bi.biconfig.standard.StandardProvisionTaskList.execute(StandardProvisionTaskList.java:61)
at oracle.as.install.bi.biconfig.BIConfigMain.doExecute(BIConfigMain.java:112)
at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:335)
at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:87)
at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:104)
at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:63)
at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:158)
at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:83)
at java.lang.Thread.run(Thread.java:662)
Caused by: oracle.as.provisioning.engine.CfgWorkflowException
at oracle.as.provisioning.engine.Engine.processEventResponse(Engine.java:596)
at oracle.as.provisioning.fmwadmin.ASInstanceProv.createInstance(ASInstanceProv.java:178)
at oracle.as.provisioning.fmwadmin.ASInstanceProv.createInstanceAndComponents(ASInstanceProv.java:116)
at oracle.as.provisioning.engine.WorkFlowExecutor._createASInstancesAndComponents(WorkFlowExecutor.java:523)
at oracle.as.provisioning.engine.WorkFlowExecutor.executeWLSWorkFlow(WorkFlowExecutor.java:439)
at oracle.as.provisioning.engine.Config.executeConfigWorkflow_WLS(Config.java:866)
... 14 more
Caused by: oracle.as.provisioning.util.ConfigException:
Error creating ASInstance instance1.
Cause:
An internal operation has failed: Error in starting opmn server
Operation aborted because of a system call failure or internal error
Action:
See logs for more details.
at oracle.as.provisioning.util.ConfigException.createConfigException(ConfigException.java:123)
at oracle.as.provisioning.fmwadmin.ASInstanceProv._createInstance(ASInstanceProv.java:317)
at oracle.as.provisioning.fmwadmin.ASInstanceProv.createInstance(ASInstanceProv.java:166)
... 18 more
Caused by: oracle.as.management.opmn.optic.OpticException: Error in starting opmn server
Operation aborted because of a system call failure or internal error
at oracle.as.management.opmn.optic.OpmnAdmin.executeCommand(OpmnAdmin.java:310)
at oracle.as.management.opmn.optic.OpmnAdmin.startOpmnServer(OpmnAdmin.java:87)
at oracle.as.provisioning.fmwadmin.ASInstanceProv._createInstance(ASInstanceProv.java:254)
... 19 more
Thanks
Deva
Edited by: Devarasu on Apr 24, 2012 8:24 AM
Edited by: Devarasu on Apr 24, 2012 10:59 AMHi,
After checking the installation log the instance home directory is not empty hence it is failing to create an instance with the same name.
then i tired to create with different instance name and then continue with the configuration.its installed sucessfully and its working fine.
Thanks
Deva -
Attempt to fetch cache data from Integration Directory failed
HI,
while checking cache connectivity testing: status is
green: Integration Repository
green: Integration Directory
green: Integration Server - JAVA
red:Adapter Engine af.axd.aipid
yello:Integration Server - ABAP
Jun 30, 2007 1:16:08 PM - Cache notification from Integration Directory received successfully
Attempt to fetch cache data from Integration Directory failed; cache could not be updated
[Fetch Data]: Unable to find an associated SLD element (source element: SAP_XIIntegrationServer, [CreationClassName, SAP_XIIntegrationServer, string, Name, is.00.aipid, string], target element type: SAP_BusinessSystem)
[Data Evaluation]: GlobalError
what to do?
and there is nothing under integration server and integration engine but there is an green status under Non-Central Adapter Engines > from this i am doing send messeage testing fro xi to bi ,
send message to: http://aibid:8000/sap/xi/engine?type=entry
payload:
<?xml version="1.0" encoding="utf-8"?>
<ns1:MI_VCNdatatoBI
xmlns:ns1="http://bi.sap.com"
xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance">
<DATA>
<item>
</BIC/ZG_CWW010>1000<//BIC/ZG_CWW010>
</BIC/ZVKY_CHK>1<//BIC/ZVKY_CHK>
</item>
</DATA>
</ns1:MI_VCNdatatoBI>
i can sent message from there (component monitoring > Non-Central Adapter Engines) but unable to get it at message monitoring and at BI side.
dushyant.thanks,
but i have adepter type XI
and i am folowing step of this lonk and there is no need to create fild adepter type according to that and almost done but while sending message through config. monitor in RWB it goes but not coming in mess monitoring and at bi side
see 4.5 > 3 and 4 topic and 4.6 > 3,4,5
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f027dde5-e16e-2910-97a4-f231046429f2
now what to do?
dushyant, -
Which method is right for creating directory
Hi all
whenever we create directory for oracle 11g during installtion
we have two method from documents
which method is right
Create the directories in which the Oracle software will be installed:
mkdir -p /u01/app/oracle/product/11.1.0/db_1
chown -R oracle:oinstall /u01
chmod -R 775 /u01
or
Create the directories in which the Oracle software will be installed:
mkdir -p /u01/app/oracle
chown -R oracle:oinstall /u01
chmod -R 775 /u01ORACLE_BASE is a base directory which is owned by oracle user. The software itself is installed in ORACLE_HOME. When you create ORACLE_HOME it creates you also ORACLE_BASE. That's the way to go. If you don't have ORACLE_HOME created Oracle Universal Installer might complain or fail.
-
Hello,
I repeatedly run into the same error: when I try to install OBI EE 11.1.1.5 (Oracle Enterprise Linux 5, 32 or 64 bit - tried both), I keep getting "Creating ASInstance failed". Browsed the forum an the support database but can't figure out, what's amiss.
It's a virtual machine image running the network adapter in "host only mode" - so the IP has been the same on all my tries. The hosts file looks like this:
192.168.56.101 localhost.localdomain localhost oracle-pc
192.168.56.101 olaptrain
Any idea appreciated
Edited by: user798043 on Sep 30, 2011 2:32 AMHi,
as the log is quite long, I only include the lines containing errors:
[oracle.as.install.engine.modules.validation.oracle.as.install.engine.modules.validation.handler.fileQueries.validateHomeDir] [tid: 13] [ecid: 0000JAtKgYu3n3WjLxuHOA1EXNLL000004,0] Error:Validation of Middleware Home location failed. Directory already Exists.
[2011-09-30T00:54:04.461-07:00] [as] [NOTIFICATION] [] [oracle.as.install.engine.modules.validation.oracle.as.install.engine.modules.validation.handler.fileQueries.validateHomeDir] [tid: 13] [ecid: 0000JAtKgYu3n3WjLxuHOA1EXNLL000004,0] Cause:Validation of Middleware Home location failed. The location specified already exists and is a nonempty directory
[2011-09-30T00:54:04.461-07:00] [as] [NOTIFICATION] [] [oracle.as.install.engine.modules.validation.oracle.as.install.engine.modules.validation.handler.fileQueries.validateHomeDir] [tid: 13] [ecid: 0000JAtKgYu3n3WjLxuHOA1EXNLL000004,0] Action:Provide an empty or nonexistent directory location
[2011-09-30T00:56:06.411-07:00] [as] [NOTIFICATION] [] [oracle.as.install.engine.modules.validation.oracle.as.install.engine.modules.validation.handler.fileQueries.validateHomeDir] [tid: 13] [ecid: 0000JAtKgYu3n3WjLxuHOA1EXNLL000004,0] Error:Validation of Middleware Home location failed. No read/write permission.
[2011-09-30T00:56:06.411-07:00] [as] [NOTIFICATION] []
Caused by: oracle.as.management.opmn.optic.OpticException: Error in starting opmn server
Operation aborted because of a system call failure or internal error
at oracle.as.management.opmn.optic.OpmnAdmin.executeCommand(OpmnAdmin.java:310)
at oracle.as.management.opmn.optic.OpmnAdmin.startOpmnServer(OpmnAdmin.java:87)
at oracle.as.provisioning.fmwadmin.ASInstanceProv._createInstance(ASInstanceProv.java:254)
... 19 more
Can't make much of the middleware home messages - the directory was empty before starting and the installing user and his group owns the installation directory.
Thanks and so long,
Mike -
Unable to save Unified Messaging PIN: Access to Active Directory Failed
I'm trying to enable all of our users for Unified Messaging and I've created a powershell script for each of users I want to enable but I am getting an error message everytime I try and run it.
Unable to save Unified Messaging PIN for mailbox 'smtp address': Access to Active Directory Failed
Our setup is forest root domain and 2 child domains. Most of the users are in the child domains and the Exchange server is in the forest root domain.
I'm using -domaincontroller but this doesn't make a difference. Here is the script I am using:
Enable-UMMailbox -Identity [email protected] -UMMailboxPolicy "DefaultUM Default Policy" -Extensions 303 -PIN 1234 -SIPResourceIdentifier "[email protected]" -PINExpired $false -domaincontroller "rc-curdc-01.curriculum.riddlesdown.local"
Can someone point out why this isn't working?I had the same experience as Gueetar. Couldn't enable a UM mailbox, or change the PIN. Got a generic "Access to Active Directory Failed" message instead of anything useful. Even went so far as enabled a ton of diagnostic logging, which didn't report anything
useful.
Of course, all the accounts I was enabling had the HiddenFromAddressListsEnabled property set to $true (these were old deactivated accounts I was using to test with). I found that setting it back to $false corrected the issue.
Of course I didn't know it was that exact problem at the time. I only found a difference after disabling/re-connecting mailboxes (and of course newly created mailboxes exhibited no issues). Assuming this was going to be the case for all mailboxes this would
be fine for testing and proof of concept, bad for production/implementation. Instead I ran a bunch of scenarios over two days, culminating in a crap load of LDIFDEs and DSACL dumps to enumerate the object properties and compare the values that were different.
This property (HideFromALEnabled) and a few others stood out. Luckily it wasn't ACL-related - that would've been a complete head wreck!
Dear Microsoft: More descriptive errors next time, please :) -
'CREATE DIRECTORY' performs COMITT
Hi,
We are trying to update an image in a table contains BLOB data type column.
the steps are:
1. delete (without commit)
2. create or replace directory
3. insert a new image
In case that INSERT fails, we want to keep the privious image.
The CREATE DIRECTORY step performs a commit, which cause a loose of the image.
Is there a way to avoid the commit, or any work around?
Thanks in advance!
Maya
nullHi.
You can do it. Try something like this:
CREATE OR REPLACE
PROCEDURE Do_DDl (p_ddl VARCHAR2) IS
PRAGMA AUTONOMOUS_TRANSACTION;
BEGIN
EXECUTE IMMEDIATE p_ddl;
END;
And use this to do your DDL:
DELETE record
Do_DDL('CREATE OR REPLACE DIRECTORY ....');
INSERT record
COMMIT;
The PRAGMA AUTONOMOUS_TRANSACTION; means the procedure runs in its own transaction, so it doesn't screw up your other stuff.
Hope this helps.
Tim.... -
Error 7 occurred at Create Folder in Create Directory Recursive.vi-
Recieved following message when attemoting to create source distribution
Error 7 occurred at Create Folder in Create Directory Recursive.vi->ABAPI Dist Create Directory Recursive.vi->ABAPI Dist Chk for Destinations.vi->ABAPI Copy Files and Apply Settings.vi->SDBEP_Invoke_Build_Engine.vi->SDBUIP_Build_Invoke.vi->SDBUIP_Build_Rule_Editor.vi->SDBUIP_Item_OnDoProperties.vi->SDBUIP_Item_OnDoProperties.vi.ProxyCaller
Possible reason(s):
LabVIEW: File not found. The file might have been moved or deleted, or the file path might be incorrectly formatted for the operating system. For example, use \ as path separators on Windows, : on Mac OS, and / on Linux.Hello,
Could you please list which options you are selecting when building a
source distribution (I am assuming you are using LabVIEW 8.0?).
Do you get this error when clicking on "Generate Preview" button when configuring source distribution properties?
Under "Distribution Settings" category, could you try checking the
"Disconnect type definitions and remove unuses polymorphic VI
instances" option and see if that helps with the build process?
Also I suggest Mass Compiling your VIs (Tools -> Advanced -> Mass Compile) before creating a source distribution.
If these do not help, could you attach your project with all the VIs it contains here?
Thank you and best regards,
Shakhina P.
Applications Engineer
National Instruments -
"24427 Access to Active Directory failed" error in ACS 5.1
Hello,
I'm working on implementing a RADIUS authentication for wireless access with the following :
- PCs running Windows 7, protocol used is PEAP (without validating the server certificate to make it simple at first),
- AP 1252 configured to use a RADIUS server to authenticate (it's working good with an ACS server 4.2),
- ACS Server 5.1.0.44.5 running as VM connected to an AD domain and working good with VPN connections,
- AD domain running on Windows 2003 Server.
My ACS VM is working good since a couple of months for VPN (RADIUS) and administration (TACACS) remote access, both using Active Directory. Now, I'd like to use it to authenticate people connecting to a 1252 Cisco access point but I'm getting this error "24427 Access to Active Directory failed". I switched from PEAP to LEAP but this is the same.
All I can get running the expert troubleshoot
Investigating failure code: 24427 Access to Active Directory failed
Checking if Active Directory is configured
Active Directory is configured
Attempting connection to Active Directory
Connection to Active Directory was successful.
Troubleshooting completed.
Click on Show Results Summary to view results.
I followed this guide, at least for the ACS certificate section :
http://www.cisco.com/en/US/products/ps10315/products_configuration_example09186a0080b4cdb9.shtml
Anyone has an idea where the problem may come from?
Thanks in advance,
Vincenthey there, I ran into the same issue with 5.3 and it turned out being this bug. i came across your post looking for instructions on retrieving the logs. thanks mate.
link
Problem: Error "24495 Active Directory servers are not available"
Authentication starts failing with this error: 24495 Active Directory servers are not available. in the ACS 5.3 logs.
Solution
Check the ACSADAgent.log file through the CLI of the ACS 5.x for messages such as:Mar 11 00:06:06 xlpacs01 adclient[30401]: INFO base.bind.healing Lost connection to xxxxxxxx. Running in disconnected mode: unlatch. If you see the Running in disconnected mode: unlatch error message, this means the ACS 5.3 cannot maintain a stable connection with Active Directory. The workaround is to either switch to LDAP or downgrade the ACS to 5.2 version. Refer to Cisco bug ID CSCtx71254 (registered customers only) for more information. -
Hi
Is there a dictonary view where i can find all the "virtual directory" which are created with the "create directory" command ??
Thanks.ah.. :)
So I should add, that in general those view names are "plurals" (ending with an S), e.g. dba | all | user _ objects, tables, tab_columns, indexes, synonyms, triggers, sequences, users, and so on.
(And the v$ dynamic/stats view names are often in singular, like v$metric, process, session, datafile, tablespace - but this "rule" seem to be deteriorating with new views added).
Maybe you are looking for
-
Alternative for AT NEW --- ENDAT
Hello experts, I am using field-symbol as internal table. I cant use AT NEW statement inside this loop. Can u pls provide alternative for above control break statement. Thanks in advance. Zak.
-
Why won't iMovie open my project?
This is extremely aggravating, iMovie suddenly wont open 2 of my projects. I was working on them for hours and finally got them how i wanted them to be, and when i go to open it later, it won't open! All that happens when I click on it is that it let
-
hi I want to restrict plsql to be assigned from a certain set of values without if clause here is what i am trying to do declare subtype t_char is varchar2(10) in ('valid', 'invalid','obsolete'); l_status t_char begin l_status :='valid'; END; ho
-
Transferring video from handicam
I can stream video from my handicam to my Macbook but I don't know how to save it onto my Macbook so I can edit it. Can anyone help with this? And please keep it simple; I'm no techie.
-
Audigy 2 ZS and Windows 7 RTM drivers
Hey I was wondering about Audigy 2 ZS drivers for Windows 7 RTM. Any information on them? I want to get the card fully (or as close to fully) working on Windows 7 but the most important part is that it supports (my)?7. speakers.