473,408 Members | 2,813 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

Unable to Run ANY ASP.NET Samples :: REALLY Frustrated!

Hi!

I'm pretty frustrated learning ASP.NET. I'm learning ASP.NET by downloading
samples from various ASP.NET websites and none of the samples worked so far.

The SAME error was shown whenever I browse and ASP.NET sample, which is...

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 'MySite.Web.TestProgram'.
So I'm getting 'Could not load type <<Class Name>>' error for any ASP.NET
applications I tried to execute. Majority of the ASP.NET samples I tried to
execute utilize Code Behind VB.NET and Custom ASP.NET controls and minority
uses C#.

I have Virtual Directory created in IIS to run the samples and it is
configured to "Run Scripts" and also configured as "Application" as well.

So what is the problem?? I've been trying this out with more than 8 ASP.NET
samples for more than 3 DAYS!!! NONE OF THEM WORKED SO FAR. PLEASE HELP!

I maybe doing something so stupid and so obvious to experienced .NET
developers, so please, help me out!

Here are my computer specific information...
- .NET Framework v1.1.4322
- Windows XP SP1
- IIS5

Don
Nov 18 '05 #1
10 1559
How about if you tell us what samples you are trying? Have you tried the
..NET Framework SDK Quickstart Tutorial & Samples?
"Don Wash" <do*@wash.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
Hi!

I'm pretty frustrated learning ASP.NET. I'm learning ASP.NET by downloading samples from various ASP.NET websites and none of the samples worked so far.
The SAME error was shown whenever I browse and ASP.NET sample, which is...

> 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 'MySite.Web.TestProgram'.

So I'm getting 'Could not load type <<Class Name>>' error for any ASP.NET
applications I tried to execute. Majority of the ASP.NET samples I tried to execute utilize Code Behind VB.NET and Custom ASP.NET controls and minority uses C#.

I have Virtual Directory created in IIS to run the samples and it is
configured to "Run Scripts" and also configured as "Application" as well.

So what is the problem?? I've been trying this out with more than 8 ASP.NET samples for more than 3 DAYS!!! NONE OF THEM WORKED SO FAR. PLEASE HELP!

I maybe doing something so stupid and so obvious to experienced .NET
developers, so please, help me out!

Here are my computer specific information...
- .NET Framework v1.1.4322
- Windows XP SP1
- IIS5

Don

Nov 18 '05 #2

Hi Scott!

"Scott M." <s-***@nospam.nospam> wrote in message
news:eK*************@TK2MSFTNGP11.phx.gbl...
How about if you tell us what samples you are trying?
ANY ASP.NET samples that utilize Custom Controls, VB.NET Code Behinds and of
course Inheritance. The samples ranges from www.codeproject.com,
www.devx.com, www.4guysfromrolla.com, www.asp.net and many other misc
sources.

But none of them worked and I'm reciving SAME error message that is 'Could
not load type <<Class Name>>' . I mean only if .NET Compiler have been more
specific on the error, then I could be able to figure the problem out
myself.

This error particulary occur (I'm seeing patterns now) when an page
references a class in another page. And all of the samples I'm trying out
more or less have this kind of references (and inheritance!).

Any ideas why?
Have you tried the
.NET Framework SDK Quickstart Tutorial & Samples?

No, where do I get them?

Thanks,
Don

"Don Wash" <do*@wash.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
Hi!

I'm pretty frustrated learning ASP.NET. I'm learning ASP.NET by

downloading
samples from various ASP.NET websites and none of the samples worked so

far.

The SAME error was shown whenever I browse and ASP.NET sample, which is...
> > 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 'MySite.Web.TestProgram'.

So I'm getting 'Could not load type <<Class Name>>' error for any ASP.NET applications I tried to execute. Majority of the ASP.NET samples I tried

to
execute utilize Code Behind VB.NET and Custom ASP.NET controls and

minority
uses C#.

I have Virtual Directory created in IIS to run the samples and it is
configured to "Run Scripts" and also configured as "Application" as well.
So what is the problem?? I've been trying this out with more than 8

ASP.NET
samples for more than 3 DAYS!!! NONE OF THEM WORKED SO FAR. PLEASE HELP!

I maybe doing something so stupid and so obvious to experienced .NET
developers, so please, help me out!

Here are my computer specific information...
- .NET Framework v1.1.4322
- Windows XP SP1
- IIS5

Don


Nov 18 '05 #3
have u tried creating a blank asp.net program and just testing if that runs
in the first place ?
u had IIS installed before .Net ? or after ?

"Don Wash" <do*@wash.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
Hi!

I'm pretty frustrated learning ASP.NET. I'm learning ASP.NET by downloading samples from various ASP.NET websites and none of the samples worked so far.
The SAME error was shown whenever I browse and ASP.NET sample, which is...

> 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 'MySite.Web.TestProgram'.

So I'm getting 'Could not load type <<Class Name>>' error for any ASP.NET
applications I tried to execute. Majority of the ASP.NET samples I tried to execute utilize Code Behind VB.NET and Custom ASP.NET controls and minority uses C#.

I have Virtual Directory created in IIS to run the samples and it is
configured to "Run Scripts" and also configured as "Application" as well.

So what is the problem?? I've been trying this out with more than 8 ASP.NET samples for more than 3 DAYS!!! NONE OF THEM WORKED SO FAR. PLEASE HELP!

I maybe doing something so stupid and so obvious to experienced .NET
developers, so please, help me out!

Here are my computer specific information...
- .NET Framework v1.1.4322
- Windows XP SP1
- IIS5

Don

---
Outgoing mail is certified Virus Free. (well i'd like to think it is.. )
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.712 / Virus Database: 468 - Release Date: 27/06/2004
Nov 18 '05 #4
Hi Mike,

"Mike Smith" <te**@test.com> wrote in message
news:%2***************@TK2MSFTNGP11.phx.gbl...
have u tried creating a blank asp.net program and just testing if that runs in the first place ?
Yes, I can do a test page with <% Response.Write (Now()) %> or do some
validation in Page_Load event.
u had IIS installed before .Net ? or after ?

I installed .NET after IIS.

Don
"Don Wash" <do*@wash.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
Hi!

I'm pretty frustrated learning ASP.NET. I'm learning ASP.NET by

downloading
samples from various ASP.NET websites and none of the samples worked so

far.

The SAME error was shown whenever I browse and ASP.NET sample, which is...
> > 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 'MySite.Web.TestProgram'.

So I'm getting 'Could not load type <<Class Name>>' error for any ASP.NET applications I tried to execute. Majority of the ASP.NET samples I tried

to
execute utilize Code Behind VB.NET and Custom ASP.NET controls and

minority
uses C#.

I have Virtual Directory created in IIS to run the samples and it is
configured to "Run Scripts" and also configured as "Application" as well.
So what is the problem?? I've been trying this out with more than 8

ASP.NET
samples for more than 3 DAYS!!! NONE OF THEM WORKED SO FAR. PLEASE HELP!

I maybe doing something so stupid and so obvious to experienced .NET
developers, so please, help me out!

Here are my computer specific information...
- .NET Framework v1.1.4322
- Windows XP SP1
- IIS5

Don

---
Outgoing mail is certified Virus Free. (well i'd like to think it is.. )
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.712 / Virus Database: 468 - Release Date: 27/06/2004

Nov 18 '05 #5
when u open up the project itself do u get any error mssages ?
did a complete rebuild ?

check out : http://support.microsoft.com/default...;en-us;Q306155
"Don Wash" <do*@wash.com> wrote in message
news:eQ**************@TK2MSFTNGP11.phx.gbl...
Hi Mike,

"Mike Smith" <te**@test.com> wrote in message
news:%2***************@TK2MSFTNGP11.phx.gbl...
have u tried creating a blank asp.net program and just testing if that

runs
in the first place ?


Yes, I can do a test page with <% Response.Write (Now()) %> or do some
validation in Page_Load event.
u had IIS installed before .Net ? or after ?


I installed .NET after IIS.

Don
"Don Wash" <do*@wash.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
Hi!

I'm pretty frustrated learning ASP.NET. I'm learning ASP.NET by

downloading
samples from various ASP.NET websites and none of the samples worked so
far.

The SAME error was shown whenever I browse and ASP.NET sample, which is...
> > > 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 'MySite.Web.TestProgram'.

So I'm getting 'Could not load type <<Class Name>>' error for any ASP.NET applications I tried to execute. Majority of the ASP.NET samples I
tried to
execute utilize Code Behind VB.NET and Custom ASP.NET controls and

minority
uses C#.

I have Virtual Directory created in IIS to run the samples and it is
configured to "Run Scripts" and also configured as "Application" as

well.
So what is the problem?? I've been trying this out with more than 8

ASP.NET
samples for more than 3 DAYS!!! NONE OF THEM WORKED SO FAR. PLEASE

HELP!
I maybe doing something so stupid and so obvious to experienced .NET
developers, so please, help me out!

Here are my computer specific information...
- .NET Framework v1.1.4322
- Windows XP SP1
- IIS5

Don

---
Outgoing mail is certified Virus Free. (well i'd like to think it is.. )
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.712 / Virus Database: 468 - Release Date: 27/06/2004


---
Outgoing mail is certified Virus Free. (well i'd like to think it is.. )
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.712 / Virus Database: 468 - Release Date: 27/06/2004
Nov 18 '05 #6
u might also wanna try and delete all the *.dll files from the \bin folder
before u rebuild the entire project.. see if that helps...

"Don Wash" <do*@wash.com> wrote in message
news:eQ**************@TK2MSFTNGP11.phx.gbl...
Hi Mike,

"Mike Smith" <te**@test.com> wrote in message
news:%2***************@TK2MSFTNGP11.phx.gbl...
have u tried creating a blank asp.net program and just testing if that

runs
in the first place ?


Yes, I can do a test page with <% Response.Write (Now()) %> or do some
validation in Page_Load event.
u had IIS installed before .Net ? or after ?


I installed .NET after IIS.

Don
"Don Wash" <do*@wash.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
Hi!

I'm pretty frustrated learning ASP.NET. I'm learning ASP.NET by

downloading
samples from various ASP.NET websites and none of the samples worked so
far.

The SAME error was shown whenever I browse and ASP.NET sample, which is...
> > > 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 'MySite.Web.TestProgram'.

So I'm getting 'Could not load type <<Class Name>>' error for any ASP.NET applications I tried to execute. Majority of the ASP.NET samples I
tried to
execute utilize Code Behind VB.NET and Custom ASP.NET controls and

minority
uses C#.

I have Virtual Directory created in IIS to run the samples and it is
configured to "Run Scripts" and also configured as "Application" as

well.
So what is the problem?? I've been trying this out with more than 8

ASP.NET
samples for more than 3 DAYS!!! NONE OF THEM WORKED SO FAR. PLEASE

HELP!
I maybe doing something so stupid and so obvious to experienced .NET
developers, so please, help me out!

Here are my computer specific information...
- .NET Framework v1.1.4322
- Windows XP SP1
- IIS5

Don

---
Outgoing mail is certified Virus Free. (well i'd like to think it is.. )
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.712 / Virus Database: 468 - Release Date: 27/06/2004


---
Outgoing mail is certified Virus Free. (well i'd like to think it is.. )
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.712 / Virus Database: 468 - Release Date: 27/06/2004
Nov 18 '05 #7
HI!

The samples I downloaded are not made in Visual Studio .NET so there is no
VS.NET project files included. All I did was just unzip the samples and put
them in the wwwRoot to test it. And there are no dll files included at all.

I also have been to the link you've gave me a while ago. It is the problem
with C#. But the strange thing is all of my sample (well majority of them)
are VB.NET samples. :P

What could be the problem??

Don

"Mike Smith" <te**@test.com> wrote in message
news:O2**************@TK2MSFTNGP10.phx.gbl...
when u open up the project itself do u get any error mssages ?
did a complete rebuild ?

check out : http://support.microsoft.com/default...;en-us;Q306155

"Don Wash" <do*@wash.com> wrote in message
news:eQ**************@TK2MSFTNGP11.phx.gbl...
Hi Mike,

"Mike Smith" <te**@test.com> wrote in message
news:%2***************@TK2MSFTNGP11.phx.gbl...
have u tried creating a blank asp.net program and just testing if that

runs
in the first place ?


Yes, I can do a test page with <% Response.Write (Now()) %> or do some
validation in Page_Load event.
u had IIS installed before .Net ? or after ?


I installed .NET after IIS.

Don
"Don Wash" <do*@wash.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
> Hi!
>
> I'm pretty frustrated learning ASP.NET. I'm learning ASP.NET by
downloading
> samples from various ASP.NET websites and none of the samples worked so far.
>
> The SAME error was shown whenever I browse and ASP.NET sample, which

is...
>
>
> > > > 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 'MySite.Web.TestProgram'.
>
>
> So I'm getting 'Could not load type <<Class Name>>' error for any

ASP.NET
> applications I tried to execute. Majority of the ASP.NET samples I tried to
> execute utilize Code Behind VB.NET and Custom ASP.NET controls and
minority
> uses C#.
>
> I have Virtual Directory created in IIS to run the samples and it is
> configured to "Run Scripts" and also configured as "Application" as

well.
>
> So what is the problem?? I've been trying this out with more than 8
ASP.NET
> samples for more than 3 DAYS!!! NONE OF THEM WORKED SO FAR. PLEASE HELP! >
> I maybe doing something so stupid and so obvious to experienced .NET
> developers, so please, help me out!
>
> Here are my computer specific information...
> - .NET Framework v1.1.4322
> - Windows XP SP1
> - IIS5
>
> Don
>
>
---
Outgoing mail is certified Virus Free. (well i'd like to think it is.. ) Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.712 / Virus Database: 468 - Release Date: 27/06/2004


---
Outgoing mail is certified Virus Free. (well i'd like to think it is.. )
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.712 / Virus Database: 468 - Release Date: 27/06/2004

Nov 18 '05 #8
Hi!

There are no dll files included in the downloaded samples nor did I compile
them.

Don

"Mike Smith" <te**@test.com> wrote in message
news:eq**************@TK2MSFTNGP09.phx.gbl...
u might also wanna try and delete all the *.dll files from the \bin folder
before u rebuild the entire project.. see if that helps...

"Don Wash" <do*@wash.com> wrote in message
news:eQ**************@TK2MSFTNGP11.phx.gbl...
Hi Mike,

"Mike Smith" <te**@test.com> wrote in message
news:%2***************@TK2MSFTNGP11.phx.gbl...
have u tried creating a blank asp.net program and just testing if that

runs
in the first place ?


Yes, I can do a test page with <% Response.Write (Now()) %> or do some
validation in Page_Load event.
u had IIS installed before .Net ? or after ?


I installed .NET after IIS.

Don
"Don Wash" <do*@wash.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
> Hi!
>
> I'm pretty frustrated learning ASP.NET. I'm learning ASP.NET by
downloading
> samples from various ASP.NET websites and none of the samples worked so far.
>
> The SAME error was shown whenever I browse and ASP.NET sample, which

is...
>
>
> > > > 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 'MySite.Web.TestProgram'.
>
>
> So I'm getting 'Could not load type <<Class Name>>' error for any

ASP.NET
> applications I tried to execute. Majority of the ASP.NET samples I tried to
> execute utilize Code Behind VB.NET and Custom ASP.NET controls and
minority
> uses C#.
>
> I have Virtual Directory created in IIS to run the samples and it is
> configured to "Run Scripts" and also configured as "Application" as

well.
>
> So what is the problem?? I've been trying this out with more than 8
ASP.NET
> samples for more than 3 DAYS!!! NONE OF THEM WORKED SO FAR. PLEASE HELP! >
> I maybe doing something so stupid and so obvious to experienced .NET
> developers, so please, help me out!
>
> Here are my computer specific information...
> - .NET Framework v1.1.4322
> - Windows XP SP1
> - IIS5
>
> Don
>
>
---
Outgoing mail is certified Virus Free. (well i'd like to think it is.. ) Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.712 / Virus Database: 468 - Release Date: 27/06/2004


---
Outgoing mail is certified Virus Free. (well i'd like to think it is.. )
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.712 / Virus Database: 468 - Release Date: 27/06/2004

Nov 18 '05 #9
what no dll files ? could that be the problem ?
if the source code is written inline , the server side code is written in
the aspx pages itself then thats ok.. but if there is code behind pages then
it would need a dll of the precompiled code.
Since u said it wasnt done in vs.net im guessing its not using code behind
(done is web matrix ?)

hmm an issue with the reference of the global.asax perhaps ? did u try
deleting that if its not need (no codes in it)

would like to see a screen shot or the actual code.. im curious whats up
with ur sample..

"Don Wash" <do*@wash.com> wrote in message
news:OO**************@TK2MSFTNGP11.phx.gbl...
Hi!

There are no dll files included in the downloaded samples nor did I compile them.

Don

"Mike Smith" <te**@test.com> wrote in message
news:eq**************@TK2MSFTNGP09.phx.gbl...
u might also wanna try and delete all the *.dll files from the \bin folder
before u rebuild the entire project.. see if that helps...

"Don Wash" <do*@wash.com> wrote in message
news:eQ**************@TK2MSFTNGP11.phx.gbl...
Hi Mike,

"Mike Smith" <te**@test.com> wrote in message
news:%2***************@TK2MSFTNGP11.phx.gbl...
> have u tried creating a blank asp.net program and just testing if that runs
> in the first place ?

Yes, I can do a test page with <% Response.Write (Now()) %> or do some
validation in Page_Load event.

> u had IIS installed before .Net ? or after ?
>

I installed .NET after IIS.

Don

> "Don Wash" <do*@wash.com> wrote in message
> news:%2****************@TK2MSFTNGP11.phx.gbl...
> > Hi!
> >
> > I'm pretty frustrated learning ASP.NET. I'm learning ASP.NET by
> downloading
> > samples from various ASP.NET websites and none of the samples worked
so
> far.
> >
> > The SAME error was shown whenever I browse and ASP.NET sample,

which is...
> >
> >
> > > > > 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 'MySite.Web.TestProgram'. > >
> >
> > So I'm getting 'Could not load type <<Class Name>>' error for any
ASP.NET
> > applications I tried to execute. Majority of the ASP.NET samples I

tried
> to
> > execute utilize Code Behind VB.NET and Custom ASP.NET controls and
> minority
> > uses C#.
> >
> > I have Virtual Directory created in IIS to run the samples and it is > > configured to "Run Scripts" and also configured as "Application" as well.
> >
> > So what is the problem?? I've been trying this out with more than 8 > ASP.NET
> > samples for more than 3 DAYS!!! NONE OF THEM WORKED SO FAR. PLEASE

HELP!
> >
> > I maybe doing something so stupid and so obvious to experienced ..NET > > developers, so please, help me out!
> >
> > Here are my computer specific information...
> > - .NET Framework v1.1.4322
> > - Windows XP SP1
> > - IIS5
> >
> > Don
> >
> >
>
>
> ---
> Outgoing mail is certified Virus Free. (well i'd like to think it is.. ) > Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.712 / Virus Database: 468 - Release Date: 27/06/2004
>
>

---
Outgoing mail is certified Virus Free. (well i'd like to think it is.. )
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.712 / Virus Database: 468 - Release Date: 27/06/2004


---
Outgoing mail is certified Virus Free. (well i'd like to think it is.. )
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.712 / Virus Database: 468 - Release Date: 27/06/2004
Nov 18 '05 #10
Yep, No DLL whatsoever!

Here are the source of the files...

-------------START "WebForm1.aspx"-------------

<%@ Register TagPrefix="cr" Namespace="CrystalDecisions.Web"
Assembly="CrystalDecisions.Web, Version=9.1.5000.0, Culture=neutral,
PublicKeyToken=692fbea5521e1304" %>
<%@ Page Language="vb" AutoEventWireup="false" Codebehind="WebForm1.aspx.vb"
Inherits="WebChartTest.WebForm1"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<title>WebForm1</title>
<meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
<meta name="CODE_LANGUAGE" content="Visual Basic .NET 7.1">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema"
content="http://schemas.microsoft.com/intellisense/ie5">
</HEAD>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
<CR:CrystalReportViewer id='CrystalReportViewer1' runat='server'
style="Z-INDEX: 101; LEFT: 16px; POSITION: absolute; TOP: 56px"
Height="50px" Width="350px"></CR:CrystalReportViewer>
</form>
</body>
</HTML>

-------------END "WebForm1.aspx"-------------

-------------START "WebForm1.aspx.vb"-------------

Imports System
Imports System.Web
Imports System.Web.UI

Public Class WebForm1
Inherits System.Web.UI.Page

#Region " Web Form Designer Generated Code "

'This call is required by the Web Form Designer.
<System.Diagnostics.DebuggerStepThrough()> Private Sub
InitializeComponent()

End Sub
Protected WithEvents CrystalReportViewer1 As
CrystalDecisions.Web.CrystalReportViewer

'NOTE: The following placeholder declaration is required by the Web
Form Designer.
'Do not delete or move it.
Private designerPlaceholderDeclaration As System.Object

Private Sub Page_Init(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Init
'CODEGEN: This method call is required by the Web Form Designer
'Do not modify it using the code editor.
InitializeComponent()
End Sub

#End Region

Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
'Put user code to initialize the page here
CrystalReportViewer1.ReportSource = "CrystalReport1.rpt"
End Sub

End Class
-------------END "WebForm1.aspx.vb"-------------

I've also removed the Global.asax file and ran it, the error is the same. So
the error is not in the Global.asax file.

I've also tried replacing the ( Inherits="WebChartTest.WebForm1" ) with (
Inherits="WebForm1" ) in WebForm1.aspx but the error is the same. This
project sit on http://localhost/WebChartTest/

I've done most of the coding in Notepad but the samples I've downloaded from
the net may have been used VS.NET. Having said that I've installed VS.NET
2003 on my computer as well as SharpDevelop RC2.

I hope you can figure the problem out! For me, I've completely given up :(
[well not completely but almost].

Thanks!
Don

"Mike Smith" <te**@test.com> wrote in message
news:u2**************@TK2MSFTNGP10.phx.gbl...
what no dll files ? could that be the problem ?
if the source code is written inline , the server side code is written in
the aspx pages itself then thats ok.. but if there is code behind pages then it would need a dll of the precompiled code.
Since u said it wasnt done in vs.net im guessing its not using code behind
(done is web matrix ?)

hmm an issue with the reference of the global.asax perhaps ? did u try
deleting that if its not need (no codes in it)

would like to see a screen shot or the actual code.. im curious whats up
with ur sample..

"Don Wash" <do*@wash.com> wrote in message
news:OO**************@TK2MSFTNGP11.phx.gbl...
Hi!

There are no dll files included in the downloaded samples nor did I compile
them.

Don

"Mike Smith" <te**@test.com> wrote in message
news:eq**************@TK2MSFTNGP09.phx.gbl...
u might also wanna try and delete all the *.dll files from the \bin folder before u rebuild the entire project.. see if that helps...

"Don Wash" <do*@wash.com> wrote in message
news:eQ**************@TK2MSFTNGP11.phx.gbl...
> Hi Mike,
>
> "Mike Smith" <te**@test.com> wrote in message
> news:%2***************@TK2MSFTNGP11.phx.gbl...
> > have u tried creating a blank asp.net program and just testing if that > runs
> > in the first place ?
>
> Yes, I can do a test page with <% Response.Write (Now()) %> or do some > validation in Page_Load event.
>
> > u had IIS installed before .Net ? or after ?
> >
>
> I installed .NET after IIS.
>
> Don
>
> > "Don Wash" <do*@wash.com> wrote in message
> > news:%2****************@TK2MSFTNGP11.phx.gbl...
> > > Hi!
> > >
> > > I'm pretty frustrated learning ASP.NET. I'm learning ASP.NET by
> > downloading
> > > samples from various ASP.NET websites and none of the samples worked so
> > far.
> > >
> > > The SAME error was shown whenever I browse and ASP.NET sample, which > is...
> > >
> > >
> > > > > > 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 'MySite.Web.TestProgram'. > > >
> > >
> > > So I'm getting 'Could not load type <<Class Name>>' error for any > ASP.NET
> > > applications I tried to execute. Majority of the ASP.NET samples I tried
> > to
> > > execute utilize Code Behind VB.NET and Custom ASP.NET controls and > > minority
> > > uses C#.
> > >
> > > I have Virtual Directory created in IIS to run the samples and it is
> > > configured to "Run Scripts" and also configured as "Application" as > well.
> > >
> > > So what is the problem?? I've been trying this out with more
than
8 > > ASP.NET
> > > samples for more than 3 DAYS!!! NONE OF THEM WORKED SO FAR.
PLEASE HELP!
> > >
> > > I maybe doing something so stupid and so obvious to experienced

.NET > > > developers, so please, help me out!
> > >
> > > Here are my computer specific information...
> > > - .NET Framework v1.1.4322
> > > - Windows XP SP1
> > > - IIS5
> > >
> > > Don
> > >
> > >
> >
> >
> > ---
> > Outgoing mail is certified Virus Free. (well i'd like to think it

is.. )
> > Checked by AVG anti-virus system (http://www.grisoft.com).
> > Version: 6.0.712 / Virus Database: 468 - Release Date: 27/06/2004
> >
> >
>
>
---
Outgoing mail is certified Virus Free. (well i'd like to think it is.. ) Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.712 / Virus Database: 468 - Release Date: 27/06/2004


---
Outgoing mail is certified Virus Free. (well i'd like to think it is.. )
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.712 / Virus Database: 468 - Release Date: 27/06/2004

Nov 18 '05 #11

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: MichaelF | last post by:
I've embedded a RealPlayer window in a page, and am unable to get mouse clicks. The clip plays, but clicks are ignored. I'm running IE5.5 on Win2k, with the following code: <embed...
2
by: Jim Chapman | last post by:
This is driving me nuts. I've been using VB.NET for about a year on this machine and decided to try C#. This is what I get when I try to debug (F11): Window title = Microsoft Development...
4
by: Al Murphy | last post by:
I have a windows application called "WindowsApplication1". I have a variable of tyoe DataSet called myDataSet as shown below: namespace WindowsApplication1 { public class Form1 :...
10
by: robwharram | last post by:
Hi, I'm quite frustrated in the fact that I can't even display a simple "Hello World" message on .Net. I've been through all of the groups and searched all over the place and haven't been able...
1
by: Pepe | last post by:
Hi, I have created the "Hello World" web service with one web method on it "HelloWorld" (yes the tag is there). I have deployed the web service to a Windows 2003 server, then I create a new...
9
by: Zak Milas | last post by:
I have the code below: Private Sub cmdFill_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdFill.Click Dim Employee As UploadFile, Count As Integer, Temp As String...
0
by: mtczx232 | last post by:
I try to run from vs2005 the simples from "101 Samples"-Web Development from Microsoft. the Site is work but i got Err: Unable to attach. The binding handle is invalid I got this Err for all...
2
by: e michael brandt | last post by:
I am frustrated. It appears that one can not use insertBefore to insert an A node before a DL node. Is that really true? I *am* able to insert before a <p id="hh"> tag, but not before a <dl...
0
by: Jordi | last post by:
I'm making a feature-file to train a Neural Network, but now that I've added a new feature, the output becomes corrupted. The output is as follows: 3000 25 1_002858 5 0 0 0 0 2 2 0 0 0 0 2 2 0 0...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.