Copied to clipboard

Flag this post as spam?

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


  • Kristoffer Eriksen 169 posts 388 karma points
    Nov 08, 2011 @ 17:44
    Kristoffer Eriksen
    0

    Using old .dll when publishing with Publish At

    Hey Umbracopeople

    I've got a really annoying frustrating problem, which I cant solve. 

    I've got some problems with Publish At but that is in a different post. I've made some code which would email me when the event .publish was fired and that worked. But I since then deleted the code but somehow it still haunts me. When when the publish at is fired i get some errors in my code in lines that isn't present any more.

    I've even deleted the .cs file but i still get runtime error in that file. 

    I've created a new iis sitem rebuilded and done about everything I could think of, but can't get rid of that none existingline of code. Any suggestions? 

    It's driving me crazy. 

    Best Regards

    Kristoffer

  • Kristoffer Eriksen 169 posts 388 karma points
    Nov 09, 2011 @ 08:44
    Kristoffer Eriksen
    0

    When I'm using the manually Publish everything works like a charm, but when using Publish At, I get an error in

    Error publishing node: System.Net.Mail.SmtpException: Transaction failed. The server response was: 5.7.1 <"MAIL">: 
    Relay access denied    
    at System.Net.Mail.RecipientCommand.CheckResponse(SmtpStatusCode statusCode, String response)    
    at System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, SmtpFailedRecipientException& exception)    
    at System.Net.Mail.SmtpClient.Send(MailMessage message)    
    at CampaignManager.SendMail(Int32 id, String type)
    in "FILEPATH"\CampaignManager.cs:line 155    
    at CampaignManager.Document_AfterPublish(Document sender, PublishEventArgs e)
    in "FILEPATH"\CampaignManager.cs:line 42    
    at umbraco.cms.businesslogic.web.Document.PublishEventHandler.Invoke(Document sender, PublishEventArgs e)    
    at umbraco.cms.businesslogic.web.Document.FireAfterPublish(PublishEventArgs e)    
    at umbraco.cms.businesslogic.web.Document.PublishWithResult(User u)    
    at umbraco.presentation.publishingService.CheckPublishing(Object sender)

     

    It's a file that doesnt exist any more, but I don't know why the methods is still in the assmebly !?!

    I've rebuilded and changed assmebly version, new IIS deletes all .DLL, deleted windows/temp...

     

    What is it that I'm missing ??

  • Kristoffer Eriksen 169 posts 388 karma points
    Nov 09, 2011 @ 08:56
    Kristoffer Eriksen
    0

    Goddamn....sorry.....But Temp .NET files was the problem. There was an old assembly which where causing the whole problem.

    Now it is a new day, and new eyes on the solution, so it just have to get better than yesterday.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies