Re: Cannot load Class?? .NET2
- From: "D. Shane Fowlkes" <shanefowlkes@xxxxxxxxxxxxxxxxx>
- Date: Wed, 8 Feb 2006 13:49:35 -0500
Resolved.
I tinkered around in IIS and found where I can set the application to .NET 2
instead of 1.1.
"D. Shane Fowlkes" <shanefowlkes@xxxxxxxxxxxxxxxxx> wrote in message
news:%23MhUFeNLGHA.3264@xxxxxxxxxxxxxxxxxxxxxxx
To add addt'l info....I tried the example straight off the MS site (link
in orig post) and it doesn't work either. The .NET2 Framework is
installed on the test server. Is there something I need to set up or
configure on the server other than just install the .NET 2 Framework? Do
I need to do anything in IIS?
"D. Shane Fowlkes" <shanefowlkes@xxxxxxxxxxxxxxxxx> wrote in message
news:O$f8SWNLGHA.740@xxxxxxxxxxxxxxxxxxxxxxx
ASP.NET 2 (VB)
I'm experimenting with MS VWD and .NET2. I'm tinkering with the Code
Behind method as demonstrated on MS's tutorial at
http://www.asp.net/QuickStart/aspnet/doc/pages/codebehind.aspx#codebehind
. Yet, when I follow the example and apply it to my own little test, I
get a server error of:
Parser Error Message: Could not load type 'PasswordClass'.
Line 1: <%@ Page language="VB" CodeFile="CodeFiles/forgotpwd_aspx.vb"
Inherits="PasswordClass" %>
Line 1 above is the first line of my page. My codefile looks like this:
Imports Microsoft.VisualBasic
Partial Class PasswordClass
Inherits System.Web.UI.Page
Protected Sub btnSubmit_Click(ByVal sender As Object, ByVal e As
System.EventArgs)
lblMessage.Text = "Success" & Time()
End Sub
End Class
Any ideas of what I'm doing wrong?
.
- References:
- Cannot load Class?? .NET2
- From: D. Shane Fowlkes
- Re: Cannot load Class?? .NET2
- From: D. Shane Fowlkes
- Cannot load Class?? .NET2
- Prev by Date: connection string syntax in page using config file
- Next by Date: Running Asp.net 2.0 and Asp.net 1.1
- Previous by thread: Re: Cannot load Class?? .NET2
- Next by thread: Login attempt not successful after deploy???
- Index(es):
Relevant Pages
|