Hi,I developed a windows form app that used the importCmd to import files silently into worksite. I used the same code from what was given in the other importCmd forum posts and it worked fine.I am now trying to use the same code and make a windows service. The service however stops on the execute line and two error messages come up. The first is, "IManExt: Error occured when try to log event!""Access is deneid."Then the next error dialog is,"IManExt: The document was imported to the database, but could not be added to the folder.""IManExtLogRuleEventsCmd.1: Error occured when try to log the event!""IManExt.LogRuleEventsCmd.1:Access is denied.""Error occured when try to log the event!"I am not sure why the code works fine when it is running as a form app and causes these errors when i put it in a windows service. Can someone please help.Thanks,GoceThis is my C# code below that i am using.///////////////////////////////////////////////// ImportCmd cmd = new ImportCmdClass(); ContextItems context = new ContextItemsClass(); imCheckinOptions eKeepCheckedout = imCheckinOptions.imDontKeepCheckedOut; context.Add("IManExt.OpenCmd.NoCmdUI", true); context.Add("IManExt.NewProfile.ProfileNoUI", true); context.Add("IManExt.Import.KeepCheckedOut", eKeepCheckedout); context.Add("IManExt.Import.FileName", filename); context.Add("IManExt.Import.DocDescription", fi.Name); context.Add("IManExt.Import.DocAuthor", sess.UserID); context.Add("IManExt.Import.DocClass", "DOCUMENT"); context.Add("DestinationObject", fldID); cmd.Initialize(context); cmd.Update(); try { cmd.Execute(); } catch (Exception exc) { Logger.append("Unable to import file: " + exc.Message); }