rcjwedding - Tuesday, December 9, 2008 12:21 PM:
Hello,
It does not seem possible to modify/save user properties. The following error message is the result:
Failed to update the User with ID 484D228BEFF34FD6AB26C98AB8DEE50A : The onBeforeUpdate server event failed for User ItemType: The method associated with the server event onBeforeUpdate failed: Could not find a part of the path "D:AppsArasInnovatorInnovatorServerdlld4l2fklb.0.vb".<BR>Error while running method Core_SetPwdDateAndHistory...UpdateItem: UpdateItem: UpdateItem: UpdateItemEx: Exception in server-side method Core_SetPwdDateAndHistory (Type is VB) : Could not find a part of the path "D:AppsArasInnovatorInnovatorServerdlld4l2fklb.0.vb". Source : mscorlib Stack Trace : at System.IO.__Error.WinIOError(Int32 errorCode, String str) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean useAsync, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) at System.CodeDom.Compiler.CodeCompiler.FromSourceBatch(CompilerParameters options, String[] sources) at System.CodeDom.Compiler.CodeCompiler.FromSource(CompilerParameters options, String source) at System.CodeDom.Compiler.CodeCompiler.System.CodeDom.Compiler.ICodeCompiler.CompileAssemblyFromSource(CompilerParameters options, String source) at Aras.IOME.Evaluator.CompileMethod(String MethodID, String MethodCode, DateTime MethodDateTimeStamp, String MethodType, String MethodChecksum, Boolean check_cachep) at Aras.IOME.Evaluator.DoEval(String MethodID, String MethodCode, DateTime MethodDateTimeStamp, String MethodType, String MethodChecksum, Object inDom, Object outDom) at Aras.Server.Core.ApplyItem.ExecuteMethodByCacheXML(XmlDocument inDom, XmlDocument outDom, XmlElement Method, Boolean MustBeCalled, Boolean UseErrorDom)at System.Environment.GetStackTrace(Exception e) at System.Environment.GetStackTrace(Exception e) at System.Environment.get_StackTrace() at Aras.Server.Core.XML.SetErrorMessage(XmlDocument xmlDom, Int64 faultCode, String errorMessage, String dbMessage, String serverMessageXml) at Aras.Server.Core.UpdateItem.UpdateItem(XmlDocument itemDom, UpdateItemInstructions instructions, XmlDocument responseDom) at Aras.Server.Core.ApplyItem.ApplyItem_Implementaion(XmlDocument& inDom_, Hashtable& AdditionalItemInfo, XmlDocument& outDom) at Aras.Server.Core.ApplyItem.ApplyItem(XmlDocument& inDom, XmlDocument& outDom) at Aras.Server.Core.Utilities.ApplySoapAction(String& soap_action, XmlDocument& inDom, XmlDocument& outDom, Boolean sec_chk, TextWriter writer) at Aras.Server.Core.Startup.soap_action_dispatch() at Aras.Server.Core.Startup.soap_action_dispatch_errorhandler() at Aras.Server.Core.Startup.innovatorserver_main_dispatch() at Aras.Server.Core.Startup.innovatorserver_main() at _ASP.InnovatorServer_aspx.__Render__control1(HtmlTextWriter __output, Control parameterContainer) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.Control.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Page.ProcessRequestMain() at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequest(HttpContext context) at System.Web.CallHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) at System.Web.HttpApplication.ResumeSteps(Exception error) at System.Web.HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData) at System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) at System.Web.HttpRuntime.ProcessRequest(HttpWorkerRequest wr) at System.Web.Hosting.ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)
Conditions:
New 'Innovator Solutions' DB - No additional packages have been imported yet. I'm trying to create a template DB which is only configured with company-specific Identities and Users.
Temporary remedy: Remove and re-create user (which implications will this have in a production environment?)
Thanks for any help in advance.
Regards,
Richard Wedding
Information Manager
Axon Digital Design
RobMcAveney - Tuesday, December 9, 2008 12:48 PM:
Hi Richard -
That error message usually results from a server misconfiguration. It's not really about the User ItemType specifically -- it's saying it can't dynamically compile (or can't find the compiled version of) the Core_SetPwdDateAndHistory method, which is being called as an OnBeforeUpdate server event. Make sure the "D:AppsArasInnovatorInnovatorServerdll" directory exists and is writable.
Regards -
Rob
rcjwedding - Monday, December 15, 2008 6:06 AM:
Hi Rob,
I should have figured this one out myself, but the missing 'dll' subdirectory just seemed 'too obvious', nevertheless it did the trick. Any idea why the directory was missing?
Thank you very much for your kind support.
Cheers,
Richard
RobMcAveney - Monday, December 15, 2008 10:50 AM:
Hi Richard -
I used to see that error when I tried to install by copying files and creating virtual directories manually instead of using the installer. I'm not sure which method you used, but I would definitely recommend using the installer. It takes care of all the little things that are easy to forget. If you used the installer and the directory was still missing, then I'm not sure what happened.
Rob