Infragistics
朋友帮忙解决Infragistics这个问题:
---------------------------------------
-----------------------------------------
“/WebApplication4”应用程序中的服务器错误。
--------------------------------------------------------------------------------
编译错误
说明: 在编译向该请求提供服务所需资源的过程中出现错误。请检查下列特定错误详细信息并适当地修改源代码。
编译器错误信息: CS0234: 类型或命名空间名称“Shared”在类或命名空间“Infragistics.WebUI”中不存在(是否缺少程序集引用?)
源错误:
行 13: <form id="Form1" method="post" runat="server">
行 14: <FONT face="宋体">
行 15: <igtbl:UltraWebGrid id="UltraWebGrid1" style="Z-INDEX: 101; LEFT: 8px; POSITION: absolute; TOP: 8px"
行 16: runat="server">
行 17: <DisplayLayout RowHeightDefault="20px" Version="4.00" BorderCollapseDefault="Separate" Name="UltraWebGrid1">
源文件: http://localhost/WebApplication4/WebForm1.aspx 行: 15
显示详细的编译器输出:
c:\windows\system32\inetsrv> "c:\windows\microsoft.net\framework\v1.1.4322\csc.exe" /t:library /utf8output /R:"c:\windows\assembly\gac\system.web.services\1.0.5000.0__b03f5f7f11d50a3a\system.web.services.dll" /R:"c:\windows\assembly\gac\system.xml\1.0.5000.0__b77a5c561934e089\system.xml.dll" /R:"c:\windows\assembly\gac\system.drawing\1.0.5000.0__b03f5f7f11d50a3a\system.drawing.dll" /R:"c:\windows\assembly\gac\system.web.mobile\1.0.5000.0__b03f5f7f11d50a3a\system.web.mobile.dll" /R:"c:\windows\assembly\gac\system.data\1.0.5000.0__b77a5c561934e089\system.data.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\webapplication4\d0419f65\1aa75407\assembly\dl2\ac11a9a6\00c647b0_df59c501\webapplication4.dll" /R:"c:\windows\assembly\gac\system.enterpriseservices\1.0.5000.0__b03f5f7f11d50a3a\system.enterpriseservices.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\mscorlib.dll" /R:"c:\windows\assembly\gac\system\1.0.5000.0__b77a5c561934e089\system.dll" /R:"c:\windows\assembly\gac\system.web\1.0.5000.0__b03f5f7f11d50a3a\system.web.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\webapplication4\d0419f65\1aa75407\shk9mgpr.dll" /R:"c:\windows\assembly\gac\infragistics.webui.ultrawebgrid.v5.1\5.1.20051.37__7dd5c3163f2cd0cb\infragistics.webui.ultrawebgrid.v5.1.dll" /out:"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\webapplication4\d0419f65\1aa75407\rj4ybsme.dll" /D:DEBUG /debug+ /optimize- /win32res:"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\webapplication4\d0419f65\1aa75407\rj4ybsme.res" /warnaserror /w:1 "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\webapplication4\d0419f65\1aa75407\rj4ybsme.0.cs"
Microsoft (R) Visual C# .NET 编译器版本 7.10.3052.4
用于 Microsoft (R) .NET Framework 版本 1.1.4322
版权所有 (C) Microsoft Corporation 2001-2002。保留所有权利。
http://localhost/WebApplication4/WebForm1.aspx(15,36): error CS0234: 类型或命名空间名称“Shared”在类或命名空间“Infragistics.WebUI”中不存在(是否缺少程序集引用?)
http://localhost/WebApplication4/WebForm1.aspx(15,36): error CS0234: 类型或命名空间名称“Shared”在类或命名空间“Infragistics.WebUI”中不存在(是否缺少程序集引用?)
http://localhost/WebApplication4/WebForm1.aspx(15,36): error CS0234: 类型或命名空间名称“Shared”在类或命名空间“Infragistics.WebUI”中不存在(是否缺少程序集引用?)
http://localhost/WebApplication4/WebForm1.aspx(15,36): error CS0234: 类型或命名空间名称“Shared”在类或命名空间“Infragistics.WebUI”中不存在(是否缺少程序集引用?)
http://localhost/WebApplication4/WebForm1.aspx(15,36): error CS0234: 类型或命名空间名称“Shared”在类或命名空间“Infragistics.WebUI”中不存在(是否缺少程序集引用?)
http://localhost/WebApplication4/WebForm1.aspx(15,36): error CS0234: 类型或命名空间名称“Shared”在类或命名空间“Infragistics.WebUI”中不存在(是否缺少程序集引用?)
c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\webapplication4\d0419f65\1aa75407\rj4ybsme.0.cs(206,66): error CS0234: 类型或命名空间名称“Shared”在类或命名空间“Infragistics.WebUI”中不存在(是否缺少程序集引用?)
c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\webapplication4\d0419f65\1aa75407\rj4ybsme.0.cs(283,66): error CS0234: 类型或命名空间名称“Shared”在类或命名空间“Infragistics.WebUI”中不存在(是否缺少程序集引用?)
c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\webapplication4\d0419f65\1aa75407\rj4ybsme.0.cs(360,67): error CS0234: 类型或命名空间名称“Shared”在类或命名空间“Infragistics.WebUI”中不存在(是否缺少程序集引用?)
c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\webapplication4\d0419f65\1aa75407\rj4ybsme.0.cs(464,67): error CS0234: 类型或命名空间名称“Shared”在类或命名空间“Infragistics.WebUI”中不存在(是否缺少程序集引用?)
c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\webapplication4\d0419f65\1aa75407\rj4ybsme.0.cs(549,67): error CS0234: 类型或命名空间名称“Shared”在类或命名空间“Infragistics.WebUI”中不存在(是否缺少程序集引用?)
c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\webapplication4\d0419f65\1aa75407\rj4ybsme.0.cs(558,67): error CS0234: 类型或命名空间名称“Shared”在类或命名空间“Infragistics.WebUI”中不存在(是否缺少程序集引用?)
显示完整的编译源:
-----------------------------------------------------------------------------------------
我已经引用这个控件了,但是老是提示这个问题,如果在WebConfig中输入如下面的代码就不报错了能正常显示该控件,请问朋友是什么原因,有没有什么好的办法解决这个问题。(帖子过长再留一言了)
-----------------------------------------------------------------------------------------
问题点数:50、回复次数:6Top
1 楼rvnjatqai(音乐)回复于 2005-05-16 14:33:50 得分 0
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.web>
<!-- DYNAMIC DEBUG COMPILATION
Set compilation debug="true" to enable ASPX debugging. Otherwise, setting this value to
false will improve runtime performance of this application.
Set compilation debug="true" to insert debugging symbols (.pdb information)
into the compiled page. Because this creates a larger file that executes
more slowly, you should set this value to true only when debugging and to
false at all other times. For more information, refer to the documentation about
debugging ASP .NET files.
-->
<compilation
defaultLanguage="c#"
debug="true"
>
<assemblies>
<add assembly="Infragistics.WebUI.Shared.v5.1, Version=5.1.20051.37, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" />
<add assembly="Infragistics.UltraChart.Resources.v5.1, Version=5.1.20051.37, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" />
</assemblies>
</compilation>
<!-- CUSTOM ERROR MESSAGES
Set customError mode values to control the display of user-friendly
error messages to users instead of error details (including a stack trace):
"On" Always display custom (friendly) messages
"Off" Always display detailed ASP.NET error information.
"RemoteOnly" Display custom (friendly) messages only to users not running
on the local Web server. This setting is recommended for security purposes, so
that you do not display application detail information to remote clients.
-->
<customErrors
mode="RemoteOnly"
/>
<!-- AUTHENTICATION
This section sets the authentication policies of the application. Possible modes are "Windows", "Forms",
"Passport" and "None"
-->
<authentication mode="Windows" />
<!-- APPLICATION-LEVEL TRACE LOGGING
Application-level tracing enables trace log output for every page within an application.
Set trace enabled="true" to enable application trace logging. If pageOutput="true", the
trace information will be displayed at the bottom of each page. Otherwise, you can view the
application trace log by browsing the "trace.axd" page from your web application
root.
-->
<trace
enabled="false"
requestLimit="10"
pageOutput="false"
traceMode="SortByTime"
localOnly="true"
/>
<!-- SESSION STATE SETTINGS
By default ASP .NET uses cookies to identify which requests belong to a particular session.
If cookies are not available, a session can be tracked by adding a session identifier to the URL.
To disable cookies, set sessionState cookieless="true".
-->
<sessionState
mode="InProc"
stateConnectionString="tcpip=127.0.0.1:42424"
sqlConnectionString="data source=127.0.0.1;user id=sa;password="
cookieless="false"
timeout="20"
/>
<!-- GLOBALIZATION
This section sets the globalization settings of the application.
-->
<globalization
requestEncoding="utf-8"
responseEncoding="utf-8"
/>
</system.web>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Infragistics.WebUI.Shared.v5.1"
publicKeyToken="7dd5c3163f2cd0cb"
/>
<bindingRedirect oldVersion="5.1.20051.0-5.1.20051.37"
newVersion="5.1.20051.37"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Infragistics.WebUI.Design.v5.1"
publicKeyToken="7dd5c3163f2cd0cb"
/>
<bindingRedirect oldVersion="5.1.20051.0-5.1.20051.37"
newVersion="5.1.20051.37"/>
</dependentAssembly>
-------------------------------------------------------------
接一贴
--------------------------------------------------------------Top
2 楼rvnjatqai(音乐)回复于 2005-05-16 14:34:28 得分 0
<dependentAssembly>
<assemblyIdentity name="Infragistics.WebUI.UltraWebCalcManager.v5.1"
publicKeyToken="7dd5c3163f2cd0cb"
/>
<bindingRedirect oldVersion="5.1.20051.0-5.1.20051.37"
newVersion="5.1.20051.37"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Infragistics.WebUI.UltraWebGrid.v5.1"
publicKeyToken="7dd5c3163f2cd0cb"
/>
<bindingRedirect oldVersion="5.1.20051.0-5.1.20051.37"
newVersion="5.1.20051.37"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Infragistics.WebUI.UltraWebGrid.ExcelExport.v5.1"
publicKeyToken="7dd5c3163f2cd0cb"
/>
<bindingRedirect oldVersion="5.1.20051.0-5.1.20051.37"
newVersion="5.1.20051.37"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Infragistics.WebUI.WebCombo.v5.1"
publicKeyToken="7dd5c3163f2cd0cb"
/>
<bindingRedirect oldVersion="5.1.20051.0-5.1.20051.37"
newVersion="5.1.20051.37"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Infragistics.WebUI.WebNavBar.v5.1"
publicKeyToken="7dd5c3163f2cd0cb"
/>
<bindingRedirect oldVersion="5.1.20051.0-5.1.20051.37"
newVersion="5.1.20051.37"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Infragistics.WebUI.UltraWebToolbar.v5.1"
publicKeyToken="7dd5c3163f2cd0cb"
/>
<bindingRedirect oldVersion="5.1.20051.0-5.1.20051.37"
newVersion="5.1.20051.37"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Infragistics.WebUI.UltraWebNavigator.v5.1"
publicKeyToken="7dd5c3163f2cd0cb"
/>
<bindingRedirect oldVersion="5.1.20051.0-5.1.20051.37"
newVersion="5.1.20051.37"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Infragistics.WebUI.WebDateChooser.v5.1"
publicKeyToken="7dd5c3163f2cd0cb"
/>
<bindingRedirect oldVersion="5.1.20051.0-5.1.20051.37"
newVersion="5.1.20051.37"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Infragistics.WebUI.WebDataInput.v5.1"
publicKeyToken="7dd5c3163f2cd0cb"
/>
<bindingRedirect oldVersion="5.1.20051.0-5.1.20051.37"
newVersion="5.1.20051.37"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Infragistics.WebUI.UltraWebTab.v5.1"
publicKeyToken="7dd5c3163f2cd0cb"
/>
<bindingRedirect oldVersion="5.1.20051.0-5.1.20051.37"
newVersion="5.1.20051.37"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Infragistics.WebUI.UltraWebListbar.v5.1"
publicKeyToken="7dd5c3163f2cd0cb"
/>
<bindingRedirect oldVersion="5.1.20051.0-5.1.20051.37"
newVersion="5.1.20051.37"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Infragistics.WebUI.Misc.v5.1"
publicKeyToken="7dd5c3163f2cd0cb"
/>
<bindingRedirect oldVersion="5.1.20051.0-5.1.20051.37"
newVersion="5.1.20051.37"/>
</dependentAssembly>
<!--Chart Section Begin-->
<dependentAssembly>
<assemblyIdentity name="Infragistics.UltraChart.Resources.v5.1" publicKeyToken="7dd5c3163f2cd0cb" />
<bindingRedirect oldVersion="5.1.20051.0-5.1.20051.37" newVersion="5.1.20051.37"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Infragistics.WebUI.UltraWebChart.v5.1" publicKeyToken="7dd5c3163f2cd0cb" />
<bindingRedirect oldVersion="5.1.20051.0-5.1.20051.37" newVersion="5.1.20051.37"/>
</dependentAssembly>
<!--Chart Section End-->
</assemblyBinding>
</runtime>
</configuration>
Top
3 楼webfactory(jack)回复于 2005-05-16 14:39:14 得分 10
这个控件组不能直接引用,需要安装程序,并输入序列号,最后会生成一个lisenseTop
4 楼CleverKingWM(CleverKing)回复于 2005-05-16 15:14:46 得分 10
Infragistics中的控件在添加上去之后并不会直接复制到应用程序的Bin目录下,你可以试试看把所有用到的Infragistics的Library的复制本地设置为True,然后重新编译一遍看看Top
5 楼jonescheng(小块头无大智慧)回复于 2005-05-16 17:19:59 得分 10
将Infragistics.Share的Local设为ture就可以了Top
6 楼fjh168(一条红丝巾)回复于 2005-05-16 17:34:52 得分 20
我过去也遇到这种情况。
你把infragic的安装bin目录下的.dll全都复制到你所做项目的bin目录下就行了。。
一定行的。。
呵呵Top




