.Net parser error

  • 2 March 2004
  • 1 reply
  • 2 views

Badge +1
Hi,
I'm currently working throuh the "building your 1st k2 process" Tutorial/Walkthrough. I create leaveapplication.aspx page and compiled ok. but when I run it, I encouter the following error :

Parser Error Message: Could not load type '10.0.0.96.LeaveApplication'.

Line 1: <%@ Page Language="vb" AutoEventWireup="True" Codebehind="LeaveApplication.aspx.vb" Inherits="10.0.0.96.LeaveApplication" ClassName="K2SmartForm"%>
Line 2: <%@ Register TagPrefix="K2" Namespace="SourceCode.K2SmartForms" Assembly="K2SmartForms" %>
Line 3: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

Source File: C:InetpubSitesk2nettrainingleaveapplication.aspx Line: 1

any idea what's wrong ......?

Regards
Yeong

1 reply

Badge +1
Hi,

I manage to solve the problem, here is some answer :

- deleted the 'dll' from bin folder and compiled again.

or

- opened Project properties dialog and found that the file share path under Web Settings had an extra slash that had not been there before.
That is, the path was:
D:Dir1Dir2IISRootSolutionDirProjectDir
Removing the extra slash, closing the studio, reopening and compiling solved the problem.

or

This is because the name of the Visual Studio web project needs to be exactly the same as the name of the k2 project; (This is indicated in step 4b of the section "Setting up the VS.NET Solution for VB.NET" in the Help file.)


Regards
Yeong

Reply