H
Hawkz
Hi there,
I am coming to grips with VB.NET currently and I have a problem.
I am building an asp.net website
I wish to create a custom class that contains the custom functions that I
use frequently. the aim is to reduce code replication.
I have a file called "functions.vb" it is a simple test class with a
function called "speak(by val words as String)"
In another aspx.vb file I am using the statment "Imports functions"
At this stage, (using VS2005) doing a debugging load it all works. But when
I try to load this website on the remote server, it comes up with the
following error:
"
c:\inetpub\wwwroot\asp\anzmac07\login.aspx.vb(1) : warning BC40056:
Namespace or type specified in the Imports 'myFunctions.functions' doesn't
contain any public member or cannot be found. Make sure the namespace or the
type is defined and contains at least one public member. Make sure the
imported element name doesn't use any aliases."
So my question is, why does this web page project work locally in VS2005 and
not on the main webserver. I am extremely frustrated as I have googled until
blue in the face.
Does anyone have some suggestions.
Pleaaaase
Cheers.
I am coming to grips with VB.NET currently and I have a problem.
I am building an asp.net website
I wish to create a custom class that contains the custom functions that I
use frequently. the aim is to reduce code replication.
I have a file called "functions.vb" it is a simple test class with a
function called "speak(by val words as String)"
In another aspx.vb file I am using the statment "Imports functions"
At this stage, (using VS2005) doing a debugging load it all works. But when
I try to load this website on the remote server, it comes up with the
following error:
"
c:\inetpub\wwwroot\asp\anzmac07\login.aspx.vb(1) : warning BC40056:
Namespace or type specified in the Imports 'myFunctions.functions' doesn't
contain any public member or cannot be found. Make sure the namespace or the
type is defined and contains at least one public member. Make sure the
imported element name doesn't use any aliases."
So my question is, why does this web page project work locally in VS2005 and
not on the main webserver. I am extremely frustrated as I have googled until
blue in the face.
Does anyone have some suggestions.
Pleaaaase
Cheers.