Click here to Skip to main content
15,908,111 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi friends,
I am facing a weird problem.
When i run a web service on local host, i am able to fetch all the results as per required. but, when i deploy the same in IIS server, it does not fetch full results. I tried deploying new site but did not help . Any ideas?

Results are fetched in XML format. So when deployed , it misses some of the tags.

What I have tried:

I ran the web service on local host, i am able to fetch all the results as per required. but, when i deploy the same in IIS server, it does not fetch full results.
Posted
Updated 16-Mar-16 21:34pm
v2
Comments
[no name] 16-Mar-16 5:50am    
What does it mean by full result?
[no name] 16-Mar-16 5:58am    
XML Data
ZurdoDev 16-Mar-16 10:06am    
1. Reply to comment so that the user is notified.
2. We can't see anything you have done so you have to narrow this down.
3. Aren't you pointing to a different database? Why do you expect the results to be the same?
F-ES Sitecore 16-Mar-16 6:38am    
It's impossible to say from what you've posted, you'll need to do some debugging. Are the two systems using the same SQL Server database? If so use SQL Profiler to examine the calls being made to see if you can work out why they are getting different data. If they are using different databases then check the problem simply isn't that the data is different, and again use SQL Profiler to help. We can't access your system or your data, we can't debug this for you remotely.

Edit: also, to help debug the calls to the web service use Fiddler to see if there is a difference in how the service is being called.

1 solution

The issue was'nt in the coding part, as suggested.

Changes in Access rights for the site did resolve the issue.(Security access rights in properties of the application folder)



In visual studio, it fetches all of the access rights for the developer mode, but when deployed, it requires special permission for the folder to access(like NETWORK Service and so on)

Thanks
 
Share this answer
 
v2

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