ADSI query freezes PowerShell script when using "localhost" as computername
Hi,
As part of my learning PowerShell I'm writing some basic functions for querying local users and groups. I have located the following as a "base" for locating local user accounts on a given computer:
$CompObj = [ADSI]"WinNT://$ComputerName,computer"
$Users = $compobj.psbase.children | Where-Object {$_.psbase.schemaclassname -eq "user"}
What I've found (at least on most of the computers that I have tried) is that the script will freeze if run with "localhost" in the $ComputerName variable (which I often do when testing a script). The point that it freezes is the "...
| Where-Object {$_.psbase.schemaclassname -eq "user"}" component of the script.
I verified this by running the following:
$ComputerName = "localhost"
$CompObj = [ADSI]"WinNT://$ComputerName,computer"
$Users = $compobj.psbase.children
This causes no freeze.
So, the creation of the $Users variable does not cause a script freeze. However, if I try to display the contents of the $Users variable *after* running the above code, I get a list of all of the local users and groups, before it freezes the script
completely. Here are the last two entries I get when I run it (removed references to my production domain):
DistinguishedName :
Path : WinNT://acme.local/localhost/Message Capture Users
distinguishedName :
Path : WinNT://acme.local/localhost/WinRMRemoteWMIUsers
PowerShell continues to run at this point, prompting me (in the status bar) to press "Ctrl+Break" if I wish to stop it. If I do, PowerShell displays "Stopping" in the status bar, and in fact it never finishes stopping
(I have to close Powershell, though not forcibly). I ran this on a colleagues computer and we found that the output also includes Services (remember that we didn't filter it this time with the "Where-Object" cmdlet.
So, we reason that something about the services causes the script to freeze. I have tried this on the following (not hugely extensively, one of each):
Win 7 SP1 x86: Appears to work
Win 7 SP1 x64: script freezes
Win 2008 R2 x64: script freezes
Win 2012 R2 x64: script freezes.
I'm not sure if the architecture is to blame at all, but I don't want to chase this as it's not a high priority; I'm very curious though to know the cause and how to troubleshoot it.
I did trace the problem to the usage of the word "localhost" in the $ComputerName variable; if I use the actual computer name in place of localhost, the script runs exactly as planned and when I try to display the contents of "$User"
it does not freeze before showin the services, and displays the services correctly.
So, I'm trying to identify why this happens - I am thinking that I will have to validate the input into my script to prevent usage of the "localhost" value (or find a clever way to translate that into the hostname itself).
Has anyone experienced this issue before or can help me identify what is causing the behaviour?
Thanks - I'll have my script check for localhost and use "$Env:COMPUTERNAME" to replace it if it does.
It certainly works as expected, since it passes the computername to the ADSI query instead of "localhost", which does.
Similar Messages
-
Can I query to PowerShell scripts from Power Query ?
Can I query to PowerShell scripts from Power Query ?
I want to use PowerShell result for Data Visualization in Excel.
Like importing from web, odata, hdinsight, etc,
I want to import result of PowerShell script.
PowerShell can do a lot of system management.
Regards,
Yoshihiro KawabataThis is not possible today and is not something that's likely to be implemented. The combination of being able to easily share queries and being able to easily launch external scripts that can do anything supported by the current user's permissions is
something of a security nightmare. -
Problem description:
Computer takes a long time to fire up. Spinning ball is seen during start up, sometimes when login dialog box, and sometimes after entering login password. My mac freeze often, especially when using Lightroom…. Help is much appreciated!
EtreCheck version: 2.0.11 (98)
Report generated 3. november 2014 kl. 01.23.41 CET
Hardware Information: ℹ️
MacBook Pro (13-inch, Mid 2010) (Verified)
MacBook Pro - model: MacBookPro7,1
1 2.4 GHz Intel Core 2 Duo CPU: 2-core
4 GB RAM Upgradeable
BANK 0/DIMM0
2 GB DDR3 1067 MHz ok
BANK 1/DIMM0
2 GB DDR3 1067 MHz ok
Bluetooth: Old - Handoff/Airdrop2 not supported
Wireless: en1: 802.11 a/b/g/n
Video Information: ℹ️
NVIDIA GeForce 320M - VRAM: 256 MB
Color LCD 1280 x 800
System Software: ℹ️
OS X 10.10 (14A389) - Uptime: 2:49:19
Disk Information: ℹ️
Samsung SSD 840 EVO 500GB disk0 : (500,11 GB)
S.M.A.R.T. Status: Verified
EFI (disk0s1) <not mounted> : 210 MB
Macintosh HD (disk0s2) / [Startup]: 499.25 GB (260.35 GB free)
Recovery HD (disk0s3) <not mounted> [Recovery]: 650 MB
MATSHITADVD-R UJ-898
USB Information: ℹ️
Apple Inc. Built-in iSight
Apple Internal Memory Card Reader
Apple Inc. BRCM2046 Hub
Apple Inc. Bluetooth USB Host Controller
Apple Computer, Inc. IR Receiver
Apple Inc. Apple Internal Keyboard / Trackpad
Configuration files: ℹ️
/etc/sysctl.conf - Exists
/etc/hosts - Count: 15
Gatekeeper: ℹ️
Mac App Store and identified developers
Kernel Extensions: ℹ️
/Applications/IPVanish.app
[not loaded] foo.tap (1.0) Support
[not loaded] foo.tun (1.0) Support
/Applications/LaCie Desktop Manager.app
[not loaded] com.LaCie.ScsiType00 (1.2.13 - SDK 10.5) Support
[not loaded] com.jmicron.driver.jmPeripheralDevice (2.0.4) Support
[not loaded] com.lacie.driver.LaCie_RemoteComms (1.0.1 - SDK 10.5) Support
[not loaded] com.oxsemi.driver.OxsemiDeviceType00 (1.28.13 - SDK 10.5) Support
/Applications/Private Eye.app
[loaded] com.radiosilenceapp.nke.PrivateEye (1 - SDK 10.7) Support
/Library/Application Support/HASP/kexts
[not loaded] com.aladdin.kext.aksfridge (1.0.2) Support
/System/Library/Extensions
[loaded] com.hzsystems.terminus.driver (4) Support
[not loaded] com.nvidia.CUDA (1.1.0) Support
[not loaded] com.roxio.BluRaySupport (1.1.6) Support
[not loaded] com.sony.filesystem.prodisc_fs (2.3.0) Support
[not loaded] com.sony.protocol.prodisc (2.3.0) Support
/Users/[redacted]/Library/Services/ToastIt.service/Contents/MacOS
[not loaded] com.roxio.TDIXController (2.0) Support
Startup Items: ℹ️
CUDA: Path: /System/Library/StartupItems/CUDA
ProTec6b: Path: /Library/StartupItems/ProTec6b
Startup items are obsolete and will not work in future versions of OS X
Launch Agents: ℹ️
[not loaded] com.adobe.AAM.Updater-1.0.plist Support
[running] com.adobe.AdobeCreativeCloud.plist Support
[loaded] com.adobe.CS5ServiceManager.plist Support
[running] com.digitalrebellion.EditmoteListener.plist Support
[loaded] com.google.keystone.agent.plist Support
[loaded] com.intego.backupassistant.agent.plist Support
[running] com.mcafee.menulet.plist Support
[invalid?] com.mcafee.reporter.plist Support
[loaded] com.nvidia.CUDASoftwareUpdate.plist Support
[loaded] com.oracle.java.Java-Updater.plist Support
[running] com.orbicule.WitnessUserAgent.plist Support
[loaded] com.xrite.device.softwareupdate.plist Support
Launch Daemons: ℹ️
[loaded] com.adobe.fpsaud.plist Support
[invalid?] com.adobe.SwitchBoard.plist Support
[running] com.aladdin.aksusbd.plist Support
[failed] com.aladdin.hasplmd.plist Support
[running] com.edb.launchd.postgresql-8.4.plist Support
[loaded] com.google.keystone.daemon.plist Support
[running] com.intego.BackupAssistant.daemon.plist Support
[loaded] com.ipvanish.helper.openvpn.plist Support
[loaded] com.ipvanish.helper.pppd.plist Support
[invalid?] com.mcafee.ssm.ScanFactory.plist Support
[invalid?] com.mcafee.ssm.ScanManager.plist Support
[running] com.mcafee.virusscan.fmpd.plist Support
[loaded] com.mvnordic.mvlicensehelper.offline.plist Support
[loaded] com.oracle.java.Helper-Tool.plist Support
[loaded] com.oracle.java.JavaUpdateHelper.plist Support
[running] com.orbicule.witnessd.plist Support
[loaded] com.radiosilenceapp.nke.PrivateEye.plist Support
[running] com.xrite.device.xrdd.plist Support
User Launch Agents: ℹ️
[loaded] com.adobe.AAM.Updater-1.0.plist Support
[loaded] com.adobe.ARM.[...].plist Support
[invalid?] com.digitalrebellion.SoftwareUpdateAutoCheck.plist Support
[loaded] com.facebook.videochat.[redacted].plist Support
[loaded] com.macpaw.CleanMyMac2Helper.scheduledScan.plist Support
[loaded] com.macpaw.CleanMyMac2Helper.trashWatcher.plist Support
[running] com.spotify.webhelper.plist Support
User Login Items: ℹ️
Skype Program (/Applications/Skype.app)
GetBackupAgent Program (/Users/[redacted]/Library/Application Support/BeLight Software/Get Backup 2/GetBackupAgent.app)
PhoneViewHelper Program (/Users/[redacted]/Library/Application Support/PhoneView/PhoneViewHelper.app)
EarthDesk Core UNKNOWN (missing value)
Dropbox Program (/Applications/Dropbox.app)
AdobeResourceSynchronizer ProgramHidden (/Applications/Adobe Reader.app/Contents/Support/AdobeResourceSynchronizer.app)
i1ProfilerTray Program (/Applications/i1Profiler/i1ProfilerTray.app)
Internet Plug-ins: ℹ️
Google Earth Web Plug-in: Version: 6.0 Support
Default Browser: Version: 600 - SDK 10.10
AdobeAAMDetect: Version: AdobeAAMDetect 2.0.0.0 - SDK 10.7 Support
FlashPlayer-10.6: Version: 15.0.0.189 - SDK 10.6 Support
AdobePDFViewerNPAPI: Version: 11.0.09 - SDK 10.6 Support
Silverlight: Version: 5.1.10411.0 - SDK 10.6 Support
Flash Player: Version: 15.0.0.189 - SDK 10.6 Support
QuickTime Plugin: Version: 7.7.3
iPhotoPhotocast: Version: 7.0
SiteAdvisor: Version: 2.0 - SDK 10.1 Support
AdobePDFViewer: Version: 11.0.09 - SDK 10.6 Support
GarminGPSControl: Version: 3.0.1.0 Release - SDK 10.4 Support
JavaAppletPlugin: Version: Java 7 Update 71 Check version
User Internet Plug-ins: ℹ️
Google Earth Web Plug-in: Version: 6.2 Support
F5 Inspection Host Plugin: Version: 6031.2010.0122.1 Support
f5 sam inspection host plugin: Version: 7000.2010.0602.1 Support
Safari Extensions: ℹ️
Facebook Cleaner
Better Facebook
SiteAdvisor
Incognito
Bing Highlights
YouTube5
AdBlock
YoutubeWide
Audio Plug-ins: ℹ️
DVCPROHDAudio: Version: 1.3.2
3rd Party Preference Panes: ℹ️
CUDA Preferences Support
EarthDesk Support
Editmote Support
Flash Player Support
FUSE for OS X (OSXFUSE) Support
Growl Support
Java Support
Witness Support
Time Machine: ℹ️
Time Machine not configured!
Top Processes by CPU: ℹ️
13% taskgated
12% WindowServer
1% WitnessUserAgent
1% sysmond
1% Activity Monitor
Top Processes by Memory: ℹ️
327 MB com.apple.WebKit.WebContent
137 MB softwareupdated
94 MB Safari
82 MB VShieldScanner
82 MB Dock
Virtual Memory Information: ℹ️
65 MB Free RAM
1.58 GB Active RAM
1.54 GB Inactive RAM
647 MB Wired RAM
2.95 GB Page-ins
260 MB Page-outsYou have SCADS of extensions and the things running. McAfee, Intego, Orbicule, CleanMyMac, and others I've not ever even heard of. My first recommendation would be to remove all of these and see if things improve.
-
Powershell Hang when using Run Program (2012 R2)
I've seen a couple posts about this in the past but nothing recent. I am calling a powershell and passing through some variables to run program activity in orchestrator. The program runs (in this case the DB is created) and the script finishes, however the
activity does not. I've tried two solutions:
http://blog.coretech.dk/jgs/sco-2012-running-powershell-scripts-via-run-program-activity/
and
http://www.sc-orchestrator.eu/index.php/scoblog/67-running-powershell-with-the-run-program-activity-from-orchestrator
Neither of which seem to do the trick. Here is my command
Note: The script runs fine when called on the machine locally. For sake of cleanliness I've removed my <Nul 2>&1 attempts.I have found in these situations that having a non-stop error seems to get it from freezing (along with <Nul 2>&1). I use 'Get-Content "C:\Farce.txt"' as my last line.
-
Orcl:query-database gives error when using to_char function in select stmt
hi
Use Case : We get a csv file ("bank_import_<MMDDYYYYY>.csv") from the bank containing the transactions occured for the month. The date in the filename is retrieved into string and i need to convert this string to the format "MON-DD-YYYY". This is the required format for an header table which takes this string as primary key.
Code:
statement_name = '11302206'.........
<copy>
<from expression="concat("'select to_char(to_date('",bpws:getVariableData('statement_name') ,"','MMDDYYYY'),'MON-DD-YYYY') from dual'")"/>
<to variable="xpath"/>
</copy>
<copy>
<from expression="orcl:query-database(bpws:getVariableData('xpath'),false(),false(),'jdbc:oracle:thin:apps/apps@croaker:1529:RSICMI')"/>
<to variable="statement_name"/>
</copy>
Error:
[2006/12/06 19:13:04] Updated variable "xpath" less
<xpath>'select to_char(to_date('10302006','MMDDYYYY'),'MON-DD-YYYY') from dual'</xpath>
[2006/12/06 19:13:04] "XPathException" has been thrown. less
XPath expression failed to execute.
Error while processing xpath expression, the expression is "orcl:query-database(bpws:getVariableData("xpath"), false(), false(), "jdbc:oracle:thin:apps/apps@croaker:1529:RSICMI")", the reason is .
Please verify the xpath query.
Log Message:
<2006-12-06 19:13:04,595> <DEBUG> <UAT.collaxa.cube.xml> <XPathUtil::evaluate> XPathQuery[concat("'select to_char(to_date('", bpws:getVariableData("statement_name"), "','MMDDYYYY'),'MON-DD-YYYY') from dual'")], XPath Result: class=java.lang.String value='select to_char(to_date('10302006','MMDDYYYY'),'MON-DD-YYYY') from dual'
<2006-12-06 19:13:04,595> <DEBUG> <UAT.collaxa.cube.xml> <XPathUtil::initXPath> namespaceMapping is: rootMap: {bpws=http://schemas.xmlsoap.org/ws/2003/03/business-process/, xp20=http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20, ns4=http://xmlns.oracle.com/pcbpel/adapter/db/top/BAIBankUpload, ldap=http://schemas.oracle.com/xpath/extension/ldap, xsd=http://www.w3.org/2001/XMLSchema, ns5=http://xmlns.oracle.com/pcbpel/adapter/file/, client=http://xmlns.oracle.com/BAI_BankUpload, ora=http://schemas.oracle.com/xpath/extension, ns1=http://xmlns.oracle.com/pcbpel/adapter/file/readBAIBankImportCSV/, ns3=http://TargetNamespace.com/readBAIBankImportCSV, ns2=http://xmlns.oracle.com/pcbpel/adapter/db/Insert_SI_CE_STATEMENT_LINES_INT/, bpelx=http://schemas.oracle.com/bpel/extension, orcl=http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc, =http://schemas.xmlsoap.org/ws/2003/03/business-process/}
scopedMap: {}
<2006-12-06 19:13:04,751> <DEBUG> <UAT.collaxa.cube.xml> <XPathUtil::evaluate> XPathQuery :orcl:query-database(bpws:getVariableData("xpath"), false(), false(), "jdbc:oracle:thin:apps/apps@croakercom:1529:RSICMI")
org.collaxa.thirdparty.jaxen.FunctionCallException
at org.collaxa.thirdparty.jaxen.FunctionCallException.fillInStackTrace(FunctionCallException.java:124)
at java.lang.Throwable.<init>(Throwable.java:195)
at java.lang.Exception.<init>(Exception.java:41)
at org.collaxa.thirdparty.jaxen.saxpath.SAXPathException.<init>(SAXPathException.java:83)
at org.collaxa.thirdparty.jaxen.JaxenException.<init>(JaxenException.java:82)
at org.collaxa.thirdparty.jaxen.FunctionCallException.<init>(FunctionCallException.java:86)
at oracle.tip.pc.services.functions.ExtFuncFunction$QueryDatabaseFunction.call(ExtFuncFunction.java:190)
at org.collaxa.thirdparty.jaxen.expr.DefaultFunctionCallExpr.evaluate(DefaultFunctionCallExpr.java:184)
at org.collaxa.thirdparty.jaxen.expr.DefaultXPathExpr.asList(DefaultXPathExpr.java:107)
at org.collaxa.thirdparty.jaxen.BaseXPath.selectNodesForContext(BaseXPath.java:724)
at org.collaxa.thirdparty.jaxen.BaseXPath.selectNodes(BaseXPath.java:253)
at org.collaxa.thirdparty.jaxen.BaseXPath.evaluate(BaseXPath.java:210)
at com.collaxa.cube.xml.xpath.XPathUtil.evaluate(XPathUtil.java:93)
at com.collaxa.cube.engine.ext.wmp.BPELAssignWMP.evalFromValue(BPELAssignWMP.java:501)
at com.collaxa.cube.engine.ext.wmp.BPELAssignWMP.__executeStatements(BPELAssignWMP.java:122)
at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perform(BPELActivityWMP.java:188)
at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:3408)
at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1836)
at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:75)
at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:166)
at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:252)
at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:5438)
at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:1217)
at com.collaxa.cube.engine.delivery.DeliveryService.handleInvoke(DeliveryService.java:511)
at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.handleInvoke(CubeDeliveryBean.java:335)
at ICubeDeliveryLocalBean_StatelessSessionBeanWrapper16.handleInvoke(ICubeDeliveryLocalBean_StatelessSessionBeanWrapper16.java:1796)
at com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessageHandler.handle(InvokeInstanceMessageHandler.java:37)
at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:125)
at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70)
at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86)
at com.evermind.server.ejb.MessageDrivenBeanInvocation.run(MessageDrivenBeanInvocation.java:123)
at com.evermind.server.ejb.MessageDrivenHome.onMessage(MessageDrivenHome.java:755)
at com.evermind.server.ejb.MessageDrivenHome.run(MessageDrivenHome.java:928)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
at java.lang.Thread.run(Thread.java:534)
Root cause:
java.lang.ClassCastException
at oracle.tip.pc.services.functions.ExtFuncFunction$QueryDatabaseFunction.call(ExtFuncFunction.java:158)
at org.collaxa.thirdparty.jaxen.expr.DefaultFunctionCallExpr.evaluate(DefaultFunctionCallExpr.java:184)
at org.collaxa.thirdparty.jaxen.expr.DefaultXPathExpr.asList(DefaultXPathExpr.java:107)
at org.collaxa.thirdparty.jaxen.BaseXPath.selectNodesForContext(BaseXPath.java:724)
at org.collaxa.thirdparty.jaxen.BaseXPath.selectNodes(BaseXPath.java:253)
at org.collaxa.thirdparty.jaxen.BaseXPath.evaluate(BaseXPath.java:210)
at com.collaxa.cube.xml.xpath.XPathUtil.evaluate(XPathUtil.java:93)
at com.collaxa.cube.engine.ext.wmp.BPELAssignWMP.evalFromValue(BPELAssignWMP.java:501)
at com.collaxa.cube.engine.ext.wmp.BPELAssignWMP.__executeStatements(BPELAssignWMP.java:122)
at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perform(BPELActivityWMP.java:188)
at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:3408)
at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1836)
at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:75)
at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:166)
at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:252)
at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:5438)
at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:1217)
at com.collaxa.cube.engine.delivery.DeliveryService.handleInvoke(DeliveryService.java:511)
at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.handleInvoke(CubeDeliveryBean.java:335)
at ICubeDeliveryLocalBean_StatelessSessionBeanWrapper16.handleInvoke(ICubeDeliveryLocalBean_StatelessSessionBeanWrapper16.java:1796)
at com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessageHandler.handle(InvokeInstanceMessageHandler.java:37)
at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:125)
at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70)
at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86)
at com.evermind.server.ejb.MessageDrivenBeanInvocation.run(MessageDrivenBeanInvocation.java:123)
at com.evermind.server.ejb.MessageDrivenHome.onMessage(MessageDrivenHome.java:755)
at com.evermind.server.ejb.MessageDrivenHome.run(MessageDrivenHome.java:928)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
at java.lang.Thread.run(Thread.java:534)
<2006-12-06 19:13:04,751> <ERROR> <UAT.collaxa.cube.xml> ORABPEL-09500
XPath expression failed to execute.
Error while processing xpath expression, the expression is "orcl:query-database(bpws:getVariableData("xpath"), false(), false(), "jdbc:oracle:thin:apps/apps@croaker:1529:RSICMI")", the reason is .
Please verify the xpath query.Hi,
QAbdul wrote:
when I tried to execute the followingin XMLQuery by calling TO_CHAR() whithin this query I am getting this error"ORA-19237: XP0017 - unable to resolve call to function - fn:TO_CHARTO_CHAR is a SQL function, XQuery is unaware of it.
XPath 2.0 specifications define a fn:format-date function but Oracle has not included yet in its XQuery implementation.
Easiest way to go is A_Non's solution, but if you need to format at multiple places in the query, you can declare a local XQuery function.
For example, to format to "DD/MM/YYYY" from the canonical xs:date format "YYYY-MM-DD" :
{code}
declare function local:format-date($d as xs:date) as xs:string
let $s := xs:string($d)
return concat(
substring($s, 10, 2), "/",
substring($s, 7, 2), "/",
substring($s, 2, 4)
{code}
and an example of use :
{code}
SQL> CREATE TABLE test_xqdate AS SELECT sysdate dt FROM dual;
Table created
SQL> SELECT *
2 FROM XMLTable(
3 'declare function local:format-date($d as xs:date) as xs:string
4 {
5 let $s := xs:string($d)
6 return concat(
7 substring($s, 10, 2), "/",
8 substring($s, 7, 2), "/",
9 substring($s, 2, 4)
10 )
11 }; (: :)
12 for $i in ora:view("TEST_XQDATE")/ROW/DT
13 return element e {
14 attribute xs_date_format { $i/text() },
15 attribute local_format { local:format-date($i) }
16 }'
17 COLUMNS
18 xs_date_format VARCHAR2(10) PATH '@xs_date_format',
19 local_format VARCHAR2(10) PATH '@local_format'
20 )
21 ;
XS_DATE_FORMAT LOCAL_FORMAT
2010-10-28 28/10/2010
{code} -
Derby db named query causes parse error when using derby db MONTH function
Hi all!
I'm trying to create an application using the persistance api and beans binding. I have created my database and entity classes.
My problem is creating a named query that uses some of the functionality from the derby database (which is embedded in the application).
I have a named query:
@NamedQuery(name = "Vehicles.findbymotmonth", query = "SELECT v FROM Vehicles v WHERE MONTH(v.lastmotdate) = :monthnumber") The actual query works fine when I send it directly to the db (with the parameter filled in) but causes an exception when used as a named query:
Local Exception Stack:
Exception [TOPLINK-8025] (Oracle TopLink Essentials - 2.0.1 (Build b09d-fcs (12/06/2007))): oracle.toplink.essentials.exceptions.EJBQLException
Exception Description: Syntax error parsing the query [Vehicles.findbymotmonth: SELECT v FROM Vehicles v WHERE MONTH(v.lastmotdate) = :monthnumber], line 1, column 32: unexpected token [MONTH].
Internal Exception: line 1:32: unexpected token: MONTH
at oracle.toplink.essentials.exceptions.EJBQLException.unexpectedToken(EJBQLException.java:389)
... I've tried looking for solutions online but it seems evryone just writes up the original java db application example provided by sun and no one has tried doing more than "select c from customers c".
I'm using the netbeans ide (6.5).
Please tell me there is a simple solution to this and the persistance API can handle complex queries!
Thanks in advance.one solution: assume the toplink library to be so full of bugs as to be unusable and switch to the hibernate persistance manager where it works fine.
Edited by: pointer2null on Feb 17, 2009 11:02 AM -
ODP bug with generated SQL script when using DateTime
With EF5, I'm getting some really weird SQL scripts when dealing with DateTime.
THe follow script works fine.
var a = db.MOTOR_POOL_RESERVATION
.Where(o => o.DEPART_DT > new DateTime(2013, 1, 1))
.Select(o => o.RESERVATION_ID)
.ToList();
SELECT "Extent1"."RESERVATION_ID" AS "RESERVATION_ID"
FROM "MOTORPOOL"."MOTOR_POOL_RESERVATION" "Extent1"
WHERE ("Extent1"."DEPART_DT" > TO_TIMESTAMP('2013-01-01 00:00:00.000', 'YYYY-MM-DD HH24:MI:SS.FF'))
But as soon as I create DateTime with year, month or day values forming from a variable, then generated scripts become incorrect.
var year = 2013;
var month = 3;
var dt = new DateTime(year, month, 1);
var c = db.MOTOR_POOL_RESERVATION
.Where(o => o.DEPART_DT > dt)
.Select(o=>o.RESERVATION_ID)
.ToList();
see the date is treated a string.
SELECT "Extent1"."RESERVATION_ID" AS "RESERVATION_ID"
FROM "MOTORPOOL"."MOTOR_POOL_RESERVATION" "Extent1"
WHERE ("Extent1"."DEPART_DT" > '2013-03-01 00:00:00')
var b = db.MOTOR_POOL_RESERVATION
.Where(o => o.DEPART_DT > new DateTime(year, month, 1))
.Select(o => o.RESERVATION_ID)
.ToList();
same problem with this one.
SELECT "Extent1"."RESERVATION_ID" AS "RESERVATION_ID"
FROM "MOTORPOOL"."MOTOR_POOL_RESERVATION" "Extent1"
WHERE ("Extent1"."DEPART_DT" > '2013-03-01 00:00:00')It turns out that the sql is valid since I'm using bind parameters.
-
can anyone pls point out whats the power shell script for "use this termset for site navigation" in the termstore management tool in my central admin';s manage serv appln-->managed metadata serv appln ->term styore mgmnt tool
i would like to check this "checked" through powershell script
help is appreciated!Hi,
To check if the term set has been set to be used for site navigation, we need to check the
NavigationTermSet.IsNavigationTermSet property for the term set.
Here is the code example for using PowerShell to get the setting:
$site=Get-SPSite "your site collection URL";
$session = Get-SPTaxonomySession -Site "your site collection URL ";
$termStore = $session.TermStores["Managed Metadata Service"];
$Group = $termStore.Groups[“Group Name”];
$TermSet = $Group.TermSets[“Term Set Name”];
$navTermSet = [Microsoft.SharePoint.Publishing.Navigation.NavigationTermSet]::GetAsResolvedByWeb($termset, $site.RootWeb, "GlobalNavigationTaxonomyProvider");
write-host $navTermSet.IsNavigationTermSet
Best regards.
Thanks
Victoria Xia
TechNet Community Support -
I'm using Windows XP SP3 - Chrome Version 23.0.1271.97 m, Firefox 17.0.1. - i7 Q Core 3.4 Ghz, 4 Gb DDR 3, AMD Radeon HD 6452 (Video Card) : The screen seems to completely lock up with no response from the HID (Keyboard, Mouse). I have to restart the computer, sometimes it will let me restart the browser. I'll be using the product for several minutes and the computer locks up. It mainly occurs in Chrome and am wondering; since it's a peppered version of Flash that it's requiring more resources from the video card (512mb) it's locking the system up. Anyone have ideas why flash would be failing/freezing during the use of this product? The symptoms and behavior are similar to those that occur when using other flash based products such as YouTube. Any one have any ideas?
the next time it happens, post your logs. /var/log/Xorg.0.log would be one of things to look at. Check your CPU usage at that time. See what process or processes are taking most of the CPU cycles and/or memory and other resources.
-
When using certificates that have a password enabled and private keys we find the machine hangs up competly with the memory usage jumping to 99%. The main process being the Local Secuirty Authority Process that causes the machine to lock up. The work
around we have is to remove this certificate and import a new certificate making sure we un-tick the check box for private key password.
Not sure if this
KB2813237 is linked, but this hotfix is available for Windows 8.1 Pro OS.Hi Simon,
You can try that suggestion and check whether it is solved and give your result, if there is any other issue, you can post it back.
Regards
Wade Liu
TechNet Community Support -
Does the new Photoshop Elements 13 have the freeze mask tool when using liquify
Im wanting to know if the new photoshop elements 13 has the freeze mask .. thats used in liquify ? I know the older versions do not, and also aware that PS does have it… was hoping they included it in the new elements 13 ??
Yes.
Click on an icon that looks like this:
Now look for something like this in the tools options panel that looks like this:
If you don't get this panel open then click on tools option as shown in this picture:
Hope this helps. -
Clearing Out Bleeding Scripts when using GWMI
OK, so I may be in the minority, but I don't like when the scripts I write bleed all over my screen. And when I use GWMI, I find that they bleed more often than not. See, I often work with systems that I don't have access to, and when I use GWMI
(even with the ever popular "-ErrorAction SIlentlyContinue", a personal friend of mine), my scripts leave blood all over the screen. So, I went out to figure out the issue. It appears that the error returned by GWMI with you don't have
access to a computer is not returned at the PowerShell level, but through the OS itself. So when you have a group of computers and run something like:
Get-WmiObject -computer $Server Win32_OperatingSystem -ErrorAction SilentlyContinue
You get something back like:
Get-WmiObject : Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
At line:1 char:14
+ Get-WmiObject <<<< -computer $Server Win32_OperatingSystem
+ CategoryInfo : NotSpecified: (:) [Get-WmiObject], UnauthorizedAccessException
+ FullyQualifiedErrorId : System.UnauthorizedAccessException,Microsoft.PowerShell.Commands.GetWmiObjectCommand
(OK, yeah, it's exactly like that, thanks to cut and paste and a bit of formatting.) Anyway, since I have a script that calls WMI for OS info, disk info, boot info, ... in fact, info about several other things, all this bleeding on my screen was giving me
heartaches.
So I went about trying to find a way around it. Turns out that other commands fail, but catch the issue at a higher level: for example, Get-ChildItem gives "Cannot find path '\\ServerName\c$' because it does not exist." and works with
-ErrorAction. While this would work, what if the item really doesn't exist and Windows is installed on the D: drive? That wouldn't help much, and I wanted to find a way to shunt my WMI requests only if the server had an access denied.
I finally found that the DOS command running "net use \\ServerName\C$" will return the denied access error, and you can keep it from bleeding on the screen, but you have to do it wisely. First, you need to use what .Net calls "[Diagnostics.Process]
Start()". To use this, I created the following function:
function Chk-ServerAccess {
param($Server, $Share)
$PSAccessTest = New-Object System.Diagnostics.Process
$PSAccessTest.StartInfo.FileName = "NET"
$PSAccessTest.StartInfo.Arguments = ' VIEW
\\' + $Server + '\' + $Share+ '$'
$PSAccessTest.StartInfo.RedirectStandardError = $true
$PSAccessTest.StartInfo.UseShellExecute = $FALSE
$PSAccessTest.Start() | Out-Null
$StdErr = $PSAccessTest.StandardError.ReadToEnd()
-not ($StdErr -match 'Access is denied.')
} # Chk-ServerAccess
This function returns Boolean True if you can access the server and Boolean false if you can't. You initialize a variable of type "System.Diagnostics.Process". Then you set the command (file name) as "NET" (ignoring the fact
this isn't really a file, but an internal Windows OS command). Build the arguments using the variable for your server name and an admin share you should be able to access on the server (you can also build it with "VIEW
\\$Server\$Share`$", if you prefer expanding variables inside the text string). Make sure you redirect standard error - we don't really care about standard output, but we need to catch the error. We also
need to make sure we set UseShellExecute to false so we can redirect any output (including errors).
Once we are ready, we run the command by starting it ($PSAccessTest.Start() | Out-Null) - note that we pipe this to Out-Null - we do this so we don't have a spurious "True" returned by our script accidentally. Once run, we capture the error
output into a variable ($StdErr, in this case) and test to see if it matches 'Access is denied'. If it doesn't, we return true, meaning you have rights to the admin share you wish to access on the server. And it doesn't throw any blood to the screen
- making it possible to then run your GWMI commands without having your friends wondering what your script is doing to their servers.
I just love when you start a script and it ends with nothing but white output on the screen. Hope this helps someone else out there ...
Will MartinHi Willard Martin,
I’m writing to just check in to see if the suggestions were helpful. If you need further help,
please feel free to reply this post directly so we will be notified to follow it up.
If you have any feedback on our support, please click here.
Best Regards,
Anna
TechNet Community Support -
Query taking too long when using bind variable
Hi All,
There is a query in our prod DB which runs very slow (approx 2 hours) when it uses Bind Variables (using JDBC thin client), and when i try passing the variable using TOAD/SQL developer it runs fine.
Explain Plan for running Query
SELECT STATEMENT ALL_ROWSCost: 146 Bytes: 379 Cardinality: 1
21 SORT ORDER BY Cost: 146 Bytes: 379 Cardinality: 1
20 NESTED LOOPS Cost: 145 Bytes: 379 Cardinality: 1
17 HASH JOIN Cost: 22 Bytes: 42,558 Cardinality: 123
15 MERGE JOIN CARTESIAN Cost: 15 Bytes: 8,910 Cardinality: 27
12 FILTER
11 NESTED LOOPS OUTER Cost: 9 Bytes: 316 Cardinality: 1
8 NESTED LOOPS OUTER Cost: 8 Bytes: 290 Cardinality: 1
5 NESTED LOOPS Cost: 6 Bytes: 256 Cardinality: 1
2 TABLE ACCESS BY GLOBAL INDEX ROWID TABLE GDP.GDP_FX_DEALS_INCREMENTOR Cost: 4 Bytes: 28 Cardinality: 1 Partition #: 9 Partition access computed by row location
1 INDEX RANGE SCAN INDEX GDP.GDP_FX_DEALS_INC_IDX_01 Cost: 3 Cardinality: 1
4 TABLE ACCESS BY INDEX ROWID TABLE GDP.GDP_FX_DEALS Cost: 2 Bytes: 228 Cardinality: 1
3 INDEX UNIQUE SCAN INDEX (UNIQUE) GDP.GDP_FX_DEALS_KEY Cost: 1 Cardinality: 1
7 TABLE ACCESS BY INDEX ROWID TABLE GDP.GDP_FX_DEALS Cost: 2 Bytes: 34 Cardinality: 1
6 INDEX UNIQUE SCAN INDEX (UNIQUE) GDP.GDP_FX_DEALS_KEY Cost: 1 Cardinality: 1
10 TABLE ACCESS BY INDEX ROWID TABLE GDP.GDP_COUNTERPARTIES Cost: 1 Bytes: 26 Cardinality: 1
9 INDEX UNIQUE SCAN INDEX (UNIQUE) GDP.PK_CPTY Cost: 0 Cardinality: 1
14 BUFFER SORT Cost: 14 Bytes: 448 Cardinality: 32
13 TABLE ACCESS FULL TABLE GDP.GDP_CITIES Cost: 6 Bytes: 448 Cardinality: 32
16 TABLE ACCESS FULL TABLE GDP.GDP_AREAS Cost: 6 Bytes: 2,304 Cardinality: 144
19 TABLE ACCESS BY INDEX ROWID TABLE GDP.GDP_PORTFOLIOS Cost: 1 Bytes: 33 Cardinality: 1
18 INDEX UNIQUE SCAN INDEX (UNIQUE) GDP.PORTFOLIOS_KEY Cost: 0 Cardinality: 1
Explain Plan for Slow Query
Plan
SELECT STATEMENT ALL_ROWSCost: 11,526,226 Bytes: 119,281,912 Cardinality: 314,728
21 SORT ORDER BY Cost: 11,526,226 Bytes: 119,281,912 Cardinality: 314,728
20 HASH JOIN Cost: 11,510,350 Bytes: 119,281,912 Cardinality: 314,728
2 TABLE ACCESS BY INDEX ROWID TABLE GDP.GDP_PORTFOLIOS Cost: 1,741 Bytes: 177,540 Cardinality: 5,380
1 INDEX FULL SCAN INDEX (UNIQUE) GDP.PORTFOLIOS_KEY Cost: 14 Cardinality: 5,380
19 HASH JOIN Cost: 11,507,479 Bytes: 87,932,495,360 Cardinality: 254,140,160
3 TABLE ACCESS FULL TABLE GDP.GDP_AREAS Cost: 6 Bytes: 2,304 Cardinality: 144
18 MERGE JOIN CARTESIAN Cost: 11,506,343 Bytes: 18,602,733,930 Cardinality: 56,371,921
15 FILTER
14 HASH JOIN RIGHT OUTER Cost: 3,930,405 Bytes: 556,672,868 Cardinality: 1,761,623
5 TABLE ACCESS BY INDEX ROWID TABLE GDP.GDP_COUNTERPARTIES Cost: 6,763 Bytes: 892,580 Cardinality: 34,330
4 INDEX FULL SCAN INDEX (UNIQUE) GDP.PK_CPTY Cost: 63 Cardinality: 34,330
13 HASH JOIN OUTER Cost: 3,923,634 Bytes: 510,870,670 Cardinality: 1,761,623
10 HASH JOIN Cost: 2,096,894 Bytes: 450,975,488 Cardinality: 1,761,623
7 TABLE ACCESS BY GLOBAL INDEX ROWID TABLE GDP.GDP_FX_DEALS_INCREMENTOR Cost: 2,763 Bytes: 52,083,248 Cardinality: 1,860,116 Partition #: 14 Partition access computed by row location
6 INDEX RANGE SCAN INDEX GDP.GDP_FX_DEALS_INC_IDX_01 Cost: 480 Cardinality: 334,821
9 TABLE ACCESS BY INDEX ROWID TABLE GDP.GDP_FX_DEALS Cost: 1,734,205 Bytes: 8,320,076,820 Cardinality: 36,491,565
8 INDEX FULL SCAN INDEX (UNIQUE) GDP.GDP_FX_DEALS_KEY Cost: 104,335 Cardinality: 39,200,838
12 TABLE ACCESS BY INDEX ROWID TABLE GDP.GDP_FX_DEALS Cost: 1,733,836 Bytes: 1,331,145,696 Cardinality: 39,151,344
11 INDEX FULL SCAN INDEX (UNIQUE) GDP.GDP_FX_DEALS_KEY Cost: 104,335 Cardinality: 39,200,838
17 BUFFER SORT Cost: 11,499,580 Bytes: 448 Cardinality: 32
16 TABLE ACCESS FULL TABLE GDP.GDP_CITIES Cost: 4 Bytes: 448 Cardinality: 32
How can I avoid that.
ThanksHello
Could you reformat your execution plans because they aren't particularly readable. The forums allow you to preserve the formatting of code or output by putting the symbol {noformat}{noformat} before and after the section of text you want to preserve formatting for.
If you write
{noformat}select * from v$version
{noformat}
it will be displayed asselect * from v$version
So can you run this above statement and post the output here so we know the full oracle version you are working with? And finally, it would be really helpful to see the query you are running. When you say it runs fine in Toad, is that when you replace the bind variables with the values or are you also using bind variables in Toad?
Cheers
David -
Query takes 5 min when using Indexes and 1 Second without Indexes !!
Hi,
We have been using indexes on all tables until recently when we faced problems with queries like the one below:
SELECT a.std_id FROM students a, student_degree b, student_course c, course d
WHERE b.std_id = a.std_id
AND c.std_id = a.std_id
AND d.crn = c.crn
AND b.in_progress = 'Y'
AND b.major_code = 'ABTC'
AND a.program_code = 'DP'
AND a.level_code = 'S2'
AND a.campus_code = '05'
AND a.termcode = '200702';
This query takes more than 5 minutes to return a result, but as soon as we remove indexes on the columns termcode and campus_code,it shows result in 1 second.
What could be the problem ?, Is there an attribute that need to be set when creating these indexes ?
Thanks in advance
MadaniThank you Karthik for your reply.Here are the explain plan report (as shown on Oracle 9i Enterprise Manager)
*1-Explain plan without Indexes:*
Execution Steps:
Step # Step Name
11 SELECT STATEMENT
10 MERGE JOIN
7 SORT [JOIN]
6 NESTED LOOPS
4 NESTED LOOPS
1 ERMS.STUDENT_DEGREE TABLE ACCESS [FULL]
3 ERMS.STUDENTS TABLE ACCESS [BY INDEX ROWID]
2 ERMS.SYS_C006642 INDEX [UNIQUE SCAN]
5 ERMS.SYS_C007065 INDEX [RANGE SCAN]
9 SORT [JOIN]
8 ERMS.COURSE TABLE ACCESS [FULL]
Step # Description
1 This plan step retrieves all rows from table STUDENT_DEGREE.
2 This plan step retrieves a single ROWID from the B*-tree index SYS_C006642.
3 This plan step retrieves rows from table STUDENTS through ROWID(s) returned by an index.
4 This plan step joins two sets of rows by iterating over the driving, or outer, row set (the first child of the join) and, for each row, carrying out the steps of the inner row set (the second child). Corresponding pairs of rows are tested against the join condition specified in the query's WHERE clause.
5 This plan step retrieves one or more ROWIDs in ascending order by scanning the B*-tree index SYS_C007065.
6 This plan step joins two sets of rows by iterating over the driving, or outer, row set (the first child of the join) and, for each row, carrying out the steps of the inner row set (the second child). Corresponding pairs of rows are tested against the join condition specified in the query's WHERE clause.
7 This plan step accepts a row set (its only child) and sorts it in preparation for a merge-join operation.
8 This plan step retrieves all rows from table COURSE.
9 This plan step accepts a row set (its only child) and sorts it in preparation for a merge-join operation.
10 This plan step accepts two sets of rows sorted on the join key. By walking both sets of rows in the order of the join key, every distinct pair of rows satisfying the join condition in the WHERE clause is found through a single pass of the row sets.
11 This plan step designates this statement as a SELECT statement.
*2-Explain plan with Indexes:* (I added index on column campus_code which is a varchar2 column)
Execution Steps:
Step # Step Name
11 SELECT STATEMENT
10 MERGE JOIN
7 SORT [JOIN]
6 NESTED LOOPS
4 NESTED LOOPS
1 ERMS.COURSE TABLE ACCESS [FULL]
3 ERMS.STUDENTS TABLE ACCESS [BY INDEX ROWID]
2 ERMS.INDEX_STUDENTS_CAMPUS_CODE INDEX [RANGE SCAN]
5 ERMS.SYS_C007065 INDEX [RANGE SCAN]
9 SORT [JOIN]
8 ERMS.STUDENT_DEGREE TABLE ACCESS [FULL]
Step # Description
1 This plan step retrieves all rows from table COURSE.
2 This plan step retrieves one or more ROWIDs in ascending order by scanning the B*-tree index INDEX_STUDENTS_CAMPUS_CODE.
3 This plan step retrieves rows from table STUDENTS through ROWID(s) returned by an index.
4 This plan step joins two sets of rows by iterating over the driving, or outer, row set (the first child of the join) and, for each row, carrying out the steps of the inner row set (the second child). Corresponding pairs of rows are tested against the join condition specified in the query's WHERE clause.
5 This plan step retrieves one or more ROWIDs in ascending order by scanning the B*-tree index SYS_C007065.
6 This plan step joins two sets of rows by iterating over the driving, or outer, row set (the first child of the join) and, for each row, carrying out the steps of the inner row set (the second child). Corresponding pairs of rows are tested against the join condition specified in the query's WHERE clause.
7 This plan step accepts a row set (its only child) and sorts it in preparation for a merge-join operation.
8 This plan step retrieves all rows from table STUDENT_DEGREE.
9 This plan step accepts a row set (its only child) and sorts it in preparation for a merge-join operation.
10 This plan step accepts two sets of rows sorted on the join key. By walking both sets of rows in the order of the join key, every distinct pair of rows satisfying the join condition in the WHERE clause is found through a single pass of the row sets.
11 This plan step designates this statement as a SELECT statement. -
Content Query not producing results when using [Me] filter
Hi
I'm using a Content Query web part and I'm trying to show the most recent document modified by each site user by applying it across the site collection and using the Filter, Modified By [_Hidden] equals [Me]. However, this doesn't seem to work for any user
- the web part is always blank. I have tried different combinations such changing equals to contains, and using the Modified By field etc - nothing gives me the correct results. If I instead take the [Me] out and instead use the "people chooser"
and set to a specific person then I seem to get the results I would expect - however I cannot hard code a given user.
Does anyone know how to use [Me] correctly?
ThanksHi sjb500,
According to your description, please take steps as below to meet your demand:
With the page layout open in Design view, double-click the Content Query Web Part.
In the Content Query Web Part dialog box, click the plus sign (+) next to Query to expand it.
In the Source section, click Show items from all sites in this site collection.
In List Type section, in the Show items from this list type, click Document Library.
In the Content Type section, in the Show items of this content type group list, click Document
Content Types.
In the Content Type section, in the Show items of this content type list, click Document.
In the Additional Filters section, under Show Items When, click Modified By [_Hidden] in
the first box, click Is Equal To in the second box, and then click [Me].
In the Content Query Web Part dialog box, click the plus sign (+) next to Presentation to expand it.
In the Grouping and Sorting section, in the Sort items by list, click Modified
and Select Show items in descending order.
Click OK.
Reference:http://office.microsoft.com/en-us/sharepoint-designer-help/display-data-from-multiple-lists-with-the-content-query-web-part-HA010174134.aspx
[Me] is a variable that stands for the user who is currently viewing the page that contains the Content Query Web Part in the browser.
Here is some scenarios using [Me] in Content Query Web Part:
http://social.technet.microsoft.com/Forums/en-US/346ffbe6-d7ba-467e-b7f5-6d6e289677a1/user-tasks-web-part
Please inform me freely if you have any questions.
Thanks
Maybe you are looking for
-
Secondary Resource in the operation "SETUP" of a PPM
Hi experts, I need to record directly in APO (SCC03) a PPDS PPM with a secondary resource which should be considered in the setup activity I recorded the following: Operation Activity Activity Type Mode Resource 0
-
How to link Sales Order with Service Contract and then with Install Base?
Hi Friends, 1) I would like to know the integeration process from sales order to Service Contract and then with Install Base. 2) I couldn't see anything enabled in Service Tab in Order Lines, its grayed out. Is there any set up/profile option to get
-
IMessage not working with new iOS 6 update
Updated my phone today with the new os update and now my imessage seems to not be working. Anyone else? Help?
-
Cannot open the form file in apps 11i
Hi all I have modified an fmb file and when i try to compile in apps 11i ,i get "cannot open file" telnet erptest cd /s01/oracle/prodappl . APPSORA.env cd /s01/oracle/prodappl/au/11.5.0/forms/US f60gen XXNPOPNJOBLOG.fmb userid=apps/apps I get the me
-
Is anybody else having problem trying to put a background pic it won't zoom out?!
Is anybody else having problem trying to put a background pic it won't zoom out?!