Wednesday, October 27, 2010

Nightmare of “WCF RIA application installation on 2003 Server” with MOSS 2007 default installation…

Silver light and RIA requires steep learning curve … after going through all new tech stuff, we were able to build our application and once it was done we thought it was over , we deploy application on local machine with IIS 5.0 and it was working perfectly fine..
But nightmare started once we took our application to Production Server..
First problem started with the remote deployment … After long walkthough with the Tim link http://timheuer.com/blog/archive/2009/12/10/tips-to-deploy-ria-services-troubleshoot.aspx
 and google search we were able to deploy…
After getting rid of the remote deployment issue, we found out that port 80 was already occupied by the MOSS 2007.. We tried to deploy our application on different port but nothing was working… Then we figure out how to change the port, It should be change during compilation in visual Studio..

Select Webapplication ->right click (select properties) -> Web tab and Use Local IIS and change the Port in Project URL.




After changing the port then deploy the application again and test the web service, if it is working correctly?
In our case, I tested the webservice

http://pserver1:8787/APF/Services/XAPApp-Web-AuthenticationService.svc?wsdl

After successfully testing the web service, still we were getting User login Issue in silver light.
Finally we created an “Application Pool” from DefaultAppPool in IIS 6.0.


Then we created a new website with default TCP port to 8787 and in home directory tab assigned the “XAPAppPool” to the application pool and we left the application name as “Default Application”
Because we are using form authentication, we enabled the ”anonymous access”. And then we deployed our application and at last it worked fine..
(Note: This is not walkthough but it will give you some basic idea)..

No comments:

Post a Comment