Solved

REST WCF Causes IIS to crash

Posted on 2013-10-22
6
427 Views
Last Modified: 2013-10-28
I am attempting to create my first wcf service based on the REST architecture and something is going wrong. This is a simple service that returns a product list. I just wish to have this in a REST style implementation.

Could someone please look at the project and tell me where am I going wrong?  I am using Windows 7 32 bit and Visual Studio 2012 to build and test this project.

The project compiles, but when I run it from Visual Studio, it crashes the IIS process.
0
Comment
Question by:ModSpace
  • 4
  • 2
6 Comments
 
LVL 75

Expert Comment

by:käµfm³d 👽
ID: 39592158
Which project?
0
 

Author Comment

by:ModSpace
ID: 39593015
I attached a file in my post. Anyway I have made some progress. I realize that the project works if my function returns a simple type like a string.

In case of complex types, it fails.
0
 
LVL 75

Expert Comment

by:käµfm³d 👽
ID: 39593024
There's no attachment in your original post.
0
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 

Author Comment

by:ModSpace
ID: 39594088
Here is the project. I have uploaded this to my dropbox folder.

https://www.dropbox.com/s/ji08t13tuczshds/Lesson2.zip
0
 

Accepted Solution

by:
ModSpace earned 0 total points
ID: 39595544
I had to make a few changes to the product class in order to get this working. Now this is a fully working solution.
0
 

Author Closing Comment

by:ModSpace
ID: 39605123
This solution is too simple for my present needs.
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Today I came across an interesting issue that had me pulling my hair out.  I was troubleshooting a new internal web site which uses integrated security instead of anonymous.  When browsing the site from my laptop, I was able to access it with no iss…
Running classic asp applications under Windows Server 2008 R2 (x64) and IIS 7 is not as easy as one may think. It took me a while to figure it out while getting error 8002801d a few times. After you install the OS you will need to install the fol…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

825 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