2011-12-28 3 views
0

를 정의되어 있지, 나는 지금 중 하나에 오류가 발생문제는 3.5에서 4 내 대상 프레임 워크를 변경 한 후

http://dotnetspidor.blogspot.com/2011/09/last-time-i-got-following-error-http.html에 설명 된 단계를 따라 증상을했고 내 페이지에 대한 아약스 자바 스크립트 표현이 정의되지 않았다는 것을 알려주는 페이지. 누군가가 무엇이 잘못 될 수 있는지 알고 있습니까?

감사합니다.

업데이트 : ok. 이전 버전의 .net 4와 호환되지 않는 이전 버전의 Ajax.net을 사용하고 있으므로 Ajax.Utility.RegisterTypeForAjax는 아무 것도 수행하지 않습니다. 나는 컨트롤의 업데이트 된 버전을 찾고 있었지만 ajaxpro라고 불리는 것을 찾을 수있다. 이것은 ajax.net의 새롭게 이름이 바뀐 버전 인 것 같지만 다른 네임 스페이스에 있으며 프로젝트에는 수천 개의 참조가 있습니다. 최신 Ajax.net 구성 요소가 출시되었지만 하루 종일 사용할 수 없었습니다. 누군가가 올바른 방향으로 나를 가리킬 수 있었습니까?

업데이트 : 어쩌면 문제는 그래서 여기가

<?xml version="1.0"?> 
<configuration> 
    <connectionStrings> 
    <add name="sae_codelcoConnectionString" connectionString="server=192.168.4.142\sql2008r2;uid=sae_codelco;pwd=sae_codelco;database=testing_codelco" providerName="System.Data.SqlClient"/> 
    <add name="saeConnectionString" connectionString="server=192.168.4.142\sql2008r2;uid=sae_codelco;pwd=sae_codelco;database=testing_codelco" providerName="System.Data.SqlClient"/> 
    </connectionStrings> 
    <system.web> 
    <compilation debug="true" defaultLanguage="vb" maxBatchGeneratedFileSize="3000" targetFramework="4.0"> 
     <assemblies> 
     <add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/> 
     <add assembly="System.Web.Extensions.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> 
     <add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> 
     </assemblies> 
    </compilation> 
    <customErrors mode="Off"/> 
    <authentication mode="Forms"> 
     <forms name="aspnet" path="/" loginUrl="logon.aspx" protection="All" timeout="30"/> 
    </authentication> 
    <httpRuntime executionTimeout="100000" maxRequestLength="1234567" useFullyQualifiedRedirectUrl="false" requestLengthDiskThreshold="1234567"/> 
    <authorization> 
     <deny users="?"/> 
    </authorization> 
    <trace enabled="false" requestLimit="10" pageOutput="false" traceMode="SortByTime" localOnly="true"/> 
    <sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes" cookieless="false" timeout="20"/> 
    <globalization culture="es-CL" uiCulture="es" requestEncoding="UTF-8" responseEncoding="UTF-8" fileEncoding="UTF-8"/> 
    <httpHandlers> 
     <add verb="POST,GET" path="ajax/*.ashx" type="Ajax.PageHandlerFactory, Ajax"/> 
    </httpHandlers> 
    <xhtmlConformance mode="Legacy"/> 
    <pages enableEventValidation="false" validateRequest="false" controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID"/> 
    </system.web> 
    <location path="paginas/ordentrabajo/encuesta.aspx"> 
    <system.web> 
     <authorization> 
     <allow users="*"/> 
     </authorization> 
    </system.web> 
    </location> 
    <location path="paginas/ordentrabajo/encuesta_response_html.aspx"> 
    <system.web> 
     <authorization> 
     <allow users="*"/> 
     </authorization> 
    </system.web> 
    </location> 
    <location path="paginas/resp_remotas/tickets_abiertos.aspx"> 
    <system.web> 
     <authorization> 
     <allow users="*"/> 
     </authorization> 
    </system.web> 
    </location> 
    <location path="no_acceso.aspx"> 
    <system.web> 
     <authorization> 
     <allow users="*"/> 
     </authorization> 
    </system.web> 
    </location> 
    <location path="paginas/resp_remotas/cerrar_tickets.aspx"> 
    <system.web> 
     <authorization> 
     <allow users="*"/> 
     </authorization> 
    </system.web> 
    </location> 
    <location path="paginas/ticket/logon_tareas.aspx"> 
    <system.web> 
     <authorization> 
     <allow users="*"/> 
     </authorization> 
    </system.web> 
    </location> 
    <location path="paginas/ticket/tarea_ticket.aspx"> 
    <system.web> 
     <authorization> 
     <allow users="*"/> 
     </authorization> 
    </system.web> 
    </location> 
    <location path="paginas/encDinamica/encDinamica_basica_respuesta_persona.aspx"> 
    <system.web> 
     <authorization> 
     <allow users="*"/> 
     </authorization> 
    </system.web> 
    </location> 
    <location path="paginas/encDinamica/encDinamica_basica_respuesta_persona_display.aspx"> 
    <system.web> 
     <authorization> 
     <allow users="*"/> 
     </authorization> 
    </system.web> 
    </location> 
    <appSettings> 
    <add key="PathLocalSitio" value="E:\data\Projects\mosaq\SAE_CODELCO\SAE_CODELCO\Sitio\"/> 
    <add key="pathDocsTicket" value="E:\data\Projects\mosaq\SAE_CODELCO\SAE_CODELCO\Sitio\Paginas\Docs\"/> 
    <add key="pathDocumentos" value="E:\data\Projects\mosaq\SAE_CODELCO\SAE_CODELCO\Sitio\Paginas\Documentos\Archivos\"/> 
    <add key="Factor Semaforo Verde" value="50"/> 
    <add key="Factor Semaforo Amarillo" value="75"/> 
    <add key="Factor Semaforo Naranja" value="100"/> 
    <add key="Factor Semaforo Rojo" value="150"/> 
    <add key="Factor Semaforo Morado" value="200"/> 
    <add key="Filtros Upload" value="exe,bat,dll,msi"/> 
    <add key="Filtros Upload Mail" value="gif,jpg,jpeg"/> 
    <add key="Server_Smtp" value="choclio.mosaq.com"/> 
    <add key="Server_Smtp_Autenticar" value="1"/> 
    <add key="Server_Smtp_Login" value="wquiroz"/> 
    <add key="Server_Smtp_Password" value="rmQgGN34"/> 
    <add key="from_mail" value="[email protected]"/> 
    <add key="DictionaryFolder" value="Paginas\NetSpell\dic"/> 
    <add key="pathDocsAnalisisIPC" value="E:\data\Projects\mosaq\SAE_CODELCO\SAE_CODELCO\Sitio\documentos\AnalisisIPC\"/> 
    <add key="pathDocsMailsCRM" value="E:\data\Projects\mosaq\SAE_CODELCO\SAE_CODELCO\Sitio\CRM\AdjuntosMails\"/> 
    <add key="Mail Supervisor Mesa" value="[email protected]_sae.org"/> 
    <add key="Mail Administrador Contrato" value="[email protected]_sae.org"/> 
    <add key="HostVariable" value="1"/> 
    <add key="Url_Sitio_Externo" value="http://192.168.4.144/sae_codelco/"/> 
    <add key="Url_Sitio" value="http://localhost/sae_codelco/"/> 
    <add key="ipExterna" value="200.27.57.180"/> 
    <add key="ActiveDirectoryLogon" value="0"/> 
    <add key="strDomain" value="MOSAQ"/> 
    <add key="pathLDAP" value="LDAP://mosaq.local.cl/DC=mosaq,dc=local,dc=cl"/> 
    <add key="PathMapaSitioDisco" value="E:\data\Projects\mosaq\SAE_CODELCO\SAE_CODELCO\Sitio\imagenes\mapas\"/> 
    <add key="PathMapaSitios" value="../../imagenes/mapas/"/> 
    <add key="IPReportes" value="200.27.164.74/ReportServer$CODELCO/Pages/ReportViewer.aspx?/reportes_codelco/"/> 
    <add key="EspecialidadEjecutivosCRM" value="14"/> 
    <add key="HabilitaGenerica1Ticket" value="0"/> 
    <add key="Evento Retiro Componente" value="11169"/> 
    <add key="Evento Entrega Componente" value="11170"/> 
    <add key="Evento Actualizacion Componente" value="11171"/> 
    <add key="MisTicketsMuestraTpoRemanenteInferior" value="0"/> 
    <add key="MisTicketsMuestraTpoRemanenteSuperior" value="0"/> 
    <add key="MisTicketsMuestraCriticidad" value="0"/> 
    <add key="Agregar_Solucion_En_Solucion_En_Linea" value="1"/> 
    <add key="Id_menu_Tickets_Generales" value="132"/> 
    <add key="Ver_Todas_las_Criticidades" value="1"/> 
    <add key="Evento_Limpia_Password_Intranet" value="506"/> 
    <add key="Solucion_Limpia_Password_Intranet" value="128"/> 
    <add key="Template" value="default"/> 
    <!-- banca - cobre - default - amsa--> 
    <add key="RptCalidadVerCumpleSup" value="0"/> 
    <add key="ObsEsperaClienteTicket" value="0"/> 
    <add key="idCatGeneralDocs" value="0"/> 
    <add key="pathCMDBModelos" value="E:\data\Projects\mosaq\SAE_CODELCO\SAE_CODELCO\Sitio\CMDB\"/> 
    <add key="pathDocsInst" value="E:\data\Projects\mosaq\SAE_CODELCO\SAE_CODELCO\Sitio\Instalaciones_ci\Docs\"/> 
    <add key="IdCriticidadPersonaNormal" value="1"/> 
    <add key="BusquedaIniIngresoOT" value="0"/> 
    <!-- 0.- Usuario/1.-RUT/2.-CI --> 
    <add key="VerResueltosListaPend" value="1"/> 
    <add key="UrlSitioProyectos" value="http://localhost/sae_codelco/"/> 
    <add key="CierreOT" value="1"/> 
    <add key="IPExternoReportes" value="200.27.57.180:8080"/> 
    <add key="pathDocumentosProyectos" value=""/> 
    <add key="IngresaNegocioEnOT" value="0"/> 
    <add key="BloquearModificayELiminaNotas" value="1"/> 
    <add key="IncluirCodigoenLabelRut" value="0"/> 
    <add key="MisTicketsMuestraComponentes" value="0"/> 
    <add key="MisTicketsMuestraRegion" value="1"/> 
    <add key="encuestaDinamicaBasica" value="0"/> 
    <add key="encuestaDinamicaAvanzada" value="0"/> 
    <!-- 
     - AdmiteCreacionPersonas: 0-Deshabilitado para todos 
            1-Habilitado para los Id's de Empresas especificados en AdmiteCreacionPersonasIdEmpresas. 
     - AdmiteCreacionPersonasIdEmpresas: ID's DE EMPRESAS SEPARADAS POR ',' SI SE DEJA VACIO O UN CERO SIGNIFICA QUE ESTA HABILITADO PARA TODAS LAS EMPRESAS 
     --> 
    <add key="AdmiteCreacionPersonas" value="1"/> 
    <add key="AdmiteCreacionPersonasIdEmpresas" value=""/> 
    <add key="IdMedioAtencionTareaAgenda" value="4"/> 
    <add key="IdEncuestaReclamoTarea" value="2"/> 
    <add key="IdEncuestaFelicitacionesTarea" value="1"/> 
    <add key="IdEncuestaReclamoProceso" value="0"/> 
    <add key="IdEncuestaFelicitacionesProceso" value="0"/> 
    <add key="ResolverPorEmail" value="0"/> 
    <add key="idEvtoReposAlta" value="1"/> 
    <!--ID EVENTO CATALOGO REPOSICIO ALTA-MEDIA--> 
    <add key="idEvtoReposBaja" value="2"/> 
    <!--ID EVENTO CATALOGO REPOSICIO BAJA--> 
    <add key="EmpresasRecatalogar" value="2,3,4,5"/> 
    <add key="UtilizaCorrecionFechaComprometida" value="0"/> 
    <add key="ModCriticidadEnOT" value="1"/> 
    <add key="UsaReglaFechasAmsa" value="0"/> 
    <!-- 0.- No/1.- Si - OJO, SOLO PARA AMSA--> 
    <add key="AtentoMisTicketsResaltaMasivo" value="1"/> 
    <!-- 0.- No/1.- Si --> 
    <add key="Cliente" value="Atento"/> 
    <add key="LlamadaRapidaN1N2N3" value="3,10,Consulta"/> 
    <add key="LlamadaRapidaIDEvento" value="11392"/> 
    <add key="urlSitioNoticias" value="http://www.saedemo.cl/noticias/default.aspx?rawHsh="/> 
    <add key="solicIdEstado" value="1"/> 
    <add key="IdMedioAtencionSolContacto" value="5"/> 
    <add key="solicIdTipo" value="3"/> 
    <add key="idGenericoSolicitantePGFensaMademsa" value="1"/> 
    <add key="IDTGenjunaeb" value="221"/> 
    <add key="IDTGenmademsa" value="220"/> 
    <add key="IDTGenfensa" value="219"/> 
    <!-- Nueva funcionalidad cuando la empresa no me provee el login de la persona hay que buscarla por rut--> 
    <add key="SearchByDescriptionInActive" value="0"/> 
    <add key="SearchActiveUserName" value="Prueba"/> 
    <add key="SearchActiveUserPassword" value="12345678"/> 
    <!-- *************************************************--> 
    <add key="junaeb" value="0"/> 
    <!-- Solo si es junaeb dejar en 1 --> 
    <add key="gruposCAS" value="1"/> 
    <!-- Solo si es cas dejar en 1 --> 
    <add key="bpm2009" value="0"/> 
    <add key="url_bpm2009" value="http://ignacio-pc/websaeprocesos2009/paginas/ticket_proceso.aspx"/> 
    <add key="SaeV2MDB.WSProcesos2009.WsInstansiaProceso" value="http://ignacio-pc/WSSAEProcesos2009/WsInstansiaProceso.asmx"/> 
    <add key="urlReporteContratosPagos" value="http://192.168.4.73/ReportServer$CODELCO/Pages/ReportViewer.aspx?%2freportes_codelco%2fEstado_de_pago"/> 
    <add key="url_rfc" value="http://localhost/sae_codelco_rfc/default.aspx"/> 
    <add key="IdMedioAtencionDefectoOT" value="2"/> 
    <add key="IdTipoCatalogoDefectoOT" value="1"/> 
    </appSettings> 
    <system.webServer> 
    <validation validateIntegratedModeConfiguration="false"/> 
    <handlers> 
     <add name="ajax/*.ashx_POST,GET" path="ajax/*.ashx" verb="POST,GET" type="Ajax.PageHandlerFactory, Ajax" preCondition="integratedMode,runtimeVersionv2.0"/> 
    </handlers> 
    </system.webServer> 
</configuration> 

답변

0

나는 Web.config의 처리기의 전제 조건 속성을 제거해야하고, 내 Web.config의에있다. 지금 다시 작동

0

실행되는 응용 프로그램 풀의 관리 파이프 라인 모드를 '클래식'으로 설정