Showing posts with label extensions. Show all posts
Showing posts with label extensions. 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.

Consistent nuisance with AjaxControlToolkit. Possible PublicKeys.

Hi.

I've been developing a web site in Visual Studio 2005. I had various problems with the Ajax Extensions such as ScriptManager and UpdatePanel. They were all of validation nature for ASP and sometimes went away without notice and sometimes opening up the Web.config was enough. Not logical to me I kept on and then finally ended up updating Visual Studio to Service Pack 1. All of the problems are now gone but then, new one surface.


Even when I make a new AjaxControlToolkit enabled web site, and just drag and drop a TextBox and AutoCompleteExtender, I get validation errors on both the AutoCompleteExtender and then the default added ToolkitScriptManager. The error I get is sometimes of the likes of

Error 34 Element'ToolkitScriptManager'is not a known element. This can occurif thereis a compilation errorin the Web site.

And yeah, the build failes. Then I get this error:

Error32Requestfor the permission of type'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
 
So, just so you know what I've tried to do to fix this. I've tried: * Searched the PublicKeyToken and changed it to all uppercase.

* Reinstalled the Ajax Extension msi
* Re-added the AjaxControlToolkit in to the Toolbox (reset it first).
* Put the Trust Level to Medium in web.config.
* Taken out PublicKeyToken on System.Web.Extensions

And this is happening to me with default values of all things. I really understand if some of you who are kind enough to try and help me can't reproduce this error but,
these errors have crippled my work for 2 days by now and it's really uncomfortible to realise that this tool that's supposed to help me is more a burden then help.
I can pass on a screenshot of this peculiar error and it's safe to say that I expected more from Microsoft.

Hi,

This seems to be a security issue, please specify trust level to FullTrust and try again.

Monday, March 26, 2012

Conflict between Microsoft ASP.NET 2.0 AJAX Extensions (Atlas) and ArcGIS Server 9.2 Contr

Helloo,

I was trying to use Microsoft ASP.NET 2.0 AJAX Extensions (Atlas) and ArcGIS Server 9.2 controls in the same web applications but there were conflict a between the Map control and UpdatePanel control as the error message appear with the message (“unknown error”);

Why this conflict occurs?

Is there’re any solution that enable be to use the UpdatePanel control in the same page with Map Control?

In the Atlas CTPs we had a lot of conflicts with 3rd part controls (and even some of our own controls) because we did a lot of automatic scanning for scripts and things like that. In Atlas 1.0 we don't do automatic stuff like that because it breaks too easily. Instead, 3rd party controls will have to be updated to be compatibleinside the UpdatePanel. If they're outside the UpdatePanel then they typically don't require any changes.

Thanks,

Eilon

Saturday, March 24, 2012

Config error browsing AJAX Offline Docs

Hi All

I have installed ASP.NET AJAX Extensions 1.0 and have setup the Web Project to view the docs offline.

When I try to browse the web app I get the following configuration error:

Parser Error Message:Unrecognized attribute 'type'.

Line 4: <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">

I have set the app up in IIS 5.0 to use ASP.NET 2.0 and I have made sure that the System.Web.Extensions is in the windows assembly.

Any ideas please?

Cheers

John

Make sure you have Asp.net Ajax Installed.


I added the reference System.Web.Extensions to fix the error you are receiving!


Thanks Ron

I'll try that

John

Wednesday, March 21, 2012

Compilation Error

Hi,

I'm getting the now infamous BC30456 "<name> is not a member of <classname>" error and I'm wondering if the MS Ajax Extensions might have something to do with it.

The error says a particular control, in this case a label control, on my ASPX page is not a member of the page, when I try to code against it in the codebehind. Intellisense even sees the control, but every time I try to compile I get this error. Having done extensive research on the net, I haven't found any solution to the problem. Many seem to think it's a Visual Studio bug, and there are countless differing remedies out there, none of them have worked for me.

I'm wondering if it may be an ASP.NET Ajax thing in my case (many posts have recommending flushing out the Bin folder, and the Ajax Control Toolkit and Microsoft.Web.Preview are the only thing in mine). I'm still using RC on this project.

Any help is appreciated. Thanks.

Aaron

Can you post the sample code that is causing this error? Is this a recurring problem for any ajax code you write? Also, are you sure your web.config is of RC recommended settings?

Thanks


OK. In the ASPX page...

<

asp:LabelID="olblUserID"runat="server"Font-Bold="True"></asp:Label>

And in the codebehind...

Me.olblUserID.Text = "Guest"

Keep in mind that I've got about 200 other controls on the page, and every other control is completely visible to the codebehind. Also, as I said, intellisense sees the control. In other words, I type in Me. and olblUserID is one of the controls in the dropdown list that pops up.

No, this isn't every Ajax project, just this one. At least not yet anyway; I haven't done any others since this problem started happenning. I assume that the web.config is RC standard, since when I created the project, that was the only version of the extensions that were on my system. I created it as a new ASP.NET AJAX CTP-Enabled Website.

Thanks for your help!

Aaron