locked
ASPMail with W2K8 / IIS7 RRS feed

  • Question

  • User-46163375 posted
    Greetings all, I am migrating several classic ASP applications from Windows Server 2000 / IIS6 to Windows Server 2008 SP2 / IIS7. The applications all use ASPMail, but I have had no success in getting this component (either the version used on W2k, or the latest version download from the vendor) to work on the new server. I have followed suggestions in different threads on this site such as these, but to no avail: http://forums.iis.net/p/1148735/1867169.aspx#1867169 http://forums.iis.net/p/1152382/1882038.aspx#1882038 Is there a definitive answer to this problem. I can re-code with CDO or a different component, but this will be very time consuming, so I strongly prefer to get ASPMail working somehow. I don't know much about making COM+ applications, as was suggested in one of those threads above, so perhaps I need to focus on that, but if anyone has more info about this, or anything else that might help, I should be very grateful Thanks in advance LR
    Monday, May 30, 2011 1:09 PM

All replies

  • User-176674611 posted

    Hi,

    what is the detailed error you encounter? Could you please try to switch to classic pipeline to see if this help? For troubleshooting classic asp errors, you can take a look at the following article:

    Using Failed Request Tracing to troubleshoot Classic ASP errors
    http://learn.iis.net/page.aspx/565/using-failed-request-tracing-to-troubleshoot-classic-asp-errors/

    Thanks.

     

    Friday, June 3, 2011 3:15 AM
  • User-46163375 posted
    Hello and thanks for the reply The exact message I receive is Server object error 'ASP 0177 : 800703e6' Server.CreateObject Failed /xxx/xxx.asp, line 49 800703e6 Any advice would be welcome Thanks LR
    Friday, June 24, 2011 4:26 AM
  • User-1672167363 posted

    Hello,

    The exact message I receive is Server object error 'ASP 0177 : 800703e6'

    Server.CreateObject Failed /xxx/xxx.asp, line 49 800703e6

    The CreateOject Failed and line number 49 with out having the code

    is hard to answer.

    Maybe if you can share at least a portion of the code to help with the answers?

    Martin

     

    Friday, June 24, 2011 1:35 PM
  • User-46163375 posted
    Sure, no problem. It is a single line set mail = server.createobject("SMTPsvg.Mailer") As mentioned, this works perfectly on our old server and we have tried the same version as well an updated version of ASPmail on the new server Thanks again
    Friday, June 24, 2011 1:49 PM
  • User-1672167363 posted

    Hello,

    I suggest you check the AspEmail web site they have an update as of 6/3/2011

    and the Getting Started guide Chapter 2   reference shows a change for the name used.

    <%
    ...
    Set Mail = Server.CreateObject("Persits.MailSender")
    ...
    %>

    Hope this helps,

     

    Martin


     

     

    Saturday, June 25, 2011 8:14 AM
  • User-46163375 posted
    Hi Martin Thanks for your suggestion, but you appear to be talking about ASPEmail, whereas I am talking about ASPMail. They are different components. Any further suggestions would be most welcome. Thanks again RL
    Wednesday, June 29, 2011 1:28 PM
  • User-46163375 posted
    Just wondering if anyone has any more ideas on this ? I'm going to lose my job on Monday if this still doesn't work and I can't find a a work-around :(
    Friday, July 1, 2011 2:33 AM
  • User-176674611 posted

    Have you tried to switch to classic pipeline? With classic pipeline, it behaves like the previous IIS version. As you mentioned, it worked well with IIS6, you can switch to classic pipeline to see if this helps.

    Thanks.

     

    Friday, July 1, 2011 2:42 AM
  • User-46163375 posted
    Hi Lloydz, thanks for your reply. Yes, I already tried that. The error is the same. Thanks RL
    Friday, July 1, 2011 3:40 AM
  • User-176674611 posted

    Does the following thread help:

    http://forums.iis.net/p/1148735/1940905.aspx

    Since this is urgent, I also suggest you contact the vendor for fast help.

    Thanks.

     

    Friday, July 1, 2011 4:03 AM
  • User-46163375 posted
    Hi Lloydz The vendor doesn't have any contact info on their website, and it seems their site has not been updated since 2007 :( Thanks for that link. I've been trying this: 1. Register the SMTPSVG.dll file from your install folder using regsvr32.exe 2. Create a COM+ application called ASPMail 3. Right click in the components folder and select New Component 4. select the 2nd option, “Import components that are already registered” 5. select the “32 bit registry” check box 6. select the SMTPsvg.Mailer component 7. click Next 8. Click Finish Does anyone know how to create a com+ application in win2008 ? I have looked at Component Services, but it didn't seem to relate to the instructions above. Thanks RL
    Friday, July 1, 2011 6:31 AM
  • User-46163375 posted

    In desperation, I have been trying to recode the site to use CDO instead of ASPMail, but I have encountered a new problem.

    This is very urgent now, so I'd be most grateful if anyone can read this thread and give me any advice/comments.

    http://forums.iis.net/t/1179579.aspx

    Friday, July 1, 2011 7:06 AM