Click here to Skip to main content
15,891,136 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Please help - I have being trying to solve this problem for days.

I am running a very simple Web Role application containing RESTful WCF in local environment. I am using Visual Studio 2012 and Azure version 2.2 . In one of my machines (Windows 7, 32 bits) the application works as expected. But when being built and run in another machine (Windows 7, 64 bits) it causes the following error:

500 - Internal server error.
There is a problem with the resource you are looking for, and it cannot be displayed.

If you will kindly decide to help then you can download the application from here[^]. This is just few lines of code.

Request

http://127.0.0.1:81/ImagingSvc.svc/Init

causes the above error, whereas expected respomse on this request is following

<?xml version="1.0"?>
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">TEST</string>

When app. starts method
WebRole.OnStart() 
works fine (I debigged it), but after browser request breakpoint in
ImagingSvc.Init() 
method was never hit.

Thank you in advance.

Igor
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900