IIS, App_code and Class

Dear Forum

may you help me please,
i have a class file that i put in the folder App_Code like this :

then I have page.aspx as below :

<%@ Page Language="VB"%>
<%@ Import Namespace = "system.data" %>
<%@ Import Namespace = "suginame" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

Untitled Page

Dim mlOBJ As New suginame.sugiClass1
Sub Page_Load(ByVal Source As Object, ByVal E As EventArgs)
mlLABELMSG.Text = mlOBJ.Sugi1(9)
End Sub

When I use Visual Studio 2005, View in Browser, the page.aspx can view
but when i use IIS (Internet Information Service) and browse this file,
the error :
Compiler Error Message: BC30002: Type 'suginame.sugiClass1' is not defined.

what's wrong of this, any setting of IIS to be changed ?
I try searching, and still not find the solution
please advice... pls...

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!