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. publishing web site to ftp server

publishing web site to ftp server

Scheduled Pinned Locked Moved ASP.NET
helpcsharpasp-netsysadminquestion
5 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.
  • M Offline
    M Offline
    Maverickcool
    wrote on last edited by
    #1

    hi all i'm new to ASP.Net I'm a having a problem publishing a site on an ftp server i've created a simple site which works locally on my computer. after I published the site I can see my files on the server also I see inside the bin folder a strange dll ( doesnt know where it came from) called 'App_Web_bp2muayj' (each time I publish my site I get a different file there) when I try to open my site from HTTP I get the following error: "Could not load the assembly 'App_Web_bp2muayj'. Make sure that it is compiled before accessing the page" I tried deleting the file, and still got the same error. also tried to delete the ASP.net temp files and it didnt work. what should I do ? Thanks

    A 1 Reply Last reply
    0
    • M Maverickcool

      hi all i'm new to ASP.Net I'm a having a problem publishing a site on an ftp server i've created a simple site which works locally on my computer. after I published the site I can see my files on the server also I see inside the bin folder a strange dll ( doesnt know where it came from) called 'App_Web_bp2muayj' (each time I publish my site I get a different file there) when I try to open my site from HTTP I get the following error: "Could not load the assembly 'App_Web_bp2muayj'. Make sure that it is compiled before accessing the page" I tried deleting the file, and still got the same error. also tried to delete the ASP.net temp files and it didnt work. what should I do ? Thanks

      A Offline
      A Offline
      Abhishek Sur
      wrote on last edited by
      #2

      Did you try creating a virtual directory? I think you might take a look into this : Beginner's Guide : Exploring IIS 6.0 With ASP.NET [^] ;)

      Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.


      My Latest Articles-->** Simplify Code Using NDepend
      Basics of Bing Search API using .NET
      Microsoft Bing MAP using Javascript

      M 1 Reply Last reply
      0
      • A Abhishek Sur

        Did you try creating a virtual directory? I think you might take a look into this : Beginner's Guide : Exploring IIS 6.0 With ASP.NET [^] ;)

        Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.


        My Latest Articles-->** Simplify Code Using NDepend
        Basics of Bing Search API using .NET
        Microsoft Bing MAP using Javascript

        M Offline
        M Offline
        Maverickcool
        wrote on last edited by
        #3

        hi Abhishek, yes, I have a virtual directory

        A 1 Reply Last reply
        0
        • M Maverickcool

          hi Abhishek, yes, I have a virtual directory

          A Offline
          A Offline
          Abhishek Sur
          wrote on last edited by
          #4

          I think there are a number of issues for which LoadAssembly fails. Do you have application pool defined for the Virtual Directory you are using is for .NET 1.1 and you have just published a new site in .NET 2.0. If this is the case, please separate the application pool. Create one application pool for sites in .NET 1.1 and another for .NET 2.0. IIS 6.0 cannot handle both of them simultaneously. :)

          Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.


          My Latest Articles-->** Simplify Code Using NDepend
          Basics of Bing Search API using .NET
          Microsoft Bing MAP using Javascript

          M 1 Reply Last reply
          0
          • A Abhishek Sur

            I think there are a number of issues for which LoadAssembly fails. Do you have application pool defined for the Virtual Directory you are using is for .NET 1.1 and you have just published a new site in .NET 2.0. If this is the case, please separate the application pool. Create one application pool for sites in .NET 1.1 and another for .NET 2.0. IIS 6.0 cannot handle both of them simultaneously. :)

            Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.


            My Latest Articles-->** Simplify Code Using NDepend
            Basics of Bing Search API using .NET
            Microsoft Bing MAP using Javascript

            M Offline
            M Offline
            Maverickcool
            wrote on last edited by
            #5

            hi Abhishek this is not the case. the application pool and my site are both using .NET 2.0. 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