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.
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装得有点问题吧..........
--------------------------------------------------------------------------------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 放在根目录的 /bin 目录(避免创建应用程序池)
3,你只要上传 .aspx 和 dll 二个文件就行了,其它不必上传
我有一个index.aspx,index.aspx.cs文件,
我改动了CS文件,简单的家了一个"1",目的是测试用,DLL文件在BIN目录里,我用VS编译后,我把index.aspx.cs和bin里的dll传了上去,但访问的时候就显示不了了,错误就是上面提到的
刚发现的一个问题,不知道有没有关系,就是我原来的DLL是208K,
用VS2003编译后就编成116K了?会有关系吗?我用DEBUG或RELEASE都会使原来的DLL缩小了快1倍
难道传DLL和ASPX文件外,还需要做什么吗?我就是用RELEASE