compilation error

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

    #1

    compilation error

    Whenever I debug the project, I get compile error every
    other time. Even just adding comment gives me error.
    It's very annoying.
    Does anyone know why? I uninstalled and reinstalled
    VS.net, but problem is still the same.
  • Jon Skeet [C# MVP]

    #2
    Re: compilation error

    LM <anonymous@disc ussions.microso ft.com> wrote:[color=blue]
    > Whenever I debug the project, I get compile error every
    > other time. Even just adding comment gives me error.
    > It's very annoying.
    > Does anyone know why? I uninstalled and reinstalled
    > VS.net, but problem is still the same.[/color]

    What does the error say?

    --
    Jon Skeet - <skeet@pobox.co m>
    Pobox has been discontinued as a separate service, and all existing customers moved to the Fastmail platform.

    If replying to the group, please do not mail me too

    Comment

    • LM

      #3
      compilation error

      It says:

      "Server Error in '/project_name' Application."
      Description: An error occurred during the compilation of
      a resource required to service this request. Please
      review the following specific error details and modify
      your source code appropriately.
      Compiler Error Message: The compiler failed with error
      code 2000.
      vbc : Command line error BC2017 : ....
      vbc : Fatal error BC2000 : compiler initialization failed
      unexpectedly: The filename, directory name, or volume
      label syntax is incorrect.

      LM
      [color=blue]
      >-----Original Message-----
      >LM <anonymous@disc ussions.microso ft.com> wrote:[color=green]
      >> Whenever I debug the project, I get compile error[/color][/color]
      every[color=blue][color=green]
      >> other time. Even just adding comment gives me error.
      >> It's very annoying.
      >> Does anyone know why? I uninstalled and reinstalled
      >> VS.net, but problem is still the same.[/color]
      >
      >What does the error say?
      >
      >--
      >Jon Skeet - <skeet@pobox.co m>
      >http://www.pobox.com/~skeet
      >If replying to the group, please do not mail me too
      >.
      >[/color]

      Comment

      • Jon Skeet [C# MVP]

        #4
        Re: compilation error

        LM <anonymous@disc ussions.microso ft.com> wrote:[color=blue]
        > "Server Error in '/project_name' Application."
        > Description: An error occurred during the compilation of
        > a resource required to service this request. Please
        > review the following specific error details and modify
        > your source code appropriately.
        > Compiler Error Message: The compiler failed with error
        > code 2000.
        > vbc : Command line error BC2017 : ....
        > vbc : Fatal error BC2000 : compiler initialization failed
        > unexpectedly: The filename, directory name, or volume
        > label syntax is incorrect.[/color]

        Does it only happen with the one project, or all projects?

        --
        Jon Skeet - <skeet@pobox.co m>
        Pobox has been discontinued as a separate service, and all existing customers moved to the Fastmail platform.

        If replying to the group, please do not mail me too

        Comment

        • LM

          #5
          re:

          I haven't checked all, but it happens with most of the
          projects. I recoginized this behavior after adding
          powerpoint reference, but not sure.

          Comment

          • Jon Skeet [C# MVP]

            #6
            Re: re:

            LM <anonymous@disc ussions.microso ft.com> wrote:[color=blue]
            > I haven't checked all, but it happens with most of the
            > projects. I recoginized this behavior after adding
            > powerpoint reference, but not sure.[/color]

            I'd try to isolate this then - create a simple project (in a new
            solution) which does pretty much nothing. Test it in terms of
            compiling, debugging etc. Add the PowerPoint reference and maybe one
            line of code which will actually use that reference. Test again. If it
            suddenly stops working, it'll give a lot more information to someone
            from MS - or you'll have a tighter search to do on Google for a
            workaround!

            --
            Jon Skeet - <skeet@pobox.co m>
            Pobox has been discontinued as a separate service, and all existing customers moved to the Fastmail platform.

            If replying to the group, please do not mail me too

            Comment

            • LM

              #7
              Re: re:

              Thanks. I'll try.
              [color=blue]
              >-----Original Message-----
              >LM <anonymous@disc ussions.microso ft.com> wrote:[color=green]
              >> I haven't checked all, but it happens with most of the
              >> projects. I recoginized this behavior after adding
              >> powerpoint reference, but not sure.[/color]
              >
              >I'd try to isolate this then - create a simple project[/color]
              (in a new[color=blue]
              >solution) which does pretty much nothing. Test it in[/color]
              terms of[color=blue]
              >compiling, debugging etc. Add the PowerPoint reference[/color]
              and maybe one[color=blue]
              >line of code which will actually use that reference.[/color]
              Test again. If it[color=blue]
              >suddenly stops working, it'll give a lot more[/color]
              information to someone[color=blue]
              >from MS - or you'll have a tighter search to do on[/color]
              Google for a[color=blue]
              >workaround!
              >
              >--
              >Jon Skeet - <skeet@pobox.co m>
              >http://www.pobox.com/~skeet
              >If replying to the group, please do not mail me too
              >.
              >[/color]

              Comment

              Working...