Welcome to LEAD Support Forum Login | Register | Faq  

    LEAD Support Forum
  Resource to find answers and post technical questions about LEAD products.
Search    
   

Re: Error code 20010 for images over network
Started by Prathiba at 10-11-2007 10:55. Topic has 3 replies.

Print Search « Previous Thread Next Thread »
  10-11-2007, 10:55
Prathiba is not online. Last active: 10/11/2007 3:53:42 PM Prathiba

Not Ranked
Joined on 10-11-2007
Posts 1
Error code 20010 for images over network
Reply Quote
Hi,


We are having a web application in ASP.NET2.0 . We are using Lead tools version 13 in our application. When we

try to load the image located in another system from the web application installed and running in my local machine I

am getting the following error

---------------------------
CT Summation
---------------------------
Image (anyimage2.jpg) GetFileInfo failed with error code: 20010. Page: 0; Flags: FILEINFO_TOTALPAGES.
Support Locked: Doc: False; Gif False; Tif False; Pdf Falseat

Summation.Web.UI.GetImage.ThrowImageGetFileInfoError(Int32 nRet, String imageFilePath, Int32 page, Int32 flags) in

C:\2.5.3Dev\Dev\2.5.3\WebBlaze\WebBlaze\GetImage.aspx.cs:line 920
at Summation.Web.UI.GetImage.GetNumMultiPages(String sImgFile) in

C:\2.5.3Dev\Dev\2.5.3\WebBlaze\WebBlaze\GetImage.aspx.cs:line 991
at Summation.Web.UI.GetImage.BurnInRedactionsIfNecessary() in

C:\2.5.3Dev\Dev\2.5.3\WebBlaze\WebBlaze\GetImage.aspx.cs:line 497
at Summation.Web.UI.GetImage.Page_Load(Object sender, EventArgs e) in

C:\2.5.3Dev\Dev\2.5.3\WebBlaze\WebBlaze\GetImage.aspx.cs:line 143
---------------------------
OK
---------------------------

Kindly help us in this issue
   Report 
  10-11-2007, 17:31
jigar is not online. Last active: 11/18/2008 10:04:38 AM jigar



Top 10 Posts
Joined on 08-22-2007
Posts 446
Re: Error code 20010 for images over network
Reply Quote
Hello Pratibha,

Error code 20010 means file not found.  Make sure you have the correct path to the file.  Since you are accessing the file over the network there could be other reasons for that error being thrown.  If the file path is correct, create a StreamReader or FileStream object and try to read some bytes from the stream.  If it throws an error, then you'll have to check for other things like access rights and such.  Where is the image stored?  Is it on a webserver, network drive, or in a shared folder somewhere in the network?

LEADTOOLS Technical Support
   Report 
  10-15-2007, 3:59
Prathi is not online. Last active: 10/15/2007 8:53:37 AM Prathi

Not Ranked
Joined on 07-13-2007
Posts 5
Re: Error code 20010 for images over network
Reply Quote
Hi jigar,

Thanks for the reply. I tried reading the file over the network using filestream. There was no error.

Actually the images are stored in a shared folder in the network.

Thanks
Prathiba.
   Report 
  10-16-2007, 10:46
jigar is not online. Last active: 11/18/2008 10:04:38 AM jigar



Top 10 Posts
Joined on 08-22-2007
Posts 446
Re: Error code 20010 for images over network
Reply Quote
Hello Prathiba,

I did a quick test of loading an image from a network drive and viewing it with the RasterImageViewer.  I didn't have any problems with that.  Can you send a sample program, but not the whole program, to support@leadtools.com

Mention my name and this post in the email and I'll be able to take hold of it.  Then I can test it here and see what happens.

LEADTOOLS Technical Support
   Report 
Post
LEAD Support Fo... » Developer » Internet » Re: Error code 20010 for images over network

Powered by Community Server, by Telligent Systems