I am trying to run a simple page and get this error:
Server Error in '/FSTEST' Application.
----
--
Parser Error
Description: An error occurred during the parsing of a resource required to
service this request. Please review the following specific parse error
details and modify your source file appropriately.
Parser Error Message: Could not load type 'FSTEST.Global'.
Source Error:
Line 1: <%@dotnet.itags.org. Application Codebehind="Global.asax.vb"
Inherits="FSTEST.Global" %>
Source File: F:\Inetpub\wwwroot\FSTEST\global.asax Line: 1
----
--
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET
Version:1.1.4322.2032
This is on a line of code generated by Visual Stsudio .Net. What does the
error mean'
MikeMike,
The root directory of your application in IIS is not set as an
"application". The system is looking for the global.asax information in the
root. Open IIS, go to the properties on your website/fstest directory, and
click the "Create" button by the application name.
Ian Suttle
http://www.IanSuttle.com
"Mike D" wrote:
> I am trying to run a simple page and get this error:
> Server Error in '/FSTEST' Application.
> ----
--
> Parser Error
> Description: An error occurred during the parsing of a resource required t
o
> service this request. Please review the following specific parse error
> details and modify your source file appropriately.
> Parser Error Message: Could not load type 'FSTEST.Global'.
> Source Error:
> Line 1: <%@. Application Codebehind="Global.asax.vb"
> Inherits="FSTEST.Global" %>
> Source File: F:\Inetpub\wwwroot\FSTEST\global.asax Line: 1
> ----
--
> Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.N
ET
> Version:1.1.4322.2032
> This is on a line of code generated by Visual Stsudio .Net. What does the
> error mean'
> Mike
Thanks for the reply. Is there anything else it could be. The application
had been created and there was a global.asax file there. I removed then
recreated the application and still the same error. The only line in the
global.asax is"<%@. Application Codebehind="Global.asax.vb"
Inherits="FSTEST.Global" %>"
Thanks
Mike
"Ian Suttle" wrote:
> Mike,
> The root directory of your application in IIS is not set as an
> "application". The system is looking for the global.asax information in t
he
> root. Open IIS, go to the properties on your website/fstest directory, an
d
> click the "Create" button by the application name.
> Ian Suttle
> http://www.IanSuttle.com
> "Mike D" wrote:
>
Hello Mike,
Do you have a file called Global.asax.vb and does it define a class Global
with the namespace FSTEST?
Also, have you compiled to project (ie: is there a bin folder with dlls in
it)?
Matt Berther
http://www.mattberther.com
> Thanks for the reply. Is there anything else it could be. The
> application had been created and there was a global.asax file there.
> I removed then recreated the application and still the same error.
> The only line in the global.asax is"<%@. Application
> Codebehind="Global.asax.vb" Inherits="FSTEST.Global" %>"
> Thanks
> Mike
> "Ian Suttle" wrote:
>
It was simpler than that. I hadn't compiled. I thought aspx was done at ru
n
time the first time the page was requested. I guess this ASP guy has a lot
to learn.
Mike
"Ian Suttle" wrote:
> Mike,
> The root directory of your application in IIS is not set as an
> "application". The system is looking for the global.asax information in t
he
> root. Open IIS, go to the properties on your website/fstest directory, an
d
> click the "Create" button by the application name.
> Ian Suttle
> http://www.IanSuttle.com
> "Mike D" wrote:
>
Ah, that will do it as well :). You are correct in that the ASPX pages
compile at runtime and are stored as temporary DLLs for faster execution.
However, the code behinds are compiled into a DLL (prior to deployment) that
you need to run the application. I'm sure you realize this all by now thoug
h.
Ian Suttle
http://www.IanSuttle.com
"Mike D" wrote:
> It was simpler than that. I hadn't compiled. I thought aspx was done at
run
> time the first time the page was requested. I guess this ASP guy has a lo
t
> to learn.
> Mike
> "Ian Suttle" wrote:
>
It's going to be a switch. I'm sure I'll have more bonehead questions in th
e
future.
Thanks again for your time,
Mike
"Ian Suttle" wrote:
> Ah, that will do it as well :). You are correct in that the ASPX pages
> compile at runtime and are stored as temporary DLLs for faster execution.
> However, the code behinds are compiled into a DLL (prior to deployment) th
at
> you need to run the application. I'm sure you realize this all by now tho
ugh.
> Ian Suttle
> http://www.IanSuttle.com
> "Mike D" wrote:
>
Saturday, March 24, 2012
newbie error
Labels:
application,
asp,
error,
errordescription,
errorserver,
fstest,
net,
newbie,
occurred,
page,
parser,
run
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment