When you named your shortcut, either you did not give it a file extension or you gave it an extension other than *.lnk, nor *.url.
When using the CreateShortcut method, the file extension is incorrect or missing.
To correct this error
WshShortcut Object | WshUrlShortcut Object