hi all
i have a problem
when i created an infopath form and make some code in Onload event
var objNetwork = new ActiveXObject("WScript.network");
XDocument.UI.Alert(objNetwork.UserDomain + """ + objNetwork.UserName);
and when i fill out this form from share point
error ocuured and it said "Automation server cant create object"
Please help me to fix this error
Best regards
angel
Page 1 / 1
This is not a K2.net-specific error - it rather looks like an issue with your
var objNetwork = new ActiveXObject("WScript.network");
statement
I suspect it has to do with IE's security settings - have you tried to open the form from the Sharepoint server directly (i.e. log into the SPS server with remote desktop and try to open the form). If it works from there it's most likely an IE security setting.
I recommend Googling for this error - http://www.google.co.za/search?hl=en&q=%22Automation+server+can%27t+create+object%22+%2BActiveXObject+%2Bwscript&btnG=Search&meta=
Google is your friend
var objNetwork = new ActiveXObject("WScript.network");
statement
I suspect it has to do with IE's security settings - have you tried to open the form from the Sharepoint server directly (i.e. log into the SPS server with remote desktop and try to open the form). If it works from there it's most likely an IE security setting.
I recommend Googling for this error - http://www.google.co.za/search?hl=en&q=%22Automation+server+can%27t+create+object%22+%2BActiveXObject+%2Bwscript&btnG=Search&meta=
Google is your friend
thanx neil, i have found the solution when i get into Infopath Forum. Sorry if i didnt say it in this forum that i have known the solution. Next time i will not do that again
Happy New Year
best regards
Angel
Happy New Year
best regards
Angel
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.