Powershell using start-process OR Invoke-Item to access directory are getting warning permissions popup.

I am new in PS so please forgive me for any idiocy I speak. I have a File Server in Windows 2012 R2, a couple days ago I added one domain user to local administrator group in this File Server. For any folder that I try to access I am getting the Warning message
saying: "You don't currently have permissions to access this folder. Click Continue to permanently get access to this folder." When I click "Continue" the Windows grants to me the rights permissions, ok it is perfect but I have to do it
for any folder in my file server.
So, let's to I tried so far..
I know I can use Set-acl to set the permissions to the user but for this likely I will need change almost the whole permissions structure.
Actually I am trying use Invoke-Item and Start-Process to simulate the folder access and ofcourse the Warning permissions popup came up. What I am thinking about and can't realize is make each time the Warning permissions popup come up by using Invoke-Item
or Start-Process whatever the Powershell automaticaly clicks on the "Continue" button.
Any one can help me with, please?

Hi Michel,
you can circumvent the ACL System by enabling Backup and Restore privileges (when running locally). There's a
great Module for that.
However, for a more pragmatic approach, shouldn't access-permissions be handled using Domain Groups? If you want a File Server Admin, why not create a single group named "Data Administrators", set it to full control for all directories (that'll
take changing the permissions once, which will probably take some time) and add that user to this group.
That way, if you later want to have another user administrate the folder structure, all you need to do is change group membership. Furthermore it avoids having to add local administrative privileges for a function that doesn't really require them (least
privilege best practice).
Cheers,
Fred
There's no place like 127.0.0.1

Similar Messages

  • WebPart is raising the following error "Invalid data has been used to update the list item.The field you are trying to update may be read only"

    I have created a farm solution and then i deploy it to SharePoint server, the code looks as follow, and i use it to update a page info values (as the current page values represents old info):-
    [ToolboxItemAttribute(false)]
    public partial class VisualWebPart1 : WebPart
    // Uncomment the following SecurityPermission attribute only when doing Performance Profiling using
    // the Instrumentation method, and then remove the SecurityPermission attribute when the code is ready
    // for production. Because the SecurityPermission attribute bypasses the security check for callers of
    // your constructor, it's not recommended for production purposes.
    // [System.Security.Permissions.SecurityPermission(System.Security.Permissions.SecurityAction.Assert, UnmanagedCode = true)]
    public VisualWebPart1()
    protected override void OnInit(EventArgs e)
    base.OnInit(e);
    InitializeControl();
    using (SPSite site = new SPSite(SPContext.Current.Site.Url))
    using (SPWeb web = site.OpenWeb())
    SPList list = web.Lists["Pages"];
    web.AllowUnsafeUpdates = true;
    foreach (SPListItem items in list.Items)
    items["Author"] = "SharePoint";
    items["Created"] = "01/08/2014 01:44 PM";
    items.Update();
    list.Update();
    web.AllowUnsafeUpdates = false;
    protected void Page_Load(object sender, EventArgs e)
    but when i try adding this web part to a page i got the following error:-
    Invalid data has been used to update the list item.The field you are trying to update may be read only
    so can anyone advice?

    i only changed lines bitween 
    web.AllowUnsafeUpdates = true;
    and
    web.AllowUnsafeUpdates = false;
    and other parts of code remains without change
    so it will updates all pages in current web
    yaşamak bir eylemdir

  • Powershell v4: Start-Process rar.exe

    Good day.
    I apologize in advance for my bad english.
    I need to call rar.exe (cmd winrar) with Start-Process cmdlet (and not with &), because I need the script waits for completion of archiving, so I want to use it with -Wait parameter. But I do not really know how to type Argumentlist:
    Start-Process -FilePath "path_to_winrar\rar.exe" -ArgumentList "a -df $ArchiveName @$filelist" -Wait
    Where $filelist is the list with files to archive.
    Actually i have tried many combinations but did not succeed, the archive just does not created.
    Please help.

    2 Bill_Stewart
    I don`t know how to explain this. It works if I define variables in script, for example easy script to collect files, put them to the list, archive them and then delete (it is just an example, I know I can delete files by
    -df parameter of rar.exe):
    #get some files for archiving
    $Files = Get-ChildItem "E:\Startx" -Recurse -File
    #define list of files for archiving
    $filelist = "G:\Utilization\Reports\filelist.txt"
    #add files fullnames to the list
    $Files | foreach {$_.Fullname} | Out-File $filelist -Append
    $reportname = "G:\Utilization\Reports\Del_report.txt"
    $archivename = "G:\Utilization\Archives\archive.rar"
    #add files from $filelist to archive
    if ($Files -ne $null) {&"C:\Users\kopilov\Desktop\WinRar\rar.exe" a $Archivename "@$filelist"}
    #then delete all these files
    foreach ($file in $Files)
    if ($file -ne $null)
    "Deleting $($file.Fullname)" | Out-File $ReportName -Append
    Remove-Item $file.Fullname | Out-Null
    else
    "No files for deletion" | Out-File $ReportName -Append
    BUT there is another example, where files collected by lastaccesstime attribute (actually it does not matter),
    however variables are set as parameters during start of the script:
    C:\Users\kopilov\Desktop\arraytest.ps1 -TargetFolder "E:\Startx" -Minutes 1
    And the file deletion function does not wait for the rar.exe to complete, and files are deleted
    before archiving.
    The script itself:
    param(
    [parameter(Mandatory = $true)]
    $TargetFolder,
    [parameter(Mandatory = $true)]
    $Minutes
    $Now = Get-Date
    $LastAccess = $Now.AddMinutes(-$Minutes)
    $Files = Get-ChildItem $TargetFolder -Recurse -File | Where {$_.LastAccessTime -le "$LastAccess"}
    $NameDate = (Get-Date).tostring("dd.MM.yyyy")
    $ReportName = 'G:\Utilization\Reports\' + "$((Get-Item $TargetFolder).name)_" + $NameDate + '.txt'
    $ArchiveName = 'G:\Utilization\Archives\' + "$((Get-Item $TargetFolder).name)_" + $NameDate + '.zip'
    $filelist = 'G:\Utilization\Reports\'+ "$((Get-Item $TargetFolder).name)list_" + $NameDate + '.txt'
    $Files | foreach {$_.Fullname} | Out-File $filelist -Append
    if ($Files -ne $null) {&"C:\Users\kopilov\Desktop\WinRar\rar.exe" a $ArchiveName "@$filelist"}
    foreach ($file in $Files)
    if ($file -ne $null)
    "Deleting $($file.Fullname)" | Out-File $ReportName -Append
    Remove-Item $file.Fullname | Out-Null
    else
    "No files to delete" | Out-File $ReportName -Append
    It is almost the same, but call operator & works different. Do not know how to explain this.
    P.S. i just figured out that Start-Process with -Wait parameter works like call operator &.
    Sorry, I was wrong. I don`t know why scripts above works different :(

  • PowerShell using start job to run multiple code blocks at the same time

    I will be working with many 1000’s of names in a list preforming multiple function on each name for test labs.
    I notice when it is running the functions on each name I am using almost no CPU or memory.  That led me to research can I run multiple threads at once in a PowerShell program. That lead me to articles suggesting start-job would do just want I am looking
    for. 
    As a test I put this together.  It is a simple action as an exercise to see if this is indeed the best approach.  However it appears to me as if it is still only running the actions on one name at a time.
    Is there a way to run multiple blocks of code at once?
    Thanks
    Start-Job {
    $csv1 = (Import-Csv "C:\Copy AD to test Lab\data\Usergroups1.csv").username
    foreach ($name1 in $csv1) { Write-Output "Job1 $name1"}
    Start-Job {
    $csv2 = (Import-Csv "C:\Copy AD to test Lab\data\Usergroups2.csv").username
    foreach ($name2 in $csv2) { Write-Output " Job2 $name2"}
    Get-Job | Receive-Job
    Lishron

    You say your testing shows that you are using very little cpu or memory in processing each name, which suggests that processing a single name is a relatively trivial task.  
    You need to understand that using a background job is going to spin up another instance of powershell, and if you're going to do that per name what used to require a relatively insignificant amount of memory is going to take around 60 MB.  
    Background jobs are not really well suited for multi-threading short-running, trivial tasks.  The overhead of setting up and tearing down the job session can be more than the task itself.
    Background jobs are good for long-running tasks.  For multi-threading short, trivial tasks runspaces or a workflow would probably be a better choice.
    [string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "

  • Using AppleScript to click menu items without access for assistive devices?

    Hi all,
    Is it possible to have AppleScript 'click' menu items without having 'Enable access for assistive devices' enabled?
    My script works fine with it on but with it off I just get this:
    'System Events got an error: Access for assistive devices is disabled.'
    Pretty clear and easy to fix. I don't really want assistive devices enabled, though ...
    Any ideas or is this just not possible?
    Sorry if this is a n00b question - I'm kinda new to the world of Mac and OS X ...
    Thanks!

    Ok cool - thanks for the reply.
    I've figured out how to set the bounds of the window I'm talking about:
    tell application "Transmit" to set bounds of window "Transcript" to {61, 1166, 2559, 1421}
    I'll have a hack and see if I can figure out how to open the Transcript window without needing assistive devices enabled.
    Thanks again!

  • Can I connect my Wii to my personal hotspot using my iPhone 5s?  Wii finds access point but getting code 51330 after putting in correct password.

    >

    I probably should have been more specific in my first post.  I have tried various corrective steps including the ones found at this link.  Below is the network event log entry from the failed attempt to connect.  As you can see, the connecting system can see the hotspot but can't get the hotspot to answer roll call.  It thinks it might be a signal strength issue but in fact it has a strong [all 5 bars] signal.
    ==========================================================================
    Diagnostics Information (Wireless Network Adapter)
    Details about wireless network adapter diagnosis:
    For complete information about this session see the wireless connectivity information event.
    Helper Class: Native WiFi MSM
    Initialize status: Success
    Information for connection being diagnosed
    Interface GUID: 2aaaf9c6-d20f-4ac7-b82e-3da56a3c56f7
    Interface name: D-Link DWA-556 Xtreme N PCIe Desktop Adapter
    Interface type: Native WiFi
    Profile: Discovery connection
    SSID: Howard's iPhone
    SSID length: 15
    Connection mode: Infra
    Security: Yes
    Connect even if network is not broadcasting: No
    Result of diagnosis: Problem found
    Root cause:
    Wireless association to "Howard's iPhone" failed
    A response was not received from the router or access point.
    Detailed root cause:
    Wireless association to this network failed. Windows did not receive any response from the wireless router or accesspoint.
    Repair option:
    Look for causes of low wireless signal quality
    The signal is weak due to distance or interference.
    Windows Help and Support can provide more information about this problem.

  • My sister used my apple ID for iTunes and now we are getting each others messages

    help

    I have a similar problem. My brother originally owned my Mac 13 computer. He has a I phone which he synced to this computer. Then when an update for his cellphone came up I let him upgrade with my apple password and he gets my messages and gmail.

  • Collect BPM - Start process and correlation in one Receiver

    I'm using collect pattern based on timeout. Somehow in my infinite loop, in the receive step, I cannot combine "start process" with creating correlation and using it. All in the same receiver. When I try to activate my BPM, in the processing log I get, "start process" trigger removed.
    Can someone throw any light on this....I've being trying this for over few hours now. I cannot get start process and correlation in one receiver. I must be doing something wrong.
    Even the copied BPMCollectPattern removes the start process from the receiver.
    thank you,
    Pam
    Additional info:
    The first message received starts the process within an infinite loop and activates the correlation "Correlation" by using IDoc message tyoe. Each subsequent message uses this correlation. The messages are received in the container element CollectMessage.In the loop the received messages are attached to the multiline container element CollectMessageList.

    Hi,
    We are also in SP12. So start process is not a problem, because you are getting an Information saying that "start trigger removed" right? It is not an error.
    Are you getting this eror "expression must not return multiline value" after your complete Integration Process desgin ? If So...
    I think you are getting this error in Transformation Step where you are doing N:1 mapping. In this step you are mentioning Interface mapping right? Once you mention Interface Mapping in Transformation step you need to give Source Message Structure as well as Target Message Structure. According to my understanding you are getting error here. You can check these errors, while design time itself. If your entries are showing with Red Border then it is understood that there is an error.
    So if error is here then I think you need to check your N:1 Mapping. In this mapping your Source side Messages should be 0...unbounded. Similarly in Interface Mapping also. Just check for Source Message Occurences...
    I think it will solve your problem.
    Thanks,
    Moorthy

  • Powershell start-process argumentlist

    I have an issue with powershell 4.0 where start-process converts my credentials from a type of System.Management.Automation.PSCredential to System.String.  Use the following lines to replicate this:
    $Credentials = Get-Credential
    get-member -InputObject $Credentials
    start-process C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe -ArgumentList "Get-Member -inputobject $Credentials | out-file C:\results.txt"
    If you look at the results of the 1st get-member command, the type is System.Management.Automation.PSCredential.  If you look at the results of the 2nd get-member command, the type is System.String.  Does anyone know if this is intended behavior? 
    Is there a way around it?

    I am using start-process to run a command which interfaces with VMware PowerCLI.  One of the cmdlets of powercli is Set-OSCustomizationSpec.  Set-OSCustomizationSpec has an argument that accepts PSCredentials, -DomainCredentials.  When the
    credentials are passed without start-process, the cmdlet succeeds.  If I call it with start process, the cmdlet fails with the error
    'Set-OSCustomizationSpec : Cannot bind parameter 'DomainCredentials'. Cannot convert the "System.Management.Automation.PSCredential" value of type "System.String" to type "System.Management.Automation.PSCredential"'
    The actual command i am using is: "start-process powershell -argumentlist "<Add VMwareSnapins>;Set-OSCustomizationSpec <SPEC> -NamingScheme <Scheme> -NamingPrefix <Name> -DomainCredentials <Credentials>; new-vm..."
    If you issue the command "get-member -inputobject $Credentials | out-file C:\results.txt" the type shows system.management.automation.pscredential.  If you issue the exact same command with start-process(start-process powershell.exe -argumentlist
    "get-member....) the type shows system.string. 
    The issue has nothing to do with piping to a text file.  The original post was simply a demonstration of the error.  I apologize for the initial lack of clarity. 

  • Error trap with Start-Process

    I am trying to use Start-Process to drive Regedit merging a REG file with this code.
    Start-Process regedit -Argumentlist:"/S $TempReg" -Wait -ErrorAction:Stop
    When the REG file is properly formatted this works a treat, but I can't seem to address the error condition. If I do a Try/Catch it seems to produce a successful Try. I tried doing it with a return code as well, and that didn't seem to see the error either.
    Am I doing something wrong in the code, or is Regedit a special case, and if so, can I catch errors from it at all?
    Thanks!
    Gordon

    Hmm, I assume you mean Regedit can't be used "with an error trap"? So, perhaps a different form of the question. First thing to note is that I have tried to address this with direct PowerShell access to the registry, and for some reason Autodesk
    products don't respond well to that approach. Everything looks right when I do it, but then the Autodesk product will push it's own settings over the top, and their settings are idiotic. However, when I push my settings via REG file the Autodesk products accept
    it and move on.
    So, does anyone have a suggestion for either
    A: Identifying exactly what the difference is between the .REG and Set-ItemProperty approaches, so the more elegant solution can be made to also work? Or
    B: Another approach to REG file merge that does allow for error trapping?
    My only other option I think is to implement it without error trapping, as the functionality is pretty important, and the most likely errors will show up in testing not production anyway.
    Thanks!
    Gordon

  • Error in Start Processes iview (MSS 1.0, ECC 6.0)

    Hi all,
    I have configured MSS 1.0 on our portal server.
    I am using Start Processes iview (HCM Forms & Processes). Initially the iview was working fine. However, it has stopped working now suddenly.
    The log file on portal shows the following error.
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Creating new Controllers while/after exiting a Component is not allowed.
         at com.sap.tc.webdynpro.progmodel.controller.Component.getCustomControllerInternal(Component.java:441)
         at com.sap.tc.webdynpro.progmodel.controller.Component.getController(Component.java:378)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.getPublicInterface(DelegatingComponent.java:181)
         at <b>com.sap.pcuigp.xssfpm.wd.wdp.InternalFPMComponent.wdGetBackendConnectionsController(InternalFPMComponent.java:209)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.cleanUp(FPMComponent.java:651)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.access$1000(FPMComponent.java:78)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPM.exitCalled(FPMComponent.java:963)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.wdDoExit(FPMComponent.java:208)
         at com.sap.pcuigp.xssfpm.wd.wdp.InternalFPMComponent.wdDoExit(InternalFPMComponent.java:119)</b>     at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doExit(DelegatingComponent.java:112)
         at com.sap.tc.webdynpro.progmodel.controller.Component.exitController(Component.java:256)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.exit(Controller.java:154)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.exit(ClientComponent.java:219)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.exit(ClientApplication.java:474)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.destroy(ClientApplication.java:527)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.destroy(ApplicationSession.java:390)
         at com.sap.tc.webdynpro.clientserver.session.ClientWindow.destroyApplicationSession(ClientWindow.java:235)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doDestroyApplication(ClientSession.java:1003)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doSessionManagementPostProcessing(ClientSession.java:789)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:264)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
         at com.sap.tc.webdynpro.clientserver.session.core.ApplicationHandle.doProcessing(ApplicationHandle.java:73)
         at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.sendDataAndProcessActionInternal(AbstractApplicationProxy.java:860)
         at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.create(AbstractApplicationProxy.java:220)
         at com.sap.portal.pb.PageBuilder.updateApplications(PageBuilder.java:1246)
         at com.sap.portal.pb.PageBuilder.createPage(PageBuilder.java:354)
         at com.sap.portal.pb.PageBuilder.init(PageBuilder.java:547)
         at com.sap.portal.pb.PageBuilder.wdDoInit(PageBuilder.java:191)
         at com.sap.portal.pb.wdp.InternalPageBuilder.wdDoInit(InternalPageBuilder.java:150)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:108)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:430)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:362)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:748)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:283)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:713)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:666)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    And, on the portal the i get 500 Internal Error.
    Please help.
    Will redeploying the application help?
    Or is it some permission/authorization problem.
    Regards,
    Preksha.

    Hi all,
    Finally, the problem is solved. It was to do with JCos.
    Regards,
    Preksha.

  • Invoke-WMIMethod failed to start process on remote server

    Hi Folks,
    I am trying to run an exe in remote server to automate some of my application startup process in disconnected mode(Using powershell 2.0). However Invoke-WmiMethod does not trigger the application but start-process triggers it fine. I am trying following
    command -
    $FullExecutable = "\\remoteserver\abc\project\environment\ServerApplications\ApplicationDirectory\App.exe"
    $Arguments = "stanza=ApplicationVariable"
    PS Microsoft.PowerShell.Core\FileSystem::\\remoteserver\abc\project\environment\ServerApplications\ApplicationDirectory> Invoke-WmiMethod -class Win32_process -name Create -ArgumentList "$FullExecutable $Arguments"
    I tried these options but no luck -
    http://social.technet.microsoft.com/wiki/contents/articles/7703.powershell-running-executables.aspx
    Please help me fixing this issue. Thanks for any advice.
    Charlie

    Hi Charlie,
    Since I have no test app.exe file, I tested with notepad.exe and ran these scripts to open local file D:\1.txt, would you please list the test results with app.exe:
    $a="Notepad.exe"
    $b="D:\1.txt"
    Invoke-WMIMethod -Class Win32_Process -Name Create -ArgumentList "$a $b"
    ([wmiclass]"win32_Process").create("$a $b")
    Start-Process $a -ArgumentList $b -wait -NoNewWindow -PassThru
    If you have any other questions, please feel free to let me know.
    Best Regards,
    Anna Wang

  • Invoke-command -computername RemoteServer {start-process c:\install\.bat}

    I am running an invoke command from a PC to run a .bat file on a remote server. However i would like to see the output of the .bat file run in my powershell window on my local PC. Any tips on this?
    I have this at the moment
    invoke-command -computername Server {start-process c:\install\.bat}
    however this just completes without showing  me anything. Can i see the output of the .bat file on my local PC?
    Thanks in advance

    invoke-command -computername Server01 -filepath c:\Scripts\scriptname.ps1
    The script has to be on the local machine or has access to it.
    If this is helpful please mark it so. Also if this solved your problem mark as answer.

  • Unable to open PDF files with Adobe Reader v11.0, in Windows 8, using C# Process.Start()

    I have been able to open PDF docs using C# API Process.Start("Full_path_To_the_PDF_File")
     in windows 7 or windows 8 with all previous versions of Acrobat32 reader.
    However, with v11.0, the same command, in Windows 8,
     does not open the PDF document. I can see the Acrobat(32) started in the task manager,
    but the document does open. Not sure how I can troble shoot
    this problem.
    As a test, I created ta batch file, with a simple command that calls AcroRD32.exe with a PDF file as a parameter. When I executed the batch file in cmd window, it opens the PDF document. If I execute the batch file using Process.Start(), again it does not
    work. The CMD window opens but, the document does not open. The cmd window just stays open.
    So, there must be something with opening the PDF using the Process.start() command.
    Any help would be appreciated.
    Thank you,
    - Kam
    Intel Engineer

    This is something Adobe has to troubleshoot. Probably the pdf file association is broken. I suggest you to visit forums.adobe.com to ask Adobe about your problem.
    Visual C++ MVP

  • Using CREATE PROCESS and START PROCESS in a JSP

    Hi,
    I have built a simple JSP page. I want to call my workflow program from this page.
    How should I use the CREATE PROCESS() AND START PROCESS() inside the JSP page?
    Also I want to get the value entered in the text field (which will be a hidden field) to be passed to the ITEM_ATTRIBUTE, which I have defined in my program. How can this be achieved?
    Please give me the syntax for this.
    Please find below the JSP page
    =========================================================
    <%@page import= "java.util.Date" %>
    <script language="javascript" src="ibeCButton.js"> </script>
    <html>
    <head>
    <title>First Page</title>
    </head>
    <body>
    <H3>Today is:
    <%= new java.util.Date() %>
    <INPUT TYPE="text" NAME="CART_ID">
    <INPUT TYPE="submit" onclick = >
    </H3>
    </body>
    </html>
    ==========================================================
    To use LAUNCHPROCESS in JSP, the following is the syntax.
    public static boolean launchProcess
    (WFContext wCtx,
    String itemType,
    String itemKey,
    String process,
    String userKey,
    String owner)
    Should WFContext have the connection information of the DB.
    If I pass only the WFContext and itemType attributes are they enough? Please let me know.
    Thanks

    There are two options.
    1. Good one.
    Include wf*.jar files in your system CLASSPATH. Use oracle.apps.fnd.wf.engine.WFEngineAPI class to access engine APIs. You would need to pass WFContext for which you need WFDB.
    You basically created WFDB with username, password and connect string. Pass it to WFContext and use it for all Workflow Engine APIs.
    2. OK one.
    You can get JDBC connection using the default mechanism that your custom Java and JSP code could be using. Call the PLSQL procedures WF_ENGINE.CreateProcess and WF_ENGINE.LaunchProcess over JDBC.
    Anyways option 1 makes life easier.

Maybe you are looking for

  • How to force checked out CSV Files to open in Excel and not in Notepad

    Hi, I'm looking for some pointers / direction. .CSV files on SharePoint 2010 document library opens up in notepad by default. I did the DocIcon.xml CSV entry, changed the MIME type in IIS and did the IIS reset. Also on client computer CSV file is ass

  • IOP 11.1.2.0 integration with Shared Services (User Provisioning)

    In the IOP 11.1.2.0 install guide, the Admin and Admin provisioning roles are provisioned through Shared Services. "Provision Integrated Operational Planning Administrator and Integrated Operational Planning Provisioning Manager roles for the Integra

  • Progressbook won't open on iPad

    Progressbook is a program for teachers. I used to use it in the classroom.  Now suddenly, I can't open the program.  The previous link takes me to a Microsoft site link about web hosting? Help! I'm not sure which version iPad this is but it accesses

  • Cannot access Bitvise server on port 22 from 871W

    I am pretty new to Cisco gear and a newbie at ACLs but here goes... here is the ouput from  #sh ip access-lists Standard IP access list 1     10 permit 192.168.1.0, wildcard bits 0.0.0.255 (1993 matches) Extended IP access list FILTERNET     10 permi

  • Firefox is open but will not appear on monitor

    I tried to drag to second monitor...now it has disappeared and I cannot locate. It is open. I have tried uninstall re install...still seems to be lost somewhere that is not visible. Could I please get some suggestions. Thank you