Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Run-time error '-2147417848 (80010108)'

Status
Not open for further replies.

mindlessclone2003

Technical User
Feb 13, 2003
12
US
Does anyone know why I'm getting the following error in my script: "Run-time error '-2147417848 (80010108)': Method '~' of object '~' failed"? I can run all of my code successfully from within VB, but when I compile it and try to run it standalone it gives me this message. Any help???

Code:

Dim gwMessage As GroupwareTypeLibrary.Message
Dim gWAccount As GroupwareTypeLibrary.Account
Dim GWApp As GroupwareTypeLibrary.Application
Set GWApp = CreateObject("NovellGroupWareSession")
Set gWAccount = GWApp.Login("user", vpassword:="password")
Set gwMessage = gWAccount.MailBox.Messages.Add
gwMessage.BodyText = "Testing..."
gwMessage.Subject = "Test Email..."
gwMessage.Recipients.AddByDisplayName "John Doe"
gwMessage.Send
Set GWApp = Nothing
Set gWAccount = Nothing
 
Do you get the error running on the same development machine, or only when run on a different workstation? I've seen this caused by version mismatches in DLL sets.

What is the OS? (W2K prior to SP1 has a problem that results in the error message you report)

Which line raises the error?

The -2147417848 error code is pretty generic and not very useful. The message about method ~ of object ~ offers a small clue: the object in question was never loaded, hence the incomplete error message.

 
BBaggins,

I'm trying to run on the same development machine. The OS is WIN98. I can't tell which line raises the error, as it doesn't say, and when I step through it via the developer it works fine. I'm thinking this is the line though

Set gWAccount = GWApp.Login("user", vpassword:="password")

Thanks...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top