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. ASP.NET
  4. Getting around virtual directories?

Getting around virtual directories?

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netvisual-studiosysadminhelp
4 Posts 2 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
    scott987uk
    wrote on last edited by
    #1

    Hi all I have created a asp.net project under visual studio .net 2 and it all works fine. However when I upload it to my server it will not run because it is not a virtual directory that it resides in. Is there any way to make it so that I don’t have to use virtual directories and some how get it to work out where my dll’s are? Iv been looking at the config file to see if there is any way I can hard code where to point to the bin folder but as of yet I have not had much luck. Any help would be grate. Thx Scott.

    P 2 Replies Last reply
    0
    • S scott987uk

      Hi all I have created a asp.net project under visual studio .net 2 and it all works fine. However when I upload it to my server it will not run because it is not a virtual directory that it resides in. Is there any way to make it so that I don’t have to use virtual directories and some how get it to work out where my dll’s are? Iv been looking at the config file to see if there is any way I can hard code where to point to the bin folder but as of yet I have not had much luck. Any help would be grate. Thx Scott.

      P Offline
      P Offline
      Paddy Boyd
      wrote on last edited by
      #2

      Why can you not just make it a virtual directory?

      S 1 Reply Last reply
      0
      • P Paddy Boyd

        Why can you not just make it a virtual directory?

        S Offline
        S Offline
        scott987uk
        wrote on last edited by
        #3

        I do not have the option to create them with the web host I am with. I know that you don't need them if you don't use code behind but it rather not have to go through all my code and stick it into the same file.

        1 Reply Last reply
        0
        • S scott987uk

          Hi all I have created a asp.net project under visual studio .net 2 and it all works fine. However when I upload it to my server it will not run because it is not a virtual directory that it resides in. Is there any way to make it so that I don’t have to use virtual directories and some how get it to work out where my dll’s are? Iv been looking at the config file to see if there is any way I can hard code where to point to the bin folder but as of yet I have not had much luck. Any help would be grate. Thx Scott.

          P Offline
          P Offline
          Paddy Boyd
          wrote on last edited by
          #4

          New web host maybe :)

          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