Solved

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

Posted on 2011-03-22
5
534 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
WKHTMLTOPDF - --disable-smart-shrinking not working 10 36
Need a complete list of ASP.NET page load events 3 28
how to read json value 2 31
SQL Exceptions 3 38
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
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.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

920 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now