|
Home > Archive > IIS and SMTP > January 2006 > SMTP server in IIS 5.1
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
SMTP server in IIS 5.1
|
|
| Stuart McCoy 2005-12-24, 5:56 pm |
| I'm trying to setup the SMTP server is IIS and for some reason I can't
create any virtual servers in the MMC for IIS. In fact, I can't even see
the SMTP server listed in the MMC at all. Both FTP and HTTP are running
just fine. The SMTP service is running but I found this error message in
the system event logs. Any ideas on how I can get the server running?
Event Type Error
Event Source smtpsvc
Event Category None
Event ID 1004
Date 12232005
Time 101426 PM
User NA
Computer MARS
Description
Virtual server 1 was unable to register itself and the local delivery sink
with the event binding database. Server events and local delivery will not
function properly for this virtual server.
For more information, see Help and Support Center at
httpgo.microsoft.comfwlinkevents.asp.
Data
0000 54 01 04 80 T..?
| |
| Stuart McCoy 2005-12-27, 6:06 pm |
| I should add that the link provided in the System Error and Events log
provides no useful information:
We're sorry
There is no additional information about this issue in the Error and
Event Log Messages or Knowledge Base databases at this time. You can use the
links in the Support area to determine whether any additional information
might be available elsewhere.
"Stuart McCoy" <stubear@comcast.net> wrote in message
news:u0PxinMCGHA.532@TK2MSFTNGP15.phx.gbl...
> I'm trying to setup the SMTP server is IIS and for some reason I can't
> create any virtual servers in the MMC for IIS. In fact, I can't even see
> the SMTP server listed in the MMC at all. Both FTP and HTTP are running
> just fine. The SMTP service is running but I found this error message in
> the system event logs. Any ideas on how I can get the server running?
>
> Event Type Error
> Event Source smtpsvc
> Event Category None
> Event ID 1004
> Date 12232005
> Time 101426 PM
> User NA
> Computer MARS
> Description
> Virtual server 1 was unable to register itself and the local delivery sink
> with the event binding database. Server events and local delivery will not
> function properly for this virtual server.
>
> For more information, see Help and Support Center at
> httpgo.microsoft.comfwlinkevents.asp.
> Data
> 0000 54 01 04 80 T..?
>
| |
| Al Mulnick 2005-12-27, 6:06 pm |
| Hazard a guess: permissions or an install problem. Perhaps a configuration
issue with the NIC.
http://support.microsoft.com/defaul...kb;en-us;297261 is one place
to consider when looking, but I think a better place is to start by telling
us exactly what you did to get this far and what exactly you're working with
(OS, version, etc)
Al
"Stuart McCoy" <stubear@comcast.net> wrote in message
news:eO$hGPyCGHA.532@TK2MSFTNGP15.phx.gbl...
>I should add that the link provided in the System Error and Events log
>provides no useful information:
>
> We're sorry
> There is no additional information about this issue in the Error and
> Event Log Messages or Knowledge Base databases at this time. You can use
> the links in the Support area to determine whether any additional
> information might be available elsewhere.
>
>
> "Stuart McCoy" <stubear@comcast.net> wrote in message
> news:u0PxinMCGHA.532@TK2MSFTNGP15.phx.gbl...
>
>
| |
| Stuart McCoy 2005-12-27, 8:53 pm |
| Yeah, I guess knowing I'm trying this in Windows XP Pro SP2 might be
helpful. What I did to install the SMTP server was to go to Add/Remove
Software in Control Panel and select SMTP. The install goes smoothly and
seems to work properly. In c:\inetpub I have a new mailroot directory with
subfolders for badmail, drop, mailbox, pickup, queue, route, and sorttemp.
A new service is added for SMTP and it starts and stops just fine. When I
go to the IIS node in the MMC I can see my HTTP and FTP serves just fine but
there is no node for the newly installed SMTP server so there is no way for
me to configure it. The Error and Events log ha an entry which I've already
included in an earlier post. I just tried the suggestion in the Knowledge
Base article Q297261 but there was no change. I had the File and Printer
Sharing for Microsoft Networks service installed and running properly.
"Al Mulnick" <amulnick_No_SPAM@ncDOTrr.com> wrote in message
news:ODdcRXzCGHA.3812@TK2MSFTNGP15.phx.gbl...
> Hazard a guess: permissions or an install problem. Perhaps a
> configuration issue with the NIC.
> http://support.microsoft.com/defaul...kb;en-us;297261 is one
> place to consider when looking, but I think a better place is to start by
> telling us exactly what you did to get this far and what exactly you're
> working with (OS, version, etc)
>
> Al
>
> "Stuart McCoy" <stubear@comcast.net> wrote in message
> news:eO$hGPyCGHA.532@TK2MSFTNGP15.phx.gbl...
>
>
| |
| Al Mulnick 2005-12-29, 2:51 am |
| If they start/stop/run fine, then perhaps you just need to register them?
From:
http://groups.google.com/group/micr...r&start=1&num=3
Also here is another reason why this issue may occur: some dll getting
unregistered.
1. Go to a command prompt on the IIS server.
2. Go the following directory at the command prompt
%systemroot%\system32\inetsrv
3. Type in the following commands
regsvr32 inetmgr.dll
regsvr32 smtpsnap.dll
4. Then close and reopen IIS manager console
"Stuart McCoy" <stubear@comcast.net> wrote in message
news:%23WNXFL1CGHA.1124@TK2MSFTNGP10.phx.gbl...
> Yeah, I guess knowing I'm trying this in Windows XP Pro SP2 might be
> helpful. What I did to install the SMTP server was to go to Add/Remove
> Software in Control Panel and select SMTP. The install goes smoothly and
> seems to work properly. In c:\inetpub I have a new mailroot directory
> with subfolders for badmail, drop, mailbox, pickup, queue, route, and
> sorttemp. A new service is added for SMTP and it starts and stops just
> fine. When I go to the IIS node in the MMC I can see my HTTP and FTP
> serves just fine but there is no node for the newly installed SMTP server
> so there is no way for me to configure it. The Error and Events log ha an
> entry which I've already included in an earlier post. I just tried the
> suggestion in the Knowledge Base article Q297261 but there was no change.
> I had the File and Printer Sharing for Microsoft Networks service
> installed and running properly.
>
> "Al Mulnick" <amulnick_No_SPAM@ncDOTrr.com> wrote in message
> news:ODdcRXzCGHA.3812@TK2MSFTNGP15.phx.gbl...
>
>
| |
| Stuart McCoy 2006-01-01, 8:49 pm |
| Thanks for your help. Reinstalling all of IIS seemed to celar the problem
up. The server appears to be running but now my page which sends teh SMTP
request gives me a error:
Error Type:
CDO.Message.1 (0x80040213)
The transport failed to connect to the server.
/newland/message_sent.asp, line 14
Not sure what's causing this but I think I can take it from here. I don't
think I have all the proper security permissions set on my IIS server
folders since the reinstall and it's possible I don't have something
configured correctly in the SMTP snap-in though with the spartan settings
available using IIS on Windows XP I don;t know where I could have gone
wrong.
"Al Mulnick" <amulnick_No_SPAM@ncDOTrr.com> wrote in message
news:OZItUaCDGHA.2912@tk2msftngp13.phx.gbl...
> If they start/stop/run fine, then perhaps you just need to register them?
> From:
> http://groups.google.com/group/micr...r&start=1&num=3
> Also here is another reason why this issue may occur: some dll getting
> unregistered.
> 1. Go to a command prompt on the IIS server.
> 2. Go the following directory at the command prompt
> %systemroot%\system32\inetsrv
> 3. Type in the following commands
> regsvr32 inetmgr.dll
> regsvr32 smtpsnap.dll
> 4. Then close and reopen IIS manager console
>
>
>
> "Stuart McCoy" <stubear@comcast.net> wrote in message
> news:%23WNXFL1CGHA.1124@TK2MSFTNGP10.phx.gbl...
>
>
| |
| Al Mulnick 2006-01-02, 7:49 am |
| Well, I haven't seen your code, but this might help if you get stuck
http://www.iis-resources.com/module...id=1452&forum=4
Cheers,
Al
"Stuart McCoy" <stubear@comcast.net> wrote in message
news:elUn4Y0DGHA.3468@TK2MSFTNGP15.phx.gbl...
> Thanks for your help. Reinstalling all of IIS seemed to celar the problem
> up. The server appears to be running but now my page which sends teh SMTP
> request gives me a error:
>
> Error Type:
> CDO.Message.1 (0x80040213)
> The transport failed to connect to the server.
> /newland/message_sent.asp, line 14
>
> Not sure what's causing this but I think I can take it from here. I don't
> think I have all the proper security permissions set on my IIS server
> folders since the reinstall and it's possible I don't have something
> configured correctly in the SMTP snap-in though with the spartan settings
> available using IIS on Windows XP I don;t know where I could have gone
> wrong.
>
>
> "Al Mulnick" <amulnick_No_SPAM@ncDOTrr.com> wrote in message
> news:OZItUaCDGHA.2912@tk2msftngp13.phx.gbl...
>
>
| |
| Stuart McCoy 2006-01-02, 5:58 pm |
| The code is from a book, 'Dreamweaver 8 with ASP, ColdFusion, and PHP'. I
got it to learn how to use Dreamweaver to build some small dynamic sites
which more and more of my clients are requesting. I'm interested in the ASP
and php aspects of dynamic sites and this book seemed a good way to get up
and running quickly. They suggest, and use, learning JScript instead of
VBScript. For the time being I'm going to stick to the lessons but I think
once I'm done with the book, doing both the ASP and php (IIS is great this
way) versions of the site, I'm going to go back and figure out how to
convert the JScript to VBScript.
The code for simply hooking up a page which will send an e-mail is listed
below:
<%
theSchema="http://schemas.microsoft.com/cdo/configuration/"
Set cdoConfig=server.CreateObject("CDO.Configuration")
cdoConfig.Fields.Item(theSchema & "sendusing")= 2
cdoConfig.Fields.Item(theSchema & "smtpserver")="mailserver.yourserver.com"
cdoConfig.Fields.Update
set cdoMessage=Server.CreateObject("CDO.Message")
cdoMessage.Configuration=cdoConfig
cdoMessage.From="yourname@yourhost.com"
cdoMessage.To="yourname@yourhost.com"
cdoMessage.Subject="This is the message subject"
cdoMessage.TextBody="This is the message body"
cdoMessage.Send
Set cdoMessage=Nothing
Set cdoConfig=Nothing
%>
"Al Mulnick" <amulnick_No_SPAM@ncDOTrr.com> wrote in message
news:e6zjFg5DGHA.2040@TK2MSFTNGP14.phx.gbl...
> Well, I haven't seen your code, but this might help if you get stuck
> http://www.iis-resources.com/module...id=1452&forum=4
>
> Cheers,
>
> Al
> "Stuart McCoy" <stubear@comcast.net> wrote in message
> news:elUn4Y0DGHA.3468@TK2MSFTNGP15.phx.gbl...
>
>
| |
| Stuart McCoy 2006-01-02, 5:58 pm |
| I think I figured the problem out. Setting sendusing to 1 instead of 2
worked.
"Stuart McCoy" <stubear@comcast.net> wrote in message
news:OWXeei%23DGHA.1492@TK2MSFTNGP10.phx.gbl...
> The code is from a book, 'Dreamweaver 8 with ASP, ColdFusion, and PHP'. I
> got it to learn how to use Dreamweaver to build some small dynamic sites
> which more and more of my clients are requesting. I'm interested in the
> ASP and php aspects of dynamic sites and this book seemed a good way to
> get up and running quickly. They suggest, and use, learning JScript
> instead of VBScript. For the time being I'm going to stick to the lessons
> but I think once I'm done with the book, doing both the ASP and php (IIS
> is great this way) versions of the site, I'm going to go back and figure
> out how to convert the JScript to VBScript.
>
> The code for simply hooking up a page which will send an e-mail is listed
> below:
>
> <%
> theSchema="http://schemas.microsoft.com/cdo/configuration/"
> Set cdoConfig=server.CreateObject("CDO.Configuration")
> cdoConfig.Fields.Item(theSchema & "sendusing")= 2
> cdoConfig.Fields.Item(theSchema &
> "smtpserver")="mailserver.yourserver.com"
> cdoConfig.Fields.Update
>
> set cdoMessage=Server.CreateObject("CDO.Message")
> cdoMessage.Configuration=cdoConfig
>
> cdoMessage.From="yourname@yourhost.com"
> cdoMessage.To="yourname@yourhost.com"
> cdoMessage.Subject="This is the message subject"
> cdoMessage.TextBody="This is the message body"
>
> cdoMessage.Send
>
> Set cdoMessage=Nothing
> Set cdoConfig=Nothing
> %>
>
>
> "Al Mulnick" <amulnick_No_SPAM@ncDOTrr.com> wrote in message
> news:e6zjFg5DGHA.2040@TK2MSFTNGP14.phx.gbl...
>
>
|
|
|
|
|