Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. SharePoint
  4. Illegal characters in path error while deploying web part

Illegal characters in path error while deploying web part

Scheduled Pinned Locked Moved SharePoint
helpcsharpvisual-studio
9 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    SANJEET KUMAR SATPATHY Delhi IN
    wrote on last edited by
    #1

    When I am trying to build a web part in visual studio I am getting the below error. Parameter "SearchPaths" has invalid value "C:\Program Files (x86)\Microsoft Chart Controls\Assemblies"\Microsoft.Web.Administration.dll". Illegal characters in path. Please help to resolve this.

    Sanjeet

    I 2 Replies Last reply
    0
    • S SANJEET KUMAR SATPATHY Delhi IN

      When I am trying to build a web part in visual studio I am getting the below error. Parameter "SearchPaths" has invalid value "C:\Program Files (x86)\Microsoft Chart Controls\Assemblies"\Microsoft.Web.Administration.dll". Illegal characters in path. Please help to resolve this.

      Sanjeet

      I Offline
      I Offline
      Ingo
      wrote on last edited by
      #2

      SANJEET KUMAR SATPATHY Delhi IN wrote:

      "C:\Program Files (x86)\Microsoft Chart Controls\Assemblies"\Microsoft.Web.Administration.dll"

      Well, the " after Assemblies shouldn't be there

      ------------------------------ Author of Primary ROleplaying SysTem How do I take my coffee? Black as midnight on a moonless night. War doesn't determine who's right. War determines who's left.

      S 1 Reply Last reply
      0
      • I Ingo

        SANJEET KUMAR SATPATHY Delhi IN wrote:

        "C:\Program Files (x86)\Microsoft Chart Controls\Assemblies"\Microsoft.Web.Administration.dll"

        Well, the " after Assemblies shouldn't be there

        ------------------------------ Author of Primary ROleplaying SysTem How do I take my coffee? Black as midnight on a moonless night. War doesn't determine who's right. War determines who's left.

        S Offline
        S Offline
        SANJEET KUMAR SATPATHY Delhi IN
        wrote on last edited by
        #3

        Yes I know due to " error is coming. But my question is how to resolve this because it does not exist physically in the solution.

        Sanjeet

        L 1 Reply Last reply
        0
        • S SANJEET KUMAR SATPATHY Delhi IN

          When I am trying to build a web part in visual studio I am getting the below error. Parameter "SearchPaths" has invalid value "C:\Program Files (x86)\Microsoft Chart Controls\Assemblies"\Microsoft.Web.Administration.dll". Illegal characters in path. Please help to resolve this.

          Sanjeet

          I Offline
          I Offline
          Ingo
          wrote on last edited by
          #4

          SANJEET KUMAR SATPATHY Delhi IN wrote:

          But my question is how to resolve this because it does not exist physically in the solution.

          Ok, sorry I misunderstood you.

          SANJEET KUMAR SATPATHY Delhi IN wrote:

          Microsoft.Web.Administration.dll

          Ok, this is strange. I think there is no Microsoft.Web.Administration.dll. So perhaps there is an error in your references (or in your usings). There is a System.Web.dll, when you include it you can use

          using System.Web.Administration;

          The searchpath is the path were the dlls are looked up.

          SANJEET KUMAR SATPATHY Delhi IN wrote:

          Parameter "SearchPaths" has invalid value

          Did you added a reference-path in your project settings? It might be wrong.

          ------------------------------ Author of Primary ROleplaying SysTem How do I take my coffee? Black as midnight on a moonless night. War doesn't determine who's right. War determines who's left.

          S 1 Reply Last reply
          0
          • I Ingo

            SANJEET KUMAR SATPATHY Delhi IN wrote:

            But my question is how to resolve this because it does not exist physically in the solution.

            Ok, sorry I misunderstood you.

            SANJEET KUMAR SATPATHY Delhi IN wrote:

            Microsoft.Web.Administration.dll

            Ok, this is strange. I think there is no Microsoft.Web.Administration.dll. So perhaps there is an error in your references (or in your usings). There is a System.Web.dll, when you include it you can use

            using System.Web.Administration;

            The searchpath is the path were the dlls are looked up.

            SANJEET KUMAR SATPATHY Delhi IN wrote:

            Parameter "SearchPaths" has invalid value

            Did you added a reference-path in your project settings? It might be wrong.

            ------------------------------ Author of Primary ROleplaying SysTem How do I take my coffee? Black as midnight on a moonless night. War doesn't determine who's right. War determines who's left.

            S Offline
            S Offline
            SANJEET KUMAR SATPATHY Delhi IN
            wrote on last edited by
            #5

            I am not adding any dll reference to the project. I am just simply creating a Web part using visual studio. After creating I am simply add some text like "Hi". After that when I am trying to build the application I am getting that error.

            Sanjeet

            I 1 Reply Last reply
            0
            • S SANJEET KUMAR SATPATHY Delhi IN

              I am not adding any dll reference to the project. I am just simply creating a Web part using visual studio. After creating I am simply add some text like "Hi". After that when I am trying to build the application I am getting that error.

              Sanjeet

              I Offline
              I Offline
              Ingo
              wrote on last edited by
              #6

              Sorry, I've got no idea. :^)

              ------------------------------ Author of Primary ROleplaying SysTem How do I take my coffee? Black as midnight on a moonless night. War doesn't determine who's right. War determines who's left.

              1 Reply Last reply
              0
              • S SANJEET KUMAR SATPATHY Delhi IN

                Yes I know due to " error is coming. But my question is how to resolve this because it does not exist physically in the solution.

                Sanjeet

                L Offline
                L Offline
                Lost User
                wrote on last edited by
                #7

                SANJEET KUMAR SATPATHY Delhi IN wrote:

                it does not exist physically in the solution.

                So where is it coming from? You need to provide some more detail of exactly what source line is producing this error.

                One of these days I'm going to think of a really clever signature.

                S 1 Reply Last reply
                0
                • L Lost User

                  SANJEET KUMAR SATPATHY Delhi IN wrote:

                  it does not exist physically in the solution.

                  So where is it coming from? You need to provide some more detail of exactly what source line is producing this error.

                  One of these days I'm going to think of a really clever signature.

                  S Offline
                  S Offline
                  SANJEET KUMAR SATPATHY Delhi IN
                  wrote on last edited by
                  #8

                  I am just simply creating a Web part using visual studio. After creating I am simply add some text like "Hi". After that when I am trying to build the application I am getting that error.

                  Sanjeet

                  L 1 Reply Last reply
                  0
                  • S SANJEET KUMAR SATPATHY Delhi IN

                    I am just simply creating a Web part using visual studio. After creating I am simply add some text like "Hi". After that when I am trying to build the application I am getting that error.

                    Sanjeet

                    L Offline
                    L Offline
                    Lost User
                    wrote on last edited by
                    #9

                    SANJEET KUMAR SATPATHY Delhi IN wrote:

                    when I am trying to build the application I am getting that error.

                    You know that repeating the same comment over again without providing the relevant source code and exact error messages does not give us any way of helping you.

                    One of these days I'm going to think of a really clever signature.

                    1 Reply Last reply
                    0
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • World
                    • Users
                    • Groups