Could not find file 'c:\inetpub\wwwroot\vector\img_novi\1-velika.jpg'.

Server Error in '/' Application.

Could not find file 'c:\inetpub\wwwroot\vector\img_novi\1-velika.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: Could not find file 'c:\inetpub\wwwroot\vector\img_novi\1-velika.jpg'.

Source Error:

The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:

1. Add a "Debug=true" directive at the top of the file that generated the error. Example:

  <%@ Page Language="C#" Debug="true" %>


2) Add the following section to the configuration file of your application:

       <compilation debug="true"/>

Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.

Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.

Stack Trace:

[FileNotFoundException: Could not find file 'c:\inetpub\wwwroot\vector\img_novi\1-velika.jpg'.]
   System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +504
   System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath) +2506
   System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy) +229
   System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) +102
   CodeCarvings.Piczard.Plugins.Foundation.BuiltinImageArchiver.LoadImageFromFileSystem(String filePath, Nullable`1 useEmbeddedColorManagement, Nullable`1 validateImageData, FileShare fileShare) +93
   CodeCarvings.Piczard.ImageArchiver.#=qfgXmTqa9RFG$x3aPi06n3VOHixgWBvUd9YLoPjKLUBg=(Object #=qks0u3Zz6S89naL5FMjdwPA==) +66
   CodeCarvings.Piczard.ImageProcessingJob.#=qqmFZAUDsi0X0y_TN3NUPun4ZeOLRa4dQ9YPaXpjD8bg=(Object #=qQmUW2EJwLJR8z0dhk01viQ==, FormatEncoderParams& #=qeev82iJLllmrfX2CBec1ZfXswWTQOywmEmHlGwN4hlk=, ImageProcessingTarget #=qZu6AqitQYIcQfX1S6ynATEmRNmrsXh2oWjU3MnZKdaw=, String #=qapeSy0gTswo2hXDzNIdeTw==) +644
   CodeCarvings.Piczard.ImageProcessingFilter.SaveProcessedImageToFileSystem(Object source, String destFilePath, FormatEncoderParams formatEncoderParams) +89
   Grid.resizeSlike(Object naziv, Object idnaziv) +416
   Grid.listajFajle(Object conn, Object upitKategorija, Object uvjetKat, Object sortiraj, Object _pLink, Object previousText, Object nextText, Object freevectortext, Object lang) +4661
   Grid.Page_Load(Object sender, EventArgs e) +2706
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +25
   System.Web.UI.Control.LoadRecursive() +116
   System.Web.UI.Control.LoadRecursive() +206
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2809

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1031