Have you looked at other forum postings such as http://forums.adobe.com/thread/719890 and are having issues connecting? Not sure why copy paste isn't working for you I pasted the above URL from notepad. It would help to see the code you're trying to execute
Adobe help files are a good reference when you're trying to do something http://help.adobe.com/en_US/livecycle/9.0/designerHelp/index.htm?content=000818.html
If you're using the LiveCycle turnkey it's running as a system account and likely doesn't have access to the share. The account that the service runs under has to have rights to the share.
var oDoc = event.target;var annots = oDoc.getAnnots({nPage:0});console.println("Number of Annotations: " + annots.length);Static XFA documents can have annotations, dynamic can not. The above worked for me