Hi,
I have been leaning C# and MVC 4 and have created a web service which output a list of products. I setup a Hyper-V VM running Windows Server 2012 + IIS web server + SQL Server 2012 Express.
The Web service seems to work ok when I run it on the VM using Firefox + Rest Client but when I try to run it on the host OS (Windows 8 Pro + Firefox + Rest Client) It returns nothing?
I did a basic single page website before doing the web service and that worked on the VM and host OS.
this is the error it gets:
<Error>
<Message>
No HTTP resource was found that matches the request URI 'http://192.168.43.107/api/product'.
</Message>
<MessageDetail>
No type was found that matches the controller named 'product'.
</MessageDetail>
</Error>
Any help would be greatly appreciated as I need to write a desktop app to pull data from it.
Thanks.
Well I got it to work by removing the site and then re-adding it and not using the built in account. I used the admin account instead.
I have been leaning C# and MVC 4 and have created a web service which output a list of products. I setup a Hyper-V VM running Windows Server 2012 + IIS web server + SQL Server 2012 Express.
The Web service seems to work ok when I run it on the VM using Firefox + Rest Client but when I try to run it on the host OS (Windows 8 Pro + Firefox + Rest Client) It returns nothing?
I did a basic single page website before doing the web service and that worked on the VM and host OS.
this is the error it gets:
<Error>
<Message>
No HTTP resource was found that matches the request URI 'http://192.168.43.107/api/product'.
</Message>
<MessageDetail>
No type was found that matches the controller named 'product'.
</MessageDetail>
</Error>
Any help would be greatly appreciated as I need to write a desktop app to pull data from it.
Thanks.
Well I got it to work by removing the site and then re-adding it and not using the built in account. I used the admin account instead.
Last edited: