B
Brad Pears
I am using the winsock control to send emails in an Access 2000 app.
In the app, you can assign tasks to users and by clicking on a "Send Email"
button, an email is sent to the user informing them of the task.
Well, if you try to send an email more than three times in a row, I always
got the following error...
Runtime Error: 40006
"Wrong protocol or connection state for the requested transaction or
request" on the "Winsock1.GetData buf, vbString" line in the
winsock1_DataArrival event.
I discovered a more recent version of the WInsock control "mswinsck.ocx"
that supposedly fixed that issue. Once installed on my XP machine, it worked
flawlessly.
However, I copied that exact same .ocx file over from my XP machine to our
windows 2003 term server, re-registered the file, and copied over my Access
project again and I get the same issue with the error above.
I tried deleting the control on the form and re-adding it but when I do
this, I get the following error..
"You don't have the license required to use this activeX control".
How can I get around this?
Thanks,
Brad
Thanks,
Brad
news:eeDXKQZ0EHA.3408@tk2msftngp13
In the app, you can assign tasks to users and by clicking on a "Send Email"
button, an email is sent to the user informing them of the task.
Well, if you try to send an email more than three times in a row, I always
got the following error...
Runtime Error: 40006
"Wrong protocol or connection state for the requested transaction or
request" on the "Winsock1.GetData buf, vbString" line in the
winsock1_DataArrival event.
I discovered a more recent version of the WInsock control "mswinsck.ocx"
that supposedly fixed that issue. Once installed on my XP machine, it worked
flawlessly.
However, I copied that exact same .ocx file over from my XP machine to our
windows 2003 term server, re-registered the file, and copied over my Access
project again and I get the same issue with the error above.
I tried deleting the control on the form and re-adding it but when I do
this, I get the following error..
"You don't have the license required to use this activeX control".
How can I get around this?
Thanks,
Brad
Thanks,
Brad
news:eeDXKQZ0EHA.3408@tk2msftngp13