If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Enjoy an ad free experience by logging in. Not a member yet? Register.

Just codes a quick function to test this, and yes it does actually work fine on other files. Nothing is put into the div either so nothing is actually being returned, and at one point when I clicked it the image did rotate but still returned the errors. Won't rotate at all now though.

Users who have thanked felgall for this post:

URI formats are not supported.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ArgumentException: URI formats are not supported.
Source Error:
Line 11:
Line 12: //create an image object from the image in that path
Line 13: System.Drawing.Image img = System.Drawing.Image.FromFile(url);
Line 14:
Line 15: //Rotate the image in memory
Source File: c:\inetpub\wwwroot\testing\testing.aspx Line: 13