Where do I check the root namespace names.
Public Class index
Inherits System.Web.UI.Page
#Region " Web Form Designer Generated Code "
'This call is required by the Web Form Designer.
<System.Diagnostics.DebuggerStepThrough()> Private Sub
InitializeComponent()
End Sub
Private Sub Page_Init(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Init
'CODEGEN: This method call is required by the Web Form Designer
'Do not modify it using the code editor.
InitializeComponent()
End Sub
#End Region
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
'Put user code to initialize the page here
Server.Transfer("login.aspx")
End Sub
End Class
Pete Lundrigan
Media Resources Center
Academic Web Support
316.978.7759
http://www.mrc.twsu.edu/
[EMAIL PROTECTED]
-----Original Message-----
From: Remie Bolte [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 16, 2002 12:44 PM
To: ActiveServerPages
Subject: Re: .NET woes
hi
can you post the code of then aoshs.index class?
by the way, is aoshs your root namespace?
regards
remie bolte
----- Original Message -----
From: "Pete Lundrigan" <[EMAIL PROTECTED]>
To: "ActiveServerPages" <[EMAIL PROTECTED]>
Sent: Wednesday, October 16, 2002 6:36 PM
Subject: RE: .NET woes
I found the class view and I only have one index class.
Pete Lundrigan
Media Resources Center
Academic Web Support
316.978.7759
http://www.mrc.twsu.edu/
[EMAIL PROTECTED]
-----Original Message-----
From: Remie Bolte [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 16, 2002 10:04 AM
To: ActiveServerPages
Subject: Re: .NET woes
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.unsub%%
---
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.unsub%%
---
You are currently subscribed to activeserverpages as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]