Mail sending error-Partial Class Mailreceiver
-
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
-
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
As the error says, you need to look into the
inherits
attribute in the ASPX page.Best wishes, Navaneeth
-
As the error says, you need to look into the
inherits
attribute in the ASPX page.Best wishes, Navaneeth
I have checked there,but I didn't find anything
-
I have checked there,but I didn't find anything
Member 4260270 wrote:
but I didn't find anything
You didn't find the
inherits
attribute at all?Best wishes, Navaneeth
-
Member 4260270 wrote:
but I didn't find anything
You didn't find the
inherits
attribute at all?Best wishes, Navaneeth
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?
-
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?
Go to
Mailreceiver.aspx.vb
and see from which class it inherits.Best wishes, Navaneeth
-
Go to
Mailreceiver.aspx.vb
and see from which class it inherits.Best wishes, Navaneeth
Partial Class Mailreceiver Inherits System.Web.UI.Page