Showing posts with label vs2005. Show all posts
Showing posts with label vs2005. Show all posts

Wednesday, March 28, 2012

control cannot be created because visual studio cannot find the controls type in the contr

Just installed Ajax extensions and ajax control toolkit for Vs2005.All fine.

I can drag drop update panel or script manager.

But if I do so with ajax toolkit controls I get a a error as : "control cannot be created because visual studio cannot find the control's type in the control assembly".

I have downloaded and worked with the toolkit at my home comp and it works all fine. But here at my work its giving me this problem.

I googled up to see any solutions but dint find much help!!

So any help with this would be appreciated!! Thanks!!


Hey guys!!

Anyone for the solution??


Did you remember to register it in the GAC? On your work PC, it may not have done that automagically.


Hey thanks for that.

It did work out.

Strange I have added toolkit on couple of PC's and never saw this error.

Just added the Dll to Gac and the problem is solved on my box.

Thanks.

Saturday, March 24, 2012

Configuring VS2005 to use the AJAX Control Toolkit

Hi,

I have installed the lasted version of the ASP.Net AJAX and then downloaded the ASP.Net AJAX Control Toolkit. When trying to add the items to the Toolbox of a new ASP.NET AJAX Web Site raises the following error:

There was an error loading types from assenbly AjaxControlToolkit.dll "Could not load file or assembly System.Web.Extensions, Version:1.0.61025.0", the system couldn't find the specified file.

The file instaled in my system is: ..\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\v1.0.61025\Microsoft.Web.Extensions.dll

How can I fix this problem?.

Thanks

Marco

Matellor:

Hi,

I have installed the lasted version of the ASP.Net AJAX and then downloaded the ASP.Net AJAX Control Toolkit. ... ..\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\v1.0.61025\Microsoft.Web.Extensions.dll

It's sounds like you did not install the latest version. Microsoft.Web.Extensions is from the beta, RC1 has System.Web.Extensions. Make sure you installed RC1 if you're using the latest toolkit.

Wednesday, March 21, 2012

Compilation Error

All

after removed CTP July and install new AJAX Beta and updated all aspx to the new sintax.

No error found by vs2005 but when I run my aspx page I get this ambiguous message.

I tried to remove all link and files in temporary folder referrer to ATLAS but it still here again!

Any suggest?

Thanks

Compiler Error Message:BC30560: 'ScriptManager' is ambiguous in the namespace 'Microsoft.Web.UI'.

Line 31: <uc1:WUC_title ID="WUC_title1" runat="server"></uc1:WUC_title>
Line 32: <form id="form1" runat="server">
Line 33: <asp:ScriptManager ID="ScriptManager1" runat="server">
Line 34: </asp:ScriptManager>
Line 35:


c:\winnt\system32\inetsrv> "C:\WINNT\Microsoft.NET\Framework\v2.0.50727\vbc.exe" /t:library /utf8output /R:"C:\WINNT\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dar\202d0bcf\2e13232b\assembly\dl3\d547c714\d7a9717d_d180c601\OND_ClassLibrary.DLL" /R:"C:\WINNT\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dar\202d0bcf\2e13232b\assembly\dl3\2368b467\b69d089f_af90c201\mmsseclib.DLL" /R:"C:\WINNT\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll" /R:"C:\WINNT\assembly\GAC_MSIL\System.Design\2.0.0.0__b03f5f7f11d50a3a\System.Design.dll" /R:"C:\WINNT\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dar\202d0bcf\2e13232b\assembly\dl3\5669f663\00e1cd96_c9afc601\Microsoft.Web.Atlas.DLL" /R:"C:\WINNT\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dar\202d0bcf\2e13232b\assembly\dl3\6ecfa066\00012fae_52cbc501\FredCK.FCKeditorV2.DLL" /R:"C:\WINNT\assembly\GAC_MSIL\Microsoft.Web.Extensions\1.0.61025.0__31bf3856ad364e35\Microsoft.Web.Extensions.dll" /R:"C:\WINNT\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll" /R:"C:\WINNT\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll" /R:"C:\WINNT\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dar\202d0bcf\2e13232b\assembly\dl3\11824672\00fbf278_c3f3c601\AjaxControlToolkit.DLL" /R:"C:\WINNT\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dar\202d0bcf\2e13232b\App_Web_bes0lfzq.dll" /R:"C:\WINNT\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dar\202d0bcf\2e13232b\assembly\dl3\957d672b\00b4c475_2f69c201\Interop.CAPICOM.DLL" /R:"C:\WINNT\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dar\202d0bcf\2e13232b\App_Code.a4qzeis7.dll" /R:"C:\WINNT\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll" /R:"C:\WINNT\assembly\GAC_MSIL\System.Web.Mobile\2.0.0.0__b03f5f7f11d50a3a\System.Web.Mobile.dll" /R:"C:\WINNT\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dar\202d0bcf\2e13232b\assembly\dl3\987a2f72\ce3d2c67_e7f6c601\DAR.DLL" /R:"C:\WINNT\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll" /R:"C:\WINNT\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll" /R:"C:\WINNT\assembly\GAC_MSIL\System.Web.Services\2.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll" /R:"C:\WINNT\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll" /R:"C:\WINNT\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dar\202d0bcf\2e13232b\assembly\dl3\d5f0dc14\007a9e01_71adc501\Calendar.DLL" /R:"C:\WINNT\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dar\202d0bcf\2e13232b\App_Web_zclqj-6t.dll" /R:"C:\WINNT\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dar\202d0bcf\2e13232b\assembly\dl3\2d8d3127\00cbc46a_b5b4c601\Microsoft.AtlasControlExtender.DLL" /R:"C:\WINNT\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dar\202d0bcf\2e13232b\App_Web_g0xxdjzm.dll" /out:"C:\WINNT\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dar\202d0bcf\2e13232b\App_Web_7alj5o6n.dll" /D:DEBUG=1 /debug+ /win32resource:"C:\WINNT\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dar\202d0bcf\2e13232b\7alj5o6n.res" /define:_MYTYPE=\"Web\" /imports:Microsoft.VisualBasic,System,System.Collections,System.Collections.Specialized,System.Configuration,System.Text,System.Text.RegularExpressions,System.Web,System.Web.Caching,System.Web.SessionState,System.Web.Security,System.Web.Profile,System.Web.UI,System.Web.UI.WebControls,System.Web.UI.WebControls.WebParts,System.Web.UI.HtmlControls "C:\WINNT\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dar\202d0bcf\2e13232b\App_Web_7alj5o6n.0.vb" "C:\WINNT\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dar\202d0bcf\2e13232b\App_Web_7alj5o6n.1.vb"

Microsoft (R) Visual Basic Compiler version 8.0.50727.42
for Microsoft (R) .NET Framework version 2.0.50727.42
Copyright (c) Microsoft Corporation. All rights reserved.

C:\WINNT\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dar\202d0bcf\2e13232b\App_Web_7alj5o6n.0.vb(264) : error BC30560: 'ScriptManager' is ambiguous in the namespace 'Microsoft.Web.UI'.

Private Function __BuildControlScriptManager1() As Global.Microsoft.Web.UI.ScriptManager
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\WINNT\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dar\202d0bcf\2e13232b\App_Web_7alj5o6n.0.vb(265) : error BC30560: 'ScriptManager' is ambiguous in the namespace 'Microsoft.Web.UI'.

Dim __ctrl As Global.Microsoft.Web.UI.ScriptManager
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\WINNT\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dar\202d0bcf\2e13232b\App_Web_7alj5o6n.0.vb(1126) : error BC30560: 'ScriptManager' is ambiguous in the namespace 'Microsoft.Web.UI'.

Dim __ctrl1 As Global.Microsoft.Web.UI.ScriptManager
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
c:\inetpub\wwwroot\dar\Default.aspx(33) : error BC30560: 'ScriptManager' is ambiguous in the namespace 'Microsoft.Web.UI'.

__ctrl = New Global.Microsoft.Web.UI.ScriptManager
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

 

You probably still have a remnant of the Atlas namespace, which would be different but would share class and method names.

Check that you have removed ALL instances to the Microsoft.Atlas.dll. Ensure you've uninstalled it, deleted from any "bin" folders and removed the reference.