Your Ad Here
首页 | 编程语言 | 网站建设 | 游戏天堂 | 冲浪宝典 | 网络安全 | 操作系统 | 软件时空 | 硬件指南 | 病毒相关 | IT 认证
软讯网络 > 编程语言 > .NET > C#.NET > How to make Microsoft Enterprise Library June 2005 June release work with VS2005 beta 2?
【标  题】:How to make Microsoft Enterprise Library June 2005 June release work with VS2005 beta 2?
【关键字】:How,to,make,Microsoft,Enterprise,Library,June,2005,June,release,work,with,VS2005,beta
【来  源】:BLOG.CSDN.NET

How to make Microsoft Enterprise Library June 2005 June release work with VS2005 beta 2?

Your Ad Here

I'm using visual studio 2005 beta2 to open the Microsoft Enterprise
Library June 2005. When I open the solution as follow "C:\Program
Files\Microsoft Enterprise Library June
2005\QuickStarts\ExceptionHandling\CS\ExceptionHandlingWithLoggingQuickS
tart.sln", the IDE throw an exception
================================
"There is an error in xml document(1,1747)"
It stop at the file ConfigurationSettingsLoader.cs
Line 72
================================

After I fix the problem I indicate above,I find a new error! I'm dying soon,my god!

After some trials and tribulations, I have finally the initial projects created by CodeSmith to compile using the VS 2005 setting.  I am using the latest version (as of yesterday) of the code from CVS.  I am using the CVS versions of NetTiers.Configuration.2005.dll and NetTiers.Configuration.Design.2005.dll and NOT the versions from Rational Path.
 
After getting it to compile, I added a WinForms project, configured it using the EntLib configuration tool and everything worked perfectly. 
 
Next, I tried creating a new web site project.  I added a web.config to the site, and configured it using the EntLib Configuration tool.  Once again, everything compiled.  However, when I opened up the web.config in VS2005B2, I get the following error:
 
Warning 59 The element 'configuration' in namespace 'http://schemas.microsoft.com/.NetConfiguration/v2.0' has invalid child element 'enterpriselibrary.configurationSettings' in namespace 'http://www.microsoft.com/practices/enterpriselibrary/08-31-2004/configuration'. Expected any element in namespace 'http://schemas.microsoft.com/.NetConfiguration/v2.0'. C:\Applib\DotNet2\ArtPackCS\WebSite1\Web.Config 43 4 C:\...\WebSite1\
When I try and run the project, I get following error as a pop-up within VS:
 
Error parsing application configuration file at line 45. Type
'{http://wwww.microsoft.com/practives/enterpriselibrary/08-31-2004/configuration}ReadOnlyConfigurationSectionData' is not found in Schema.
 
Please correct before proceeding.
(You might rename the current web.config and add a new one.)
 
Strange error...

Thanks!

Kent

Email: it99kent#yahoo.com.cn

QQ:84561793
帮帮忙咯,老兄:【上一篇】
c#中使用多线程(图):【下一篇】
【相关文章】
  • MS05-050:DirectShow可能允许远程执行代码的漏洞
  • Borland Together 2005 for Microsoft Vusual Studio .NET License ????
  • SQL Server 2005(Yukon CLR)基本架构
  • Push FTP with SQL Server
  • 用好Total Commander的十大替代功能
  • vs.net2005 beta2 + Microsoft Enterprise Library June 2005
  • 20051010: xerces-c
  • 手工清除灰鸽子 Vip 2005
  • 修改Tomcat的主配置文件,增加一个Postgre数据库JDBC连接池。
  • MS Enterprise Library 与 Log4Net的比较
  • 【随机文章】
  • 利用PHP和AJAX创建RSS聚合器
  • 简单json对象for asp
  • 分割文件程序
  • pttys是什么?
  • 刚装好X86下的MAC,挺好玩的,大家快来玩吧,
  • 深入理解 ASP.NET 与客户端缓存 (Part 2 - ASP.NET 支持)
  • Web Service401请求错误处理方案总结
  • 交替背景色显示输出的函数
  • ASP Ping 简要介绍
  • windows核心编程--内存堆栈
  • 【相关评论】
    没有相关评论
    【发表评论】
    姓名:
    邮件:
    随机码*
    评论*
          
    |  首 页  |  版权声明  |  联系我们   |  网站地图  |
    CopyRight © 2004-2007 bbb软讯网络 All Rigths Reserved.