CSDN首页 空间 新闻 论坛 Blog 下载 读书 网摘 搜索 .NET Java 视频 接项目 求职 在线学习 买书 程序员 通知
可用分押宝游戏火热进行中... 专题改版:Java Web 专题
CSDN社区
搜索 收藏 打印 关闭
CSDN社区 >  Web 开发 >  ASP

服务器配置,怎么注册jmail组件.

楼主lisoon(http://www.lisoon.com/FlashRss/)2005-04-21 17:52:28 在 Web 开发 / ASP 提问

服务器系统是2003,我注册了jmail组件,也提示组件注册成功了。但在asp中却提示对像不能创建。  
  但我在我的机(xp)上注册了组件,却可以成功创建对象,可以发信了.是不是在服务器上配置时要注意什么? 问题点数:80、回复次数:8Top

1 楼liuxiaoyi666(MSMVP 小猪妹荣誉马甲之八卦兔子)回复于 2005-04-21 17:59:28 得分 80

2003的安全机制不一样的  
   
  Server   object   error   'ASP   0178   :   80070005'.   Server.CreateObject   Access   Error.  
  The   call   to   Server.CreateObject   failed   while   checking   permissions.   Access   is   denied   to   this   object.    
   
  这个问题在microsoft   有解  
  详细见   http://support.microsoft.com/kb/315454  
   
  以下目录(   应用所有子继承并确认子继承)   有everyone的只读权就可以了  
  C:\Program   Files\Common   Files\System\  
  出错系统是   2003   IIS6   最后的更新(IIS   缺省对数据目录权限的欠缺)  
   
  note   :   子继承模式有时要确认以保证真的被完全继承...  
  权限问题,windows2003需做以下改动:  
   
  1、c:\windows\system32     ->右键属性   ->   安全   ->   组或用户名称中添加Everyone   用户  
   
  2、拷贝相关的dll文件到c:\windows\system32,然后进行注册  
  Top

2 楼lisoon(http://www.lisoon.com/FlashRss/)回复于 2005-04-21 18:33:20 得分 0

照做了,服务器也重启了,还是没有搞定....Top

3 楼liuxiaoyi666(MSMVP 小猪妹荣誉马甲之八卦兔子)回复于 2005-04-21 18:58:53 得分 0

http://forums.zdnet.com.cn/cgi-bin/topic.cgi?forum=1&topic=5817  
  这个是一开始我的解答  
   
  http://www.developmentnow.com/g/59_2003_10_0_0_268709/IUSR-privileges.htm  
  看看这个也许有你要的  
  You   can   also   try   here:  
  microsoft.public.inetserver.asp.components  
   
  Thank   you.   I   hope   this   information   is   helpful.  
   
  Tim   Coffey   [MSFT]  
   
  This   posting   is   provided   “AS   IS”   with   no   warranties,   and   confers   no   rights.   You   assume   all   risk   for   your   use.   ©   2001   Microsoft   Corporation.   All   rights   reserved.  
  --------------------  
  |   Content-Class:   urn:content-classes:message  
  |   From:   "leo   lozano"   <hlozano@tamiu.edu>  
  |   Sender:   "leo   lozano"   <hlozano@tamiu.edu>  
  |   References:   <11a601c38ce3$6a260fd0$a401280a@phx.gbl>   <eDd9ROUjDHA.2160@TK2MSFTNGP10.phx.gbl>   <06ef01c38ec1$0d69dda0  
  $a401280a@phx.gbl>   <#pre2LujDHA.708@TK2MSFTNGP10.phx.gbl>  
  |   Subject:   Re:   IUSR   privileges  
  |   Date:   Tue,   14   Oct   2003   09:42:45   -0700  
  |   Lines:   169  
  |   Message-ID:   <008301c39272$31f961e0$a401280a@phx.gbl>  
  |   MIME-Version:   1.0  
  |   Content-Type:   text/plain;  
  |   charset="iso-8859-1"  
  |   Content-Transfer-Encoding:   7bit  
  |   X-Newsreader:   Microsoft   CDO   for   Windows   2000  
  |   X-MimeOLE:   Produced   By   Microsoft   MimeOLE   V5.50.4910.0300  
  |   Thread-Index:   AcOScjH56lzslKqGT5qfumh+79cJMg==  
  |   Newsgroups:   microsoft.public.inetserver.iis  
  |   Path:   cpmsftngxa06.phx.gbl  
  |   Xref:   cpmsftngxa06.phx.gbl   microsoft.public.inetserver.iis:279526  
  |   NNTP-Posting-Host:   TK2MSFTNGXA12   10.40.1.164  
  |   X-Tomcat-NG:   microsoft.public.inetserver.iis  
  |    
  |   Hi   Bernard  
  |    
  |   Yes,   the   original   app.   pool   identity   was   set   to   network  
  |   service...  
  |    
  |   I   created   a   new   app.   pool   for   the   web   site,   because   the   one  
  |   it   was   using   was   the   default   app.   pool  
  |    
  |   As   instructed   on   doc.   332167,   I   changed   the   new   app.    
  |   pool's   user   id   to   Local   Sys...  
  |    
  |   The   doc.   also   required   to   register   sub-authentication  
  |   which   was   also   done...  
  |    
  |   After   following   the   document's   instructions,   access   to   the  
  |   COM   object   was   obtained   with   out   the   need   of   a   user   id/pwd    
  |   (anonymous)  
  |    
  |   But   the   document   states   that   my   security   is   now   lowered    
  |   and   I   am   vulnerable   because   of   Local   Sys   ID   on   the   app.    
  |   pool..  
  |    
  |   In   my   previous   post,   I   tried   to   explain   that   before  
  |   applying   the   instructions   of   the   document   I   tried   to   just    
  |   sync   the   IUSR   and   IWAM   account   passwords   to   those   of   the    
  |   IIS   metabase,   but   that   didn't   work,   It   was   until   i    
  |   registered   the   sub-authentication   and   set   the   app.   pool   to    
  |   LocalSys,   that   the   web   site   functioned   as   it   was   supposed    
  |   to..  
  |    
  |    
  |   My   question   here   is,   how   did   Microsoft   intended   ('Best    
  |   Practice'?)to   run   this   type   of   situation   with   out    
  |   resorting   to   what's   instructed   on   the   332167   doc.?  
  |    
  |   Or   is   this   the   only   way   to   access   COM   objects    
  |   from   a   web   server?   (with   out   a   user   id/pwd   of   course)  
  |    
  |   Thanks,  
  Top

4 楼raas(朗仕)回复于 2005-04-21 19:09:25 得分 0

将jmail.dll文件拷贝到system32目录下  
  命令运行regsvr32   jmail.dllTop

5 楼dirib(dirib)回复于 2005-04-21 20:52:29 得分 0

我也装过JMAIL直接安装就可以用了,什么问题也没有的Top

6 楼lisoon(http://www.lisoon.com/FlashRss/)回复于 2005-04-22 11:22:12 得分 0

上面的方法都试过了。  
  弄了差不多两天,还是没有搞定,是不是注册了组件,要在什么地方备置下,才能在asp中调用。  
  我的系统是正版的,会自动打补丁,好像有一个补丁,会禁止asp调用组件。实在不敢乱来了,昨天差点搞到服务器瘫痪。。Top

7 楼lisoon(http://www.lisoon.com/FlashRss/)回复于 2005-04-22 14:22:51 得分 0

原来真的有限制的,除了修改上面各位所说的,还要在组件服务里允许由web创建。  
  Top

8 楼liuxiaoyi666(MSMVP 小猪妹荣誉马甲之八卦兔子)回复于 2005-04-22 14:42:26 得分 0

2003还真麻烦,其实各种组件服务的方法都有不同的麻烦的地方,一言难尽Top

相关问题

  • 服务器配置
  • 服务器配置
  • 服务器配置问题
  • 服务器配置问题
  • 服务器配置问题
  • 服务器配置问题!
  • asp.net服务器配置
  • CSDN服务器配置公布
  • WEB服务器配置问题,急!
  • 我的服务器配置说明?

关键词

  • 组件
  • 注册
  • 服务器
  • iis
  • microsoft
  • access
  • inetserver
  • 子继承
  • pool
  • app

得分解答快速导航

  • 帖主:lisoon
  • liuxiaoyi666

相关链接

  • Web开发类图书

广告也精彩

反馈

请通过下述方式给我们反馈
反馈
提问
网站简介|广告服务|VIP资费标准|银行汇款帐号|网站地图|帮助|联系方式|诚聘英才|English|问题报告
世纪乐知(北京)网络技术有限公司 版权所有, 京 ICP 证 020026 号
北京创新乐知广告有限公司 提供技术支持
Copyright © 2000-2007, CSDN.NET, All Rights Reserved
GongshangLogo