Re: Cannot load Class?? .NET2



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?






.



Relevant Pages

  • [NT] Heap Overrun in HTR Chunked Encoding Could Enable Web Server Compromise
    ... This patch eliminates a newly discovered vulnerability affecting Internet ... in IIS 4.0 and 5.0, and could likewise be used to overrun heap memory on ... allowing code to be run on the server. ... * Microsoft has long recommended disabling HTR functionality unless there ...
    (Securiteam)
  • Re: Problem with connect computer wizard
    ... Make sure the Windows XP client is pointing to the SBS 2003 server as ... Please collect the IIS metabase and the latest IIS log files further ... This newsgroup only focuses on SBS technical issues. ...
    (microsoft.public.windows.server.sbs)
  • RE: IIS Key pairs (how to export an IIS 4.0 self-issued Root CA a nd import into new IIS 4.0 box)
    ... IIS key to an Intel SSL acelerator ... it issues client certificates to the end users. ... Step I - Installing the New Server ... Install NT SP 3 ONLY ...
    (Focus-Microsoft)
  • Re: SBS 2003 After Service Pack 1 for SBS
    ... we can conclude the SBS 2003 SP1 has been applied ... Please help me collect the IIS metabase to check ... and using server management console to reproduce the problem. ... This newsgroup only focuses on SBS technical issues. ...
    (microsoft.public.windows.server.sbs)
  • FW: Microsoft Security Advisory MS 03-007
    ... am trying to find a vulnerability tester/script and I could test it out ... Department of the Army server that had been compromised and that this ... announcement covers IIS 5.1 but not IIS 6, ... How a Hacker Uses SQL Injection to Steal Your SQL Data! ...
    (Focus-Microsoft)