This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DEVELOPERS FORUM - is server/innovatorserver.aspx work?

shubhu2233 - Monday, August 29, 2011 9:05 AM:

Hi all

I have configured everything that mentioned in the document of aras integration with SharePoint. i have covered each and every step things looks fine working fine on windows server 2008.

there is 2 different Url;

1.192.168.10.152:420/.../Innovator.aspx

2.192.168.10.152:420/.../InnovatorServer.aspx

 first one is working file aras innovator is loaded and i am able to access every thing using admin credentials. In second link when i try to open it gives following error:

<SOAP-ENV:Envelope xmlns:SOAP-ENV="schemas.xmlsoap.org/.../">
- <SOAP-ENV:Body>
- <SOAP-ENV:Fault xmlns:af="www.aras.com/InnovatorFault">
  <faultcode>SOAP-ENV:Server</faultcode>
  <faultstring>The Database is not available.</faultstring>
- <detail>
  <af:legacy_detail>The Database is not available.</af:legacy_detail>
  <af:exception message="The Database is not available." type="Aras.Server.Core.InnovatorServerException" />
  </detail>
  </SOAP-ENV:Fault>
  </SOAP-ENV:Body>
  </SOAP-ENV:Envelope>

Actually i want to know that the 2nd link is working in the windows server 2008?

please suggest me.its realy appreciable.

Thanks

Shubham Salaria

 



Brian - Tuesday, August 30, 2011 6:26 AM:

I'm not sure why you want to navigate to the 2nd URL directly. You shouldn't ever have to do this. The client login files do that for you. As long as you can get to the Client then the server must be working.

If it wasn't then you wouldn't get in.

Cheers,

Brian.



shubhu2233 - Tuesday, August 30, 2011 6:58 AM:

Hi Brian 

Thanks for your quick response.

When i am login with client its working fine i d'not know any thing about "server/innovatorserver.aspx"  but the problem is in part library when readlist() method hits and it give following error.

readlist() method:

 

 Aras.IOM.Innovator invtr = Aras.IOM.IomFactory.CreateInnovator(null);

          Aras.IOM.HttpServerConnection con = Aras.IOM.IomFactory.CreateHttpServerConnection(Rzrlf.SP.Innovator.Bdc.Settings.InnovatorServerUrl, Rzrlf.SP.Innovator.Bdc.Settings.InnovatorDatabaseName, Rzrlf.SP.Innovator.Bdc.Settings.InnovatorUserName, Rzrlf.SP.Innovator.Bdc.Settings.InnovatorPassword);

              Aras.IOM.Item result = con.Login();

            if (result.isError())

            {

                throw new System.Security.SecurityException(string.Format("The TEST requested login failed for user {0}.", Rzrlf.SP.Innovator.Bdc.Settings.InnovatorUserName));

            }

            invtr = Aras.IOM.IomFactory.CreateInnovator(con);

            return invtr;

}

and i m getting following exception thrown by above method in "Part" External Library.

"MethodInstance with Name 'ReadList' on Entity (External Content Type) with Name 'PartEntity' in Namespace 'Rzrlf.SP.Innovator.Bdc.PartBdcModel' failed unexpectedly. The failure occurred in method 'ReadList' defined in class 'Rzrlf.SP.Innovator.Bdc.PartBdcModel.PartEntityService' with the message 'The TEST requested login failed for user admin.'."

con object contains two url 

1.localhost/.../server

2.localhost/.../innovatorserver.aspx

and con.login() mothod login on above url's using admin credentials.

so that's y i have raised this issue bcoz ara IOM.dll concate url with with static String "Server/" and "Server/InnovatorServer.aspx" and then login

so there is no such type of url in local system and it generates exception. 

This is the last step for me if i will able to fetch the data in Part library using BDC then my SharePoint Integration with aras will be finish and look for further challenge.

Please help me to find out above issue. i m stuck here from last 7 days .....

Thanks

Shubham Salaria