上传编译后的dll文件就行了。
把出错信息贴出来吧

解决方案 »

  1.   

    Server Error in '/' Application.
    --------------------------------------------------------------------------------File or assembly name System, or one of its dependencies, was not found. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.IO.FileNotFoundException: File or assembly name System, or one of its dependencies, was not found.Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  Assembly Load Trace: The following information can be helpful to determine why the assembly 'System' could not be loaded.
      

  2.   

    难道我只用上传dll文件,不用把编译后的CS文件传上去吗?
      

  3.   

    上传BIN里的DLL文件和编译过的新的CS文件,需要 dll 和 aspx 文件而不需要.cs 和 .resx ,他们已经编译到dll里了
      

  4.   

    可是我没有改动aspx的文件呀,也要传吗?
      

  5.   

    1,如果你引用了其它组件,你也必须将它上传到 /bin 目录
    2,保证你的DLL 放在根目录的 /bin 目录(避免创建应用程序池)
    3,你只要上传 .aspx 和 dll 二个文件就行了,其它不必上传
      

  6.   

    Exception Details: System.IO.FileNotFoundException: File or assembly name System, or one of its dependencies, was not found.Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  Assembly Load Trace: The following information can be helpful to determine why the assembly 'System' could not be loaded.看起来,应该缺少.dll你写一个简单的Web,看看是否可以成功,你的system.dll好象没有,你发布的服务器.net frameWork装得有点问题吧..........
      

  7.   

    谢谢大家的回答,问题是这样的,
    我有一个index.aspx,index.aspx.cs文件,
    我改动了CS文件,简单的家了一个"1",目的是测试用,DLL文件在BIN目录里,我用VS编译后,我把index.aspx.cs和bin里的dll传了上去,但访问的时候就显示不了了,错误就是上面提到的
      

  8.   

    看错误信息应该是找不到System.dll,是不是.net framework损坏了?或者system.dll已经不在GAC里了?你试试重装.net framework?
      

  9.   

    问题是现在没有问题,我捎加改动就不行了,但我本地都没有问题,
    刚发现的一个问题,不知道有没有关系,就是我原来的DLL是208K,
    用VS2003编译后就编成116K了?会有关系吗?我用DEBUG或RELEASE都会使原来的DLL缩小了快1倍
      

  10.   

    我想是你的DEBUG和RELEASE搞混了回复远程服务器到以前状态,看看效果如何..你远程缺文件,本地又不缺,本地当然没有问题了
      

  11.   

    问题是我远程现在正常,我改动后,那么没有改,就是从新编译,都不行了,
    难道传DLL和ASPX文件外,还需要做什么吗?我就是用RELEASE
      

  12.   

    方便的话,发过来[email protected]