Parser Error Message: Could not load type 'winadmin._default'

D

David Johnson

Okay, creating an ASP.NET application with Visual Studio on a remote server
(not local machine).

It starts up with WebForm.aspx

I put an image in webform.aspx, save it, and jump over to Internet Explorer,
and surf to
http://myserver/myproject/webform1.aspx.

All is well, I see my image.

I then return to Visual Studio, click on File - Add New Item - Webform, and
name it default.aspx.

I add a label to default.aspx, and put the text "Hello World" in the label.

I save it, then go to internet exploreer and surf to
http://myserver/myproject.

I get the error:

Parser Error Message: Could not load type 'winadmin._default'.

and it highlights the line:

Line 1: <%@ Page Language="vb" AutoEventWireup="false"
Codebehind="default.aspx.vb" Inherits="winadmin._default"%>

What did I do wrong?

Thanks!

David
 
S

Showjumper

after you add a new webform rebuild the solution/project, which should clear
it up
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,969
Messages
2,570,161
Members
46,710
Latest member
bernietqt

Latest Threads

Top