Cannot Find Services when Loging into Coevery

Jan 2, 2013 at 8:45 PM

Hi,

 

I have a problem logging in to coevery. I put in the Server as localhost/crm, leave the Service Bkank and use the default username and password form the documentation. 

Get a message box saying the the server or service cannot be found.

Any ideas on the setup?

 

REgards

 

 

Coordinator
Jan 7, 2013 at 2:05 AM

Hi 

If you put the Server as  localhost/crm,  you have to install the server side in an asp.net 4.0 application named crm in your iis.

please take the following steps to check if your server side is correctly installed:

1.  in your case, please visit http://localhost/crm/login.aspx in your web browser, if it can't be opened, please check the application your have created in your iis, check the asp.net version. That is to say, if this page can't be opened, your will get the message box: the server or service cannot be found.

2.  please visit http://localhost/crm/EntityDataService.svc, if it works, you would see a xml document like below:

<?xml version="1.0" encoding="iso-8859-1"?><service xml:base="http://localhost/Coevery/EntityDataService.svc/" xmlns="http://www.w3.org/2007/app" xmlns:atom="http://www.w3.org/2005/Atom"><workspace><atom:title>Default</atom:title><collection ...

if you got any error, it should be due to the database connection string, it always happens if you are using the windows integrated security mode, because the iis will use Application Pool Identity to connect the database by default, however  Application Pool Identity is not allowed to connect sql server, so it will run into errors.

Please check all of these, and tell me if you still have any problems.

Best regards

Jan 22, 2013 at 8:18 AM
Edited Jan 22, 2013 at 8:25 AM

Hi caoxiangkun!

I've edited connection string, don't use integrated Security mode but when browser EntitiesDataService.svc, it throw error 404.

Detail:

System.Net.WebException: The remote server returned an error: (404) Not Found.
   at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
   at System.Net.WebClient.DownloadString(Uri address)
   at Coevery.AppFramework.ODataObjectSpace.GetMetadata(Uri metadataUri)
   at Coevery.AppFramework.ODataObjectSpace.Initialize()
   at Coevery.AppFramework.ODataObjectSpace.get_EdmModel()
   at Coevery.AppFramework.ODataObjectSpace.GetTypeDefinition(String objectName)
   at Coevery.AppFramework.ODataObjectSpace.CreateObjectQuery(String entityName, CriteriaOperator filter, Dictionary`2 properties)
   at Coevery.AppFramework.ODataObjectSpace.GetObjects(String entityName, CriteriaOperator filter, Dictionary`2 properties)
   at Coevery.Shell.LoginForm.VarifyUser(UserLoginResult result)

Please help me resolve this.

 

Thanks and best regards.