首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > .NET > C# >

有哪位高手用过PowerTCP Secure FTP控件?licenses.licx异常不知怎么解决

2012-01-16 
有谁用过PowerTCP Secure FTP控件?licenses.licx错误不知如何解决“/iFile.Back.Web”应用程序中的服务器错

有谁用过PowerTCP Secure FTP控件?licenses.licx错误不知如何解决
“/iFile.Back.Web”应用程序中的服务器错误。
--------------------------------------------

This   Dart   product   has   not   been   added   to   the   Project 's   licenses.licx   file.   If   your   Project   does   not   have   a   licenses.licx   file   already,   you   must   create   a   text   file   named   "licenses.licx "   and   add   it   to   your   PROJECT   (not   the   Solution).   <continued...>   You   must   then   add   the   following   line   to   the   file:   'Dart.PowerTCP.SecureFtp.Ftp,   Dart.PowerTCP.SecureFtp '   If   the   project   already   contains   a   licenses.licx,   simply   append   this   line   to   the   file.   For   more   information,   please   see   the   "Creating   the   Licenses.licx   File "   page   in   the   Online   Help.   ***IMPORTANT***   Any   time   you   make   changes   to   the   licenses   in   your   project,   you   MUST   REBUILD   (not   Build   or   Start!)   the   PROJECT   (not   the   Solution!)   that   contains   the   reference   to   the   licensed   DLL,   or   the   changes   will   not   be   built   into   the   application.   Also,   please   be   aware   that   any   Project   that   ultimately   references   a   Dart   DLL   must   also   include   a   licenses.licx   file,   and   be   compiled   on   a   licensed   machine.   This   includes,   for   example,   an   executable   that   references   a   class   library,   that   in   turn   references   a   Dart   DLL.  
说明:   执行当前   Web   请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。  

异常详细信息:   System.ComponentModel.LicenseException:   This   Dart   product   has   not   been   added   to   the   Project 's   licenses.licx   file.   If   your   Project   does   not   have   a   licenses.licx   file   already,   you   must   create   a   text   file   named   "licenses.licx "   and   add   it   to   your   PROJECT   (not   the   Solution).   <continued...>   You   must   then   add   the   following   line   to   the   file:   'Dart.PowerTCP.SecureFtp.Ftp,   Dart.PowerTCP.SecureFtp '   If   the   project   already   contains   a   licenses.licx,   simply   append   this   line   to   the   file.   For   more   information,   please   see   the   "Creating   the   Licenses.licx   File "   page   in   the   Online   Help.   ***IMPORTANT***   Any   time   you   make   changes   to   the   licenses   in   your   project,   you   MUST   REBUILD   (not   Build   or   Start!)   the   PROJECT   (not   the   Solution!)   that   contains   the   reference   to   the   licensed   DLL,   or   the   changes   will   not   be   built   into   the   application.   Also,   please   be   aware   that   any   Project   that   ultimately   references   a   Dart   DLL   must   also   include   a   licenses.licx   file,   and   be   compiled   on   a   licensed   machine.   This   includes,   for   example,   an   executable   that   references   a   class   library,   that   in   turn   references   a   Dart   DLL.



源错误:  


行   269:public   string   FileUpload(string   paSuitID,string   paFileID,HtmlInputFile   paFile,string   paFTPFolder,string   paFileExpandName)
行   270:{
行   271:Dart.PowerTCP.SecureFtp.Ftp   ftpcontrol=new   Dart.PowerTCP.SecureFtp.Ftp();
行   272:string   ReturnText= " ",ftplocalfile= " ";
行   273:
 


-------------------------------------------------
已经把项目中的licenses.licx文件的编译类型改为“无”,编译可以通过,但一运行网页后,执行了FTP上传就产生错误,错误信息如上。

[解决办法]
路过``帮顶``
[解决办法]
注册的有问题吧
[解决办法]
偶怎么没遇到过?用的是一样的控件
没破好吧?
[解决办法]
我能回答我没用过么...

热点排行