ASPCode.net forum
ASPCodeForumaspcode.net
 
  > Forum index > General ASP > Recommentor Invalid ProgID
This topic is about Recommentor Invalid ProgID

Recommentor Invalid ProgID

1/31/2006 4:13:41 AM by Guest

Hello, I am really excited about this script - but I got this error the first time I used it, and still do - I uploaded the scripts as they were - no changes yet. Here it is: Server object error 'ASP 0177 : 800401f3' Server.CreateObject Failed /tellafriend/incgenmail.asp, line 4 Invalid ProgID. For additional information specific to this message please visit the Microsoft Online Support site located at: http://www.microsoft.com/contentredirect.asp. Can anyone tell me a way to fix this or even just to override this part of the script? Thank you so much!!!! God bless, Steven


1/31/2006 10:54:32 AM by bekir

It's failing on creating the component used to sent the email. You will need to replace the SendEmail Sub in incgenmail.asp with one which supports the email component you (your webhost) is using. Please read more about it here [url=http://kbmentor.aspcode.net/l_en-US/t_default/Projects/Sendmail_(ASP)/category_11.aspx]http://kbmentor.aspcode.net/l_en-US/t_default/Projects/Sendmail_(ASP)/category_11.aspx[/url] There you can get SendEmail subs for some pretty well used components Hope this helps you, otherwise - you know the drill - just post here again :)


1/31/2006 3:51:56 PM by Guest

Wow, thank you for such a fast, helpful reply! That makes pretty good sense to me... My only problem then, I guess, is that my server uses smtp exclusively. I didn't see any code for that. Any ideas? Thank you so much for helping me out! I am fairly new to asp, but I love it! God bless, Steven


1/31/2006 5:12:19 PM by bekir

My guess is that the CDONTS code works for you. That's writed to the Microsoft SMTP


1/31/2006 6:15:13 PM by Guest

Thank you Stefan! I'm ashamed to say, now it shows an error message with a different file. This is what I'm getting now: Microsoft OLE DB Provider for ODBC Drivers error '80004005' [Microsoft][ODBC Microsoft Access Driver]General error Unable to open registry key 'Temporary (volatile) Jet DSN for process 0xb44 Thread 0xc34 DBC 0x328bf5c Jet'. /tellafriend/increc.asp, line 20 Any ideas on this one? Thank you so very much for your patience and your time! God bless, Steven


1/31/2006 7:54:18 PM by bekir

[quote]I'm ashamed to say[/quote] Dont be! It needs some configuratin and it's my fault not documenting them better:) Also we're all beginners to start with, so never be ashamed of asking! Anyway, now mail's ok, this is the next thing: the database I try to describe here http://www.aspcode.net/default.aspx?p=a&i=130 but the error you are getting now if about the last step Rec_GetDatabaseConn() which isn't documented at all Now it depends on where you have installed the script and where the database file has been put but by default the config works with: www.yoursite.com/recommentor/db3.mdb Cause you can see that strDSN = "DRIVER={Microsoft Access Driver (*.mdb)};DBQ="& Server.MapPath("/recommentor/db3.mdb") points to server start then recommentor/db3.mdb However, and here you might need some help from your webhost, the directory where you put your database must be write-enabled. Sometimes the webhost has a special directory for that for example /db/ or something.


1/31/2006 9:08:38 PM by Guest

Ok, that problem is gone... :) I found that I do have a db/ directory, so I uploaded the .mdb file there, and changed the address from /recommentor/db3.mdb to /db/db3.mdb - now this comes up: Microsoft OLE DB Provider for ODBC Drivers error '80004005' [Microsoft][ODBC Microsoft Access Driver]General error Unable to open registry key 'Temporary (volatile) Jet DSN for process 0xb44 Thread 0xdd0 DBC 0x311d0dc Jet'. /tellafriend/increc.asp, line 20 I appreciate so much your willingness to help, and how gracious you have been about it. If you decide this is turning into an unending process, I understand completely. Thank you again, Stefan! God bless, Steven


1/31/2006 10:17:09 PM by bekir

It's ok Steven, we should get this working... Although that error is pretty generic and can mean almost anything this is worth a try: strDSN = "DRIVER={Microsoft Access Driver (*.mdb)};DBQ="& Server.MapPath("." & "/db/db3.mdb") I.e the point stuff If that doesn't work, if you trust me please send me FTP login and password (and address to FTP server) and I'll have a look - cause now everything semms like it should be ok, but I'd better take a look. Just email me the info at stefan.holmberg@systementor.se, might however not look at it until tomorrow though, it's almost night here in Sweden you know.


This topic is about Recommentor Invalid ProgID
UserTools

Currently unavailable because of spam. Just reading and searching is enabled.