Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default 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

  2. #2

    Default 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

  3. #3

    Default 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...
    > 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]
    >
    >

    Marina Guest

  4. #4

    Default 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...
    > 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...
    > > 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

  5. #5

    Default 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

  6. #6

    Default 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...
    > > 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]
    > >
    > >
    dave wanta Guest

  7. #7

    Default 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...
    > 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
    >
    >

    Alvin Bruney Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139