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. General Programming
  3. XML / XSL
  4. Please Help: I cannot figure this out

Please Help: I cannot figure this out

Scheduled Pinned Locked Moved XML / XSL
questionhelpworkspacecsharpasp-net
1 Posts 1 Posters 1 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.
  • L Offline
    L Offline
    lnong
    wrote on last edited by
    #1

    How come the "Copy Project" option in VS.NET is always disabled whenever I need to transfer a finished web service on my local computer to my remote web host's server? (I was always able to use this method to tranfer my ASP.NET projects). Therefore, I had to copy the files manually via FTP. The files I copied were: 1) myService.asmx 2) myService.vsdisco 3) global.asax 4) web.config 5) bin folder which contains: myService.dll All these files and the "bin" folder were copied to a folder called MyServiceFolder located at the root of my website's directory structure. But whenever I try to access the service (http://www.mysite.com/MyServiceFolder/myService.asmx) it fails. And it will not display the specific error because it could not locate the web.config (where ). However, when I move the web.config file out of the MyServiceFolder and into the parent folder, and tried it again, it was able to tell me the specific error: "Parser Error Message: Could not create type 'MyNamespace.MyClass'." But this means that my web service is still not working. After some more trial and error, I was able to access my web service. What I did was that I also moved the "bin" folder out of the "MyServicefolder" and into the parent folder (where web.config is sitting). This made everything to work. The location of my files on the server now looks like this (which is kinda too messy): 1) /web.config 2) /bin/myService.dll 3) /MyServiceFolder/myService.asmx 3) /MyServiceFolder/myService.vsdisco 4) /MyServiceFolder/global.asax But the point is that I want to be able to organize all of my projects (web service, asp.net apps, etc) into their own folders on the server. So my big question is how can I put this web service into one folder such as MyServiceFolder, and make it work? Is there some configuration/setup file where I can edit the path directories? My other big question is how come I cannot use the "Copy Project" option to transfer web services to a remote server? PLEASE HELP! Thanks.

    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