Hello,
I have a web application in ASP.NET 1.1 using windows authentication mode. In the application, I have the ability to upload an image. On my computer, the application works great... no errors. However, when I move it to the server, I receive the following error....
Server Error in '/StoresOnline' Application.
--------------------------------------------------------------------------------
C:\Documents and Settings\ohu.DOEORO\My Documents\My Pictures\SierraGirl.jpg 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.IO.FileNotFoundException: C:\Documents and Settings\ohu.DOEORO\My Documents\My Pictures\SierraGirl.jpg
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[FileNotFoundException: C:\Documents and Settings\ohu.DOEORO\My Documents\My Pictures\SierraGirl.jpg] System.Drawing.Image.FromFile(String filename, Boolean useEmbeddedColorManagement) +205 System.Drawing.Image.FromFile(String filename) +7 StoresOnLine.EditItem_1.btnUpdate_Click(Object sender, EventArgs e) +241 System.Web.UI.WebControls.Button.OnClick(EventArgs e) +108 System.Web.UI.WebControls.Button.System.Web.UI.IPo stBackEventHandler.RaisePostBackEvent(String eventArgument) +57 System.Web.UI.Page.RaisePostBackEvent(IPostBackEve ntHandler sourceControl, String eventArgument) +18 System.Web.UI.Page.RaisePostBackEvent(NameValueCol lection postData) +33 System.Web.UI.Page.ProcessRequestMain() +1292
I have a suspicion that this error is related to permissions but I don't know where to look... My computer runs Windows XP and the server is Windows 2003. Thanks in advance for any help.