I want to take a photo with the camera and show it on the page I am at
So I have a ViewModel where I both take the picture and show it
public class CamVi
I think you need to step through and debug the photo code.
You could also try adding some trace to the Exception catch handlers.
One guess is that your GUID based file name includes invalid characters - see http://msdn.microsoft.com/en-us/library/system.io.path.getinvalidpathchars%28v=vs.95%29.aspx Try Guid.ToString("N") + ".jpg"
for a slightly less mangled file name
But really you need to trace through the code and find out where the error is occurring.