Solved

REST WCF Causes IIS to crash

Posted on 2013-10-22
6
420 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 74

Expert Comment

by:käµfm³d 👽
Comment Utility
Which project?
0
 

Author Comment

by:ModSpace
Comment Utility
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 74

Expert Comment

by:käµfm³d 👽
Comment Utility
There's no attachment in your original post.
0
Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

 

Author Comment

by:ModSpace
Comment Utility
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
Comment Utility
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
Comment Utility
This solution is too simple for my present needs.
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Suggested Solutions

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…
Lync server 2013 Backup Service Error ID 4049 – After File Share Migration
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

763 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

9 Experts available now in Live!

Get 1:1 Help Now