BC32400: Class 'CLSID_CorSymWriter' could not be created: System Error &H80040154&
错误提示:
1 Compilation Error
2 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.
3
4 Compiler Error Message: BC32400: Class 'CLSID_CorSymWriter' could not be created: System Error &H80040154&
5
6 Source Error:
7
8 [No relevant source lines]
9
10 Source File: vbc : Line: 0
11
2 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.
3
4 Compiler Error Message: BC32400: Class 'CLSID_CorSymWriter' could not be created: System Error &H80040154&
5
6 Source Error:
7
8 [No relevant source lines]
9
10 Source File: vbc : Line: 0
11
工作环境:
Vista Business
IIS7.0
Visual Studio 2008
我的解决方法:
在IIS中的.NET CompilationK中将Default Language改为程序开发语言(我的为C#,不知道怎么设置中变成VB了)
其实方案:
1、重启电脑
2、修复安装microsoft .net framework(参考地址:http://www.vbforums.com/archive/index.php/t-405951.html)
PS:这个问题出现得有点莫名其妙(在VS中生成时有会出现同样的错误),在网上搜索也没有找到解决办法。在检查IIS设置的时候
发现的解决办法。想到网上了没有解决办法(可能遇到这个问题的人太少了)就发上来留个案也供大家参考下。
如果有哪位大侠知其所以然也请告知。