Solved

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

Posted on 2011-03-22
5
532 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
Comment Utility
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
Comment Utility
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
Comment Utility
Ok good luck
0
 

Author Closing Comment

by:TraciShultz
Comment Utility
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
Comment Utility
Good glad it helped and thanks for the points
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
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!
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

744 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

15 Experts available now in Live!

Get 1:1 Help Now