Aricie
Intégrateur de vos solutions d'avenir
DNN Community Forums

Autocomplete with Dnn 07.03.01

Sort:
You are not authorized to post a reply.
Page 1 of 212 > >>
Author
Messages


trapias











New Member



Posts:




New Member



    Hello,
    I just installed LuceneSearch on a 07.03.01 host: all works well except autocomplete, which is giving me a 500 error.

    In console, on client, I see;

    jQuery.UI already loaded: v.1.10.3 AutoComplete.js:16
    jQuery.UI CSS not loaded AutoComplete.js:84
    Registering custom autocomplete AutoComplete.js:115
    Registering custom autocomplete done AutoComplete.js:209
    Linking custom autocomplete to input AutoComplete.js:211
    Linking custom autocomplete to input done AutoComplete.js:253
    Calling webservice with vis AutoComplete.js:216
    Failed to load resource: the server responded with a status of 500 (Internal Server Error) http://localhost/dnn7/Des...leteItems?PortalId=0
    Error occured AutoComplete.js:236
    Internal Server Error

    The server page called (http://localhost/imcavi/D...eteItems?PortalId=0) cause the 500 error:

    System.InvalidOperationException: Missing parameter: prefix. at System.Web.Services.Protocols.ValueCollectionParameterReader.Read(NameValueCollection collection) at System.Web.Services.Protocols.HttpServerProtocol.ReadParameters() at System.Web.Services.Protocols.WebServiceHandler.CoreProcessRequest()

    Client side it appears to be ok, can anybody help?

    Thanks,
    al.



    Jesse











    New Member



    Posts:




    New Member



      Hi, we will investigate what causes the error (it might be that the default auto-complete fields configuration is corrupted)

      In the mean time, did you manage to work around the dll problem you reported there?

      Regards,



      trapias











      New Member



      Posts:




      New Member



        Jesse,
        thanks for your answer. I'm testing LuceneSearch on a couple of hosts today, with different results.

        Both are Dnn 7.3.1: the one where I have those dll problems was 7.2.2, just upgraded. The other one is a 7.3.1 newly installed host.
        On the newly installed host all works perfeclty on my Windows 8 dev machine: I installed ifilters for pdf and docx, configured the module and it works great.

        On the other host, running on win 2008 r2 standard, I still have errors with PDF: docx files are now properly indexed, while I get this error when ls tries to parse PDF docs:

        2014-07-24 12:45:58,469 [JPWEB2011][Thread:37][ERROR] DotNetNuke.Services.Exceptions.Exceptions - System.Exception: Détail : E:\inetpub\wwwroot\stage\Portals\0\Repository\2012.4b46c489-6f62-4295-b284-3f5554ea8010.pdf ---> System.IO.FileNotFoundException: Could not load file or assembly 'bcprov-jdk15-1.44, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
        at org.apache.pdfbox.pdmodel.encryption.SecurityHandlersManager.getInstance()
        at org.apache.pdfbox.pdmodel.PDDocument.openProtection(DecryptionMaterial pm)
        at org.apache.pdfbox.pdmodel.PDDocument.decrypt(String password)
        at org.apache.pdfbox.util.PDFTextStripper.writeText(PDDocument doc, Writer outputStream)
        at org.apache.pdfbox.util.PDFTextStripper.getText(PDDocument doc)
        at Aricie.Documents.Services.Pdf.PdfBoxReader.GetDocumentText(String fileName)

        I checked several times, also uninstalled and reinstalled again LS: DLLs in bin folder are the same as of other site, and I also installed the same ifilters. But it still gives me such error.
        I DON'T have such dll in the bin folder on my local Dnn host, which is working, so I don't know what to check now ;)

        On this host I also have the error with the repository module, but assume that's another story.

        Any suggestion?

        Thanks very much,
        al.



        trapias











        New Member



        Posts:




        New Member



          Jesse,
          autocomplete does not work for me even on a newly installed 7.3.1 host, the server procedure gives a 500 error:

          System.InvalidOperationException: Missing parameter: prefix. at System.Web.Services.Protocols.ValueCollectionParameterReader.Read(NameValueCollection collection) at System.Web.Services.Protocols.HttpServerProtocol.ReadParameters() at System.Web.Services.Protocols.WebServiceHandler.CoreProcessRequest()

          I actuall found the "fields returned" and "sortng fields" lists empty: I tried to add some field to the former, but still get the same error. Is there a list of mandatory fields to add here?



          trapias











          New Member



          Posts:




          New Member



            Jesse,

            more on this: I verified what is posted to the server is correct, just like on this site, for example: { prefix: 'searchterm', culture: '' }

            On my server, if thi can help, I get this error message (500):

            HTTP/1.1 500 Internal Server Error
            Cache-Control: private
            Content-Type: application/json; charset=utf-8
            Server: Microsoft-IIS/8.5
            jsonerror: true
            Date: Wed, 30 Jul 2014 13:02:30 GMT
            Content-Length: 204

            {"Message":"The type initializer for \u0027Aricie_LS_AutocompleteSvc\u0027 threw an exception.","StackTrace":" at Aricie_LS_AutocompleteSvc..ctor()","ExceptionType":"System.TypeInitializationException"}

            You are not authorized to post a reply.
            Page 1 of 212 > >>