How to access Sharepoint 2010 word automation services from remote server? - sharepoint-2010

Basically i am trying to access the sharepoint server 2010 which is installed on remote machine to do some word operations. But when i am trying to connect with the remote server using SPSite(), it is throwing the below exception:
System.IO.FileNotFoundException was unhandled
Message=The Web application at "http://RemoteServer" could not be found. Verify that you have typed the URL correctly. If the URL should be serving existing content, the system administrator may need to add a new request URL mapping to the intended application.
Don't know how to connect with remote server using SPSite().

It's impossible. SPSite and, generally, the whole object model does not support connecting to a remote SharePoint farm. All you can do is access the local SharePoint farm.

Related

The Windows SharePoint Services adapter runtime does not have permissions to invoke the adapter Web service

I recently was working through a lab integrating BizTalk Server 2010 with SharePoint Server 2010. The idea was to have an InfoPath form submitted to an http end point. BizTalk would receive the InfoPath form, transform it, and then upload the form to a SharePoint document library.
This would make use of a send port configured to use the SharePoint Services Biztalk Adapter.
However, when I submitted the InfoPath form, it successfully submitted to the HTTP endpoint, but it did not upload to the SharePoint library. Further digging produced the following error:
Error details: The Windows SharePoint Services adapter runtime does not have permissions to invoke the adapter Web service. In order to fix this issue, you have to add the ADVENTUREWORKS\BizTalkHost Windows account to the "SharePoint Enabled Hosts" Windows group on the Windows SharePoint Services machine. This operation will allow BizTalk host instances running under ADVENTUREWORKS\BizTalkHost Windows account to invoke the adapter Web service in order to send and receive messages to or from SharePoint sites. The group membership will not take effect until you restart the BizTalk host instance.
This error was triggered by the Windows SharePoint Services receive location or send port with URI wss://biztalkdemo:80/LoanApplications.
Windows SharePoint Services adapter event ID: 12458".
Once I added ADVENTUREWORKS\BizTalkHost Windows account to the "SharePoint Enabled Hosts" Windows group on the Windows SharePoint Services machine facing same issue and infoPath is not able to transfer from BT to share point library and message got dehydrated?
Other question regarding share point adapter configuration for CreditOrderSharePoint -- in the configure pipeline dialog box, in the processingInstructionOptions box, type 1 and then insert the processing instructions you specify in the xmlAsmProcessingInstruction box -- type ---
<?mso-infoPathSolution solutionVersion="1.0.0.21" productVersion="14.0.0"
PIVersion="1.0.0.0"
href="http://biztalkdemo/LoanApplications/Forms/template.xsn"
name="urn:schemas-microsoft-com:office:infopath:LoanApplications:http---
LoansProcessor-LoanApp" language="en-us" ?><?mso-application
progid="InfoPath.Document" versionProgid="InfoPath.Document.2"?>
So where do I get this information ?
ADVENTUREWORKS\BizTalkHost service account also need to be added to SharePoint site:
1.Go to your SharePoint site http://BIZTALKDEMO/
2.Go to Site Settings
3.Go to Site Administration
4.Click on Manage site groups
5.Click on Contributors
6.Add Members...(ADVENTUREWORKS\BizTalkHost)
7.Add \Sharepoint Enabled Hosts
8.Restart BizTalk host instance from the Admin MMC

not able to configure HTTP analysis service

I want to connect to cube using HTTP/ internet outside.
I already set up :
copy Folder OLAP in inetpub/wwwroot
Added Aplication pool in IIS
Added website with application pool i just created
enable anonymous in user account
Added script map dll in handler mapping
But I Still cannot connect to database.
the message is "either a connection cannot be made to the server or analysis services is not running on the computer specified"
Help me ?
Try starting over and running this PowerShell script:
http://blog.gbrueckl.at/2014/10/configure-http-access-to-analysis-services-using-powershell-2/

Reporting Services Configuration Manager is not connecting, it is integrated in SharePoint 2010

I have a sharepoint 2010 portal with some dashboards and reports. No I have a permission problem, because I cannot view these reports.
I would like to have a look in Reporting Services Configuration Manager, but I cannot connect to the server where sharepoint and SQL server is installed. I enter the server name and press on find. It gives me the following error:
Unable to connect to the Report Server MYSERVERNAME.
By the way, I try to fix this problem:
AccessDeniedException: The permissions granted to user
'Mydomain\MyUserAccount' are insufficient for performing this
operation.
First off, you probably want to be using SharePoint Central Administration, not RS Configuration Manager. Also, RS Configuration Manager isn't where you'd manage access to report objects.
That said:
Try remoting into the host machine and running the tool locally on the server.
Ensure the proper ports are open for you to be connecting remotely (and that they SHOULD be open - there are very valid security reasons to block them)
Are you 100% certain you're connecting to the right address? Is it possible the SSRS service itself is on a different machine than the Sharepoint service and the SQL server?

Running into an SQL Error with an MVC Application deployed on IIS

So I am new to working on web projects in general. I am working on an MVC application in Visual Studio 2008. I have generated an SQL database within VS, and I have deployed my application on IIS. However when I try to do anything in the application which will spark an SQL query, I get the following error:
"Failed to generate a user instance of SQL Server due to failure in retrieving the user's local application data path. Please make sure the user has a local user profile on the computer. The connection will be closed."
I have hit google on this problem, and people have suggested a number of solutions but I am unsure how many of them are relevant to me doing this when I'm doing this in VS2008,. I have tried a few simple things suggested like setting the trust level to full, and setting the Load User Profile to true in IIS, but no luck yet.
What edition of SQL are you running where you deployed the application to? If it is not SQL Express, you will need to remove "User Instance=True" from the connection string.

SQL XML Bulk Loader - Error connecting

I'm using the sqlxmlbulkloadlib to perform an xml bulk load. When integrated security=SSPI, the process completes fine inside a workflow hosted on my local machine in a wcf service. However, when that workflow is hosted on our server and kicked off from a service reference on an aspx page, the bulkloader produces an error connecting to the data source. I have tried using sql server authentication instead, but that fails even on my local machine with the same error connecting to data source.
My connection string looks like:
"provider=SQLOLEDB;data source=Myserver;database=Mydb;User ID=Myuser;Password=Mypassword"
Ok, so after creating the sql account for the bulkloader, the policy required that I change the password. Didn't catch that till I tried logging in with the account in management studio.
I am curious, though, what I would have to do differently for integrated security to work from the production server.