473,657 Members | 2,473 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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'. 'Aconnectionwit h
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\wwwr oot\WebCalculat or\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="Glo bal.asax.vb"
Inherits="WebCa lculator.Global " %>

Source File:
C:\Inetpub\wwwr oot\WebCalculat or\global.asax Line: 1
----------------------------------------------------------
----------------------
Version Information: Microsoft .NET Framework
Version:1.1.432 2.573; ASP.NET Version:1.1.432 2.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 2392
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'. 'Aconnectionwit h
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\wwwr oot\WebCalculat or\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="Glo bal.asax.vb"
Inherits="WebCa lculator.Global " %>

Source File:
C:\Inetpub\wwwr oot\WebCalculat or\global.asax Line: 1
----------------------------------------------------------
----------------------
Version Information: Microsoft .NET Framework
Version:1.1.432 2.573; ASP.NET Version:1.1.432 2.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'. 'Aconnectionwit h
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\wwwr oot\WebCalculat or\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="Glo bal.asax.vb"
Inherits="WebCa lculator.Global " %>

Source File:
C:\Inetpub\wwwr oot\WebCalculat or\global.asax Line: 1
------------------------------------------------------- --- ----------------------
Version Information: Microsoft .NET Framework
Version:1.1.432 2.573; ASP.NET Version:1.1.432 2.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'. 'Aconnectionwit h
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\wwwr oot\WebCalculat or\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="Glo bal.asax.vb"
Inherits="WebCa lculator.Global " %>

Source File:
C:\Inetpub\wwwr oot\WebCalculat or\global.asax Line: 1
------------------------------------------------------- --- ----------------------
Version Information: Microsoft .NET Framework
Version:1.1.432 2.573; ASP.NET Version:1.1.432 2.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.res x
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'. 'Aconnectionwit h
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\wwwr oot\WebCalculat or\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="Glo bal.asax.vb"
Inherits="WebCa lculator.Global " %>

Source File:
C:\Inetpub\wwwr oot\WebCalculat or\global.asax Line: 1
---------------------------------------------------------- ----------------------
Version Information: Microsoft .NET Framework
Version:1.1.432 2.573; ASP.NET Version:1.1.432 2.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.res x
global.asax.vb

The .aspx files are:
WebForm1.aspx
WebForm1.aspx.r esx
Web1.aspx.vb

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

Do the files,

global.aspx
global.aspx.re sx
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**@ensof t-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.gb l...

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'. 'Aconnectionwit h 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\wwwr oot\WebCalculat or\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="Glo bal.asax.vb"
Inherits="WebCa lculator.Global " %>

Source File:
C:\Inetpub\wwwr oot\WebCalculat or\global.asax Line: 1

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

-----
----------------------
Version Information: Microsoft .NET Framework
Version:1.1.432 2.573; ASP.NET Version:1.1.432 2.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'. 'Aconnectionwit h
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\wwwr oot\WebCalculat or\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="Glo bal.asax.vb"
Inherits="WebCa lculator.Global " %>

Source File:
C:\Inetpub\wwwr oot\WebCalculat or\global.asax Line: 1
------------------------------------------------------- --- ----------------------
Version Information: Microsoft .NET Framework
Version:1.1.432 2.573; ASP.NET Version:1.1.432 2.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

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

Similar topics

3
4369
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 computer ethics class. Well here is the output several commands, from netstat -a I can see that MySQL is listening, but when I try to start the server I get a port error. I'm running SUSE 9.1 and I searched all over the web for info on this...
4
1794
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 System.Data.SqlClient; using System.Threading; namespace TestSQL { class Class1
18
3784
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 trouble. I have tried keeping some of the fields bound and when I use the save button it has been saving as 2 different records. This is unacceptable. This is what I have, can anyone help me out with this?
0
1041
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 installed: 1) VS 2005 Standard 2) Sql Server 2005 Standard 3) Windows SDK February CTP (5308) 4) Microsoft Visual Studio Code-named orcas CTP preview-development tools
3
1495
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 installed: 1) VS 2005 Standard 2) Sql Server 2005 Standard 3) Windows SDK February CTP (5308) 4) Microsoft Visual Studio Code-named orcas CTP preview-development tools
1
1263
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 installed: 1) VS 2005 Standard 2) Sql Server 2005 Standard 3) Windows SDK February CTP (5308) 4) Microsoft Visual Studio Code-named orcas CTP preview-development tools
3
2428
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 Themes when I'm using that. The problem rises when my url ends with a '/'. Example: http://localhost/Web1/articles
4
6842
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 using IIS. It is IIS 5 on XP Pro SP 2 and IE 7. However when I type in either http://localhost/test.asp (or default.aspx to test .net) or 127.0.0.1/test.asp I get the following error Internet Explorer cannot display the webpage Most likely causes:
6
1959
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 my HOSTS file and can access localhost. However, what I found in the HOSTS file was not what I expected. Juan mentioned that the following line might be missing. 127.0.0.1 localhost
0
8397
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8310
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8827
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8732
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8503
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
4315
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2731
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1957
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1620
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.