473,396 Members | 1,714 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,396 software developers and data experts.

Problems using localhost


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.

Nov 18 '05 #1
12 2366
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.


Nov 18 '05 #2
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.


.

Nov 18 '05 #3

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.


.

Nov 18 '05 #4
Luther,

Do the files,

global.aspx
global.aspx.resx
global.aspx.vb

exist in your projects virtual directory?

-----Original Message-----

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 forVb.net Step by Step,Version 2003, Chapter 22, the first stepis to create a new Web application Project,using theASP.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 errorin 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 ofthe 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 whatis 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. Pleasereview 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 otherwebpages work well with localhost. This is only happening with
Visual Basic.Net 2003. Can anyone help me with this
problem? Your efforts are appreciated.


.

.

Nov 18 '05 #5
I have in my virual directory:
global.asax
global.asax.resx
global.asax.vb

The .aspx files are:
WebForm1.aspx
WebForm1.aspx.resx
Web1.aspx.vb

-----Original Message-----
Luther,

Do the files,

global.aspx
global.aspx.resx
global.aspx.vb

exist in your projects virtual directory?

-----Original Message-----

I cannot get the project to open in Visual Basic. After Itype in 'http://localhost/My WebCalculator', the projectfails to open in Visual Basic.Net. So, running the BuildCommand 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 whatis
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.



.

.

.

Nov 18 '05 #6
Did you have any .vbproj file in the folder? If so, you may double click it
and compile the project.

Luke
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Nov 18 '05 #7
Yes, I have the project file in my folder and I have
tried double clicking it to open the project. When I
double click it, VB.Net 2003 opens and attempts to start.
Then I get the error: 'The Web Server reported the
following error when attempting to create or open the Web
project at the following
URL:'http://Localhost/:/WebCalculator'. 'Aconnection with
the server could not be established.'

Last night, I re-installed NetFramework1.1 and the SDK,
checked IIS6.0, and ran Aspnet_regiis -i. I still cannot
get VB.Net to develop or open an Asp.Net Application.

I have checked the knowledge base. I discovered some bugs
in version 2002 VB.Net that were similar. I beleive those
were corrected in NetFRamework1.1. Is anyone else
reporting a similar problem? If so, how are they working
around the problem? After checking and re-installing the
software to make sure that the installation steps are
correct, I do not know what else I can do.

-----Original Message-----
Did you have any .vbproj file in the folder? If so, you may double click itand compile the project.

Luke
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers norights.)

.

Nov 18 '05 #8
Hi Luther,

Is you an administrator on the server? Also, you can open IIS Manager, and
select "Web Service Extensions", is ASP.NET and ProntPage Extension enabled
in the right panel?

Luke
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Nov 18 '05 #9
Sorry Luther, I should've clarified that the SECOND error message (about not
being able to load the Global type) is because the project needs to be first
time compiled... and I shouldn't have sent off a reply so fast...

as for VS not loading the project, not sure about that... can you create
other web projects? like using a standard http://localhost/webproject1 or
something?
--
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...

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.


.

Nov 18 '05 #10
Yes, I am the administrator. Yes, I have checked IIS and
the Web Extensions and all is well. I tested the
localstart.asp and hello.asp (a MS Download to test Asp
pages). Things work for everything except VB.Net 2003
when I am trying to start development of an Aspnet Web
Application.

-----Original Message-----
Hi Luther,

Is you an administrator on the server? Also, you can open IIS Manager, andselect "Web Service Extensions", is ASP.NET and ProntPage Extension enabledin the right panel?

Luke
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers norights.)

.

Nov 18 '05 #11
You may try to execute aspnet_regiis on the server to see if this will fix
the problem:

1. On the task bar, click "Start", point to "Programs", point to "Microsoft
Visual Studio .NET", point to "Visual Studio .NET Tools" and then click
"Visual Studio .NET Command Prompt".
2. On the command prompt type the following command:
aspnet_regiis.exe -i

3. Press "ENTER" (without the quotation marks).
Luke
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
Nov 18 '05 #12
I thanks everyone who responded to help me. I solved my
problem using localhost by using your recommendations,
studying the Knowledge Base, and refering to Jim Buyen's
book, " Microsoft Office FrontPage 2003, Inside and Out."
there is a thorough discussion regarding configuring web
servers and the use of FrontPage with the Visual.Net
development environment, which pushed me over the top for
now. Thanks again.

Luther Hert
-----Original Message-----
You may try to execute aspnet_regiis on the server to see if this will fixthe problem:

1. On the task bar, click "Start", point to "Programs", point to "MicrosoftVisual Studio .NET", point to "Visual Studio .NET Tools" and then click"Visual Studio .NET Command Prompt".
2. On the command prompt type the following command:
aspnet_regiis.exe -i

3. Press "ENTER" (without the quotation marks).
Luke
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers norights.)
.

Nov 18 '05 #13

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

Similar topics

3
by: zeedan | last post by:
Hi, I appologise if I'm not posting this to the correct group, but I'm having problems starting MySQL server. I need it in order to post a websurvey for a research project I'm doing for a college...
4
by: CodeImp | last post by:
A simple app I quickly wrote to try getting info from a database. Here is the first part of its code. The rest of the code is irellevant. using System; using System.Data; using...
18
by: TORQUE | last post by:
Hi, Im wondering if anyone can help me with a problem. I have a form with more than 50 unbound fields. Some of the fields will be blank from time to time. This seems to be where im having...
0
by: Mr. Murad Jamal | last post by:
Hi all, I will highly appreciate your help to me if you help me with one (or both) of the following 2 problems: I have the following on my machine (Windows Vista build 5308) successfully...
3
by: Mr. Murad Jamal | last post by:
Hi all, I will highly appreciate your help to me if you help me with one (or both) of the following 2 problems: I have the following on my machine (Windows Vista build 5308) successfully...
1
by: Mr. Murad Jamal | last post by:
Hi all, I will highly appreciate your help to me if you help me with one (or both) of the following 2 problems: I have the following on my machine (Windows Vista build 5308) successfully...
3
by: MatsL | last post by:
Hi, I'm using Context.RewritePath() in a HttpModule to get url rewriting done. http://localhost/Web1/articles -> http://localhost/Web1/Default.aspx?m=articles But I'm having problems with...
4
by: Chris | last post by:
This is a bit of an IIS question but I am not sure if this is related to my installation of VS Pro. I usually use Visual Studio 2005, which has it's own built in web server. I want to start...
6
by: John Kotuby | last post by:
Hi all... Well my earlier post aboout not being able to access http://localhost has been resolved. I am still having problems testing my Web site project. First, thanks to Juan Libre I edited...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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,...

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.