cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Generation Error !

Arunas
Trusted Contributor

Dear Community Users //

 

In automatic generation , We scheduled the website name "abctest"  

 

Set Websites = Oroot.GetCollection("Web Site").Item("abctest")
Websites.GenerateWebsite()

 

It worked well when double click on the vbscript , but it doesnt on task scheduler , 

 

we tracked the error number by on error resume next 

Error number "2147218944"

 

Looking forward for your suggestions to resolve this issue.

 

Many thanks 

//

2 Replies

imrankhatyan
Trusted Contributor

dispatch the transaction at end and close mega.

Arunas
Trusted Contributor

it Locked the generation website object after if we opened mega , but generation doesnt work