Advertisement

05.23.2007 at 01:57PM PDT, ID: 22591179
[x]
Attachment Details

aspx compile error from hosting site

Asked by steva in Programming for ASP.NET

Tags: class, error, base

I  uploaded an aspx page to my web hosting site for the first time and get a server error when I request the page.  The error report says the error is on line 1 of Buy.aspx.vb:

"Make sure that the class defined in this code file matchesthe 'inherits' attribute, and that it extends the correct base class (e.g. Page or UserControl)"

The first several lines of Buy.aspx.vb are:

Partial Class _Default
    Inherits System.Web.UI.Page

    Protected Sub Calculate_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Calculate.Click

        Dim serNumB64 As String = UserSerNumB64.Text
        Dim serNum, serNumEnc As Long

        Dim i As Integer
        Dim ctrlByte As Byte
        Dim byteToEncode As Byte


This code works fine locally thorugh Visual Web Developer so I'm thinking there must be some library or framework component that's missing on the server. The hosting company is telling me that they've set up my account for ASP.NET 2.0 and I should be able to specify VB coding, but they don't know what more to say do because they don't have any ASP coders there.

Does anyone have an idea what might be going on?

Thanks,
stevaStart Free Trial
[+][-]05.23.2007 at 01:58PM PDT, ID: 19144937

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.23.2007 at 02:00PM PDT, ID: 19144954

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.23.2007 at 02:51PM PDT, ID: 19145334

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.23.2007 at 03:14PM PDT, ID: 19145446

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.23.2007 at 03:30PM PDT, ID: 19145540

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.23.2007 at 03:36PM PDT, ID: 19145566

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.23.2007 at 05:00PM PDT, ID: 19145928

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.23.2007 at 06:49PM PDT, ID: 19146312

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Programming for ASP.NET
Tags: class, error, base
Sign Up Now!
Solution Provided By: MHenry
Participating Experts: 3
Solution Grade: B
 
 
[+][-]05.23.2007 at 11:17PM PDT, ID: 19147350

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.25.2007 at 11:45PM PDT, ID: 19161240

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.26.2007 at 10:54AM PDT, ID: 19162354

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32