HomeHome Product Discus... Product Discus...SmithCartSmithCartdbo.Smith_AddEmailTemplateSC doesndbo.Smith_AddEmailTemplateSC doesn't exist.
Previous
 
Next
New Post
6/19/2011 12:46 PM
 

Hi,

I got this error when trying to modify an existing email template.

dbo.Smith_AddEmailTemplateSC doesn't exist.

Version: 4.36

In the database, I only see this SP: Smith_Smith_AddEmailTemplateSC

Not sure if it is related, the module was not able to send confirmation once the order was placed. And when I click send order from Manager Orders, the email was blank. They might be seperate issues. I will be happy to try again once this SP issue is solved.

Wei

 
New Post
6/19/2011 11:02 PM
 

For a quick workaround you can rename the sproc to Smith_AddEmailTemplateSC. Then you will be able to add templates to the database and the emails will work.

You can also run thiis script in Host|SQL (paste code, check Run As Script, then execute)

-- remove bad sproc
IF  EXISTS (SELECT * FROM dbo.sysobjects WHERE id = OBJECT_ID(N'{databaseOwner}{objectQualifier}Smith_Smith_AddEmailTemplateSC'))
 drop procedure {databaseOwner}{objectQualifier}Smith_Smith_AddEmailTemplateSC
GO
-- remove renamed sproc
IF  EXISTS (SELECT * FROM dbo.sysobjects WHERE id = OBJECT_ID(N'{databaseOwner}{objectQualifier}Smith_AddEmailTemplateSC'))
 drop procedure {databaseOwner}{objectQualifier}Smith_AddEmailTemplateSC
GO

-- add proper sproc
CREATE PROCEDURE {databaseOwner}{objectQualifier}Smith_AddEmailTemplateSC
@TabModuleID int,
 @Name nvarchar(50),
 @Subject nvarchar(255),
 @Template ntext,
 @PortalID int
AS

INSERT INTO {objectQualifier}Smith_EmailTemplateSC (
 [TabModuleID],
 [Name],
 [Subject],
 [Template],
 PortalID
) VALUES (
 @TabModuleID,
 @Name,
 @Subject,
 @Template,
 @PortalID
)
select SCOPE_IDENTITY()
GO

Now you should be able to add email templates and the emails will not be blank.

I hope this is of some help to you.

 
New Post
6/23/2011 1:09 PM
 

Will this be fixed in the new cart? I just noticed this now when I did an order, not sure if I should just wait for a new version or which version this was fixed in

 
New Post
6/28/2011 9:50 PM
 

sorry. it took me a while to try this out.  Renaming the SP worked however, the Shipping confirmation email came up blank. 

I did not customize anything for the Ship Email Template except changed the Subject.  I am new to this shopping cart. How would I troubleshoot this?

 
New Post
6/28/2011 10:11 PM
 
Click on Store Admin Menu, then Email Templates, what template names are listed?

If you see Ship Email Tempplate and click Edit, can you see the body in the editor?

Try sending another ship email. If an error occurs, you may need to examine the DNN Event Log Viewer (Admin|Event Viewer) to find more specifc details.


 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartdbo.Smith_AddEmailTemplateSC doesndbo.Smith_AddEmailTemplateSC doesn't exist.