What Works on Local Server....

Discussion in 'Hosting Services / Control Panel' started by wisemx, Feb 24, 2008.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Hi all!
    I'm able to upload my site (created using VS 2005), but when I try to run it, I get the following error:

    Server Error in '/' Application.
    Compilation Error
    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: CS0433: The type 'RandNumber' exists in both 'c:\WINDOWS\microsoft.net\Framework\v2.0.50727\Temporary ASP.NET Files\root\528850cf\69283144\assembly\dl3\4c5ba120\6012aee4_7a75c801\App_Code.DLL' and 'c:\WINDOWS\microsoft.net\Framework\v2.0.50727\Temporary ASP.NET Files\root\528850cf\69283144\App_Code.tpnxgop4.dll'

    Source Error:

    Line 14: public partial class AdditionPage : System.Web.UI.Page
    Line 15: {
    Line 16: private RandNumber rNum = new RandNumber();
    Line 17:
    Line 18: public RandNumber RNum


    Source File: e:\web\xtraordinay\htdocs\AdditionPage_v11.aspx.cs Line: 16

    The site works fine on my local PC, so I'm not sure what i have to do to get it to work on the dASP site. Any help would be greatly appreciated.

    Draykko
     
  2. Thanks, yet again Wise!

    But I'm having another problem. I'm trying to wipe the slate clean and start over, but when I try to delet the App_Code folder from my dASP site I get an error that the folder is not empty. However when I check it, it IS empty (I even tried 'viewing hidden files/folders').

    Any idea how to fix?

    Draykko</font></font>
     
  3. Some operations will have a server handle and just out of simplicity I prefer to stop the site for actions like that.
    You can try see if it helps, just log into your account and Stop the site while you perform that action, then Restart.
    Typically you can get it all done in under 2 minutes.

    btw, I have found WebExplorer Lite does a great job in removing files and folders that would otherwise be locked:
    http://www.gleamtech.com/products/webexplorer.asp

    It's a nice little package you can hide on your site to perform quick maintenance, even file uploads.
    Salute,
    Mark
     

  4. KEWL!!
    Question: What does it mean to 'recycle the App Pool'?

    Draykko
     
  5. A fresh start on your sites properties and processes.
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page