Ask a Question related to ASP.NET General, Design and Development.
-
Pa Ji #1
error running my first web appication
I just created a simple web application and tried to run it. Getting
following...any idea what I'm missing
Thanks in advance
----------------------------------------------------------------------------
----
Server Error in '/test2' 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 'test2.Global'.
Source Error:
Line 1: <%@ Application Codebehind="Global.asax.vb" Inherits="test2.Global"
%>
Source File: c:\inetpub\wwwroot\test2\global.asax Line: 1
----------------------------------------------------------------------------
----
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET
Version:1.1.4322.573
----------------------------------------------------------------------------
-----------------
Line 1 of Global.asax.vb contains following file
Imports System.Web
Pa Ji Guest
-
Error when running CFMX 6.1
For the past few days, it appears that our Coldfusion server is shutting down. In the event logs, I get a: Faulting application swsoc.exe,... -
Error running web service
Hi When I try to run my test web service on my local win2k server using syntax; http://localhost/WebServiceTest/Service1.asmx, I get the... -
error when running a report
When doing a collection for output and running a report, I am getting an error message that will not let me continue. It says: "cannot complete... -
Appication name in SQL Server connection string
Hi group, Does anyone know how I can pass an application name in my connection string and have it be recognized by SQL Server? I have this... -
Running Error
How do i fix "invalid Backweb application ID 7288971" -
joe #2
Re: error running my first web appication
Sounds like you may not have build your solution. Are you using a server on
your local machine or are you using another server over the web?
"Pa Ji" <PA JI> wrote in message
news:%23ZktI9DPDHA.2768@tk2msftngp13.phx.gbl...--> I just created a simple web application and tried to run it. Getting
> following...any idea what I'm missing
>
> Thanks in advance
> ----------------------------------------------------------------------------> ----
>
> Server Error in '/test2' Application.
> --------------------------------------------------------------------------to> ----
>
> Parser Error
> Description: An error occurred during the parsing of a resource requiredInherits="test2.Global"> service this request. Please review the following specific parse error
> details and modify your source file appropriately.
>
> Parser Error Message: Could not load type 'test2.Global'.
>
> Source Error:
>
>
> Line 1: <%@ Application Codebehind="Global.asax.vb"--> %>
>
>
>
> Source File: c:\inetpub\wwwroot\test2\global.asax Line: 1
>
>
>
> --------------------------------------------------------------------------ASP.NET> ----
>
> Version Information: Microsoft .NET Framework Version:1.1.4322.573;--> Version:1.1.4322.573
>
> --------------------------------------------------------------------------> -----------------
> Line 1 of Global.asax.vb contains following file
> Imports System.Web
>
>
joe Guest
-
Sreejumon[MVP] #3
error running my first web appication
Hi,
It seems to be a common error.Usually "Could not load
type" exceptions result from the DDL not being found,
incorrect file permissions on the DLL, or version mismatch
between the assembly that needs to be loaded and the one
that was discovered. First ensure your dll is there
inside the bin fodler. Else please buld your application
and create teh dll. Then check the permsion of the dll.
ASPNet user need the access persion to the dll. Usually
that will be one webfoleder. Then check the dll version.
Please refer the folowing link for more help.
[url]http://msdn.microsoft.com/library/default.asp?[/url]
url=/library/en-
us/cpguide/html/cpconhowruntimelocatesassemblies.asp
Let me know if you need further queries.
Regards
Sreejumon[MVP]
it. Getting>-----Original Message-----
> I just created a simple web application and tried to run------------------>following...any idea what I'm missing
>
>Thanks in advance
>---------------------------------------------------------------------------->----
>
>Server Error in '/test2' Application.
>----------------------------------------------------------resource required to>----
>
>Parser Error
>Description: An error occurred during the parsing of aspecific parse error>service this request. Please review the followingInherits="test2.Global">details and modify your source file appropriately.
>
>Parser Error Message: Could not load type 'test2.Global'.
>
>Source Error:
>
>
>Line 1: <%@ Application Codebehind="Global.asax.vb"Line: 1>%>
>
>
>
>Source File: c:\inetpub\wwwroot\test2\global.asax------------------>
>
>
>----------------------------------------------------------Version:1.1.4322.573; ASP.NET>----
>
>Version Information: Microsoft .NET Framework------------------>Version:1.1.4322.573
>
>---------------------------------------------------------->-----------------
>Line 1 of Global.asax.vb contains following file
>Imports System.Web
>
>
>.
>Sreejumon[MVP] Guest
-
Pa Ji #4
Re: error running my first web appication
---Thanks for U're help it worked, being Classic ASP developer I never
thought about it.
Pa Ji
"James J. Foster" <james@dotnetcoders.com> wrote in message
news:e3AS9OEPDHA.3088@TK2MSFTNGP10.phx.gbl...to> Are you developing your solution with Visual Studio.NET? If you, you havea> compile the project before running it. If you have simply copied files to> web directory without using VS.NET and compiling, remove this from the
> global.asax file:
>
> Codebehind="Global.asax.vb" Inherits="test2.Global"
>
> If many of the other files contain Codebehind...etc as well, then likely
> there is legitimate code in those files, and you will need to compile the
> application for it to execute properly.
>
>
> James J. Foster, DotNetCoders
> [url]http://www.dotnetcoders.com[/url]
>
>
>
> "Pa Ji" <PA JI> wrote in message
> news:#ZktI9DPDHA.2768@tk2msftngp13.phx.gbl...>> > I just created a simple web application and tried to run it. Getting
> > following...any idea what I'm missing
> >
> > Thanks in advance
> --------------------------------------------------------------------------
> -->> > ----
> >
> > Server Error in '/test2' Application.
> --------------------------------------------------------------------------
> --> to> > ----
> >
> > Parser Error
> > Description: An error occurred during the parsing of a resource required> Inherits="test2.Global"> > service this request. Please review the following specific parse error
> > details and modify your source file appropriately.
> >
> > Parser Error Message: Could not load type 'test2.Global'.
> >
> > Source Error:
> >
> >
> > Line 1: <%@ Application Codebehind="Global.asax.vb">> > %>
> >
> >
> >
> > Source File: c:\inetpub\wwwroot\test2\global.asax Line: 1
> >
> >
> >
> --------------------------------------------------------------------------
> --> ASP.NET> > ----
> >
> > Version Information: Microsoft .NET Framework Version:1.1.4322.573;>> > Version:1.1.4322.573
> >
> --------------------------------------------------------------------------
> -->> > -----------------
> > Line 1 of Global.asax.vb contains following file
> > Imports System.Web
> >
> >
>
Pa Ji Guest



Reply With Quote

