08.09.2012, 17:46 | #1 |
Возьми свет!!!
|
EP: XMLDocument::createBlank вызывает ошибку
Доброго времени суток
вот такая ошибка валится когда внутри weblet вызывается метод XMLDocument::createBlank() X++: runWebletItem Microsoft Dynamics. "Microsoft.Dynamics.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" . . ( HRESULT: 0x80131418) System.IO.FileLoadException DotNet.XmlDocument.New(XmlNameTable* ) xXmlDocument.kcNewBlank(xXmlDocument* , interpret* ) interpret.doInternalEval(interpret* , Char* inputStr, cqlClass* cinfo, xKernelClass* kernelObject, UInt16 chndl) interpret.evalFunc(interpret* , Char* src, Byte isKernelClass, Byte runFlags, UInt16 chdl, Byte mode, Byte origmode, cqlClass* cinfo, xRPNList* rl) interpret.xal_eval_func(interpret* , Byte mode, UInt16 chdl, xRPNList* rl, Char* src) interpret.xal_eval_id(interpret* ) interpret.evalloop(interpret* ) interpret.evalLoop(interpret* ) interpret.eval(interpret* ) interpret.CQLEvalProc(interpret* , Byte* rpncs, Int32 noelem, Byte varallocated, Int32 mode, UInt16* fctoff, UInt16 cur_class, Char* modulename, xRPNList* rl) interpret.doEval(interpret* , Char* inputStr, Byte mode, UInt16* fctoff, cqlClass* cinfo, Byte runFlags, xRPNList* rl) interpret.evalFunc(interpret* , Char* src, Byte isKernelClass, Byte runFlags, UInt16 chdl, Byte mode, Byte origmode, cqlClass* cinfo, xRPNList* rl) interpret.xal_eval_func(interpret* , Byte mode, UInt16 chdl, xRPNList* rl, Char* src) interpret.xal_eval_id(interpret* ) interpret.evalloop(interpret* ) interpret.evalLoop(interpret* ) interpret.eval(interpret* ) interpret.CQLEvalProc(interpret* , Byte* rpncs, Int32 noelem, Byte varallocated, Int32 mode, UInt16* fctoff, UInt16 cur_class, Char* modulename, xRPNList* rl) interpret.doEval(interpret* , Char* inputStr, Byte mode, UInt16* fctoff, cqlClass* cinfo, Byte runFlags, xRPNList* rl) interpret.evalFunc(interpret* , Char* src, Byte isKernelClass, Byte runFlags, UInt16 chdl, Byte mode, Byte origmode, cqlClass* cinfo, xRPNList* rl) interpret.xal_eval_func(interpret* , Byte mode, UInt16 chdl, xRPNList* rl, Char* src) interpret.xal_eval_id(interpret* ) interpret.evalloop(interpret* ) interpret.evalLoop(interpret* ) interpret.eval(interpret* ) interpret.CQLEvalProc(interpret* , Byte* rpncs, Int32 noelem, Byte varallocated, Int32 mode, UInt16* fctoff, UInt16 cur_class, Char* modulename, xRPNList* rl) interpret.doEval(interpret* , Char* inputStr, Byte mode, UInt16* fctoff, cqlClass* cinfo, Byte runFlags, xRPNList* rl) interpret.evalFunc(interpret* , Char* src, Byte isKernelClass, Byte runFlags, UInt16 chdl, Byte mode, Byte origmode, cqlClass* cinfo, xRPNList* rl) interpret.xal_eval_func(interpret* , Byte mode, UInt16 chdl, xRPNList* rl, Char* src) cqlClass._call(cqlClass* , Char* name, interpret* ip) AxCore_Call(UInt32 objectHandle, Char* pszMethodName, tagVARIANT* args, Int32 argsCount, tagVARIANT* result) Microsoft.Dynamics.BusinessConnectorNet.AxaptaObject.Call(String methodName, Object[] paramList) Microsoft.Dynamics.WebParts.SessionItem.AxaptaObjectImpl.Microsoft.Dynamics.WebParts.IAxaptaObject.Call(String methodname, Object[] paramlist) . System.Security.Policy.PolicyException System.Security.SecurityManager.ResolvePolicy(Evidence evidence, PermissionSet reqdPset, PermissionSet optPset, PermissionSet denyPset, PermissionSet& denied, Boolean checkExecutionPermission) System.Security.SecurityManager.ResolvePolicy(Evidence evidence, PermissionSet reqdPset, PermissionSet optPset, PermissionSet denyPset, PermissionSet& denied, Int32& securitySpecialFlags, Boolean checkExecutionPermission) , "http://go.microsoft.com/fwlink/events.asp". X++: public void run(Args args) { IISRequest req; ComVariant l,b; XMLTextReader xmlReader; XMLDocument xmlDoc; str xml; BinData binData; XMLParseError error; AscIIIo ascIIo; ; setLogInfolog(NoYes::Yes); req = new IISRequest(); l = new COMVariant(); l.long(req.totalBytes()); b = req.binaryRead(l); binData = new BinData(); binData.setVariant(b); xml = binData.getStrData(); xmlDoc = XMLDocument::newBlank(); ascIIo = new AscIIIO(strfmt("C:\\%1a.xml",timenow()),"W"); ascIIo.writeRaw(xml); }
__________________
Axapta 3.0 sp 5 Oracle Я могу взорвать вам мозг!!! |
|
08.09.2012, 17:52 | #2 |
Возьми свет!!!
|
http://support.microsoft.com/kb/943836
а вот решение
__________________
Axapta 3.0 sp 5 Oracle Я могу взорвать вам мозг!!! |
|
|
Опции темы | Поиск в этой теме |
Опции просмотра | |
|