RE: error using getfile() in Windows application
From: Mike Linster (MikeLinster_at_discussions.microsoft.com)
Date: 02/16/05
- Next message: Mike Linster: "RE: Applying Site templates retrospectively"
- Previous message: Mike Linster: "RE: How to direct a form submission to a confirmation page instead of"
- In reply to: rahul: "error using getfile() in Windows application"
- Messages sorted by: [ date ] [ thread ]
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
- Next message: Mike Linster: "RE: Applying Site templates retrospectively"
- Previous message: Mike Linster: "RE: How to direct a form submission to a confirmation page instead of"
- In reply to: rahul: "error using getfile() in Windows application"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|