RE: error using getfile() in Windows application

From: Mike Linster (MikeLinster_at_discussions.microsoft.com)
Date: 02/16/05


Date: Tue, 15 Feb 2005 16:01:04 -0800

Are you using the web services or the OM? If you are using the Object Model
this won't work unless your app is on the same server as the portal and or
sites. TO accomplish this from another machine you will need to make use of
the web services. There is no remoting functionality in the OM that will
allow you to do this.

Mike

"rahul" wrote:

> hi
> i am trying to programatically access doc library files in a windows app. if
> the URL i supply to the app is of a site hosted on my local system, the
> application works fine.
> however, if i try to fetch files using GetFile() from a remote server and
> open them in binary mode using OpenBinary() method, i get the error
> "The server instance specified was not found. Please specify the server's
> address and port."
> can't figure out a way of resolving the issue.
>
> thnx
> rahul



Relevant Pages

  • Re: ASP.NET application alone cant do it!!! Right???
    ... execute the app without going to the web? ... work with your intentions of charging a subscription fee. ... function on the server to notify ... Web Services provides the quickest and easiest way to ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Hardcoding RijndaelManaged Keys
    ... since they can make securing web services much easier. ... > I have a vb.net WinForms app using web services which needs to send secure ... > into variables on both the server and the client app. ... then encrypt the data using this public key and send the ...
    (microsoft.public.dotnet.security)
  • Re: Questions about Asynchronous Use of Webservice
    ... Remember - web services are basically http calls and the way ... What happens if I never call EndXXX? ... > but I never call EndXXX will there be server resources consumed (and ... > BeginXXX when closing the app then deserialize it next time the app opens ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: how to access other servers asp.net
    ... Web Services is not for speed. ... If you can run app at that PC, Web services is a good solution. ... i need to access files (word ... docs) on a server that the application is not running on. ...
    (microsoft.public.cert.exam.mcad)
  • Re: Homegrown synchronization
    ... to check for update files in the Import DropBox for the server. ... similar to the import code used to update a remote backend). ... code to close the "sync" app. ... synch app, but only one at a time would be able to do synchs. ...
    (microsoft.public.access.replication)

Quantcast