Click here to Skip to main content
15,903,854 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hallo Dear All,

I have been developing an application whose front-end and back-end is HTML5 and WCF, respectively. The front-end consumes the WCF app using Javascript (AJAX or JSON), the system works fine, if both apps kept together in a project, however, when the project gets decomposed into two sub-projects, the front-end app couldn't access the service. It generates the following exception repeatedly when a method containing the service URI is being called:

"[Exception... "Failure" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: http://localhost:1084/Scripts/Login.js :: <top_level> :: line 84" data: no]"

If the information that I have provided is not clear, please let me know.

Regards
Posted
Comments
Ravi Tuvar 30-Nov-12 0:43am    
Did you decomposed WCF Services project right?
Yonathan1111 30-Nov-12 5:23am    
Both the interface and WCF apps were together in a project, I have broken-down this project, now the WCF is running as windows service independently, and the interface is another project. I hope I have answered your question, did I?

Hallo Ravi, was not my answer satisfying? Please tell me, if there is any miss understandings.

Regards

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900