Ask a Question related to ASP.NET General, Design and Development.
-
Dan #1
Need Help!!!
Hi folks,
We recently move to Framework 1.1 from 1.0. But some of our client machines
have problem running our ASP.Net app.
It seems page_load event is NOT being fired, instead there is public
property "xyz" in class file (.vb) which is being called from aspx page is
being executed first.
Any of you have come across this problem.
Thanks in advance.
Dan
Dan Guest
-
Jay #2
NEED HELP!!!
I have an application that needs to send a confirmation email upon a
completed order. I am using the smptmail obj of .net and can send email to
my companies internal addresses. However, my exchange server (set as the
smart host of my applications smtp server), won't relay to external
addresses. I know the send command is working because of the success of
sending to internal addresses, but I'm trying to figure out what the deal is
with the external forwarding...
Dim oMail As New System.Web.Mail.MailMessage()
oMail.To = SendTo
oMail.From = "me@mydomain.com"
oMail.BodyFormat = Mail.MailFormat.Text
oMail.Body = strBody
oMail.Attachments.Add(New System.Web.Mail.MailAttachment(strPath,
MailEncoding.Base64))
SmtpMail.SmtpServer = ConfigurationSettings.AppSettings.Item("EmailServe r")
SmtpMail.Send(oMail)
SmtpMail.SmtpServer is set to my exchange server.
--
I have also set the smart host of the local smtp server to the exchange
server.
Any help would be hugely appreciated.
Jay Hammett MCSE, MCP + I
President
Fusion Computers
email: [email]jay@fusion-computers.com[/email]
web: [url]www.fusion-computers.com[/url]
Jay Guest
-
Marina #3
Re: NEED HELP!!!
This sounds like a problem with your SMTP server. You have to set it to
allow sending to external addresses. This isn't a .NET issue.
"Jay" <jay@fusion-computers.com> wrote in message
news:%23Ljso9tSDHA.1576@TK2MSFTNGP12.phx.gbl...to> I have an application that needs to send a confirmation email upon a
> completed order. I am using the smptmail obj of .net and can send emailis> my companies internal addresses. However, my exchange server (set as the
> smart host of my applications smtp server), won't relay to external
> addresses. I know the send command is working because of the success of
> sending to internal addresses, but I'm trying to figure out what the dealConfigurationSettings.AppSettings.Item("EmailServe r")> with the external forwarding...
>
> Dim oMail As New System.Web.Mail.MailMessage()
>
> oMail.To = SendTo
>
> oMail.From = "me@mydomain.com"
>
> oMail.BodyFormat = Mail.MailFormat.Text
>
> oMail.Body = strBody
>
> oMail.Attachments.Add(New System.Web.Mail.MailAttachment(strPath,
> MailEncoding.Base64))
>
> SmtpMail.SmtpServer =>
> SmtpMail.Send(oMail)
>
> SmtpMail.SmtpServer is set to my exchange server.
> --
> I have also set the smart host of the local smtp server to the exchange
> server.
>
> Any help would be hugely appreciated.
>
> Jay Hammett MCSE, MCP + I
> President
> Fusion Computers
> email: [email]jay@fusion-computers.com[/email]
> web: [url]www.fusion-computers.com[/url]
>
>
Marina Guest
-
Jay #4
Re: NEED HELP!!!
Thanks. However I probably didn't give enough info. We're using Exchange
2000 and I was able to send smtp messages using the cdonts objects with a
traditional asp page. I'll look at my smtp server and the exchange box in
the mean time though.
"Marina" <mzlatkina@hotmail.com> wrote in message
news:u3x#VduSDHA.1916@TK2MSFTNGP12.phx.gbl...the> This sounds like a problem with your SMTP server. You have to set it to
> allow sending to external addresses. This isn't a .NET issue.
>
> "Jay" <jay@fusion-computers.com> wrote in message
> news:%23Ljso9tSDHA.1576@TK2MSFTNGP12.phx.gbl...> to> > I have an application that needs to send a confirmation email upon a
> > completed order. I am using the smptmail obj of .net and can send email> > my companies internal addresses. However, my exchange server (set asdeal> > smart host of my applications smtp server), won't relay to external
> > addresses. I know the send command is working because of the success of
> > sending to internal addresses, but I'm trying to figure out what the> is> ConfigurationSettings.AppSettings.Item("EmailServe r")> > with the external forwarding...
> >
> > Dim oMail As New System.Web.Mail.MailMessage()
> >
> > oMail.To = SendTo
> >
> > oMail.From = "me@mydomain.com"
> >
> > oMail.BodyFormat = Mail.MailFormat.Text
> >
> > oMail.Body = strBody
> >
> > oMail.Attachments.Add(New System.Web.Mail.MailAttachment(strPath,
> > MailEncoding.Base64))
> >
> > SmtpMail.SmtpServer =>> >
> > SmtpMail.Send(oMail)
> >
> > SmtpMail.SmtpServer is set to my exchange server.
> > --
> > I have also set the smart host of the local smtp server to the exchange
> > server.
> >
> > Any help would be hugely appreciated.
> >
> > Jay Hammett MCSE, MCP + I
> > President
> > Fusion Computers
> > email: [email]jay@fusion-computers.com[/email]
> > web: [url]www.fusion-computers.com[/url]
> >
> >
>
Jay Guest
-
Yan-Hong Huang[MSFT] #5
RE: Need Help!!!
Hello Dan,
I noticed there is one similar issue in the group. However, I didn't get any repro sample yet.
Does this problem only happen on some client machine? If so, is there any difference on this machine? Framework version,
OS version, SP version?
Please try to rebuild the project to see if the proble is still there. If you could create a repro sample and email to me, I will test
it on my side. Please remove online from my email address and you could email to me.
Thanks.
Best regards,
Yanhong Huang
Microsoft Online Partner Support
Get Secure! - [url]www.microsoft.com/security[/url]
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
!From: "Dan" <ddmello@nexterna.com>
!Subject: Need Help!!!
!Date: Mon, 14 Jul 2003 16:53:26 -0400
!Lines: 15
!X-Priority: 3
!X-MSMail-Priority: Normal
!X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
!X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
!Message-ID: <epIXJmkSDHA.2280@TK2MSFTNGP12.phx.gbl>
!Newsgroups: microsoft.public.dotnet.framework.aspnet
!NNTP-Posting-Host: 216.191.146.83
!Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP12.phx.gbl
!Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:159029
!X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
!
!Hi folks,
!
!We recently move to Framework 1.1 from 1.0. But some of our client machines
!have problem running our ASP.Net app.
!It seems page_load event is NOT being fired, instead there is public
!property "xyz" in class file (.vb) which is being called from aspx page is
!being executed first.
!
!Any of you have come across this problem.
!
!Thanks in advance.
!
!Dan
!
!
!
Yan-Hong Huang[MSFT] Guest
-
dave wanta #6
Re: NEED HELP!!!
If you are using cdonts, its actually sending the email through your
local machine's smtp service.
To duplicate this, either leave the SmtpMail.SmtpSever property empty
or set it equal to "127.0.0.1".
hth,
Dave
[url]www.aspNetEmail.com[/url]
"Jurjen de Groot" <info@gits-online.nl> wrote in message news:<O6TjfnxSDHA.2228@tk2msftngp13.phx.gbl>...> Jay
>
> I've had the same problem, try leaving the SmtpMail.SmtpServer property
> empty, that did the trick for me.
>
>
> kind regards,
>
> Jurjen de Groot
> G.I.T.S., Netherlands
>
>
> "Jay" <> wrote in message news:%23Ljso9tSDHA.1576@TK2MSFTNGP12.phx.gbl...> to> > I have an application that needs to send a confirmation email upon a
> > completed order. I am using the smptmail obj of .net and can send email> is> > my companies internal addresses. However, my exchange server (set as the
> > smart host of my applications smtp server), won't relay to external
> > addresses. I know the send command is working because of the success of
> > sending to internal addresses, but I'm trying to figure out what the deal> ConfigurationSettings.AppSettings.Item("EmailServe r")> > with the external forwarding...
> >
> > Dim oMail As New System.Web.Mail.MailMessage()
> >
> > oMail.To = SendTo
> >
> > oMail.From = "me@mydomain.com"
> >
> > oMail.BodyFormat = Mail.MailFormat.Text
> >
> > oMail.Body = strBody
> >
> > oMail.Attachments.Add(New System.Web.Mail.MailAttachment(strPath,
> > MailEncoding.Base64))
> >
> > SmtpMail.SmtpServer => >
> > SmtpMail.Send(oMail)
> >
> > SmtpMail.SmtpServer is set to my exchange server.
> > --
> > I have also set the smart host of the local smtp server to the exchange
> > server.
> >
> > Any help would be hugely appreciated.
> >
> > Jay Hammett MCSE, MCP + I
> > President
> > Fusion Computers
> > email: [email]jay@fusion-computers.com[/email]
> > web: [url]www.fusion-computers.com[/url]
> >
> >dave wanta Guest
-
Alvin Bruney #7
Re: Need Help!!!
Recheck your code to make sure page load event is mapped to the correct
handler. It may have become unmapped during the upgrade.
"Dan" <ddmello@nexterna.com> wrote in message
news:epIXJmkSDHA.2280@TK2MSFTNGP12.phx.gbl...machines> Hi folks,
>
> We recently move to Framework 1.1 from 1.0. But some of our clientis> have problem running our ASP.Net app.
> It seems page_load event is NOT being fired, instead there is public
> property "xyz" in class file (.vb) which is being called from aspx page> being executed first.
>
> Any of you have come across this problem.
>
> Thanks in advance.
>
> Dan
>
>
Alvin Bruney Guest



Reply With Quote

