使用过程生成文件时在路径上获取非法字符

时间:2019-05-23 16:06:49

标签: genexus

生成过程时出现错误,我在每个过程中都多次调用它,并创建了一些我需要的文件,但是在创建了一些文件后,它崩溃了。

我尝试更改调用方法,属性,甚至更改数据以查看其是否损坏,而且我无法查明错误的出处这里是错误:

[ArgumentException: Caracteres no válidos en la ruta de acceso.]
       System.Security.Permissions.FileIOPermission.EmulateFileIOPermissionChecks(String fullPath) +14531724
System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) +509
System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) +144
System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost) +123
System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost) +103
System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding) +30
GeneXus.Printer.GxPrintManager.initPrinting(StreamReader streamToRead, Boolean mustSlot) +298
GeneXus.Printer.GxPrintManager.Start() +64
GeneXus.Printer.GxCommandFileSender.closeAndSend() +308
GeneXus.Printer.GxCommandFileSender.Close() +16
GeneXus.Programs.generateFile.executePrivate() +11842
GeneXus.Programs.generateFile.execute(Int64& aP0_Account, String& aP1_tag6, String& aP2_tag2, Int16& aP3_count) +97
GeneXus.Programs.FileGenerator.E110L2() +3199

[TargetInvocationException: Se produjo una excepción en el destino de la invocación.]
System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) +0
System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) +260
System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +142
System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams) +774
GeneXus.Http.DynAjaxEvent.doInvoke(Object[] MethodParms) +180
GeneXus.Http.DynAjaxEvent.invoke(String JsonMessage, GXHttpHandler targetObj) +317
GeneXus.Http.GXHttpHandler.webAjaxEvent() +230
GeneXus.Http.GXHttpHandler.ProcessRequest(HttpContext httpContext) +1484

[Exception: GXApplication exception]
GeneXus.Http.GXHttpHandler.ProcessRequest(HttpContext httpContext) +1896
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +790
System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +195
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +88

谢谢

0 个答案:

没有答案