Solved

wcf web application works in Visual Studio 2010 ide but not under IIS

Posted on 2011-03-22
5
538 Views
Last Modified: 2012-05-11
Not sure what the problem is. We have a wcf web application that seems to work fine in the IDE.

when we setup IIS 5.1 ( this is a n XP machine) and run it through IIS the initial db communication works . i.e. the first thing we do is log the user in and it returns the users ID. After that any sql call seems to return an empty recordset. no errors just an empty recordset?

We are using Linq to Entity Framework?

Any help is greatly appreciated.

Traci
0
Comment
Question by:TraciShultz
  • 3
  • 2
5 Comments
 
LVL 19

Accepted Solution

by:
daveamour earned 500 total points
ID: 35196990
I would recomend running SQL Server Profiler to see what's reall happening under the hood which should give you some clues.  Do you know how to do that?
0
 

Author Comment

by:TraciShultz
ID: 35199972
Thanks for your comment.. we are setting this up now... as we are running SQLExpress on our deployment machine and SQL Server Profiler is not part of that version I'll have to put the full version of SQL server and then see what traces we get... good suggestion. Thank you I'll keep you posted.
0
 
LVL 19

Expert Comment

by:daveamour
ID: 35200727
Ok good luck
0
 

Author Closing Comment

by:TraciShultz
ID: 35217833
I wanted to thank you for the response. Using the profile showed us where the disconnect was. The real issue was there was a code bug that was not pulling formation out of the web.config file correctly. But for some reason Studio IDE handles the error and allows for continues operation.

Thanks.
0
 
LVL 19

Expert Comment

by:daveamour
ID: 35217855
Good glad it helped and thanks for the points
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question