|
.net
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
newbie errorServer 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: <%@ 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?? Mike 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 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 Show quoteHide quote "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 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: <%@ 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?? > > 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 Show quoteHide quote "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 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 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: <%@ 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?? > > > > Mike 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)? Show quoteHide quote > 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 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 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: <%@ 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?? >>> >>> Mike >>> 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 lot to learn. Mike Show quoteHide quote "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 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 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: <%@ 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?? > > > > Mike 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 though. Ian Suttle http://www.IanSuttle.com Show quoteHide quote "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 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 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 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: <%@ 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?? > > > > > > Mike It's going to be a switch. I'm sure I'll have more bonehead questions in the
future. Thanks again for your time, Mike Show quoteHide quote "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) that > you need to run the application. I'm sure you realize this all by now though. > > 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 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 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 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: <%@ 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?? > > > > > > > > Mike
Other interesting topics
Simple problem
is it so tedious to update a record A basic question Cookie not found in Request.Cookies collection accessing Input text values from my code behind finding previous page adding a new row to the repeater control URL Rewriting breaking Output Caching Font size question Make a postback without using Javascript |
|||||||||||||||||||||||