使用localhost的问题 [英] Problems using localhost

查看:59
本文介绍了使用localhost的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



在尝试为Vb.net学习课本时

Step by Step,Version 2003,第22章,第一步是

创建一个新的Web应用程序项目,使用Visual Basic Projects文件夹中的ASP.Net

应用程序图标。


当我选择ASP时。 Net Application图标并输入
http:// localhost / MyWebCalculator ,我收到错误在一个

对话框中说明:

MS开发环境对话框错误信息:


"网络服务器报告了以下错误当

试图创建或打开位于

的Web项目以下

URL:''http:// localhost / WebCalculator'' 。 ''连接

服务器无法建立''。


我可以浏览localstart.asp和iisstart.asp作为

以及位于

WebCalculator虚拟目录虚拟目录中的网页,在我的

浏览器中使用localhost。


我的问题是我无法让VB.Net 2003打开任何

Asp项目,包括WebCalculator,用于开发。


下面是一个示例当我试图浏览源文件时收到错误通知:

C:\Inetpub \ www.root \WebCalculator \ global.asax,使用

Internet Explorer 6.0试图确定造成我问题的是什么


'/ WebCalculator''应用程序中的服务器错误。

----------------------------------------------- -----------

----------------------


解析器错误

描述:期间发生错误解析为此请求提供服务所需的
资源。请查看

以下具体的解析错误详情并适当修改源文件



解析器错误消息:无法加载

类型''WebCalculator.Global''。


源错误:

第1行:<%@ Application Codebehind = " Global.asax.vb"

Inherits =" WebCalculator.Global" %>


源文件:

C:\ Inetpub \ www.root \WebCalculator\global.asax行:1

----------------------------------------------- -----------

----------------------

版本信息:Microsoft .NET Framework

版本:1.1.4322.573; ASP.NET版本:1.1.4322.573

IIstart.Asp和localstart.asp以及其他网页

与localhost配合使用。这只发生在

Visual Basic.Net 2003.任何人都可以帮我解决这个问题吗?感谢您的努力。

解决方案

您需要点击构建解决方案。命令;-)

-

Eric Newton
er ** @ ensoft-software.com.cc (删除CC)
www.ensoft-software.com

C#/ ASP.net解决方案开发商


" Luther Hert" <卢**** @ mbt.com>在消息中写道

news:03 **************************** @ phx.gbl ... < blockquote class =post_quotes>
在尝试为Vb.net编写课本时
Step by Step,Version 2003,第22章,第一步是创建一个新的Web应用程序项目,使用Visual Basic Projects文件夹中的ASP.Net
Application图标。

当我选择ASP.Net Application图标并输入
http:// localhost / MyWebCalculator ,我在
对话框中收到错误说明:
MS Development环境对话框错误消息:

当尝试创建或打开位于以下
URL的Web项目时,Web服务器报告了以下错误:'的 'http://本地主机/ WebCalculator'。 ''无法连接服务器'无法建立''。

我可以浏览localstart.asp和iisstart.asp以及位于虚拟目录中的网页
WebCalculator虚拟目录,在我的
浏览器中使用localhost。

我的问题是我无法让VB.Net 2003打开任何
Asp项目,包括WebCalculator ,用于开发。

以下是我尝试浏览源文件时收到的错误通知示例:
C:\Inetpub \wwwroot \WebCalculator \\ \\ global.asax,使用Internet Explorer 6.0试图确定是什么导致了我的问题。

'/ WebCalculator''应用程序中的服务器错误。
------------------------------------------------- ---------
----------------------

解析器错误
说明:解析为此请求提供服务所需的资源时发生错误。请查看以下具体的解析错误详细信息并适当修改源文件。

解析器错误消息:无法加载
输入''WebCalculator.Global'' 。

来源错误:

第1行:<%@ Application Codebehind =" Global.asax.vb"
Inherits =" WebCalculator.Global" %>

源文件:
C:\Inetpub \ www.root \WebCalculator\global.asax行:1

----- -------------------------------------------------- ---
----------------------
版本信息:Microsoft .NET Framework
版本:1.1.4322.573; ASP.NET版本:1.1.4322.573

IIstart.Asp和localstart.asp以及其他网页
与localhost配合良好。这只发生在Visual Basic.Net 2003上。任何人都可以帮我解决这个问题吗?感谢您的努力。



谢谢Eric,我会试一试。

-----原始消息-----
您需要点击构建解决方案。命令;-)

- Eric Newton
er**@ensoft-software.com.cc(删除CC)
www.ensoft-software.com
C#/ ASP.net解决方案开发商

新闻:03 **************************** @ phx.gbl ...


在尝试为
Vb.net逐步完成教科书课程时,第22章,第22章,第一步
是创建一个新的Web应用程序项目,使用
Visual Basic Projects文件夹中的ASP.Net应用程序图标。

当我选择ASP.Net应用程序图标并输入
http:// localhost / MyWebCalculator ,我在对话框中收到错误
说明:
MS Development Environment Dialogue Box错误消息:

当尝试创建或打开位于以下
URL的Web项目时,Web服务器报告了以下错误:''http:/ /本地主机/ WebCalculator ''。 ''无法连接服务器'无法建立''。

我可以浏览localstart.asp和iisstart.asp以及位于虚拟目录中的网页
WebCalculator虚拟目录,在我的
浏览器中使用localhost。

我的问题是我无法让VB.Net 2003打开任何
Asp项目,包括WebCalculator ,用于开发。

以下是我尝试浏览源文件时收到的错误通知示例:
C:\Inetpub \wwwroot \WebCalculator \\ \\ global.asax,使用Internet Explorer 6.0试图确定
导致我的问题。

'/ WebCalculator''应用程序中的服务器错误。
------------------------------------------------- ------
--- ----------------------

解析器错误
说明:解析为此请求提供服务所需的资源时发生错误。请
查看以下特定的解析错误详细信息并适当修改源文件。

解析器错误消息:无法加载
输入''WebCalculator.Global'' 。

来源错误:

第1行:<%@ Application Codebehind =" Global.asax.vb"
Inherits =" WebCalculator.Global" %>

源文件:
C:\Inetpub \ www.root \WebCalculator\global.asax行:1

----- --------------------------------------------------
--- ----------------------
版本信息:Microsoft .NET Framework
版本:1.1.4322.573; ASP.NET版本:1.1.4322.573
网页与localhost配合良好。这只发生在Visual Basic.Net 2003上。任何人都可以帮我解决这个问题吗?感谢您的努力。







我无法在Visual Basic中打开项目。在我输入http:// localhost / My WebCalculator之后,项目

无法在Visual Basic.Net中打开。所以,运行Build

命令不是一个选项。

-----原始消息-----
你需要点击构建解决方案命令;-)

- Eric Newton
er**@ensoft-software.com.cc(删除CC)
www.ensoft-software.com
C#/ ASP.net解决方案开发商

新闻:03 **************************** @ phx.gbl ...


在尝试为
Vb.net逐步完成教科书课程时,第22章,第22章,第一步
是创建一个新的Web应用程序项目,使用
Visual Basic Projects文件夹中的ASP.Net应用程序图标。

当我选择ASP.Net应用程序图标并输入
http:// localhost / MyWebCalculator ,我在对话框中收到错误
说明:
MS Development Environment Dialogue Box错误消息:

当尝试创建或打开位于以下
URL的Web项目时,Web服务器报告了以下错误:''http:/ /本地主机/ WebCalculator ''。 ''无法连接服务器'无法建立''。

我可以浏览localstart.asp和iisstart.asp以及位于虚拟目录中的网页
WebCalculator虚拟目录,在我的
浏览器中使用localhost。

我的问题是我无法让VB.Net 2003打开任何
Asp项目,包括WebCalculator ,用于开发。

以下是我尝试浏览源文件时收到的错误通知示例:
C:\Inetpub \wwwroot \WebCalculator \\ \\ global.asax,使用Internet Explorer 6.0试图确定
导致我的问题。

'/ WebCalculator''应用程序中的服务器错误。
------------------------------------------------- ------
--- ----------------------

解析器错误
说明:解析为此请求提供服务所需的资源时发生错误。请
查看以下特定的解析错误详细信息并适当修改源文件。

解析器错误消息:无法加载
输入''WebCalculator.Global'' 。

来源错误:

第1行:<%@ Application Codebehind =" Global.asax.vb"
Inherits =" WebCalculator.Global" %>

源文件:
C:\Inetpub \ www.root \WebCalculator\global.asax行:1

----- --------------------------------------------------
--- ----------------------
版本信息:Microsoft .NET Framework
版本:1.1.4322.573; ASP.NET版本:1.1.4322.573
网页与localhost配合良好。这只发生在Visual Basic.Net 2003上。任何人都可以帮我解决这个问题吗?感谢您的努力。






While trying to work through textbook lessons for Vb.net
Step by Step,Version 2003, Chapter 22, the first step is
to create a new Web application Project,using the ASP.Net
Application icon in the Visual Basic Projects folder.

When I select the ASP.Net Application icon and type in
http://localhost/MyWebCalculator, I recieve an error in a
dialogue box stating:
MS Development Environment Dialogue Box error message:

"The Webserver reported the following error when
attempting to create or open the Web project located at
the following
URL:''http://localhost/WebCalculator''. ''Aconnectionwith
the server could not be established''.

I am able to browse localstart.asp and iisstart.asp as
well as webpages located in the virtual directory of the
WebCalculator virual directory, using localhost in my
browser.

My problem is that I cannot get VB.Net 2003 to open any
Asp project, including WebCalculator, for development.

Below is an example of an error notice recieved when I
attempted to browse the Source File:
C:\Inetpub\wwwroot\WebCalculator\global.asax, using
Internet Explorer 6.0 in an attempt to determine what is
causing my problem.
Server Error in ''/WebCalculator'' 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 ''WebCalculator.Global''.

Source Error:
Line 1: <%@ Application Codebehind="Global.asax.vb"
Inherits="WebCalculator.Global" %>

Source File:
C:\Inetpub\wwwroot\WebCalculator\global.asax Line: 1
----------------------------------------------------------
----------------------
Version Information: Microsoft .NET Framework
Version:1.1.4322.573; ASP.NET Version:1.1.4322.573

IIstart.Asp and localstart.asp as well as other webpages
work well with localhost. This is only happening with
Visual Basic.Net 2003. Can anyone help me with this
problem? Your efforts are appreciated.

解决方案

You need to hit the "Build Solution" command ;-)

--
Eric Newton
er**@ensoft-software.com.cc (Remove the CC)
www.ensoft-software.com
C#/ASP.net Solutions developer

"Luther Hert" <lu****@mbt.com> wrote in message
news:03****************************@phx.gbl...


While trying to work through textbook lessons for Vb.net
Step by Step,Version 2003, Chapter 22, the first step is
to create a new Web application Project,using the ASP.Net
Application icon in the Visual Basic Projects folder.

When I select the ASP.Net Application icon and type in
http://localhost/MyWebCalculator, I recieve an error in a
dialogue box stating:
MS Development Environment Dialogue Box error message:

"The Webserver reported the following error when
attempting to create or open the Web project located at
the following
URL:''http://localhost/WebCalculator''. ''Aconnectionwith
the server could not be established''.

I am able to browse localstart.asp and iisstart.asp as
well as webpages located in the virtual directory of the
WebCalculator virual directory, using localhost in my
browser.

My problem is that I cannot get VB.Net 2003 to open any
Asp project, including WebCalculator, for development.

Below is an example of an error notice recieved when I
attempted to browse the Source File:
C:\Inetpub\wwwroot\WebCalculator\global.asax, using
Internet Explorer 6.0 in an attempt to determine what is
causing my problem.
Server Error in ''/WebCalculator'' 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 ''WebCalculator.Global''.

Source Error:
Line 1: <%@ Application Codebehind="Global.asax.vb"
Inherits="WebCalculator.Global" %>

Source File:
C:\Inetpub\wwwroot\WebCalculator\global.asax Line: 1
----------------------------------------------------------
----------------------
Version Information: Microsoft .NET Framework
Version:1.1.4322.573; ASP.NET Version:1.1.4322.573

IIstart.Asp and localstart.asp as well as other webpages
work well with localhost. This is only happening with
Visual Basic.Net 2003. Can anyone help me with this
problem? Your efforts are appreciated.



Thanks Eric, I will give it a try.

-----Original Message-----
You need to hit the "Build Solution" command ;-)

--
Eric Newton
er**@ensoft-software.com.cc (Remove the CC)
www.ensoft-software.com
C#/ASP.net Solutions developer

"Luther Hert" <lu****@mbt.com> wrote in message
news:03****************************@phx.gbl...


While trying to work through textbook lessons for Vb.net Step by Step,Version 2003, Chapter 22, the first step is to create a new Web application Project,using the ASP.Net Application icon in the Visual Basic Projects folder.

When I select the ASP.Net Application icon and type in
http://localhost/MyWebCalculator, I recieve an error in a dialogue box stating:
MS Development Environment Dialogue Box error message:

"The Webserver reported the following error when
attempting to create or open the Web project located at
the following
URL:''http://localhost/WebCalculator''. ''Aconnectionwith
the server could not be established''.

I am able to browse localstart.asp and iisstart.asp as
well as webpages located in the virtual directory of the WebCalculator virual directory, using localhost in my
browser.

My problem is that I cannot get VB.Net 2003 to open any
Asp project, including WebCalculator, for development.

Below is an example of an error notice recieved when I
attempted to browse the Source File:
C:\Inetpub\wwwroot\WebCalculator\global.asax, using
Internet Explorer 6.0 in an attempt to determine what is causing my problem.
Server Error in ''/WebCalculator'' 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 ''WebCalculator.Global''.

Source Error:
Line 1: <%@ Application Codebehind="Global.asax.vb"
Inherits="WebCalculator.Global" %>

Source File:
C:\Inetpub\wwwroot\WebCalculator\global.asax Line: 1
------------------------------------------------------- --- ----------------------
Version Information: Microsoft .NET Framework
Version:1.1.4322.573; ASP.NET Version:1.1.4322.573

IIstart.Asp and localstart.asp as well as other webpages work well with localhost. This is only happening with
Visual Basic.Net 2003. Can anyone help me with this
problem? Your efforts are appreciated.


.




I cannot get the project to open in Visual Basic. After I
type in ''http://localhost/My WebCalculator'', the project
fails to open in Visual Basic.Net. So, running the Build
Command is not an option.

-----Original Message-----
You need to hit the "Build Solution" command ;-)

--
Eric Newton
er**@ensoft-software.com.cc (Remove the CC)
www.ensoft-software.com
C#/ASP.net Solutions developer

"Luther Hert" <lu****@mbt.com> wrote in message
news:03****************************@phx.gbl...


While trying to work through textbook lessons for Vb.net Step by Step,Version 2003, Chapter 22, the first step is to create a new Web application Project,using the ASP.Net Application icon in the Visual Basic Projects folder.

When I select the ASP.Net Application icon and type in
http://localhost/MyWebCalculator, I recieve an error in a dialogue box stating:
MS Development Environment Dialogue Box error message:

"The Webserver reported the following error when
attempting to create or open the Web project located at
the following
URL:''http://localhost/WebCalculator''. ''Aconnectionwith
the server could not be established''.

I am able to browse localstart.asp and iisstart.asp as
well as webpages located in the virtual directory of the WebCalculator virual directory, using localhost in my
browser.

My problem is that I cannot get VB.Net 2003 to open any
Asp project, including WebCalculator, for development.

Below is an example of an error notice recieved when I
attempted to browse the Source File:
C:\Inetpub\wwwroot\WebCalculator\global.asax, using
Internet Explorer 6.0 in an attempt to determine what is causing my problem.
Server Error in ''/WebCalculator'' 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 ''WebCalculator.Global''.

Source Error:
Line 1: <%@ Application Codebehind="Global.asax.vb"
Inherits="WebCalculator.Global" %>

Source File:
C:\Inetpub\wwwroot\WebCalculator\global.asax Line: 1
------------------------------------------------------- --- ----------------------
Version Information: Microsoft .NET Framework
Version:1.1.4322.573; ASP.NET Version:1.1.4322.573

IIstart.Asp and localstart.asp as well as other webpages work well with localhost. This is only happening with
Visual Basic.Net 2003. Can anyone help me with this
problem? Your efforts are appreciated.


.



这篇关于使用localhost的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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