Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Mail sending error-Partial Class Mailreceiver

Mail sending error-Partial Class Mailreceiver

Scheduled Pinned Locked Moved ASP.NET
helpasp-netsysadminhostinglearning
7 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Member 4260270
    wrote on last edited by
    #1

    Hi all, I am using one function to send mail.I have written 4 different functions in a single page(Mailreceiver.aspx),and call according to the hosting server.I am using these mail facilities successfully in my other sites.But I run this in one project I got the error that 'Server Error in '/' Application' Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: ASPNET: Make sure that the class defined in this code file matches the 'inherits' attribute, and that it extends the correct base class (e.g. Page or UserControl). and show the error in the line with a red color Partial Class Mailreceiver So anyone know about this.Pls help me Thanks Denny

    N 1 Reply Last reply
    0
    • M Member 4260270

      Hi all, I am using one function to send mail.I have written 4 different functions in a single page(Mailreceiver.aspx),and call according to the hosting server.I am using these mail facilities successfully in my other sites.But I run this in one project I got the error that 'Server Error in '/' Application' Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: ASPNET: Make sure that the class defined in this code file matches the 'inherits' attribute, and that it extends the correct base class (e.g. Page or UserControl). and show the error in the line with a red color Partial Class Mailreceiver So anyone know about this.Pls help me Thanks Denny

      N Offline
      N Offline
      N a v a n e e t h
      wrote on last edited by
      #2

      As the error says, you need to look into the inherits attribute in the ASPX page.

      Best wishes, Navaneeth

      M 1 Reply Last reply
      0
      • N N a v a n e e t h

        As the error says, you need to look into the inherits attribute in the ASPX page.

        Best wishes, Navaneeth

        M Offline
        M Offline
        Member 4260270
        wrote on last edited by
        #3

        I have checked there,but I didn't find anything

        N 1 Reply Last reply
        0
        • M Member 4260270

          I have checked there,but I didn't find anything

          N Offline
          N Offline
          N a v a n e e t h
          wrote on last edited by
          #4

          Member 4260270 wrote:

          but I didn't find anything

          You didn't find the inherits attribute at all?

          Best wishes, Navaneeth

          M 1 Reply Last reply
          0
          • N N a v a n e e t h

            Member 4260270 wrote:

            but I didn't find anything

            You didn't find the inherits attribute at all?

            Best wishes, Navaneeth

            M Offline
            M Offline
            Member 4260270
            wrote on last edited by
            #5

            I saw it but i didn't understand the problem. <%@ Page Language="VB" autoeventwireup="false" inherits="Mailreceiver" CodeFile="Mailreceiver.aspx.vb" %> Is there any problem?

            N 1 Reply Last reply
            0
            • M Member 4260270

              I saw it but i didn't understand the problem. <%@ Page Language="VB" autoeventwireup="false" inherits="Mailreceiver" CodeFile="Mailreceiver.aspx.vb" %> Is there any problem?

              N Offline
              N Offline
              N a v a n e e t h
              wrote on last edited by
              #6

              Go to Mailreceiver.aspx.vb and see from which class it inherits.

              Best wishes, Navaneeth

              M 1 Reply Last reply
              0
              • N N a v a n e e t h

                Go to Mailreceiver.aspx.vb and see from which class it inherits.

                Best wishes, Navaneeth

                M Offline
                M Offline
                Member 4260270
                wrote on last edited by
                #7

                Partial Class Mailreceiver Inherits System.Web.UI.Page

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups