Professional Web Applications Themes

p error in ASP.NET using VB.NET - ASP.NET General

I created an empty web project in VB.NET, and created a simple WebForm1. When I run it in URL, it throws this p error. Any ideas what's going on? Pr Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific p error details and modify your source file appropriately. Pr Error Message: Could not load type 'WebProject2.WebForm1'. Source Error: Line 1: <% Page Language="vb" AutoEventWireup="false" Codebehind="WebForm1.aspx.vb" Inherits="WebProject2.WebForm1"%> Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> Line 3: <HTML> Source File: C:\Inetpub\wwwroot\WebProject2\WebForm1.aspx Line: 1...

  1. #1

    Default p error in ASP.NET using VB.NET

    I created an empty web project in VB.NET, and created a simple WebForm1.
    When I run it in URL, it throws this p error. Any ideas what's going on?


    Pr Error
    Description: An error occurred during the parsing of a resource required to
    service this request. Please review the following specific p error
    details and modify your source file appropriately.

    Pr Error Message: Could not load type 'WebProject2.WebForm1'.

    Source Error:

    Line 1: <% Page Language="vb" AutoEventWireup="false"
    Codebehind="WebForm1.aspx.vb" Inherits="WebProject2.WebForm1"%>
    Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    Line 3: <HTML>


    Source File: C:\Inetpub\wwwroot\WebProject2\WebForm1.aspx Line: 1


    John Guest

  2. #2

    Default Re: p error in ASP.NET using VB.NET

    Did you compile it first?

    "John Davis" <com> wrote in message
    news:phx.gbl... 
    on? 
    to 


    Thomas Guest

  3. #3

    Default p error in ASP.NET using VB.NET

    Try building the project first.
    VB.NET uses "codebehind", which means you have to compile
    the codebehind file (WebForm1.aspx.vb in this case) first.

    Regards,
    David
     
    simple WebForm1. 
    ideas what's going on? 
    resource required to 
    specific p error 
    type 'WebProject2.WebForm1'. 
    Inherits="WebProject2.WebForm1"%> 
    Transitional//EN"> 
    \WebForm1.aspx Line: 1 
    David Guest

Similar Threads

  1. Replies: 1
    Last Post: August 26th, 08:46 PM
  2. #25256 [Bgs->Opn]: P error: p error, unexpected $ in ... on line 642
    By a dot schat at streamedge dot com in forum PHP Development
    Replies: 0
    Last Post: August 26th, 08:26 PM
  3. #25256 [NEW]: P error: p error, unexpected $ in ... on line 642
    By a dot schat at streamedge dot com in forum PHP Development
    Replies: 0
    Last Post: August 26th, 07:20 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not 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