Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
inet
active_desktop
active_scrptng
asp.components
asp.db
asp.general
comctl32
comp.packaging
components.dev
dbweb
dhtml_editing
docobjects
html_authoring
html_objmodel
iis
iis.ftp
iis.security
iis.smtp_nntp
indexserver
misc
mshtml_hosting
scripting.jscript
scripting.vbscript
sdk_setup
shell_objmodel
urlmonikers
webbrowser_ctl
wininet
  
 
date: Fri, 23 May 2008 11:41:02 -0700,    group: microsoft.public.inetserver.iis.smtp_nntp        back       


How to handle the exception thrown by System.DirectoryServices   
I am setting smtp  properties programatically like 
"General","Access","Messages".
using "System.DirectoryServices" 
while using this function EnumerateProperties("IIS://localhost/SMTPSVC");
its throwing exception "Exception from HRESULT: 0x80005008".
Total properties are 69  but I am able to get only 48 properties as its 
throwing exception in between.
I need to know all properties name to set them to new value.

Thanks for your help in advance,
Leena
date: Fri, 23 May 2008 11:41:02 -0700   author:   Leena

Re: How to handle the exception thrown by System.DirectoryServices   
> I need to know all properties name to set them to new value.

What is the last one successfully fetched?

--Sandy


------------------------------------
Sanford Whiteman, Chief Technologist
Broadleaf Systems, a division of
Cypress Integrated Systems, Inc.
------------------------------------
date: Fri, 23 May 2008 15:19:50 -0400   author:   Sanford Whiteman

Re: How to handle the exception thrown by System.DirectoryServices   
BadMailDirectory is the last one which is successfully fetched

"Sanford Whiteman" wrote:

> > I need to know all properties name to set them to new value.
> 
> What is the last one successfully fetched?
> 
> --Sandy
> 
> 
> ------------------------------------
> Sanford Whiteman, Chief Technologist
> Broadleaf Systems, a division of
> Cypress Integrated Systems, Inc.
> ------------------------------------
>
date: Fri, 6 Jun 2008 14:53:00 -0700   author:   Leena

RE: How to handle the exception thrown by System.DirectoryServices   
Is there any way (any msdn article ) which will give me all smtp properties 
name?

"Leena" wrote:

> I am setting smtp  properties programatically like 
> "General","Access","Messages".
> using "System.DirectoryServices" 
> while using this function EnumerateProperties("IIS://localhost/SMTPSVC");
> its throwing exception "Exception from HRESULT: 0x80005008".
> Total properties are 69  but I am able to get only 48 properties as its 
> throwing exception in between.
> I need to know all properties name to set them to new value.
> 
> Thanks for your help in advance,
> Leena
>
date: Fri, 6 Jun 2008 14:56:01 -0700   author:   Leena

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us