hi

the problem lies in the  Inherits="aoshs.Index"  line.
this line refers to the Index class in the namespace aoshs.
you should look wheter that class exists. If not, then you know where your
problem lies. If it does exists, Perhaps you should look wheter you don't
have multiple classes with the name Index. This is a little bug in vs.net.
When you copy&Paste a file, the class .vb file that goes with the aspx file
(the codebehind) doesn't get renamed and therefor creating a duplicate class
with the same name. This should not happen within a namespace and therefor
creates an error.

if it is neither of these two solutions, then repost your question.

regards

remie bolte




----- Original Message -----
From: "Pete Lundrigan" <[EMAIL PROTECTED]>
To: "ActiveServerPages" <[EMAIL PROTECTED]>
Sent: Wednesday, October 16, 2002 4:33 PM
Subject: .NET woes


I am jumping into the .NET game and am off to a rough start.

I have created a project and all of my pages appear to be working except
for my index.aspx. All index.aspx does  is a server.transfer to another
page upon page load.

My project will build and rebuild successfully but when I try to open
index.aspx in the browser I get the following message:

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

Parser Error Message: Could not load type 'aoshs.Index'.

Source Error:


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


Source File: D:\webs\Imaginet\www\aoshsarchive\index.aspx    Line: 1

Any one have any thoughts?

TIA

Pete Lundrigan
Media Resources Center
Academic Web Support
316.978.7759
http://www.mrc.twsu.edu/
[EMAIL PROTECTED]

---
You are currently subscribed to activeserverpages as: [EMAIL PROTECTED]
To unsubscribe send a blank email to
%%email.unsub%%



---
You are currently subscribed to activeserverpages as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to