Help! Can't create ASP.NET project

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

    Help! Can't create ASP.NET project

    Please help some desperate developers!! We need to create an ASP.NET project
    via VS.NET 2003 on a networked Win 2003 server that we use for testing, but
    it keeps generating an error:

    "The Web server reported the following error when attempting to create or
    open the Web project located at the following URL:..... HTTP/1.1 500
    Internal Server Error."

    People have said Frontpage Server Extensions (FPSE) have to be on that
    server; however, our server admin doesn't want FPSE on our Web server for
    security reasons. We can't use LOCALHOST because we develop our apps on
    central test and production boxes. At this point, people in my department
    are ready to give up on .NET development because of this reason. Are there
    any alternatives to FPSE? Any workarounds? PLEASE HELP -- Thank you much in
    advance.


  • Alex Papadimoulis

    #2
    RE: Help! Can't create ASP.NET project

    It's a bit difficult to develop web apps on a server like that ... especially
    with a restrictive admin.

    If it's that critical (.NET or no .NET), just meet 'em half way and go sans
    VS.NET. Remember, it's only a tool ... develop all your classes and business
    logic locally, push the DLLs to the bin folder, and use your existing tool
    (Dreamweaver, EditPlus, Notepad) to pound out ASP.NET.

    Not ideal, but sure as hell better than doing ASP only. If you get the rest
    of your team hooked, I'm sure you'll be able to get a server to develop on.

    -- Alex Papadimoulis

    "dw" wrote:
    [color=blue]
    > Please help some desperate developers!! We need to create an ASP.NET project
    > via VS.NET 2003 on a networked Win 2003 server that we use for testing, but
    > it keeps generating an error:
    >
    > "The Web server reported the following error when attempting to create or
    > open the Web project located at the following URL:..... HTTP/1.1 500
    > Internal Server Error."
    >
    > People have said Frontpage Server Extensions (FPSE) have to be on that
    > server; however, our server admin doesn't want FPSE on our Web server for
    > security reasons. We can't use LOCALHOST because we develop our apps on
    > central test and production boxes. At this point, people in my department
    > are ready to give up on .NET development because of this reason. Are there
    > any alternatives to FPSE? Any workarounds? PLEASE HELP -- Thank you much in
    > advance.[/color]

    Comment

    • dw

      #3
      Re: Help! Can't create ASP.NET project

      We had a meeting and they've decided to keep using ASP until ASP.NET 2.0
      comes out. Then, depending on whether the issue of the Frontpage extensions
      is resolved or not, they will determine if we'll be using that technology.

      As for building .NET using something other than Visual Studio: One of the
      reasons our development team wanted to use ASP.NET was the features of
      Visual Studio .NET. Now the only way is to use a backdoor approach. I have
      Dreamweaver, which is an excellent tool, but others in the department don't
      have it. So until Microsoft uncouples FPSE from Visual Studio, we won't be
      doing any ASP.NET.

      "Alex Papadimoulis" <alexRemovePi@p a3.14padimoulis .com> wrote in message
      news:4D18D8C2-F8B8-455E-998C-66941300765A@mi crosoft.com...[color=blue]
      > It's a bit difficult to develop web apps on a server like that ...
      > especially
      > with a restrictive admin.
      >
      > If it's that critical (.NET or no .NET), just meet 'em half way and go
      > sans
      > VS.NET. Remember, it's only a tool ... develop all your classes and
      > business
      > logic locally, push the DLLs to the bin folder, and use your existing tool
      > (Dreamweaver, EditPlus, Notepad) to pound out ASP.NET.
      >
      > Not ideal, but sure as hell better than doing ASP only. If you get the
      > rest
      > of your team hooked, I'm sure you'll be able to get a server to develop
      > on.
      >
      > -- Alex Papadimoulis
      >
      > "dw" wrote:
      >[color=green]
      >> Please help some desperate developers!! We need to create an ASP.NET
      >> project
      >> via VS.NET 2003 on a networked Win 2003 server that we use for testing,
      >> but
      >> it keeps generating an error:
      >>
      >> "The Web server reported the following error when attempting to create or
      >> open the Web project located at the following URL:..... HTTP/1.1 500
      >> Internal Server Error."
      >>
      >> People have said Frontpage Server Extensions (FPSE) have to be on that
      >> server; however, our server admin doesn't want FPSE on our Web server for
      >> security reasons. We can't use LOCALHOST because we develop our apps on
      >> central test and production boxes. At this point, people in my department
      >> are ready to give up on .NET development because of this reason. Are
      >> there
      >> any alternatives to FPSE? Any workarounds? PLEASE HELP -- Thank you much
      >> in
      >> advance.[/color][/color]


      Comment

      • Ken Cox [Microsoft MVP]

        #4
        Re: Help! Can't create ASP.NET project

        You could map a drive on the server and work through the file system.

        "dw" <cougarmana_NOS PAM@uncw.edu> wrote in message
        news:ehUT5Ra%23 EHA.2680@TK2MSF TNGP09.phx.gbl. ..[color=blue]
        > Please help some desperate developers!! We need to create an ASP.NET
        > project via VS.NET 2003 on a networked Win 2003 server that we use for
        > testing, but it keeps generating an error:
        >
        > "The Web server reported the following error when attempting to create or
        > open the Web project located at the following URL:..... HTTP/1.1 500
        > Internal Server Error."
        >
        > People have said Frontpage Server Extensions (FPSE) have to be on that
        > server; however, our server admin doesn't want FPSE on our Web server for
        > security reasons. We can't use LOCALHOST because we develop our apps on
        > central test and production boxes. At this point, people in my department
        > are ready to give up on .NET development because of this reason. Are there
        > any alternatives to FPSE? Any workarounds? PLEASE HELP -- Thank you much
        > in advance.
        >[/color]

        Comment

        • dw

          #5
          Re: Help! Can't create ASP.NET project

          How would you accomplish this? I thought when you create ASP.NET projects in
          Visual Studio, you have to give it an HTTP address and not a network path.
          Any light you can shed on this will be deeply appreciated. Thank you much.

          "Ken Cox [Microsoft MVP]" <BANSPAMken_cox @sympatico.ca> wrote in message
          news:eOWw7Lk%23 EHA.608@TK2MSFT NGP15.phx.gbl.. .[color=blue]
          > You could map a drive on the server and work through the file system.
          >
          > "dw" <cougarmana_NOS PAM@uncw.edu> wrote in message
          > news:ehUT5Ra%23 EHA.2680@TK2MSF TNGP09.phx.gbl. ..[color=green]
          >> Please help some desperate developers!! We need to create an ASP.NET
          >> project via VS.NET 2003 on a networked Win 2003 server that we use for
          >> testing, but it keeps generating an error:
          >>
          >> "The Web server reported the following error when attempting to create or
          >> open the Web project located at the following URL:..... HTTP/1.1 500
          >> Internal Server Error."
          >>
          >> People have said Frontpage Server Extensions (FPSE) have to be on that
          >> server; however, our server admin doesn't want FPSE on our Web server for
          >> security reasons. We can't use LOCALHOST because we develop our apps on
          >> central test and production boxes. At this point, people in my department
          >> are ready to give up on .NET development because of this reason. Are
          >> there any alternatives to FPSE? Any workarounds? PLEASE HELP -- Thank you
          >> much in advance.
          >>[/color]
          >[/color]


          Comment

          • Ken Cox [Microsoft MVP]

            #6
            Re: Help! Can't create ASP.NET project

            1. Map a drive (say x:) on the remote server to c:\inetpub\wwwr oot\myproject
            .. You'll need to have sufficient permissions as a user on the remote
            machine - this is the hard part - try to be part of the same domain on each
            machine.
            2. On the local machine, In IIS Manager, create a virtual directory called
            myproject and set the file location as x:\myproject.
            3. Create a VS.NET project on http://localhost/myproject . The files will be
            written to x:\myproject .
            4. Develop your application using VS.NET on your machine. You can view the
            pages on http://localhost/myproject or on http://servername/myproject .

            On the remote server, you'll need to use IIS Manager to create myproject as
            a Web Application.

            Let us know if it works for you?

            Ken



            "dw" <cougarmana_NOS PAM@uncw.edu> wrote in message
            news:O9vGdyk%23 EHA.1452@TK2MSF TNGP11.phx.gbl. ..[color=blue]
            > How would you accomplish this? I thought when you create ASP.NET projects
            > in Visual Studio, you have to give it an HTTP address and not a network
            > path. Any light you can shed on this will be deeply appreciated. Thank you
            > much.
            >
            > "Ken Cox [Microsoft MVP]" <BANSPAMken_cox @sympatico.ca> wrote in message
            > news:eOWw7Lk%23 EHA.608@TK2MSFT NGP15.phx.gbl.. .[color=green]
            >> You could map a drive on the server and work through the file system.
            >>
            >> "dw" <cougarmana_NOS PAM@uncw.edu> wrote in message
            >> news:ehUT5Ra%23 EHA.2680@TK2MSF TNGP09.phx.gbl. ..[color=darkred]
            >>> Please help some desperate developers!! We need to create an ASP.NET
            >>> project via VS.NET 2003 on a networked Win 2003 server that we use for
            >>> testing, but it keeps generating an error:
            >>>
            >>> "The Web server reported the following error when attempting to create
            >>> or open the Web project located at the following URL:..... HTTP/1.1 500
            >>> Internal Server Error."
            >>>
            >>> People have said Frontpage Server Extensions (FPSE) have to be on that
            >>> server; however, our server admin doesn't want FPSE on our Web server
            >>> for security reasons. We can't use LOCALHOST because we develop our apps
            >>> on central test and production boxes. At this point, people in my
            >>> department are ready to give up on .NET development because of this
            >>> reason. Are there any alternatives to FPSE? Any workarounds? PLEASE
            >>> HELP -- Thank you much in advance.
            >>>[/color]
            >>[/color]
            >
            >[/color]

            Comment

            • Martin Dechev

              #7
              Re: Help! Can't create ASP.NET project

              Hi,

              Appart from what Ken suggested, take a look at the following KB article in
              regard to the required security settings for the shares:

              Microsoft Support is here to help you with Microsoft products. Find how-to articles, videos, and training for Microsoft Copilot, Microsoft 365, Windows 11, Surface, and more.


              Hope this helps
              Martin Dechev
              ASP.NET MVP
              "Ken Cox [Microsoft MVP]" <BANSPAMken_cox @sympatico.ca> wrote in message
              news:#LbZWml#EH A.704@tk2msftng p13.phx.gbl...[color=blue]
              > 1. Map a drive (say x:) on the remote server to[/color]
              c:\inetpub\wwwr oot\myproject[color=blue]
              > . You'll need to have sufficient permissions as a user on the remote
              > machine - this is the hard part - try to be part of the same domain on[/color]
              each[color=blue]
              > machine.
              > 2. On the local machine, In IIS Manager, create a virtual directory called
              > myproject and set the file location as x:\myproject.
              > 3. Create a VS.NET project on http://localhost/myproject . The files will[/color]
              be[color=blue]
              > written to x:\myproject .
              > 4. Develop your application using VS.NET on your machine. You can view the
              > pages on http://localhost/myproject or on http://servername/myproject .
              >
              > On the remote server, you'll need to use IIS Manager to create myproject[/color]
              as[color=blue]
              > a Web Application.
              >
              > Let us know if it works for you?
              >
              > Ken
              >
              >
              >
              > "dw" <cougarmana_NOS PAM@uncw.edu> wrote in message
              > news:O9vGdyk%23 EHA.1452@TK2MSF TNGP11.phx.gbl. ..[color=green]
              > > How would you accomplish this? I thought when you create ASP.NET[/color][/color]
              projects[color=blue][color=green]
              > > in Visual Studio, you have to give it an HTTP address and not a network
              > > path. Any light you can shed on this will be deeply appreciated. Thank[/color][/color]
              you[color=blue][color=green]
              > > much.
              > >
              > > "Ken Cox [Microsoft MVP]" <BANSPAMken_cox @sympatico.ca> wrote in message
              > > news:eOWw7Lk%23 EHA.608@TK2MSFT NGP15.phx.gbl.. .[color=darkred]
              > >> You could map a drive on the server and work through the file system.
              > >>
              > >> "dw" <cougarmana_NOS PAM@uncw.edu> wrote in message
              > >> news:ehUT5Ra%23 EHA.2680@TK2MSF TNGP09.phx.gbl. ..
              > >>> Please help some desperate developers!! We need to create an ASP.NET
              > >>> project via VS.NET 2003 on a networked Win 2003 server that we use for
              > >>> testing, but it keeps generating an error:
              > >>>
              > >>> "The Web server reported the following error when attempting to create
              > >>> or open the Web project located at the following URL:..... HTTP/1.1[/color][/color][/color]
              500[color=blue][color=green][color=darkred]
              > >>> Internal Server Error."
              > >>>
              > >>> People have said Frontpage Server Extensions (FPSE) have to be on that
              > >>> server; however, our server admin doesn't want FPSE on our Web server
              > >>> for security reasons. We can't use LOCALHOST because we develop our[/color][/color][/color]
              apps[color=blue][color=green][color=darkred]
              > >>> on central test and production boxes. At this point, people in my
              > >>> department are ready to give up on .NET development because of this
              > >>> reason. Are there any alternatives to FPSE? Any workarounds? PLEASE
              > >>> HELP -- Thank you much in advance.
              > >>>
              > >>[/color]
              > >
              > >[/color]
              >[/color]


              Comment

              • Ken Cox [Microsoft MVP]

                #8
                Re: Help! Can't create ASP.NET project

                Thanks Martin!

                Ken

                "Martin Dechev" <detcheff_@hotm ail.com> wrote in message
                news:eDR7Prl%23 EHA.2104@TK2MSF TNGP14.phx.gbl. ..[color=blue]
                > Hi,
                >
                > Appart from what Ken suggested, take a look at the following KB article in
                > regard to the required security settings for the shares:
                >
                > http://support.microsoft.com/?kbid=326495
                >
                > Hope this helps
                > Martin Dechev
                > ASP.NET MVP[/color]

                Comment

                • dw

                  #9
                  Re: Help! Can't create ASP.NET project

                  Thank you, Ken and Martin. I'm going to try this hopefully this afternoon
                  and post my results. It is much appreciated :)

                  "Ken Cox [Microsoft MVP]" <BANSPAMken_cox @sympatico.ca> wrote in message
                  news:OWnUY6l%23 EHA.3820@TK2MSF TNGP11.phx.gbl. ..[color=blue]
                  > Thanks Martin!
                  >
                  > Ken
                  >
                  > "Martin Dechev" <detcheff_@hotm ail.com> wrote in message
                  > news:eDR7Prl%23 EHA.2104@TK2MSF TNGP14.phx.gbl. ..[color=green]
                  >> Hi,
                  >>
                  >> Appart from what Ken suggested, take a look at the following KB article
                  >> in
                  >> regard to the required security settings for the shares:
                  >>
                  >> http://support.microsoft.com/?kbid=326495
                  >>
                  >> Hope this helps
                  >> Martin Dechev
                  >> ASP.NET MVP[/color]
                  >[/color]


                  Comment

                  • dw

                    #10
                    Re: Help! Can't create ASP.NET project

                    Ken, I got it working, but I'm getting this error when I try to view the
                    page in the browser,

                    Parser Error Message: Could not load type 'sga_test.Globa l'.

                    Source Error:

                    Line 1: <%@ Application Codebehind="Glo bal.asax.vb"
                    Inherits="sga_t est.Global" %>





                    "Ken Cox [Microsoft MVP]" <BANSPAMken_cox @sympatico.ca> wrote in message
                    news:OWnUY6l%23 EHA.3820@TK2MSF TNGP11.phx.gbl. ..[color=blue]
                    > Thanks Martin!
                    >
                    > Ken
                    >
                    > "Martin Dechev" <detcheff_@hotm ail.com> wrote in message
                    > news:eDR7Prl%23 EHA.2104@TK2MSF TNGP14.phx.gbl. ..[color=green]
                    >> Hi,
                    >>
                    >> Appart from what Ken suggested, take a look at the following KB article
                    >> in
                    >> regard to the required security settings for the shares:
                    >>
                    >> http://support.microsoft.com/?kbid=326495
                    >>
                    >> Hope this helps
                    >> Martin Dechev
                    >> ASP.NET MVP[/color]
                    >[/color]


                    Comment

                    • Ken Cox [Microsoft MVP]

                      #11
                      Re: Help! Can't create ASP.NET project

                      Make sure the Web is configured as an Application. You may need to do a
                      Remove and Create in IIS Manager.

                      Make sure that your output is going to the correct /bin directory:

                      1. Right-click on the project name.
                      2. Got to Configuration Properties > Build
                      3. Check the Output path value is pointing to the right place.

                      Let us know?

                      Ken


                      "dw" <cougarmana_NOS PAM@uncw.edu> wrote in message
                      news:OXOOlNn%23 EHA.3376@TK2MSF TNGP12.phx.gbl. ..[color=blue]
                      > Ken, I got it working, but I'm getting this error when I try to view the
                      > page in the browser,
                      >
                      > Parser Error Message: Could not load type 'sga_test.Globa l'.
                      >
                      > Source Error:
                      >
                      > Line 1: <%@ Application Codebehind="Glo bal.asax.vb"
                      > Inherits="sga_t est.Global" %>
                      >
                      >[/color]

                      Comment

                      • dw

                        #12
                        Re: Help! Can't create ASP.NET project

                        Thanks, Ken. I'll check and let you know.

                        "Ken Cox [Microsoft MVP]" <BANSPAMken_cox @sympatico.ca> wrote in message
                        news:exMS01o%23 EHA.1408@TK2MSF TNGP10.phx.gbl. ..[color=blue]
                        > Make sure the Web is configured as an Application. You may need to do a
                        > Remove and Create in IIS Manager.
                        >
                        > Make sure that your output is going to the correct /bin directory:
                        >
                        > 1. Right-click on the project name.
                        > 2. Got to Configuration Properties > Build
                        > 3. Check the Output path value is pointing to the right place.
                        >
                        > Let us know?
                        >
                        > Ken
                        >
                        >
                        > "dw" <cougarmana_NOS PAM@uncw.edu> wrote in message
                        > news:OXOOlNn%23 EHA.3376@TK2MSF TNGP12.phx.gbl. ..[color=green]
                        >> Ken, I got it working, but I'm getting this error when I try to view the
                        >> page in the browser,
                        >>
                        >> Parser Error Message: Could not load type 'sga_test.Globa l'.
                        >>
                        >> Source Error:
                        >>
                        >> Line 1: <%@ Application Codebehind="Glo bal.asax.vb"
                        >> Inherits="sga_t est.Global" %>
                        >>
                        >>[/color]
                        >[/color]


                        Comment

                        • dw

                          #13
                          Re: Help! Can't create ASP.NET project

                          Thanks, Ken. I tried the suggestions but had the same error.

                          "Ken Cox [Microsoft MVP]" <BANSPAMken_cox @sympatico.ca> wrote in message
                          news:exMS01o%23 EHA.1408@TK2MSF TNGP10.phx.gbl. ..[color=blue]
                          > Make sure the Web is configured as an Application. You may need to do a
                          > Remove and Create in IIS Manager.
                          >
                          > Make sure that your output is going to the correct /bin directory:
                          >
                          > 1. Right-click on the project name.
                          > 2. Got to Configuration Properties > Build
                          > 3. Check the Output path value is pointing to the right place.
                          >
                          > Let us know?
                          >
                          > Ken
                          >
                          >
                          > "dw" <cougarmana_NOS PAM@uncw.edu> wrote in message
                          > news:OXOOlNn%23 EHA.3376@TK2MSF TNGP12.phx.gbl. ..[color=green]
                          >> Ken, I got it working, but I'm getting this error when I try to view the
                          >> page in the browser,
                          >>
                          >> Parser Error Message: Could not load type 'sga_test.Globa l'.
                          >>
                          >> Source Error:
                          >>
                          >> Line 1: <%@ Application Codebehind="Glo bal.asax.vb"
                          >> Inherits="sga_t est.Global" %>
                          >>
                          >>[/color]
                          >[/color]


                          Comment

                          • Juan T. Llibre

                            #14
                            Re: Help! Can't create ASP.NET project

                            dw,

                            Please read

                            ( After you create this page, you have to build the application )

                            or


                            ( specify “Set as Startup Project” )

                            Otherwise, do you have sga_test.Global
                            defined in your code-behind ?

                            i.e. do you have :

                            Public Class sga_test.Global
                            Inherits System.Web.Http Application

                            in your global.asax.vb code-behind ?



                            Juan T. Llibre
                            ASP.NET MVP
                            ===========
                            "dw" <cougarmana_NOS PAM@uncw.edu> wrote in message
                            news:OytwVPq%23 EHA.1300@TK2MSF TNGP14.phx.gbl. ..[color=blue]
                            > Thanks, Ken. I tried the suggestions but had the same error.
                            >
                            > "Ken Cox [Microsoft MVP]" <BANSPAMken_cox @sympatico.ca> wrote in message
                            > news:exMS01o%23 EHA.1408@TK2MSF TNGP10.phx.gbl. ..[color=green]
                            >> Make sure the Web is configured as an Application. You may need to do a
                            >> Remove and Create in IIS Manager.
                            >>
                            >> Make sure that your output is going to the correct /bin directory:
                            >>
                            >> 1. Right-click on the project name.
                            >> 2. Got to Configuration Properties > Build
                            >> 3. Check the Output path value is pointing to the right place.
                            >>
                            >> Let us know?
                            >>
                            >> Ken
                            >>
                            >>
                            >> "dw" <cougarmana_NOS PAM@uncw.edu> wrote in message
                            >> news:OXOOlNn%23 EHA.3376@TK2MSF TNGP12.phx.gbl. ..[color=darkred]
                            >>> Ken, I got it working, but I'm getting this error when I try to view the
                            >>> page in the browser,
                            >>>
                            >>> Parser Error Message: Could not load type 'sga_test.Globa l'.
                            >>>
                            >>> Source Error:
                            >>>
                            >>> Line 1: <%@ Application Codebehind="Glo bal.asax.vb"
                            >>> Inherits="sga_t est.Global" %>
                            >>>
                            >>>[/color]
                            >>[/color]
                            >
                            >[/color]



                            Comment

                            • Ken Cox [Microsoft MVP]

                              #15
                              Re: Help! Can't create ASP.NET project

                              It's almost like your project isn't being built.

                              "dw" <cougarmana_NOS PAM@uncw.edu> wrote in message
                              news:OytwVPq%23 EHA.1300@TK2MSF TNGP14.phx.gbl. ..[color=blue]
                              > Thanks, Ken. I tried the suggestions but had the same error.
                              >
                              > "Ken Cox [Microsoft MVP]" <BANSPAMken_cox @sympatico.ca> wrote in message
                              > news:exMS01o%23 EHA.1408@TK2MSF TNGP10.phx.gbl. ..[color=green]
                              >> Make sure the Web is configured as an Application. You may need to do a
                              >> Remove and Create in IIS Manager.
                              >>
                              >> Make sure that your output is going to the correct /bin directory:
                              >>
                              >> 1. Right-click on the project name.
                              >> 2. Got to Configuration Properties > Build
                              >> 3. Check the Output path value is pointing to the right place.
                              >>
                              >> Let us know?
                              >>
                              >> Ken
                              >>
                              >>
                              >> "dw" <cougarmana_NOS PAM@uncw.edu> wrote in message
                              >> news:OXOOlNn%23 EHA.3376@TK2MSF TNGP12.phx.gbl. ..[color=darkred]
                              >>> Ken, I got it working, but I'm getting this error when I try to view the
                              >>> page in the browser,
                              >>>
                              >>> Parser Error Message: Could not load type 'sga_test.Globa l'.
                              >>>
                              >>> Source Error:
                              >>>
                              >>> Line 1: <%@ Application Codebehind="Glo bal.asax.vb"
                              >>> Inherits="sga_t est.Global" %>
                              >>>
                              >>>[/color]
                              >>[/color]
                              >
                              >[/color]

                              Comment

                              Working...