There's a part in my program code that iterate an array list, and then send
an e-mail for each item in the list. I think I made a mistake in the codes
previously or what, it just keep sending e-mail non-stop. So I stopped
running the program, expecting things will be normal again. But I discovered
that the server still keep sending out e-mail when I have already stop the
program. This has already persisted for 4 days, and today morning, I saw 6000
emails in my mailbox.

I removed IIS, and everything resumed to normal. I installed IIS again, the
server started sending e-mails again. What should I do?

Re: Server keep sending e-mail by Chris

Chris
Fri Aug 26 01:53:20 CDT 2005

Is this program a web program or something else. You say you removed IIS and
the problem went away?

I assume you are using CDO NTS since after the removal of IIS it stopped. In
that case when you removed IIS you also removed the IIS SMTP Server. This is
what actually picks up the request from the pickup folder and delivers it.

After installing IIS the email returned which means one of two things.

There was heaps of email sitting in the folder that the IIS SMTP server is
looking for and it did what it is designed to and delivered it or you
program is still running.

For a start stop the IIS SMTP Server

Either go to the IIS Management control
open control panel
select administrative tools
open Internet Services Manager
Open the tree and find the "Default SMTP Virtual Server"
right click and select stop

or

Open control panel (go to classic view if needed)
goto Administrative Tools
Select Services
Find the "Simple Mail Transfer Protocol" and set it to be disabled via the
properties. Also stop the service that will then stop the email being sent
if you are using CDONTS

If you are stuck in a loop your app could sent 100,000 messages so check the
IIS SMTP folder

by default under c:\inetpub\mailroot

Delete the messages, and then re-enable the SMTP Server

But make sure your app code has been fixed.
--

cheers

Chris

Chris Crowe [IIS MVP]
http://blog.crowe.co.nz


"wrytat" <wrytat@discussions.microsoft.com> wrote in message
news:B2CF6E1A-9E61-48C8-99A3-1DAEC14CC031@microsoft.com...
> There's a part in my program code that iterate an array list, and then
> send
> an e-mail for each item in the list. I think I made a mistake in the codes
> previously or what, it just keep sending e-mail non-stop. So I stopped
> running the program, expecting things will be normal again. But I
> discovered
> that the server still keep sending out e-mail when I have already stop the
> program. This has already persisted for 4 days, and today morning, I saw
> 6000
> emails in my mailbox.
>
> I removed IIS, and everything resumed to normal. I installed IIS again,
> the
> server started sending e-mails again. What should I do?



Re: Server keep sending e-mail by wrytat

wrytat
Fri Aug 26 02:52:03 CDT 2005

Hi Thanks. It's a web application (asp.net).

There are 7 folders in the c:\inetpub\mailroot directory, Badmail, Drop,
Mailbox, Pickup, Queue, Route, and SortTemp. Which folder should I empt? Or
do I delete all the folders?

Thank you.

"Chris Crowe [IIS MVP]" wrote:

> Is this program a web program or something else. You say you removed IIS and
> the problem went away?
>
> I assume you are using CDO NTS since after the removal of IIS it stopped. In
> that case when you removed IIS you also removed the IIS SMTP Server. This is
> what actually picks up the request from the pickup folder and delivers it.
>
> After installing IIS the email returned which means one of two things.
>
> There was heaps of email sitting in the folder that the IIS SMTP server is
> looking for and it did what it is designed to and delivered it or you
> program is still running.
>
> For a start stop the IIS SMTP Server
>
> Either go to the IIS Management control
> open control panel
> select administrative tools
> open Internet Services Manager
> Open the tree and find the "Default SMTP Virtual Server"
> right click and select stop
>
> or
>
> Open control panel (go to classic view if needed)
> goto Administrative Tools
> Select Services
> Find the "Simple Mail Transfer Protocol" and set it to be disabled via the
> properties. Also stop the service that will then stop the email being sent
> if you are using CDONTS
>
> If you are stuck in a loop your app could sent 100,000 messages so check the
> IIS SMTP folder
>
> by default under c:\inetpub\mailroot
>
> Delete the messages, and then re-enable the SMTP Server
>
> But make sure your app code has been fixed.
> --
>
> cheers
>
> Chris
>
> Chris Crowe [IIS MVP]
> http://blog.crowe.co.nz
>
>
> "wrytat" <wrytat@discussions.microsoft.com> wrote in message
> news:B2CF6E1A-9E61-48C8-99A3-1DAEC14CC031@microsoft.com...
> > There's a part in my program code that iterate an array list, and then
> > send
> > an e-mail for each item in the list. I think I made a mistake in the codes
> > previously or what, it just keep sending e-mail non-stop. So I stopped
> > running the program, expecting things will be normal again. But I
> > discovered
> > that the server still keep sending out e-mail when I have already stop the
> > program. This has already persisted for 4 days, and today morning, I saw
> > 6000
> > emails in my mailbox.
> >
> > I removed IIS, and everything resumed to normal. I installed IIS again,
> > the
> > server started sending e-mails again. What should I do?
>
>
>

Re: Server keep sending e-mail by wrytat

wrytat
Fri Aug 26 03:39:02 CDT 2005

After I removed and installed IIS, I tried to use Visual Studio .NET 2003 to
open my web application, but it returns me an error message saying that,
"Visual Studio .Net has detected that the specified web server is not running
ASP.NET version 1.1. You will be unable to run ASP.Net applications or
services." What can I do?

"wrytat" wrote:

> Hi Thanks. It's a web application (asp.net).
>
> There are 7 folders in the c:\inetpub\mailroot directory, Badmail, Drop,
> Mailbox, Pickup, Queue, Route, and SortTemp. Which folder should I empt? Or
> do I delete all the folders?
>
> Thank you.
>
> "Chris Crowe [IIS MVP]" wrote:
>
> > Is this program a web program or something else. You say you removed IIS and
> > the problem went away?
> >
> > I assume you are using CDO NTS since after the removal of IIS it stopped. In
> > that case when you removed IIS you also removed the IIS SMTP Server. This is
> > what actually picks up the request from the pickup folder and delivers it.
> >
> > After installing IIS the email returned which means one of two things.
> >
> > There was heaps of email sitting in the folder that the IIS SMTP server is
> > looking for and it did what it is designed to and delivered it or you
> > program is still running.
> >
> > For a start stop the IIS SMTP Server
> >
> > Either go to the IIS Management control
> > open control panel
> > select administrative tools
> > open Internet Services Manager
> > Open the tree and find the "Default SMTP Virtual Server"
> > right click and select stop
> >
> > or
> >
> > Open control panel (go to classic view if needed)
> > goto Administrative Tools
> > Select Services
> > Find the "Simple Mail Transfer Protocol" and set it to be disabled via the
> > properties. Also stop the service that will then stop the email being sent
> > if you are using CDONTS
> >
> > If you are stuck in a loop your app could sent 100,000 messages so check the
> > IIS SMTP folder
> >
> > by default under c:\inetpub\mailroot
> >
> > Delete the messages, and then re-enable the SMTP Server
> >
> > But make sure your app code has been fixed.
> > --
> >
> > cheers
> >
> > Chris
> >
> > Chris Crowe [IIS MVP]
> > http://blog.crowe.co.nz
> >
> >
> > "wrytat" <wrytat@discussions.microsoft.com> wrote in message
> > news:B2CF6E1A-9E61-48C8-99A3-1DAEC14CC031@microsoft.com...
> > > There's a part in my program code that iterate an array list, and then
> > > send
> > > an e-mail for each item in the list. I think I made a mistake in the codes
> > > previously or what, it just keep sending e-mail non-stop. So I stopped
> > > running the program, expecting things will be normal again. But I
> > > discovered
> > > that the server still keep sending out e-mail when I have already stop the
> > > program. This has already persisted for 4 days, and today morning, I saw
> > > 6000
> > > emails in my mailbox.
> > >
> > > I removed IIS, and everything resumed to normal. I installed IIS again,
> > > the
> > > server started sending e-mails again. What should I do?
> >
> >
> >

Re: Server keep sending e-mail by Chris

Chris
Fri Aug 26 12:43:59 CDT 2005

If you open Internet Services Manager, right click on the default web site
and select the home directory tab.

Click the button titled "Configuration"

Have a look at the .aspx extension

does it point to v1.1.4322 version of the framework?

If it points to v1.0.3705 then you need to run the command
"aspnet_regiis.exe"

The following command installs the ASP.NET version associated with the tool
and updates the script maps of all existing ASP.NET applications. Note that
only applications that are currently mapped to an earlier version of ASP.NET
are affected.

Aspnet_regiis -i
see

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cptools/html/cpgrfaspnetiisregistrationtoolaspnet_regiisexe.asp



--
Cheers

Chris

Chris Crowe [IIS MVP]
http://blog.crowe.co.nz


"wrytat" <wrytat@discussions.microsoft.com> wrote in message
news:0B387CA2-DA10-4A9E-9DC5-6734DAB238EF@microsoft.com...
> After I removed and installed IIS, I tried to use Visual Studio .NET 2003
> to
> open my web application, but it returns me an error message saying that,
> "Visual Studio .Net has detected that the specified web server is not
> running
> ASP.NET version 1.1. You will be unable to run ASP.Net applications or
> services." What can I do?
>
> "wrytat" wrote:
>
>> Hi Thanks. It's a web application (asp.net).
>>
>> There are 7 folders in the c:\inetpub\mailroot directory, Badmail, Drop,
>> Mailbox, Pickup, Queue, Route, and SortTemp. Which folder should I empt?
>> Or
>> do I delete all the folders?
>>
>> Thank you.
>>
>> "Chris Crowe [IIS MVP]" wrote:
>>
>> > Is this program a web program or something else. You say you removed
>> > IIS and
>> > the problem went away?
>> >
>> > I assume you are using CDO NTS since after the removal of IIS it
>> > stopped. In
>> > that case when you removed IIS you also removed the IIS SMTP Server.
>> > This is
>> > what actually picks up the request from the pickup folder and delivers
>> > it.
>> >
>> > After installing IIS the email returned which means one of two things.
>> >
>> > There was heaps of email sitting in the folder that the IIS SMTP server
>> > is
>> > looking for and it did what it is designed to and delivered it or you
>> > program is still running.
>> >
>> > For a start stop the IIS SMTP Server
>> >
>> > Either go to the IIS Management control
>> > open control panel
>> > select administrative tools
>> > open Internet Services Manager
>> > Open the tree and find the "Default SMTP Virtual Server"
>> > right click and select stop
>> >
>> > or
>> >
>> > Open control panel (go to classic view if needed)
>> > goto Administrative Tools
>> > Select Services
>> > Find the "Simple Mail Transfer Protocol" and set it to be disabled via
>> > the
>> > properties. Also stop the service that will then stop the email being
>> > sent
>> > if you are using CDONTS
>> >
>> > If you are stuck in a loop your app could sent 100,000 messages so
>> > check the
>> > IIS SMTP folder
>> >
>> > by default under c:\inetpub\mailroot
>> >
>> > Delete the messages, and then re-enable the SMTP Server
>> >
>> > But make sure your app code has been fixed.
>> > --
>> >
>> > cheers
>> >
>> > Chris
>> >
>> > Chris Crowe [IIS MVP]
>> > http://blog.crowe.co.nz
>> >
>> >
>> > "wrytat" <wrytat@discussions.microsoft.com> wrote in message
>> > news:B2CF6E1A-9E61-48C8-99A3-1DAEC14CC031@microsoft.com...
>> > > There's a part in my program code that iterate an array list, and
>> > > then
>> > > send
>> > > an e-mail for each item in the list. I think I made a mistake in the
>> > > codes
>> > > previously or what, it just keep sending e-mail non-stop. So I
>> > > stopped
>> > > running the program, expecting things will be normal again. But I
>> > > discovered
>> > > that the server still keep sending out e-mail when I have already
>> > > stop the
>> > > program. This has already persisted for 4 days, and today morning, I
>> > > saw
>> > > 6000
>> > > emails in my mailbox.
>> > >
>> > > I removed IIS, and everything resumed to normal. I installed IIS
>> > > again,
>> > > the
>> > > server started sending e-mails again. What should I do?
>> >
>> >
>> >



Re: Server keep sending e-mail by wrytat

wrytat
Sun Aug 28 19:01:02 CDT 2005

I couldn't find a .aspx extension. And how do I run the command
"aspnet_regiis.exe"? Thank you.

"Chris Crowe [MVP]" wrote:

> If you open Internet Services Manager, right click on the default web site
> and select the home directory tab.
>
> Click the button titled "Configuration"
>
> Have a look at the .aspx extension
>
> does it point to v1.1.4322 version of the framework?
>
> If it points to v1.0.3705 then you need to run the command
> "aspnet_regiis.exe"
>
> The following command installs the ASP.NET version associated with the tool
> and updates the script maps of all existing ASP.NET applications. Note that
> only applications that are currently mapped to an earlier version of ASP.NET
> are affected.
>
> Aspnet_regiis -i
> see
>
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cptools/html/cpgrfaspnetiisregistrationtoolaspnet_regiisexe.asp
>
>
>
> --
> Cheers
>
> Chris
>
> Chris Crowe [IIS MVP]
> http://blog.crowe.co.nz
>
>
> "wrytat" <wrytat@discussions.microsoft.com> wrote in message
> news:0B387CA2-DA10-4A9E-9DC5-6734DAB238EF@microsoft.com...
> > After I removed and installed IIS, I tried to use Visual Studio .NET 2003
> > to
> > open my web application, but it returns me an error message saying that,
> > "Visual Studio .Net has detected that the specified web server is not
> > running
> > ASP.NET version 1.1. You will be unable to run ASP.Net applications or
> > services." What can I do?
> >
> > "wrytat" wrote:
> >
> >> Hi Thanks. It's a web application (asp.net).
> >>
> >> There are 7 folders in the c:\inetpub\mailroot directory, Badmail, Drop,
> >> Mailbox, Pickup, Queue, Route, and SortTemp. Which folder should I empt?
> >> Or
> >> do I delete all the folders?
> >>
> >> Thank you.
> >>
> >> "Chris Crowe [IIS MVP]" wrote:
> >>
> >> > Is this program a web program or something else. You say you removed
> >> > IIS and
> >> > the problem went away?
> >> >
> >> > I assume you are using CDO NTS since after the removal of IIS it
> >> > stopped. In
> >> > that case when you removed IIS you also removed the IIS SMTP Server.
> >> > This is
> >> > what actually picks up the request from the pickup folder and delivers
> >> > it.
> >> >
> >> > After installing IIS the email returned which means one of two things.
> >> >
> >> > There was heaps of email sitting in the folder that the IIS SMTP server
> >> > is
> >> > looking for and it did what it is designed to and delivered it or you
> >> > program is still running.
> >> >
> >> > For a start stop the IIS SMTP Server
> >> >
> >> > Either go to the IIS Management control
> >> > open control panel
> >> > select administrative tools
> >> > open Internet Services Manager
> >> > Open the tree and find the "Default SMTP Virtual Server"
> >> > right click and select stop
> >> >
> >> > or
> >> >
> >> > Open control panel (go to classic view if needed)
> >> > goto Administrative Tools
> >> > Select Services
> >> > Find the "Simple Mail Transfer Protocol" and set it to be disabled via
> >> > the
> >> > properties. Also stop the service that will then stop the email being
> >> > sent
> >> > if you are using CDONTS
> >> >
> >> > If you are stuck in a loop your app could sent 100,000 messages so
> >> > check the
> >> > IIS SMTP folder
> >> >
> >> > by default under c:\inetpub\mailroot
> >> >
> >> > Delete the messages, and then re-enable the SMTP Server
> >> >
> >> > But make sure your app code has been fixed.
> >> > --
> >> >
> >> > cheers
> >> >
> >> > Chris
> >> >
> >> > Chris Crowe [IIS MVP]
> >> > http://blog.crowe.co.nz
> >> >
> >> >
> >> > "wrytat" <wrytat@discussions.microsoft.com> wrote in message
> >> > news:B2CF6E1A-9E61-48C8-99A3-1DAEC14CC031@microsoft.com...
> >> > > There's a part in my program code that iterate an array list, and
> >> > > then
> >> > > send
> >> > > an e-mail for each item in the list. I think I made a mistake in the
> >> > > codes
> >> > > previously or what, it just keep sending e-mail non-stop. So I
> >> > > stopped
> >> > > running the program, expecting things will be normal again. But I
> >> > > discovered
> >> > > that the server still keep sending out e-mail when I have already
> >> > > stop the
> >> > > program. This has already persisted for 4 days, and today morning, I
> >> > > saw
> >> > > 6000
> >> > > emails in my mailbox.
> >> > >
> >> > > I removed IIS, and everything resumed to normal. I installed IIS
> >> > > again,
> >> > > the
> >> > > server started sending e-mails again. What should I do?
> >> >
> >> >
> >> >
>
>
>

Re: Server keep sending e-mail by wrytat

wrytat
Sun Aug 28 19:11:01 CDT 2005

Thank you. I've figured out how to run the command "aspnet_regiis.exe", to
install it. Thank you very much.


"Chris Crowe [MVP]" wrote:

> If you open Internet Services Manager, right click on the default web site
> and select the home directory tab.
>
> Click the button titled "Configuration"
>
> Have a look at the .aspx extension
>
> does it point to v1.1.4322 version of the framework?
>
> If it points to v1.0.3705 then you need to run the command
> "aspnet_regiis.exe"
>
> The following command installs the ASP.NET version associated with the tool
> and updates the script maps of all existing ASP.NET applications. Note that
> only applications that are currently mapped to an earlier version of ASP.NET
> are affected.
>
> Aspnet_regiis -i
> see
>
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cptools/html/cpgrfaspnetiisregistrationtoolaspnet_regiisexe.asp
>
>
>
> --
> Cheers
>
> Chris
>
> Chris Crowe [IIS MVP]
> http://blog.crowe.co.nz
>
>
> "wrytat" <wrytat@discussions.microsoft.com> wrote in message
> news:0B387CA2-DA10-4A9E-9DC5-6734DAB238EF@microsoft.com...
> > After I removed and installed IIS, I tried to use Visual Studio .NET 2003
> > to
> > open my web application, but it returns me an error message saying that,
> > "Visual Studio .Net has detected that the specified web server is not
> > running
> > ASP.NET version 1.1. You will be unable to run ASP.Net applications or
> > services." What can I do?
> >
> > "wrytat" wrote:
> >
> >> Hi Thanks. It's a web application (asp.net).
> >>
> >> There are 7 folders in the c:\inetpub\mailroot directory, Badmail, Drop,
> >> Mailbox, Pickup, Queue, Route, and SortTemp. Which folder should I empt?
> >> Or
> >> do I delete all the folders?
> >>
> >> Thank you.
> >>
> >> "Chris Crowe [IIS MVP]" wrote:
> >>
> >> > Is this program a web program or something else. You say you removed
> >> > IIS and
> >> > the problem went away?
> >> >
> >> > I assume you are using CDO NTS since after the removal of IIS it
> >> > stopped. In
> >> > that case when you removed IIS you also removed the IIS SMTP Server.
> >> > This is
> >> > what actually picks up the request from the pickup folder and delivers
> >> > it.
> >> >
> >> > After installing IIS the email returned which means one of two things.
> >> >
> >> > There was heaps of email sitting in the folder that the IIS SMTP server
> >> > is
> >> > looking for and it did what it is designed to and delivered it or you
> >> > program is still running.
> >> >
> >> > For a start stop the IIS SMTP Server
> >> >
> >> > Either go to the IIS Management control
> >> > open control panel
> >> > select administrative tools
> >> > open Internet Services Manager
> >> > Open the tree and find the "Default SMTP Virtual Server"
> >> > right click and select stop
> >> >
> >> > or
> >> >
> >> > Open control panel (go to classic view if needed)
> >> > goto Administrative Tools
> >> > Select Services
> >> > Find the "Simple Mail Transfer Protocol" and set it to be disabled via
> >> > the
> >> > properties. Also stop the service that will then stop the email being
> >> > sent
> >> > if you are using CDONTS
> >> >
> >> > If you are stuck in a loop your app could sent 100,000 messages so
> >> > check the
> >> > IIS SMTP folder
> >> >
> >> > by default under c:\inetpub\mailroot
> >> >
> >> > Delete the messages, and then re-enable the SMTP Server
> >> >
> >> > But make sure your app code has been fixed.
> >> > --
> >> >
> >> > cheers
> >> >
> >> > Chris
> >> >
> >> > Chris Crowe [IIS MVP]
> >> > http://blog.crowe.co.nz
> >> >
> >> >
> >> > "wrytat" <wrytat@discussions.microsoft.com> wrote in message
> >> > news:B2CF6E1A-9E61-48C8-99A3-1DAEC14CC031@microsoft.com...
> >> > > There's a part in my program code that iterate an array list, and
> >> > > then
> >> > > send
> >> > > an e-mail for each item in the list. I think I made a mistake in the
> >> > > codes
> >> > > previously or what, it just keep sending e-mail non-stop. So I
> >> > > stopped
> >> > > running the program, expecting things will be normal again. But I
> >> > > discovered
> >> > > that the server still keep sending out e-mail when I have already
> >> > > stop the
> >> > > program. This has already persisted for 4 days, and today morning, I
> >> > > saw
> >> > > 6000
> >> > > emails in my mailbox.
> >> > >
> >> > > I removed IIS, and everything resumed to normal. I installed IIS
> >> > > again,
> >> > > the
> >> > > server started sending e-mails again. What should I do?
> >> >
> >> >
> >> >
>
>
>