Automation server cant create object

L

Lee Newson

Hi,

I have a form that connects to sharepoint using soap objects. I have
published it to a form library which works fine. when i click on 'fill out
this form' the form opens on my computer but when i click on a button that
starts the collection of data i get the following error:

Automation server can't create object

this error is to do with creating a soap object. does anyone know how i can
get this to work, i have soap installed on the server and on the local
machine and i cant think of what else to try.

thanks for any help.

Lee
 
M

Matthew Blain \(Serriform\)

Probably a security issue. Which SOAP object? Are you using SP-1? Is the
form fully trusted? Do you know what line of code is throwing the error?
(Attach the debugger & set a breakpoint before clicking the problem button.)

--Matthew Blain
http://tips.serriform.com/
 
L

Lee Newson

I am using Infopath SP-1 Preview. The line of code it falls over on is
this:

var objSoapClass = new ActiveXObject("MSSOAP.SoapConnector30");

so it is having a problem creating the new instnace of a soap object. This
line is first line of code to get run once the form is going so there are no
preceeding functions etc.
 
L

Lee Newson

sorry the line actually reads

var objSoapClass = new ActiveXObject("MSSOAP.SoapClient30");
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top