A
alex
Hi,
My environnement is one server and another computer where I develop.
I try to consume webservice EPM by add the following link to the textbox
from add service in visual studio (2005 and 2008).
I obtain ‘The document format is not recognized (the content type is
‘text/html; charset=utf-8′).’.
So I find on the link the solution
http://projectserverblogs.com/index.php?s=wsdl
I copy the *.asmx in a specific folder, not a sharepoint website and I
generate the files aspx by using the SharePoint Web Service DISCO and WSDL
Generator.
So now when I try to consume the webservice by using the link specified in
my first line, it's ok. I can add the reference in visual studio.
BUT....
When I launch my program :
namespace ProjectWebService
{
class Program
{
static void Main(string[] args)
{
try
{
//Impossible de charger la DLL
'Microsoft.Office.Server.Native.dll': Le module spécifié est introuvable.
Project.ProjectDataSet dsProjectDs = new
ProjectWebService.Project.ProjectDataSet();
Project.Project pj = new Project.Project();
Guid projectUid = new
Guid("3D18618A-AFB3-4C5A-86F4-DAABF6793A2C");
dsProjectDs = pj.ReadProject(
projectUid,
Project.DataStoreEnum.PublishedStore);
if(dsProjectDs!=null)
dsProjectDs.WriteXml("c:\test.xml");
}
catch (Exception ex)
{
throw ex;
}
}
}
}
I obtain an exception.
this one, when the execution arrived to
dsProjectDs = pj.ReadProject(
projectUid,
Project.DataStoreEnum.PublishedStore);
The server was unable to process the application. ---> Unable to load the
DLL 'Microsoft.Office.Server.Native.dll': The specified module is not found.
(Exception of HRESULT: 0x8007007E)
So I Try to add reference to this one in visual but Visual denied.
In this moment, I install visual studio on the server.
And i will try to consume webservice on the computer.
But it's not a solution but an indication.
So do you have an idea?
Thanks,
Alexandre, new in EPM
My environnement is one server and another computer where I develop.
I try to consume webservice EPM by add the following link to the textbox
from add service in visual studio (2005 and 2008).
I obtain ‘The document format is not recognized (the content type is
‘text/html; charset=utf-8′).’.
So I find on the link the solution
http://projectserverblogs.com/index.php?s=wsdl
I copy the *.asmx in a specific folder, not a sharepoint website and I
generate the files aspx by using the SharePoint Web Service DISCO and WSDL
Generator.
So now when I try to consume the webservice by using the link specified in
my first line, it's ok. I can add the reference in visual studio.
BUT....
When I launch my program :
namespace ProjectWebService
{
class Program
{
static void Main(string[] args)
{
try
{
//Impossible de charger la DLL
'Microsoft.Office.Server.Native.dll': Le module spécifié est introuvable.
Project.ProjectDataSet dsProjectDs = new
ProjectWebService.Project.ProjectDataSet();
Project.Project pj = new Project.Project();
Guid projectUid = new
Guid("3D18618A-AFB3-4C5A-86F4-DAABF6793A2C");
dsProjectDs = pj.ReadProject(
projectUid,
Project.DataStoreEnum.PublishedStore);
if(dsProjectDs!=null)
dsProjectDs.WriteXml("c:\test.xml");
}
catch (Exception ex)
{
throw ex;
}
}
}
}
I obtain an exception.
this one, when the execution arrived to
dsProjectDs = pj.ReadProject(
projectUid,
Project.DataStoreEnum.PublishedStore);
The server was unable to process the application. ---> Unable to load the
DLL 'Microsoft.Office.Server.Native.dll': The specified module is not found.
(Exception of HRESULT: 0x8007007E)
So I Try to add reference to this one in visual but Visual denied.
In this moment, I install visual studio on the server.
And i will try to consume webservice on the computer.
But it's not a solution but an indication.
So do you have an idea?
Thanks,
Alexandre, new in EPM