N
Novice
Hi all, this is a fairly trivial question, but I can't seem to figure
it out.
My set up is I have a directory - let's say:
c:\blah\foo
That directory is mapped to the virtual directory:
http://localhost/test
I have a bunch of .aspx and .vb files in that directory and it all
works fine.
However, I created a subdirectory in the above directory called:
c:\blah\foo\another
The above directory is mapped to:
http://localhost/test/another
In that directory I put an additional .aspx file (something.aspx) and
..vb file (something.aspx.vb) and the .aspx file uses the "inherits"
attribute to inherit from the class contained in the .vb file. That
works fine.
However, I want to make the "another" subdirectory into an application
too. So I go into the Internet Information Services tool, right click
on the another subdirectory, go to properties, and create an
application named "another". Now that directory is also an
application.
HOWEVER, now when I access the web pages, I get this error:
Could not load type 'test.something'.
I checked the .dll and there is in fact a class "something" in the
namespace "test".
I've tried making the "inherits" attribute equal to:
"test.another.something"
and
"another.something"
but nothing seems to work.
Any suggestions?
Thanks,
Novice
it out.
My set up is I have a directory - let's say:
c:\blah\foo
That directory is mapped to the virtual directory:
http://localhost/test
I have a bunch of .aspx and .vb files in that directory and it all
works fine.
However, I created a subdirectory in the above directory called:
c:\blah\foo\another
The above directory is mapped to:
http://localhost/test/another
In that directory I put an additional .aspx file (something.aspx) and
..vb file (something.aspx.vb) and the .aspx file uses the "inherits"
attribute to inherit from the class contained in the .vb file. That
works fine.
However, I want to make the "another" subdirectory into an application
too. So I go into the Internet Information Services tool, right click
on the another subdirectory, go to properties, and create an
application named "another". Now that directory is also an
application.
HOWEVER, now when I access the web pages, I get this error:
Could not load type 'test.something'.
I checked the .dll and there is in fact a class "something" in the
namespace "test".
I've tried making the "inherits" attribute equal to:
"test.another.something"
and
"another.something"
but nothing seems to work.
Any suggestions?
Thanks,
Novice