SisPrime Posted August 8, 2012 at 03:51 PM Report Share #471752 Posted August 8, 2012 at 03:51 PM Boas pessoal, ontem comecei a utilizar pela primeira vez o Mac OSX, instalei o monodevelop para desenvolver em .net (no windows utilizava o Visual Studio). Nos webforms em que não tenho nada de ajax, trabalha tudo bem, todavia nos outros com ajax ocorre o seguinte erro: "Could not load type 'System.Web.Script.AjaxFrameworkAssemblyAttribute' from assembly 'AjaxControlToolkit'." Na paste "References" tenho a dll do toolkit do ajax, entre outras. No inicio do ficheiro .aspx tenho: "<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>" o web.config está da seguinte forma: <?xml version="1.0"?> <configuration> <system.web> <compilation defaultLanguage="C#" debug="true"> <assemblies> <add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> </assemblies> </compilation> <customErrors mode="RemoteOnly"> </customErrors> <authentication mode="None"> </authentication> <authorization> <allow users="*" /> </authorization> <httpHandlers> </httpHandlers> <trace enabled="false" localOnly="true" pageOutput="false" requestLimit="10" traceMode="SortByTime" /> <sessionState mode="InProc" cookieless="false" timeout="20" /> <globalization requestEncoding="utf-8" responseEncoding="utf-8" /> <pages> <controls> </controls> </pages> </system.web> </configuration> Precisava, mesmo de ajuda nisso, mudei ontém de portatil (so utilizo Mac OSX a um dia) e preciso mesmo de acabar o projeto em questão. Cumprimentos. Link to comment Share on other sites More sharing options...
petvetbr Posted August 8, 2012 at 04:29 PM Report Share #471757 Posted August 8, 2012 at 04:29 PM Parece que existem algumas incompatibilidades deste toolkit no mono. Não consegui ver se alguém já resolveu, mas você pode ver mais informações nos links abaixo: http://blog.tallan.com/2009/09/01/could-not-load-file-or-assembly-ajaxcontroltoolkit-or-one-of-its-dependencies-access-is-denied/ http://forums.asp.net/t/1760395.aspx/1?+NET+4+AjaxControlToolkit+not+work+with+Apache+mod_mono+#4792194 http://mono.1490590.n4.nabble.com/Ajax-Tool-Control-Kit-3-5-amp-4-0-Not-working-in-mono-2-8-1-td3084992.html http://stackoverflow.com/questions/4882128/ajaxcontroltoolkit-fails-to-run-on-mono Fernando Lage Bastos - MCP/MCTS/MCPD Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now