Problems using localhost

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Luther Hert

    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.





  • Eric Newton

    #2
    Re: Problems using localhost

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

    --
    Eric Newton
    eric@ensoft-software.com.cc (Remove the CC)

    C#/ASP.net Solutions developer

    "Luther Hert" <lucia1@mbt.com > wrote in message
    news:031301c3bd 1e$ca52d300$a10 1280a@phx.gbl.. .[color=blue]
    >
    > 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.
    >
    >
    >
    >
    >[/color]


    Comment

    • Luther Hert

      #3
      Re: Problems using localhost

      Thanks Eric, I will give it a try.
      [color=blue]
      >-----Original Message-----
      >You need to hit the "Build Solution" command ;-)
      >
      >--
      >Eric Newton
      >eric@ensoft-software.com.cc (Remove the CC)
      >www.ensoft-software.com
      >C#/ASP.net Solutions developer
      >
      >"Luther Hert" <lucia1@mbt.com > wrote in message
      >news:031301c3b d1e$ca52d300$a1 01280a@phx.gbl. ..[color=green]
      >>
      >> While trying to work through textbook lessons for[/color][/color]
      Vb.net[color=blue][color=green]
      >> Step by Step,Version 2003, Chapter 22, the first step[/color][/color]
      is[color=blue][color=green]
      >> to create a new Web application Project,using the[/color][/color]
      ASP.Net[color=blue][color=green]
      >> 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[/color][/color]
      in a[color=blue][color=green]
      >> 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[/color][/color]
      the[color=blue][color=green]
      >> 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[/color][/color]
      is[color=blue][color=green]
      >> causing my problem.
      >>
      >>
      >> Server Error in '/WebCalculator' Application.
      >> -------------------------------------------------------[/color][/color]
      ---[color=blue][color=green]
      >> ----------------------
      >>
      >> Parser Error
      >> Description: An error occurred during the parsing of a
      >> resource required to service this request. Please[/color][/color]
      review[color=blue][color=green]
      >> 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
      >>
      >>
      >> -------------------------------------------------------[/color][/color]
      ---[color=blue][color=green]
      >> ----------------------
      >> 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[/color][/color]
      webpages[color=blue][color=green]
      >> work well with localhost. This is only happening with
      >> Visual Basic.Net 2003. Can anyone help me with this
      >> problem? Your efforts are appreciated.
      >>
      >>
      >>
      >>
      >>[/color]
      >
      >
      >.
      >[/color]

      Comment

      • Luther Hert

        #4
        Re: Problems using localhost


        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.
        [color=blue]
        >-----Original Message-----
        >You need to hit the "Build Solution" command ;-)
        >
        >--
        >Eric Newton
        >eric@ensoft-software.com.cc (Remove the CC)
        >www.ensoft-software.com
        >C#/ASP.net Solutions developer
        >
        >"Luther Hert" <lucia1@mbt.com > wrote in message
        >news:031301c3b d1e$ca52d300$a1 01280a@phx.gbl. ..[color=green]
        >>
        >> While trying to work through textbook lessons for[/color][/color]
        Vb.net[color=blue][color=green]
        >> Step by Step,Version 2003, Chapter 22, the first step[/color][/color]
        is[color=blue][color=green]
        >> to create a new Web application Project,using the[/color][/color]
        ASP.Net[color=blue][color=green]
        >> 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[/color][/color]
        in a[color=blue][color=green]
        >> 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[/color][/color]
        the[color=blue][color=green]
        >> 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[/color][/color]
        is[color=blue][color=green]
        >> causing my problem.
        >>
        >>
        >> Server Error in '/WebCalculator' Application.
        >> -------------------------------------------------------[/color][/color]
        ---[color=blue][color=green]
        >> ----------------------
        >>
        >> Parser Error
        >> Description: An error occurred during the parsing of a
        >> resource required to service this request. Please[/color][/color]
        review[color=blue][color=green]
        >> 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
        >>
        >>
        >> -------------------------------------------------------[/color][/color]
        ---[color=blue][color=green]
        >> ----------------------
        >> 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[/color][/color]
        webpages[color=blue][color=green]
        >> work well with localhost. This is only happening with
        >> Visual Basic.Net 2003. Can anyone help me with this
        >> problem? Your efforts are appreciated.
        >>
        >>
        >>
        >>
        >>[/color]
        >
        >
        >.
        >[/color]

        Comment

        • Kevin Read

          #5
          Re: Problems using localhost

          Luther,

          Do the files,

          global.aspx
          global.aspx.res x
          global.aspx.vb

          exist in your projects virtual directory?

          [color=blue]
          >-----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.
          >[color=green]
          >>-----Original Message-----
          >>You need to hit the "Build Solution" command ;-)
          >>
          >>--
          >>Eric Newton
          >>eric@ensoft-software.com.cc (Remove the CC)
          >>www.ensoft-software.com
          >>C#/ASP.net Solutions developer
          >>
          >>"Luther Hert" <lucia1@mbt.com > wrote in message
          >>news:031301c3 bd1e$ca52d300$a 101280a@phx.gbl ...[color=darkred]
          >>>
          >>> While trying to work through textbook lessons for[/color][/color]
          >Vb.net[color=green][color=darkred]
          >>> Step by Step,Version 2003, Chapter 22, the first step[/color][/color]
          >is[color=green][color=darkred]
          >>> to create a new Web application Project,using the[/color][/color]
          >ASP.Net[color=green][color=darkred]
          >>> 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[/color][/color]
          >in a[color=green][color=darkred]
          >>> 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[/color][/color]
          >the[color=green][color=darkred]
          >>> 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[/color][/color]
          >is[color=green][color=darkred]
          >>> causing my problem.
          >>>
          >>>
          >>> Server Error in '/WebCalculator' Application.
          >>> -------------------------------------------------------[/color][/color]
          >---[color=green][color=darkred]
          >>> ----------------------
          >>>
          >>> Parser Error
          >>> Description: An error occurred during the parsing of a
          >>> resource required to service this request. Please[/color][/color]
          >review[color=green][color=darkred]
          >>> 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
          >>>
          >>>
          >>> -------------------------------------------------------[/color][/color]
          >---[color=green][color=darkred]
          >>> ----------------------
          >>> 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[/color][/color]
          >webpages[color=green][color=darkred]
          >>> work well with localhost. This is only happening with
          >>> Visual Basic.Net 2003. Can anyone help me with this
          >>> problem? Your efforts are appreciated.
          >>>
          >>>
          >>>
          >>>
          >>>[/color]
          >>
          >>
          >>.
          >>[/color]
          >.
          >[/color]

          Comment

          • Luther Hert

            #6
            Re: Problems using localhost

            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

            [color=blue]
            >-----Original Message-----
            >Luther,
            >
            >Do the files,
            >
            >global.aspx
            >global.aspx.re sx
            >global.aspx. vb
            >
            >exist in your projects virtual directory?
            >
            >[color=green]
            >>-----Original Message-----
            >>
            >>I cannot get the project to open in Visual Basic. After[/color][/color]
            I[color=blue][color=green]
            >>type in 'http://localhost/My WebCalculator', the[/color][/color]
            project[color=blue][color=green]
            >>fails to open in Visual Basic.Net. So, running the[/color][/color]
            Build[color=blue][color=green]
            >>Command is not an option.
            >>[color=darkred]
            >>>-----Original Message-----
            >>>You need to hit the "Build Solution" command ;-)
            >>>
            >>>--
            >>>Eric Newton
            >>>eric@ensof t-software.com.cc (Remove the CC)
            >>>www.ensoft-software.com
            >>>C#/ASP.net Solutions developer
            >>>
            >>>"Luther Hert" <lucia1@mbt.com > wrote in message
            >>>news:031301c 3bd1e$ca52d300$ a101280a@phx.gb l...
            >>>>
            >>>> While trying to work through textbook lessons for[/color]
            >>Vb.net[color=darkred]
            >>>> Step by Step,Version 2003, Chapter 22, the first[/color][/color][/color]
            step[color=blue][color=green]
            >>is[color=darkred]
            >>>> to create a new Web application Project,using the[/color]
            >>ASP.Net[color=darkred]
            >>>> Application icon in the Visual Basic Projects folder.
            >>>>
            >>>> When I select the ASP.Net Application icon and type[/color][/color][/color]
            in[color=blue][color=green][color=darkred]
            >>>> http://localhost/MyWebCalculator, I recieve an error[/color]
            >>in a[color=darkred]
            >>>> dialogue box stating:
            >>>> MS Development Environment Dialogue Box error[/color][/color][/color]
            message:[color=blue][color=green][color=darkred]
            >>>>
            >>>> "The Webserver reported the following error when
            >>>> attempting to create or open the Web project located[/color][/color][/color]
            at[color=blue][color=green][color=darkred]
            >>>> the following
            >>>>[/color][/color][/color]
            URL:'http://localhost/WebCalculator'. 'Aconnectionwit h[color=blue][color=green][color=darkred]
            >>>> the server could not be established'.
            >>>>
            >>>> I am able to browse localstart.asp and iisstart.asp[/color][/color][/color]
            as[color=blue][color=green][color=darkred]
            >>>> well as webpages located in the virtual directory of[/color]
            >>the[color=darkred]
            >>>> WebCalculator virual directory, using localhost in my
            >>>> browser.
            >>>>
            >>>> My problem is that I cannot get VB.Net 2003 to open[/color][/color][/color]
            any[color=blue][color=green][color=darkred]
            >>>> Asp project, including WebCalculator, for[/color][/color][/color]
            development.[color=blue][color=green][color=darkred]
            >>>>
            >>>> Below is an example of an error notice recieved when[/color][/color][/color]
            I[color=blue][color=green][color=darkred]
            >>>> attempted to browse the Source File:
            >>>> C:\Inetpub\wwwr oot\WebCalculat or\global.asax, using
            >>>> Internet Explorer 6.0 in an attempt to determine[/color][/color][/color]
            what[color=blue][color=green]
            >>is[color=darkred]
            >>>> causing my problem.
            >>>>
            >>>>
            >>>> Server Error in '/WebCalculator' Application.
            >>>> -----------------------------------------------------[/color][/color][/color]
            --[color=blue][color=green]
            >>---[color=darkred]
            >>>> ----------------------
            >>>>
            >>>> Parser Error
            >>>> Description: An error occurred during the parsing of[/color][/color][/color]
            a[color=blue][color=green][color=darkred]
            >>>> resource required to service this request. Please[/color]
            >>review[color=darkred]
            >>>> 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[/color][/color][/color]
            Line: 1[color=blue][color=green][color=darkred]
            >>>>
            >>>>
            >>>> -----------------------------------------------------[/color][/color][/color]
            --[color=blue][color=green]
            >>---[color=darkred]
            >>>> ----------------------
            >>>> 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[/color]
            >>webpages[color=darkred]
            >>>> work well with localhost. This is only happening with
            >>>> Visual Basic.Net 2003. Can anyone help me with this
            >>>> problem? Your efforts are appreciated.
            >>>>
            >>>>
            >>>>
            >>>>
            >>>>
            >>>
            >>>
            >>>.
            >>>[/color]
            >>.
            >>[/color]
            >.
            >[/color]

            Comment

            • MSFT

              #7
              Re: Problems using localhost

              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.)

              Comment

              • Luther Hert

                #8
                Re: Problems using localhost

                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.

                [color=blue]
                >-----Original Message-----
                >Did you have any .vbproj file in the folder? If so, you[/color]
                may double click it[color=blue]
                >and compile the project.
                >
                >Luke
                >Microsoft Online Support
                >
                >Get Secure! www.microsoft.com/security
                >(This posting is provided "AS IS", with no warranties,[/color]
                and confers no[color=blue]
                >rights.)
                >
                >.
                >[/color]

                Comment

                • MSFT

                  #9
                  Re: Problems using localhost

                  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.)

                  Comment

                  • Eric Newton

                    #10
                    Re: Problems using localhost

                    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
                    eric@ensoft-software.com.cc (Remove the CC)

                    C#/ASP.net Solutions developer


                    "Luther Hert" <lucia1@mbt.com > wrote in message
                    news:036001c3bd 3e$07a790f0$a30 1280a@phx.gbl.. .[color=blue]
                    >
                    > 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.
                    >[color=green]
                    > >-----Original Message-----
                    > >You need to hit the "Build Solution" command ;-)
                    > >
                    > >--
                    > >Eric Newton
                    > >eric@ensoft-software.com.cc (Remove the CC)
                    > >www.ensoft-software.com
                    > >C#/ASP.net Solutions developer
                    > >
                    > >"Luther Hert" <lucia1@mbt.com > wrote in message
                    > >news:031301c3b d1e$ca52d300$a1 01280a@phx.gbl. ..[color=darkred]
                    > >>
                    > >> While trying to work through textbook lessons for[/color][/color]
                    > Vb.net[color=green][color=darkred]
                    > >> Step by Step,Version 2003, Chapter 22, the first step[/color][/color]
                    > is[color=green][color=darkred]
                    > >> to create a new Web application Project,using the[/color][/color]
                    > ASP.Net[color=green][color=darkred]
                    > >> 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[/color][/color]
                    > in a[color=green][color=darkred]
                    > >> 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[/color][/color]
                    > the[color=green][color=darkred]
                    > >> 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[/color][/color]
                    > is[color=green][color=darkred]
                    > >> causing my problem.
                    > >>
                    > >>
                    > >> Server Error in '/WebCalculator' Application.
                    > >> -------------------------------------------------------[/color][/color]
                    > ---[color=green][color=darkred]
                    > >> ----------------------
                    > >>
                    > >> Parser Error
                    > >> Description: An error occurred during the parsing of a
                    > >> resource required to service this request. Please[/color][/color]
                    > review[color=green][color=darkred]
                    > >> 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
                    > >>
                    > >>
                    > >> -------------------------------------------------------[/color][/color]
                    > ---[color=green][color=darkred]
                    > >> ----------------------
                    > >> 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[/color][/color]
                    > webpages[color=green][color=darkred]
                    > >> work well with localhost. This is only happening with
                    > >> Visual Basic.Net 2003. Can anyone help me with this
                    > >> problem? Your efforts are appreciated.
                    > >>
                    > >>
                    > >>
                    > >>
                    > >>[/color]
                    > >
                    > >
                    > >.
                    > >[/color][/color]


                    Comment

                    • Guest's Avatar

                      #11
                      Re: Problems using localhost

                      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.



                      [color=blue]
                      >-----Original Message-----
                      >Hi Luther,
                      >
                      >Is you an administrator on the server? Also, you can[/color]
                      open IIS Manager, and[color=blue]
                      >select "Web Service Extensions", is ASP.NET and[/color]
                      ProntPage Extension enabled[color=blue]
                      >in the right panel?
                      >
                      >Luke
                      >Microsoft Online Support
                      >
                      >Get Secure! www.microsoft.com/security
                      >(This posting is provided "AS IS", with no warranties,[/color]
                      and confers no[color=blue]
                      >rights.)
                      >
                      >.
                      >[/color]

                      Comment

                      • MSFT

                        #12
                        Re: Problems using localhost

                        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.e xe -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.)


                        Comment

                        • Luther Hert

                          #13
                          Re: Problems using localhost

                          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[color=blue]
                          >-----Original Message-----
                          >You may try to execute aspnet_regiis on the server to[/color]
                          see if this will fix[color=blue]
                          >the problem:
                          >
                          >1. On the task bar, click "Start", point to "Programs",[/color]
                          point to "Microsoft[color=blue]
                          >Visual Studio .NET", point to "Visual Studio .NET Tools"[/color]
                          and then click[color=blue]
                          >"Visual Studio .NET Command Prompt".
                          >2. On the command prompt type the following command:
                          > aspnet_regiis.e xe -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,[/color]
                          and confers no[color=blue]
                          >rights.)
                          >
                          >
                          >.
                          >[/color]

                          Comment

                          Working...