Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • frogger 3 posts 23 karma points
    Oct 25, 2010 @ 13:40
    frogger
    0

    webservice works only if the macro is placed in the root-folder

    hi @ all ^^

    the package works excellent, but only in the root-folder of the page.
    if i place them in a sub-node - i get the following error code in my windows-events:

    ********************************

    Ereigniscode: 3005
    Ereignismeldung: Es ist eine unbehandelte Ausnahme aufgetreten.
    Ereigniszeit: 25.10.2010 13:32:30
    Ereigniszeit (UTC): 25.10.2010 11:32:30
    Ereignis-ID: 13a2e520d76f4a3cac6131d666ea81e4
    Ereignissequenz: 448
    Vorkommen: 3
    Ereignisdetailcode: 0
     
    Anwendungsinformationen:
        Anwendungsdomäne: /LM/W3SVC/532122894/Root-1-129324722520926831
        Vertrauensebene: Full
        Virtueller Anwendungspfad: /
        Anwendungspfad: D:\WEBSITE-PATH\
        Computername: SRVNAME
     
    Prozessinformationen:
        Prozess-ID: 5168
        Prozessname: w3wp.exe
        Kontoname: NT-AUTORITÄT\NETZWERKDIENST
     
    Ausnahmeinformationen:
        Ausnahmetyp: InvalidOperationException
        Ausnahmemeldung: Es wurde kein Webdienst gefunden bei /company/umbraco/webservices/RVContactFormMailer.asmx.
       bei System.Web.Script.Services.WebServiceData.GetWebServiceData(HttpContext context, String virtualPath, Boolean failIfNoData, Boolean pageMethods, Boolean inlineScript)
       bei System.Web.Script.Services.RestHandler.CreateHandler(HttpContext context)
       bei System.Web.Script.Services.RestHandlerFactory.GetHandler(HttpContext context, String requestType, String url, String pathTranslated)
       bei System.Web.Script.Services.ScriptHandlerFactory.GetHandler(HttpContext context, String requestType, String url, String pathTranslated)
       bei System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)
       bei System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       bei System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

     
     
    Anforderungsinformationen:
        Anforderungs-URL: http://WEBSITE-DOMAIN.de/company/umbraco/webservices/RVContactFormMailer.asmx/SendContactForm
        Anforderungspfad: /company/umbraco/webservices/RVContactFormMailer.asmx/SendContactForm
        Benutzerhostadresse: xxx.xxx.xxx.xxx (external IP of the webserver)
        Benutzer: 
        Ist authentifiziert: False
        Authentifizierungstyp: 
        Threadkontoname: NT-AUTORITÄT\NETZWERKDIENST
     
    Threadinformationen:
        Thread-ID: 19
        Threadkontoname: NT-AUTORITÄT\NETZWERKDIENST
        Identitätswechsel für: False
        Stapelüberwachung:    bei System.Web.Script.Services.WebServiceData.GetWebServiceData(HttpContext context, String virtualPath, Boolean failIfNoData, Boolean pageMethods, Boolean inlineScript)
       bei System.Web.Script.Services.RestHandler.CreateHandler(HttpContext context)
       bei System.Web.Script.Services.RestHandlerFactory.GetHandler(HttpContext context, String requestType, String url, String pathTranslated)
       bei System.Web.Script.Services.ScriptHandlerFactory.GetHandler(HttpContext context, String requestType, String url, String pathTranslated)
       bei System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)
       bei System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       bei System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
     
     
    Details des benutzerdefinierten Ereignisses:

    Weitere Informationen über die Hilfe- und Supportdienste erhalten Sie

    ********************************

    the problem is here: /company/umbraco/webservices/RVContactFormMailer.asmx.
    "company" -> is the subnode of the root.

    how can i fix it ?

    thx

  • frogger 3 posts 23 karma points
    Oct 25, 2010 @ 13:55
    frogger
    0

    sry, i forget some informations :P

    • umbraco 4.5.1
    • windows 2003 server 32-bit
    • .NET 4
  • Eran 292 posts 436 karma points
    Oct 25, 2010 @ 17:09
    Eran
    0

    you address should be like: http://www.your-domain.com/umbraco/webservices/RVContactFormMailer.asmx.

    i dont understand why it looks like:

    http://www.your-domain.com/company/umbraco/webservices/RVContactFormMailer.asmx.

     

    when exactly you get this error? do you have other problems with the site?


    thanks,

    eran.

  • frogger 3 posts 23 karma points
    Oct 25, 2010 @ 17:49
    frogger
    0

    hi,

    i know that it should look like this:

    /umbraco/webservices/RVContactFormMailer.asmx

    and not:

    /company/umbraco/webservices/RVContactFormMailer.asmx.

    ^^

    when i trigger the send-button i get the error in my windows-events (see first posting), because the webservice cannot be found.
    is it a problem with the relative path ?

    everything else works fine.

    do you need some more information ?

  • Eran 292 posts 436 karma points
    Oct 25, 2010 @ 18:07
    Eran
    0

    its looks like a path problem.

    you should try this first:

    - change the path in the file  RVContactForm.js:
      from "/umbraco/webservices/RVContactFormMailer.asmx/SendContactForm" to "/company/umbraco/webservices/RVContactFormMailer.asmx/SendContactForm".

    clean you browser ceche and try. if its not working, its mean that you will also have to change also the webservice:

    - download the visual studio solution from the project page, open it and change all the paths.
    - compile it.
    - take the RVContactForm dll and put in the bin folder of your site (overwrite the old one).

    tell me if that helped.

    eran.

  • Eran 292 posts 436 karma points
    Dec 29, 2010 @ 22:20
    Eran
    0

    hello froger,

    if you find here a solution to your problem, please mark it as sloved.

    thanks.

    eran

Please Sign in or register to post replies

Write your reply to:

Draft