22 messaggi dal 11 settembre 2011
Salve, ho scaricato a locale e installato su VISUAL STUDIO 2010 PROFESSIONALE la libreria AjaxControlToolkit.dll da http://ajaxcontroltoolkit.codeplex.com.

La pagina asp.net che contiene un semplice Ajax control genera il seguente errore:

------------------------
ERRORE
------------------------

Server Error in '/' Application.

Parser Error

Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies. The system cannot find the file specified.

Source Error:

Line 1: <%@ Page Language="VB" %>
Line 2: <%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>
Line 3:
Line 4: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

Source File: /areasicura/730web/DefaultPRova.aspx Line: 2

Assembly Load Trace: The following information can be helpful to determine why the assembly 'AjaxControlToolkit' could not be loaded.


WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

Ho due domande da fare, in quanto è la prima volta che mi metto ad utilizzare le dll di ajax.

---------------------------------------------------------------------
DOMANDE
---------------------------------------------------------------------

1) dove devo installare sul server remoto (Windows 2008) la libreria?

2) quale configurazione deve avere il file web.config?

Grazie mille

-----------------------------------
WEB.CONFIG
-----------------------------------

<?xml version="1.0" encoding="utf-8" ?>
<!-- Web.Config Configuration File -->
<configuration>
<system.web>

<customErrors mode="Off"/>

<machineKey validationKey="B648A09A51DBF0CB6DBE1157FFEC2077435492CF9F9F5DC845ED90445825A34D4DEE535A241BCC11637A1D3E50703732EF3B63D34695125C23F815D73FC21A09" decryptionKey="A18A4A102BC9AC4CEE56D96BF59B3658A43F315B9831D94198B9F364D4F413A8" validation="SHA1" decryption="AES" />

<pages>
<controls>

<add namespace="AjaxControlToolkit" assembly="AjaxControlToolkit" tagPrefix="ajaxToolkit"/>

</controls>
</pages>

</system.web>
<connectionStrings>
<add name="prova" connectionString="DRIVER={MySQL ODBC 3.51 Driver};SERVER=localhost;Port=3306;DATABASE=prova;USER=prova;PASSWORD=prova;"/>

</connectionStrings>

<system.net>
<mailSettings>
<smtp deliveryMethod = "Network">
<network
host="localhost"
port="25"
defaultCredentials="true"
/>
</smtp>

</mailSettings>

</system.net>

</configuration>

Torna al forum | Feed RSS

ASPItalia.com non è responsabile per il contenuto dei messaggi presenti su questo servizio, non avendo nessun controllo sui messaggi postati nei propri forum, che rappresentano l'espressione del pensiero degli autori.