现象:Auto-attach to process '[3800] w3wp.exe' on machine 'ZXTCOM1' failed. Error code 0x8013134b.
解决方案:1、IIS中设置正确的ASP.Net版本(1.1/2.0等)2、aspnet_regiis -i

现象:Could not load type 'MyApp.Global'
解决方案:无bin目录,重编译项目即可

现象:Unable to Start Debugging on the Web Server 
解决方案:1、web.config中debug=true; 2、IIS中配置-调试,容许启用ASP服务器端调试

现象:读取txt文件时中文显示为乱码 

解决方案:StreamReader.Open(filename,Encoding.gb2312) 

现象: ConfigurationManager找不到

解决方案:除using外,需手动添加System.Configuration的引用 

注意:C#中class与struct的区别(空间分配上的) 

 

posted on 2009-10-14 12:48  文圆质芳  阅读(202)  评论(0编辑  收藏  举报