无法运行任何ASP.NET示例::非常沮丧! [英] Unable to Run ANY ASP.NET Samples :: REALLY Frustrated!

查看:56
本文介绍了无法运行任何ASP.NET示例::非常沮丧!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨!


我非常沮丧地学习ASP.NET。我正在通过从各种ASP.NET网站下载

样本来学习ASP.NET,到目前为止没有一个样本工作。


SAME错误是每当我浏览和ASP.NET示例时显示,这是......


分析器错误

描述:发生错误在解析为b / b
服务此请求所需的资源时。请查看以下特定的解析错误

详细信息并适当修改源文件。


解析器错误消息:无法加载类型''MySite.Web.TestProgram ''。



所以我得到''无法为任何ASP.NET加载类型<<类名>>''错误

我尝试执行的应用程序。我尝试使用VB.NET和自定义ASP.NET控件执行的大部分ASP.NET示例和少数用户使用C#。

使用C#。


我在IIS中创建了虚拟目录来运行示例,并且它被配置为运行脚本的
。并且还配置为应用程序。还有。


那么问题是什么?我已经尝试了超过8个ASP.NET

样本,超过3天!没有他们这么做。请帮助!


我可能会做一些如此愚蠢而且对于经验丰富的.NET

开发人员这么明显的事情,所以请帮助我!


以下是我的计算机特定信息...

- .NET Framework v1.1.4322

- Windows XP SP1

- IIS5


Don

解决方案

如果你告诉我们你在尝试什么样品怎么样?你有没有尝试过

..NET Framework SDK快速入门教程&样品?

Don Wash < do*@wash.com>在留言中写道

新闻:%2 **************** @ TK2MSFTNGP11.phx.gbl ...

嗨!

我很沮丧地学习ASP.NET。我正在通过
从各种ASP.NET网站下载样本来学习ASP.NET,并且所有样本都没有工作,所以
远。
每当我浏览和ASP.NET时都会显示SAME错误样品,这是......


>分析器错误
描述:解析资源期间发生错误需要
来处理此请求。请查看以下特定的解析错误
详细信息并适当修改源文件。

解析器错误消息:无法加载类型''MySite.Web.TestProgram''。


所以我得到''无法为我试图执行的任何ASP.NET
应用程序加载类型<<<类名>>''错误。我尝试使用
执行的大部分ASP.NET示例都使用了VB.NET和自定义ASP.NET控件的代码,并且
少数人使用C#。

我创建了虚拟目录用于运行示例的IIS,它被配置为运行脚本。并且还配置为应用程序。还有。

那么问题是什么?我已经用超过8美元的b $ b ASP.NET样本尝试了超过3天!没有他们这么做。请帮助!

我可能会为经验丰富的.NET开发人员做一些如此愚蠢和明显的事情,所以请帮助我!

这是我特定的计算机信息......
- .NET Framework v1.1.4322
- Windows XP SP1
- IIS5

Don





您好Scott!


" Scott M." < S - *** @ nospam.nospam>在消息中写道

新闻:eK ************* @ TK2MSFTNGP11.phx.gbl ...

如果你告诉我们怎么样你在尝试什么样的样品?


任何使用自定义控件,VB.NET代码背后和

课程继承的ASP.NET示例。样本范围从 www.codeproject.com
www.devx.com www.4guysfromrolla.com www.asp.net 以及许多其他misc

来源。


但是他们都没有工作,我正在收到相同的错误消息可以

未加载类型<<类名称>>''。我的意思是只有当.NET编译器对错误有更多的了解时,我才能解决问题

我自己。

当页面

引用另一页面中的类时,会发生此错误(我现在看到模式)。我正在尝试的所有样品

或多或少都有这种参考(和继承!)。


任何想法为什么?

您是否尝试过.NET Framework SDK快速入门教程&样品?


不,我在哪里买到它们?


谢谢,

Don
< br&>Don Wash < do*@wash.com>在消息中写道
新闻:%2 **************** @ TK2MSFTNGP11.phx.gbl ...

嗨!

我很沮丧地学习ASP.NET。我正在学习ASP.NET


从各种ASP.NET网站下载

样本,所有样本都没有这样做



每当我浏览和ASP.NET示例时都会显示SAME错误,
是...


> >分析器错误
描述:解析所需资源时发生错误


为此请求提供服务。请查看以下特定的解析错误
详细信息并适当修改源文件。

解析器错误消息:无法加载类型''MySite.Web.TestProgram''。


所以我得到''无法为我尝试执行的任何
ASP.NET应用程序加载类型<<<类名>>''错误。我试过的大部分ASP.NET样本


执行利用VB.NET和自定义ASP.NET控件的代码和


少数< blockquote class =post_quotes>使用C#。

我在IIS中创建了虚拟目录来运行示例,并且它被配置为运行脚本。并且还配置为应用程序。因为
很好。
那么问题是什么?我已经尝试了超过8个


ASP.NET

样本超过3天!!!没有他们这么做。请帮助!

我可能会为经验丰富的.NET开发人员做一些如此愚蠢和明显的事情,所以请帮助我!

这是我特定的计算机信息......
- .NET Framework v1.1.4322
- Windows XP SP1
- IIS5

Don




你有没有尝试创建一个空白的asp.net程序,只是测试一下是否运行



u在.Net之前安装了IIS?或之后?


Don Wash < do*@wash.com>在留言中写道

新闻:%2 **************** @ TK2MSFTNGP11.phx.gbl ...

嗨!

我很沮丧地学习ASP.NET。我正在通过
从各种ASP.NET网站下载样本来学习ASP.NET,并且所有样本都没有工作,所以
远。
每当我浏览和ASP.NET时都会显示SAME错误样品,这是......


>分析器错误
描述:解析资源期间发生错误需要
来处理此请求。请查看以下特定的解析错误
详细信息并适当修改源文件。

解析器错误消息:无法加载类型''MySite.Web.TestProgram''。


所以我得到''无法为我试图执行的任何ASP.NET
应用程序加载类型<<<类名>>''错误。我尝试使用
执行的大部分ASP.NET示例都使用了VB.NET和自定义ASP.NET控件的代码,并且
少数人使用C#。

我创建了虚拟目录用于运行示例的IIS,它被配置为运行脚本。并且还配置为应用程序。还有。

那么问题是什么?我已经用超过8美元的b $ b ASP.NET样本尝试了超过3天!没有他们这么做。请帮助!

我可能会为经验丰富的.NET开发人员做一些如此愚蠢和明显的事情,所以请帮助我!

这是我特定的计算机信息......
- .NET Framework v1.1.4322
- Windows XP SP1
- IIS5

Don



---

外发邮件已通过无病毒认证。 (好吧,我想它是......)

由AVG反病毒系统检查( http://www.grisoft.com)

版本:6.0.712 /病毒数据库:468 - 发布日期:27/06/2004


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

解决方案

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




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




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


这篇关于无法运行任何ASP.NET示例::非常沮丧!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆