Ifolder client as a windows service

client request, is it possible to run the ifolder client as a windows
service so we can sync a windows "file server" pc to ifolder without logging
in after a reboot?
I guess this would be similar to running DropBox as a service
http://superuser.com/questions/41992...x-as-a-service
anybody tried this? or have any experience?
many thanks
Simon

I have used many app as a service so the app doesn't interact with a desktop by using srvany which is included in the Windows Server 2003 Resource Kit Tools.
Although i have more recently moved to nssm almost a direct drop in replacement because it has better error handling of crashed apps that it is running as a a service.
Check it out here
https://iain.cx/src/nssm/
Originally Posted by Simon Shilton
client request, is it possible to run the ifolder client as a windows
service so we can sync a windows "file server" pc to ifolder without logging
in after a reboot?
I guess this would be similar to running DropBox as a service
windows home server - How to configure Dropbox as a service - Super User
anybody tried this? or have any experience?
many thanks
Simon

Similar Messages

  • Problem in executing client application as windows service

    Hi
    I have a client program that sends client ip address to server.
    My Requirement is to run this client program as windows service.
    For this, i have created a jar and after that i have created a .exe file.
    now using sc command in DOS i was created a service named as ClientService
    But when i am trying to start this service like other services, it is giving error saying that "The Service did not respond to the start in a timely fashion"
    Please help me in this issue

    1.Can i lock my mobile phone from J2Me Application.In J2ME you can not.
    2.How can i register J2ME application as service,means
    it started when mobile start and continously Run on my
    mobile. can these problem have a solution ,if yes then
    how..I haven't seen any device that lets you run a J2ME app at start up as a service like windowsNT. May be you can do the above two things if you dig more in to Symbian OS programming.
    Good luck
    Manas

  • Ifolder 3.8 client fails on windows 7 after updates

    I installed ifolder 3.8 client on a new windows 7 home 64-bit pc and it worked fine until I ran windows up date.
    Now I get a "Novell ifolder core has stopped working" message when ifolder tries to start.
    I get the following information in the problem details.
    At this point, ifolderapp.exe is running, but simias.exe is not.
    It looks like simias is crashing when it starts.
    I have removed and reinstalled the ifolder client at least three times, and the same result occurs.
    This looks very similar to the problem reported earlier with XP SP3
    Description:
    Stopped working
    Problem signature:
    Problem Event Name: CLR20r3
    Problem Signature 01: simias.exe
    Problem Signature 02: 3.8.0.0
    Problem Signature 03: 4ac4287b
    Problem Signature 04: System.Web.Services
    Problem Signature 05: 2.0.0.0
    Problem Signature 06: 4a275f0d
    Problem Signature 07: 276
    Problem Signature 08: 42
    Problem Signature 09: System.InvalidOperationException
    OS Version: 6.1.7600.2.0.0.768.3
    Locale ID: 1033
    -jt

    On Mon, 20 Dec 2010 16:28:31 GMT
    malcolmlewis <[email protected]> wrote:
    > On Mon, 20 Dec 2010 06:36:01 GMT
    > giner <[email protected]> wrote:
    >
    > >
    > > Definitely since last windows updates (Dec 14) iFolder client
    > > doesn't work anylonger on all machines in our company. This is
    > > rather annoying if you want to keep a lot of files in sync.
    > > It doesn't seem that anyone cares about this issue. Always the same
    > > problem with open source - at some point the support is fading
    > > away...
    > >
    > >
    > Hi
    > Is is possible for you to provide a list of the Windows updates that
    > were applied on the 14th?
    >
    Hi
    Also can you provide the client version and have any error messages or
    screenshots would help.
    There was an iFolder update in late November, if this isn't installed,
    have you tried that?
    Cheers Malcolm (Linux Counter #276890)
    SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.32.24-0.2-default
    up 7 days 22:03, 2 users, load average: 0.01, 0.04, 0.02
    GPU GeForce 8600 GTS Silent - Driver Version: 260.19.29

  • How to create a client console to connect to server in windows service using c#

    my code is error
    can you check the code please
    client console code
    partial class Program : ServiceBase
            public static void Main(string[] args)
                serverservice ss = new serverservice();
                ss.myserver();
                    TcpClient tcpc = new TcpClient();
                    Console.WriteLine("connecting.......");
                    tcpc.Connect("10.128.1.116", 80);
                    Console.WriteLine("connected........");
                    Console.Write("enter msg to be transimitt");
                    string str = Console.ReadLine();
                    Stream stm = tcpc.GetStream();
                    ASCIIEncoding asc = new ASCIIEncoding();
                    byte[] ba = asc.GetBytes(str);
                    Console.WriteLine("transmitting..........");
                    stm.Write(ba, 0, ba.Length);
                    byte[] bb = new byte[100];
                    int k = stm.Read(bb, 0, 100);
                    for (int i = 0; i < k; i++)
                        Console.Write(Convert.ToChar(bb[i]));
                    tcpc.Close();
                windows service for server code is
      public partial class serverservice : ServiceBase
            public serverservice()
                InitializeComponent();
            protected override void OnStart(string[] args)
                myserver();
               Thread mythread = new Thread(new ThreadStart(myserver));
                 mythread.Start();
            public void myserver()
                char d;
                IPAddress ipad1 = IPAddress.Parse("10.128.1.116");
                TcpListener tcpc = new TcpListener(ipad1, 80);
                tcpc.Start();
               // System.Diagnostics.Process.Start(@"C:\Users\PC\Documents\Visual Studio 2010\Projects\WindowsFormsApplication1\webs\webs\clientconsole\clientconsole\bin\Debug\clientconsole.exe");
                Console.WriteLine("server is running at port 80");
                Console.WriteLine("local end point is" + tcpc.LocalEndpoint);
                Console.WriteLine("waiting for connection");
              // var client=new TestExecutionEngine
                Socket s = tcpc.AcceptSocket();
                Console.WriteLine("connection is accepted from" + s.RemoteEndPoint);
                byte[] b = new byte[100];
                int k = s.Receive(b);
                Console.WriteLine("received");
                for (int i = 0; i < k; i++)
                    d = Convert.ToChar(b[i]);
              Console.WriteLine(char.ToUpper(d));
                ASCIIEncoding asc = new ASCIIEncoding();
                s.Send(asc.GetBytes("msg is recveived"));
                Console.WriteLine("\n send aknwldge");
                s.Close();
                tcpc.Stop();
               protected override void OnStop()
                EventLog.WriteEntry("stopped");

    kavya --
    You have erroneously posted this question in a user forum dedicated to questions about Project Online, an enterprise project management application.  I would recommend you repost your question in a user forum that deals with C sharp programming questions. 
    Hope this helps.
    Dale A. Howard [MVP]

  • One iFolder client won't properly sync

    We have an OES 2 SP2 with iFolder 3.8 installed.
    We have about a dozen users, so far no one else has this issue. I was at a client and got a new laptop to use onsite, installed iFolder 3.8 client from the server (Same as on my other laptop, files are all dated Oct1, 2009)
    But after correctly connecting, downloading the iFolder for the client, now, on a reboot or a restart of the iFolder client I see just the currently downloaded one, not the available iFolders (Yes, the View Available is ticked) and get told incomplete sync, and server unavailable.
    Disconnect/connect does not error. I tried using a VPN tunnel via another client to see if it was their network, but seems not to be related.
    And it worked for a while, then stopped, so I doubt it is the local firewall. (Windows FW is off, Symantec is installed, but I do not have rights to see its settings).
    However, I can get to the http://server/iFolder and /admin interfaces via a web browser, and via HTTPS. So I am doubtful of firewall issues.
    I set logging on the client to DEBUG and see this in the simias.log
    2010-03-03 10:45:49,312 [Simias Manager Start] INFO Simias.Storage.ChangeLog - Change Log Service started.
    2010-03-03 10:45:49,328 [Simias Manager Start] INFO Simias.Service.Manager - "Simias Change Log Service" service started.
    2010-03-03 10:45:49,328 [Simias Manager Start] INFO Simias.Service.Manager - "Simias Local Domain Provider" service started.
    2010-03-03 10:45:49,328 [Simias Manager Start] INFO Simias.Service.Manager - "Simias Enterprise Domain Provider" service started.
    2010-03-03 10:45:49,328 [Simias Manager Start] INFO Simias.Service.Manager - "Simias Domain Watcher" service started.
    2010-03-03 10:45:49,546 [Simias Manager Start] INFO Simias.Event.IProcEventServer - Configuration written to file. Service is up and running.
    2010-03-03 10:45:49,546 [Simias Manager Start] INFO Simias.Service.Manager - "Simias Interprocess Event Service" service started.
    2010-03-03 10:45:49,546 [Simias Manager Start] INFO Simias.Service.Manager - "Simias Notification Service" service started.
    2010-03-03 10:45:49,546 [Simias Manager Start] INFO Simias.Service.Manager - "Simias Discovery Service" service started.
    2010-03-03 10:45:49,625 [Simias Manager Start] INFO Simias.Service.Manager - "Simias Sync Client" service started.
    2010-03-03 10:45:49,640 [Simias Manager Start] INFO Simias.Service.Manager - Services started.
    2010-03-03 10:45:59,625 [Client Sync] INFO Simias.Sync.CollectionSyncClient - Syncing regular ifolder
    2010-03-03 10:45:59,718 [Client Sync] INFO Simias.Sync.SyncClient - Server for iFolder is unavailable. iFolder--Object reference not set to an instance of an object.
    2010-03-03 10:45:59,734 [Client Sync] INFO Simias.Sync.CollectionSyncClient - Syncing regular ifolder
    2010-03-03 10:45:59,734 [Client Sync] INFO Simias.Sync.SyncClient - Local : Finished Sync.
    2010-03-03 10:45:59,734 [Client Sync] INFO Simias.Sync.CollectionSyncClient - Syncing regular ifolder
    2010-03-03 10:46:00,062 [Client Sync] INFO Simias.Sync.SyncClient - Server for ACME is unavailable. ACME--Object reference not set to an instance of an object.
    2010-03-03 10:46:00,062 [Client Sync] INFO Simias.Sync.CollectionSyncClient - Syncing regular ifolder
    2010-03-03 10:46:00,062 [Client Sync] INFO Simias.Sync.SyncClient - LocalDatabase : Finished Sync.
    2010-03-03 10:46:05,562 [Client Sync] INFO Simias.Sync.CollectionSyncClient - Syncing regular ifolder
    2010-03-03 10:46:05,937 [Client Sync] INFO Simias.Sync.CollectionSyncClient - Downloading 1 Nodes from server
    2010-03-03 10:46:06,390 [Client Sync] INFO Simias.Sync.CollectionSyncClient - Importing Member geoffc from server
    2010-03-03 10:46:06,531 [Client Sync] INFO Simias.Sync.SyncClient - iFolder : Finished Sync.
    2010-03-03 10:46:06,531 [Client Sync] INFO Simias.Sync.CollectionSyncClient - Syncing regular ifolder
    2010-03-03 10:46:06,625 [Client Sync] INFO Simias.Sync.SyncClient - Server for ACME is unavailable. ACME--The underlying connection was closed: An unexpected error occurred on a send.
    2010-03-03 10:46:22,156 [Client Sync] INFO Simias.Sync.CollectionSyncClient - Syncing regular ifolder
    2010-03-03 10:46:22,187 [Client Sync] INFO Simias.Sync.SyncClient - Server for ACME is unavailable. ACME--The underlying connection was closed: An unexpected error occurred on a send.
    Any ideas? I tried the .NET 3.5 and 3.5SP1 plus post patches, and it worked once, and then stopped again.
    Very odd.

    Originally Posted by geoffc
    We have an OES 2 SP2 with iFolder 3.8 installed.
    We have about a dozen users, so far no one else has this issue. I was at a client and got a new laptop to use onsite, installed iFolder 3.8 client from the server (Same as on my other laptop, files are all dated Oct1, 2009)
    But after correctly connecting, downloading the iFolder for the client, now, on a reboot or a restart of the iFolder client I see just the currently downloaded one, not the available iFolders (Yes, the View Available is ticked) and get told incomplete sync, and server unavailable.
    Disconnect/connect does not error. I tried using a VPN tunnel via another client to see if it was their network, but seems not to be related.
    And it worked for a while, then stopped, so I doubt it is the local firewall. (Windows FW is off, Symantec is installed, but I do not have rights to see its settings).
    However, I can get to the http://server/iFolder and /admin interfaces via a web browser, and via HTTPS. So I am doubtful of firewall issues.
    I set logging on the client to DEBUG and see this in the simias.log
    2010-03-03 10:45:49,312 [Simias Manager Start] INFO Simias.Storage.ChangeLog - Change Log Service started.
    2010-03-03 10:45:49,328 [Simias Manager Start] INFO Simias.Service.Manager - "Simias Change Log Service" service started.
    2010-03-03 10:45:49,328 [Simias Manager Start] INFO Simias.Service.Manager - "Simias Local Domain Provider" service started.
    2010-03-03 10:45:49,328 [Simias Manager Start] INFO Simias.Service.Manager - "Simias Enterprise Domain Provider" service started.
    2010-03-03 10:45:49,328 [Simias Manager Start] INFO Simias.Service.Manager - "Simias Domain Watcher" service started.
    2010-03-03 10:45:49,546 [Simias Manager Start] INFO Simias.Event.IProcEventServer - Configuration written to file. Service is up and running.
    2010-03-03 10:45:49,546 [Simias Manager Start] INFO Simias.Service.Manager - "Simias Interprocess Event Service" service started.
    2010-03-03 10:45:49,546 [Simias Manager Start] INFO Simias.Service.Manager - "Simias Notification Service" service started.
    2010-03-03 10:45:49,546 [Simias Manager Start] INFO Simias.Service.Manager - "Simias Discovery Service" service started.
    2010-03-03 10:45:49,625 [Simias Manager Start] INFO Simias.Service.Manager - "Simias Sync Client" service started.
    2010-03-03 10:45:49,640 [Simias Manager Start] INFO Simias.Service.Manager - Services started.
    2010-03-03 10:45:59,625 [Client Sync] INFO Simias.Sync.CollectionSyncClient - Syncing regular ifolder
    2010-03-03 10:45:59,718 [Client Sync] INFO Simias.Sync.SyncClient - Server for iFolder is unavailable. iFolder--Object reference not set to an instance of an object.
    2010-03-03 10:45:59,734 [Client Sync] INFO Simias.Sync.CollectionSyncClient - Syncing regular ifolder
    2010-03-03 10:45:59,734 [Client Sync] INFO Simias.Sync.SyncClient - Local : Finished Sync.
    2010-03-03 10:45:59,734 [Client Sync] INFO Simias.Sync.CollectionSyncClient - Syncing regular ifolder
    2010-03-03 10:46:00,062 [Client Sync] INFO Simias.Sync.SyncClient - Server for ACME is unavailable. ACME--Object reference not set to an instance of an object.
    2010-03-03 10:46:00,062 [Client Sync] INFO Simias.Sync.CollectionSyncClient - Syncing regular ifolder
    2010-03-03 10:46:00,062 [Client Sync] INFO Simias.Sync.SyncClient - LocalDatabase : Finished Sync.
    2010-03-03 10:46:05,562 [Client Sync] INFO Simias.Sync.CollectionSyncClient - Syncing regular ifolder
    2010-03-03 10:46:05,937 [Client Sync] INFO Simias.Sync.CollectionSyncClient - Downloading 1 Nodes from server
    2010-03-03 10:46:06,390 [Client Sync] INFO Simias.Sync.CollectionSyncClient - Importing Member geoffc from server
    2010-03-03 10:46:06,531 [Client Sync] INFO Simias.Sync.SyncClient - iFolder : Finished Sync.
    2010-03-03 10:46:06,531 [Client Sync] INFO Simias.Sync.CollectionSyncClient - Syncing regular ifolder
    2010-03-03 10:46:06,625 [Client Sync] INFO Simias.Sync.SyncClient - Server for ACME is unavailable. ACME--The underlying connection was closed: An unexpected error occurred on a send.
    2010-03-03 10:46:22,156 [Client Sync] INFO Simias.Sync.CollectionSyncClient - Syncing regular ifolder
    2010-03-03 10:46:22,187 [Client Sync] INFO Simias.Sync.SyncClient - Server for ACME is unavailable. ACME--The underlying connection was closed: An unexpected error occurred on a send.
    Any ideas? I tried the .NET 3.5 and 3.5SP1 plus post patches, and it worked once, and then stopped again.
    Very odd.
    I have similar stuff on MAC OS X 10.6.2 - as for windows environments, the .net 3.5 install fixed everything. Here is the /var/log/syslog.log output:
    Mar 22 13:19:38 joffrey iFolder 3[2811]: iFolder encountered an exception while clearing the https proxy
    Mar 22 13:19:38 joffrey iFolder 3[2811]: Exception in setupSmiasProxies: SOAP Error 29 SOAP error in SimiasService.SetProxyAddress
    Mar 22 13:19:38 joffrey iFolder 3[2811]: iFolder encountered an exception while clearing the http proxy
    Mar 22 13:19:38 joffrey iFolder 3[2811]: Exception in setupSmiasProxies: SOAP Error 29 SOAP error in SimiasService.SetProxyAddress
    Mar 22 13:19:38 joffrey iFolder 3[2811]: 198.168.224.220 is the substring
    Mar 22 13:19:39 joffrey iFolder 3[2811]: Exception in ConnectToDomain: SOAP Error 29 SOAP error in SimiasService.ConnectToDomain
    Mar 22 13:19:39 joffrey iFolder 3[2811]: Exception refreshing iFolderData
    Mar 22 13:19:39 joffrey iFolder 3[2811]: Exception in iFolderData:refres: SOAP Error 29 SOAP error in SimiasService.GetDomains
    Mar 22 13:19:49 joffrey iFolder 3[2811]: Exception refreshing iFolderData
    Mar 22 13:19:49 joffrey iFolder 3[2811]: Exception in iFolderData:refres: SOAP Error 29 SOAP error in SimiasService.GetDomains
    I can't find any help for this. That's the main problem with openSource...

  • How to launch an application with elevated administrator account privilege from windows service even if the account has not yet logon

    Here is the case:
    OS environment: Windows 7
    There are two user accounts in my system, standard user "S" and administrator account "A", and there is a windows service running with "Local System" privilege.
    Now i logged-in with account "S", and i want to launch an application with elevated administrator account "A" from that service program, so here is the code snippet:
    int LaunchAppWithElevatedPrivilege (
    LPTSTR lpszUsername, // client to log on
    LPTSTR lpszDomain, // domain of client's account
    LPTSTR lpszPassword, // client's password
    LPTSTR lpCommandLine // command line to execute e.g. L"C:\\windows\\regedit.exe"
    DWORD dwExitCode = 0;
    HANDLE hToken = NULL;
    HANDLE hFullToken = NULL;
    HANDLE hPrimaryFullToken = NULL;
    HANDLE lsa = NULL;
    BOOL bResult = FALSE;
    LUID luid;
    MSV1_0_INTERACTIVE_PROFILE* profile = NULL;
    DWORD err;
    PTOKEN_GROUPS LocalGroups = NULL;
    DWORD dwLength = 0;
    DWORD dwSessionId = 0;
    LPVOID pEnv = NULL;
    DWORD dwCreationFlags = 0;
    PROCESS_INFORMATION pi = {0};
    STARTUPINFO si = {0};
    __try
    if (!LogonUser( lpszUsername,
    lpszDomain,
    lpszPassword,
    LOGON32_LOGON_INTERACTIVE,
    LOGON32_PROVIDER_DEFAULT,
    &hToken))
    LOG_FAILED(L"GetTokenInformation failed!");
    __leave;
    if( !GetTokenInformation(hToken, (TOKEN_INFORMATION_CLASS)19, (VOID*)&hFullToken,
    sizeof(HANDLE), &dwLength))
    LOG_FAILED(L"GetTokenInformation failed!");
    __leave;
    if(!DuplicateTokenEx(hFullToken, MAXIMUM_ALLOWED, NULL,
    SecurityIdentification, TokenPrimary, &hPrimaryFullToken))
    LOG_FAILED(L"DuplicateTokenEx failed!");
    __leave;
    DWORD dwSessionId = 0;
    WTS_SESSION_INFO* sessionInfo = NULL;
    DWORD ndSessionInfoCount;
    bResult = WTSEnumerateSessions(WTS_CURRENT_SERVER_HANDLE, 0, 1, &sessionInfo, &ndSessionInfoCount);
    if (!bResult)
    dwSessionId = WTSGetActiveConsoleSessionId();
    else
    for(unsigned int i=0; i<ndSessionInfoCount; i++)
    if( sessionInfo[i].State == WTSActive )
    dwSessionId = sessionInfo[i].SessionId;
    if(0 == dwSessionId)
    LOG_FAILED(L"Get active session id failed!");
    __leave;
    if(!SetTokenInformation(hPrimaryFullToken, TokenSessionId, &dwSessionId, sizeof(DWORD)))
    LOG_FAILED(L"SetTokenInformation failed!");
    __leave;
    if(CreateEnvironmentBlock(&pEnv, hPrimaryFullToken, FALSE))
    dwCreationFlags |= CREATE_UNICODE_ENVIRONMENT;
    else
    pEnv=NULL;
    if (! ImpersonateLoggedOnUser(hPrimaryFullToken) )
    LOG_FAILED(L"ImpersonateLoggedOnUser failed!");
    __leave;
    si.cb= sizeof(STARTUPINFO);
    si.lpDesktop = L"winsta0\\default";
    bResult = CreateProcessAsUser(
    hPrimaryFullToken, // client's access token
    NULL, // file to execute
    lpCommandLine, // command line
    NULL, // pointer to process SECURITY_ATTRIBUTES
    NULL, // pointer to thread SECURITY_ATTRIBUTES
    FALSE, // handles are not inheritable
    dwCreationFlags, // creation flags
    pEnv, // pointer to new environment block
    NULL, // name of current directory
    &si, // pointer to STARTUPINFO structure
    &pi // receives information about new process
    RevertToSelf();
    if (bResult && pi.hProcess != INVALID_HANDLE_VALUE)
    WaitForSingleObject(pi.hProcess, INFINITE);
    GetExitCodeProcess(pi.hProcess, &dwExitCode);
    else
    LOG_FAILED(L"CreateProcessAsUser failed!");
    __finally
    if (pi.hProcess != INVALID_HANDLE_VALUE)
    CloseHandle(pi.hProcess);
    if (pi.hThread != INVALID_HANDLE_VALUE)
    CloseHandle(pi.hThread);
    if(LocalGroups)
    LocalFree(LocalGroups);
    if(pEnv)
    DestroyEnvironmentBlock(pEnv);
    if(hToken)
    CloseHandle(hToken);
    if(hFullToken)
    CloseHandle(hFullToken);
    if(hPrimaryFullToken)
    CloseHandle(hPrimaryFullToken);
    return dwExitCode;
    I passed in username and password of account "A" to method "LaunchAppWithElevatedPrivilege", and also the application i want to launch, e.g. "C:\windows\regedit.exe", but when i run the service program, i found it do launch
    "regedit.exe" with elevated account "A", but the content of regedit.exe is pure back. screenshot as below:
    Can anyone help me on this?

    You code is not dealing with the DACL access to Winsta0\Default.  Only the LocalSystem account will have full access and the interactively logged on user which is why regedit is not displaying properly.  You'll need to grant access to your user. 
    You also need to deal with UAC since that code is going to give you a non-elevated token via LogonUser().  You need to get the full token via a call to GetTokenInformation() + TokenLinkedToken.
    thanks
    Frank K [MSFT]
    Follow us on Twitter, www.twitter.com/WindowsSDK.

  • Application runs but not as a Windows service oracore

    I have a weird problem and I was hoping somebody might be able to help me. I have an application that we developed that uses an Oracle database. The application can be run in user mode(double clicking on the file) or as a Windows service. We have always used the Oracle Database client to connect to the Database in user mode and it has worked. Using the same configuration we were able to run our application as a service and it has always worked. The problem now is that if we use a newer Oracle Client (>= 10.2) it will not work as a service. When I say it doesn't work I mean that the application never starts and the Windows Event Viewer log states an APPCRASH in oracore10.dll or oracore11.dll.
    It doesn't seem to matter which database we use, 10G, 11G, because if we use the 10.1 version of the Oracle Database Client to connect to these databases it works. However if we use any client>=10.2 the application crashes.
    Any suggestions?
    Edited by: 945875 on Jul 11, 2012 1:45 PM

    So I stopped any Oracle windows services that were running, deleted the only oracle directory on the machine, and reinstalled 11.2 client. The same results occur, I can connect to and start my application in user mode but not as a service. I checked the version# of OCI.dll, 1 instance of it on the machine, and it does state that it is version 11.2.0.1. The setup I have is:
    Machine 1: Server 2008 R2
    Oracle 11g database
    Oracle 11g client
    my application
    Machine 2: Windows 7 64-bit
    Oracle 11g client
    my application
    I get the exact same results if I try to run my application on the same machine as the database (machine 1) or across the network (machine 2).
    I've setup the connection using Oracle Client's Net Configuration Assistant, added the Local Net Service Name Configuration, and am using TCP. At the end of the Local Net Service Name Configuration I get "Success" when talking to the database.
    Thank you for any help you might be able to provide.

  • Excel Automation with Interop - Windows Service - Microsoft Excel cannot access the file

    I have a windows console application, which automates Excel. In our scenario the application gets called from a Windows Service. If the console app is executed directly everything works fine. If the console app is executed through the Win Service, we get
    the following error when trying to open the excel file:
    Unhandled exception Occured : 'Microsoft Excel cannot access the file 'bla.xls'. There are several possible reasons:
    The file name or path does not exist.
    The file is being used by another program.
    The workbook you are trying to save has the same name as a currently open workbook.'.'
    The code snippet used to open the file:
    xlApp = new Application();xlApp.Visible = false;xlApp.UserControl = false;xlApp.Application.ScreenUpdating = false;xlApp.DisplayAlerts = false;xlWorkbook = xlApp.Workbooks.Open( Filename: filePath,  UpdateLinks: 2,  IgnoreReadOnlyRecommended: true, Editable: false);
    The console app and windows service are running on a Win Server 2008 64-bit OS with Excel 2013 32-bit installed. The service is running with a special user account, which has all the right permissions on accessed files and folders. The excel process is also
    started with the same account (I cheched that one). 
    I already tried to do the following, but to no avail:
    Run excel.exe /automation -> worked fine
    Created the folders and also gave full control to the account under which the service is run (even gave full control to Everyone)
    C:\Windows\SysWOW64\config\systemprofile\Desktop
    C:\Windows\System32\config\systemprofile\Desktop
    Configured DCOM
    Excel Application -> Identity -> Specific user account
    Excel Application -> Identity -> Interactive User
    Excel Application -> Security -> Launch permissions -> Everyone full control
    Several combinations of the above
    So I really am stuck with this problem right now. Any input on this is appreciated.

    I have a windows console application, which automates Excel. In our scenario the application gets called from a Windows Service. If the console app is executed directly everything works fine. If the console app is executed through the Win Service, we get
    the following error when trying to open the excel file
    Microsoft does not currently recommend, and does not support, Automation of Microsoft Office applications from any unattended, non-interactive client application or component (including ASP, ASP.NET, DCOM, and NT Services), because Office
    may exhibit unstable behavior and/or deadlock when Office is run in this environment.
    If you are building a solution that runs in a server-side context, you should try to use components that have been made safe for unattended execution. Or, you should try to find alternatives that allow at least part of the code to run client-side.
    If you use an Office application from a server-side solution, the application will lack many of the necessary capabilities to run successfully. Additionally, you will be taking risks with the stability of your overall solution.
    You can read more about that in the
    Considerations for server-side Automation of Office article.

  • Requirement is to run CMD.EXE under the Local System Account. So that we can map a network drive to be used by a windows service, which will be created by command: - net use z: \\servername\sharedfolder /persistent:yes

    Environment:
    OS:  Windows 7 32/64 bit, Windows 2008 Server 64
    bit/ Windows 2012 Server 64 bit
    Priority:
    - Critical
    Requirement: - Since
    the Windows Service is running under the Local System Account, we would like to emulate this same behaviour.
    Basically, we would like to run CMD.EXE under the Local System Account. So that we can map a network drive to be used by a service using following
    command
    net use z: \\servername\sharedfolder /persistent:yes.
    Already Attempt:
    We tried to launch the CMD.exe using the DOS Task Scheduler AT command.  Here’s a sample command:
    AT 10:36 /interactive cmd.exe
    But I received a warning that “due
    to security enhancements, this task will run at the time excepted but not interactively.”
    It turns out that this approach will work for XP, 2000 and Server 2003 but due to session isolation
    Interactive services no longer work on Windows 7, Windows Server 2008 and above.
      2.  We
    tried to create a secondary Windows Service via the Service Control (sc.exe) which merely launches CMD.exe.
    <Drive>:\sc create RunCMDAsLSA binpath= "cmd" type=own type=interact <Drive>:\sc
    start RunCMDAsLSA
    In this case the service fails to start and results it the following error message:
    FAILED 1053: The service did not respond to the start or control request in a timely fashion.
      3. One
    suggestion, we found to launch CMD.exe via a Scheduled Task, but
    it is not giving any option to launch CMD.exe in interactive mode; so that I can map network drive using net command.
      4. I read an article, which
    demonstrates the use of PSTools from SysInternals. I launched the command line and executed following command
    psexec -i -s cmd.exe
    PSTools worked fine, but It seems that in scope of Sysinternals Software License
    Terms. You may not "use the software for commercial software hosting services."
    Application will deploy on client, which will be like commercial,
    so we are not able to use PSTools.         
    Kindly assist us for achieving the requirement. We have tried all the ways, but nothing is working for us. Kindly suggest.
    I will be really thankful.

    Hi Sir,
    Nothing worked from above for us. You can see our remarks on posted query.
    That’s why, we posted on forum.
    And there will not be any vulnerability, because, if we will use "net
    use ..."
    in network domain; definitely,
    we will provide username and password of mapped drive system.
    And, that system, itself is given by client; so that, there must not be any vulnerability; they are ready to provide user name and password.
    We need a way; by which we can complete the requirement. Kindly assist.
    Regards,
    S. P. Singh

  • Ifolder client encounted an error while connecting to server

    Windows 7 64 bit client give me an error when i try to connect to my i folder system. An error was encountered while connecting to ifolder server. please verify the information entered and try again if the problem persists, please contact your network administrator.
    The server is a suse server that I have setup with LDAP authencation
    This server works on the web interface and on my linux client but as soon as i try to connect a windows client to it i am unable to connect.
    I have tried this with fresh install of ifolder 3.7 server & ifolder 3.8 server
    I have tried this with ifolder client 3.8.0 & 3.8.0.3
    I have tried both the fqdn and the ip to connect to the server
    I have tried both ssl and nonssl in my settings.
    I have tried running as administrator
    I have tried reinstalling the client several times
    I have rebooted the server.
    I enabled debug mode on the server interface and i see no connection errors in there.
    The questions i have is where is the log file for the windows client?
    Is there an easy fix for this issue?
    Why does my web interface and linux client work and not my windows 7 one?
    Is there any other information you will need to help me fix this issue?
    Thanks,
    Rhardy

    On Wed, 15 Dec 2010 17:36:02 GMT
    skinnyquiver <[email protected]> wrote:
    >
    > Windows 7 64 bit client give me an error when i try to connect to my i
    > folder system. An error was encountered while connecting to ifolder
    > server. please verify the information entered and try again if the
    > problem persists, please contact your network administrator.
    >
    > The server is a suse server that I have setup with LDAP authencation
    > This server works on the web interface and on my linux client but as
    > soon as i try to connect a windows client to it i am unable to
    > connect.
    >
    > I have tried this with fresh install of ifolder 3.7 server & ifolder
    > 3.8 server
    > I have tried this with ifolder client 3.8.0 & 3.8.0.3
    > I have tried both the fqdn and the ip to connect to the server
    > I have tried both ssl and nonssl in my settings.
    > I have tried running as administrator
    > I have tried reinstalling the client several times
    > I have rebooted the server.
    > I enabled debug mode on the server interface and i see no connection
    > errors in there.
    >
    > The questions i have is where is the log file for the windows client?
    > Is there an easy fix for this issue?
    > Why does my web interface and linux client work and not my windows 7
    > one?
    > Is there any other information you will need to help me fix this
    > issue?
    >
    > Thanks,
    >
    > Rhardy
    >
    >
    Hi
    When connecting via the windows client, did you get a certificate
    request? Is the LDAP(S) port open on the server?
    Cheers Malcolm (Linux Counter #276890)
    SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.32.24-0.2-default
    up 2 days 18:56, 2 users, load average: 0.31, 0.15, 0.10
    GPU GeForce 8600 GTS Silent - Driver Version: 260.19.29

  • Error when uninstalling App-V RDS client: Product: Microsoft Application Virtualization (App-V) Client for Remote Desktop Services 5.0 Service Pack 2 x64 -- Error 1324. The folder path 'C:' contains an invalid character

    Issue:  experienced when attempting to uninstall the App-V 5.0 SP2 RDS client. 
    Event Log:  Product: Microsoft Application Virtualization (App-V) Client for Remote Desktop Services 5.0 Service Pack 2 x64 -- Error 1324. The folder
    path 'C:' contains an invalid character
    Symptoms (when in this current state): 
    Unable to uninstall the SP2 client
    You can upgrade the client (via hotfix) and uninstall the hotfix, but you will not be able to remove the SP2 client
    AppvVfs filter driver will not create an instance, therefore applications will not be able to read into existing streamed VFS content, or trigger sparse files to stream content.  (you can still stream the content via other means, like the UI or powershell)
    Because of the AppvVfs filter driver not instantiating, applications that depend on licences that exist in VFS will not be able to be read causing certain applications to react as if the license does not exist or is an incorrect format

    Resolution:
    Check for the existence of a hidden folder named %appdata% in the C:\Program Files\Microsoft Application Virtualization\Client folder.  (You will need to un-check the folder options box in windows explorer for "Hide
    protected operating system files" to see it)
    If the hidden %appdata% folder exists, delete it.
    Proceed to uninstall the App-V client
    After a clean uninstall and removal of remnants of the client, reinstall the client again and apply the latest hotfix available (Hotfix 2 for SP2 at a minimum).

  • Oracle 8i Client running on Windows 2000 Server

    Hi,
    I have Oracle 8i Client running on Windows 2000 Server. I need to connect to Oracle 8i Server running on Sun Box.
    I have problems with connectivity.
    When I do tnsping <service name>, I am geting the followiing
    error:
    C:\>tnsping <Instance name>
    TNS Ping Utility for 32-bit Windows: Version 8.1.7.0.0 - Production on 04-FEB-20
    02 16:37:01
    (c) Copyright 1997 Oracle Corporation. All rights reserved.
    Attempting to contact (ADDRESS=(PROTOCOL=TCP)(HOST=<IP Address>)(PORT=1521)) TNS-12541: TNS:no listener
    Can any one help me out
    Thanks
    mka

    Hi,
    I have Oracle 8i Client running on Windows 2000 Server. I need to connect to Oracle 8i Server running on Sun Box.
    I have problems with connectivity.
    When I do tnsping <service name>, I am geting the followiing
    error:
    C:\>tnsping <Instance name>
    TNS Ping Utility for 32-bit Windows: Version 8.1.7.0.0 - Production on 04-FEB-20
    02 16:37:01
    (c) Copyright 1997 Oracle Corporation. All rights reserved.
    Attempting to contact (ADDRESS=(PROTOCOL=TCP)(HOST=<IP Address>)(PORT=1521)) TNS-12541: TNS:no listener
    Can any one help me out
    Thanks
    mka

  • New files and folders on a Linux client mounting a Windows 2012 Server for NFS share do not inherit Owner and Group when SetGID bit set

    Problem statement
    When I mount a Windows NFS service file share using UUUA and set the Owner and Group, and set the SetGID bit on the parent folder in a hierarchy. New Files and folders inside and underneath the parent folder do not inherit the Owner and Group permissions
    of the parent.
    I am given to understand from this Microsoft KnowledgeBase article (http://support.microsoft.com/kb/951716/en-gb) the problem is due to the Windows implmentation of NFS Services not supporting the Solaris SystemV or BSD grpid "Semantics"
    However the article says the same functionality can acheived by using ACE Inheritance in conjunction with changing the Registry setting for "KeepInheritance" to enable Inheritance propagation of the Permissions by the Windows NFS Services.
    1. The Precise location of the "KeepInheritance" DWORD key appears to have "moved" in  Windows Server 2012 from a Services path to a Software path, is this documented somewhere? And after enabling it, (or creating it in the previous
    location) the feature seems non-functional. Is there a method to file a Bug with Microsoft for this Feature?
    2. All of the references on demonstrating how to set an ACE to achieve the same result "currently" either lead to broken links on Microsoft technical websites, or are not explicit they are vague or circumreferential. There are no plain Examples.
    Can an Example be provided?
    3. Is UUUA compatible with the method of setting ACE to acheive this result, or must the Linux client mount be "Mapped" using an Authentication source. And could that be with the new Flat File passwd and group files in c:\windows\system32\drivers\etc
    and is there an Example available.
    Scenario:
    Windows Server 2012 Standard
    File Server (Role)
    +- Server for NFS (Role) << -- installed
    General --
    Folder path: F:\Shares\raid-6-array
    Remote path: fs4:/raid-6-array
    Protocol: NFS
    Authentication --
    No server authentication
    +- No server authentication (AUTH_SYS)
    ++- Enable unmapped user access
    +++- Allow unmapped user access by UID/GID
    Share Permissions --
    Name: linux_nfs_client.host.edu
    Permissions: Read/Write
    Root Access: Allowed
    Encoding: ANSI
    NTFS Permissions --
    Type: Allow
    Principal: BUILTIN\Administrators
    Access: Full Control
    Applies to: This folder only
    Type: Allow
    Principal: NT AUTHORITY\SYSTEM
    Access: Full Control
    Applies to: This folder only
    -- John Willis, Facebook: John-Willis, Skype: john.willis7416

    I'm making some "major" progress on this problem.
    1. Apparently the "semantics" issue to honor SGID or grpid in NFS on the server side or the client side has been debated for some time. It also existed as of 2009 between Solaris nfs server and Linux nfs clients. The Linux community defaulted to declaring
    it a "Server" side issue to avoid "Race" conditions between simultaneous access users and the local file system daemons. The client would have to "check" for the SGID and reformulate its CREATE request to specify the Secondary group it would have to "notice"
    by which time it could have changed on the server. SUN declined to fix it.. even though there were reports it did not behave the same between nfs3 vs nfs4 daemons.. which might be because nfs4 servers have local ACL or ACE entries to process.. and a new local/nfs
    "inheritance" scheme to worry about honoring.. that could place it in conflict with remote access.. and push the responsibility "outwards" to the nfs client.. introducing a race condition, necessitating "locking" semantics.
    This article covers that discovery and no resolution - http://thr3ads.net/zfs-discuss/2009/10/569334-CR6894234-improved-sgid-directory-compatibility-with-non-Solaris-NFS-clients
    2. A much Older Microsoft Knowledge Based article had explicit examples of using Windows ACEs and Inheritance to "mitigate" the issue.. basically the nfs client "cannot" update an ACE to make it "Inheritable" [-but-] a Windows side Admin or Windows User
    [-can-] update or promote an existing ACE to "Inheritable"
    Here are the pertinent statements -
    "In Windows Services for UNIX 2.3, you can use the KeepInheritance registry value to set inheritable ACEs and to make sure that these ACEs apply to newly created files and folders on NFS shares."
    "Note About the Permissions That Are Set by NFS Clients
    The KeepInheritance option only applies ACEs that have inheritance enabled. Any permissions that are set by an NFS client will
    only apply to that file or folder, so the resulting ACEs created by an NFS client will
    not have inheritance set."
    "So
    If you want a folder's permissions to be inherited to new subfolders and files, you must set its permissions from the Windows NFS server because the permissions that are set by NFS clients only apply to the folder itself."
    http://support.microsoft.com/default.aspx?scid=kb;en-us;321049
    3. I have set up a Windows 2008r2 NFS server and mounted it with a Redhat Enteprise Linux 5 release 10 x86_64 server [Oct 31, 2013] and so far this does appear to be the case.
    4. In order to mount and then switch user to a non-root user to create subdirectories and files, I had to mount the NFS share (after enabling Anonymous AUTH_SYS mapping) this is not a good thing, but it was because I have been using UUUA - Unmapped Unix
    User Access Mapping, which makes no attempt to "map" a Unix UID/GID set by the NFS client to a Windows User account.
    To verify the Inheritance of additional ACEs on new subdirectories and files created by a non-root Unix user, on the Windows NFS server I used the right click properties, security tab context menu, then Advanced to list all the ACEs and looked at the far
    Column reflecting if it applied to [This folder only, or This folder and Subdirectories, or This folder and subdirectories and files]
    5. All new Subdirectories and files createdby the non-root user had a [Non-Inheritance] ACE created for them.
    6. I turned a [Non-Inheritance] ACE into an [Inheritance] ACE by selecting it then clicking [Edit] and using the Drop down to select [This folder, subdirs and files] then I went back to the NFS client and created more subdirs and files. Then back to the
    Windows NFS server and checked the new subdirs and folders and they did Inherit the Windows NFS server ACE! - However the UID/GID of the subdirs and folders remained unchanged, they did not reflect the new "Effective" ownership or group membership.
    7. I "believe" because I was using UUUA and working "behind" the UID/GID presentation layer for the NFS client, it did not update that presentation layer. It might do that "if" I were using a Mapping mechanism and mapped UID/GID to Windows User SIDs and
    Group SIDs. Windows 2008r2 no longer has a "simple" Mapping server, it does not accept flat text files and requires a Schema extension to Active Directory just to MAP a windows account to a UID/GID.. a lot of overhead. Windows Server 2012 accepts flat text
    files like /etc/passwd and /etc/group to perform this function and is next on my list of things to see if that will update the UID/GID based on the Windows ACE entries. Since the Local ACE take precedence "over" Inherited ACEs there could be a problem. The
    Inheritance appears to be intended [only] to retain Administrative rights over user created subdirs and files by adding an additional ACE at the time of creation.
    8. I did verify from the NFS client side in Linux that "Even though" the UID/GID seem to reflect the local non-root user should not have the ability to traverse or create new files, the "phantom" NFS Server ACEs are in place and do permit the function..
    reconciling the "view" with "reality" appears problematic, unless the User Mapping will update "effective" rights and ownership in the "view"
    -- John Willis, Facebook: John-Willis, Skype: john.willis7416

  • Windows Service (SMB) does not start automatically

    I have a client with an Xserve G5 running 10.4.8 with all software updates applied. Recently, the client decided to buy a new Ricoh multi-function printer, copier, fax machine. We've configured a share point on the server that the Ricoh uses to deposit the incoming faxes and scans. It works fine, but the downside is that it only works over SMB or FTP. I went with SMB (Windows Sharing) because of Apple's flakey implementation of FTP over the years.
    The problem is that when the server gets rebooted -- due to power outtage, software update, whatever -- the Windows sharing does not turn itself on like all of the services do. I have to go into Server Admin and turn on Windows sharing manually.
    Is there any way to get the Windows Sharing to turn on automatically at boot up like all of the other services do?

    I had the exact same problem after applying the 10.4.8 combo update. This thread solved my problem:
    http://discussions.apple.com/thread.jspa?messageID=2962778&#2962778
    In short, I had to disable the "Workgroup Master Browser" setting in Server Admin > Windows Service > Settings > Advanced. This is enabled by default, by the way.

  • ISE Posture Condition for Windows Service Pack and Remediation

    Hi,
    We having ISE ver 1.1.1 and currently on PoC. I have the following points to be clarified for Posture and Remediation.
    1) How to configure a condition to check Windows Service pack (may be more than 1 Windows favor such as XP, Win 7 and Win 8) and how to remediate in case client is not complying with Windows requirement.
    2) I configure AV condition and looks its working fine, however I still couldnt find the place to how to remediate in case client is not having proper verion and AV definition on his PC.
    3) We have a Authorization profile configured with dACL"Posture Remediation" where we allowing AV server update url and also matching ACL configured on switch "Posture Redirect", wants to know the exact purpose on these two ACLs.
    4) where can we see the logs of none-complaints logs and find out the reason for non-complaints
    appreciate if someone can please give us a proper document to achive the above task or send me any working senario configuration steps.
    thanks in advance.

    1. Windows Server Update Services (WSUS)  remediation remediates Windows clients from a locally managed WSUS server, or  Microsoft-managed WSUS server with the latest Windows service packs, hotfixes,  and patches (WSUS updates) for compliance. You can create a WSUS remediation  where a NAC Agent integrates with the local WSUS Agent to check whether the  endpoint is up-to-date for WSUS updates. You can also duplicate, edit or delete  WSUS remediations from the remediations list.
    You can configure Windows clients to  receive the latest WSUS updates from a Microsoft-managed WSUS server, or locally  administered WSUS server for compliance.
    The Windows server update services (WSUS)  remediations list page displays all the WSUS remediations along with their  names, description, and as well as their modes of  remediation
    check the following link for  configuration
    http://www.cisco.com/en/US/docs/security/ise/1.0/user_guide/ise10_pos_pol.html#wp1554782
    http://www.cisco.com/en/US/docs/security/ise/1.0/user_guide/ise10_pos_pol.html#wp1554884
    2.for AV/AS Remidiaton  configuration check  this link http://www.cisco.com/en/US/docs/security/ise/1.0/user_guide/ise10_pos_pol.html#wp1657420

Maybe you are looking for

  • Memory Expansion on Envy Touchsmart 14-K111nr

    Wanting to expand memory on laptop from installed 8GB to 16GB. Specifications state maximum allowed memory capacity is 16GB. Laptop does not recognize 16GB (2 x 8GB - DDR3 1600 12800 SODIMMs) but only recognizes 12GB (1 x 8GB and 1 x 4GB). Any guidan

  • Push Notifications Are Not Working

    I'm currently using an iPhone 4 (iOS 4.3.3) and push notifications have stopped working. The only app that seems to still be pushing is TextPlus. In my case Facebook, Scrabble, Gowalla and Twitter have all stopped working. Here is what I have already

  • Why won't iTune 11 run on Windows 7 64-bit???

    Starting 3 ior 4 weeks ago -ever since updating to iTunes 11, I have been unable to start iTunes. I have tried every suggestion in the support community posting  (and a few that were not here) all to no avail. This involved many uninstalls (including

  • How do I delete the contents of pages waiting in the queue to be loaded?

    While attempt to edit a table on the last pages of my document, the InDesign program crashed. I attempted this several times, including just deleting a row at a time, but run into the same problem. Since it was the last pages of the document (book),

  • LCM Import and Export Issue

    Hi I am trying to migrate a HPS application. But while exporting it i am getting the below eroors in LCM log file. Application artifact listing metadata contains duplicate resource information for /Objects/Application Model. Empty Zip input stream. D