Red Gate forums :: View topic - "Too Many Files" error message.
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
Aardvark
Aardvark forum

"Too Many Files" error message.

Search in Aardvark forum
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Jump to:  
Author Message
chris sampson



Joined: 21 Sep 2004
Posts: 24
Location: Red Gate Sofware

PostPosted: Tue Nov 30, 2004 6:18 pm    Post subject: Reply with quote

Hi Jason,

May I ask, was anything put in your event logs at the time that this problem occured? Could you let me know what there is if so?
_________________
Chris Sampson
Support Engineer
Red Gate Software
Back to top
View user's profile Send private message
chris sampson



Joined: 21 Sep 2004
Posts: 24
Location: Red Gate Sofware

PostPosted: Fri Dec 03, 2004 1:15 pm    Post subject: Reply with quote

Hi Jason,

Could you let us know the exact text for the error message and any numbers etc. associated with it.
_________________
Chris Sampson
Support Engineer
Red Gate Software
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6678

PostPosted: Thu Dec 09, 2004 7:48 pm    Post subject: Reply with quote

Hi Jason,

From the Aardvark code it looks like there may be a potential problem if you have more than one entry in the attachments table for the same attachment on the same bug.

Maybe you can find out by running a query in the Aardvark database to find the records for the attachment:

Code:
SELECT * FROM Attachments WHERE CompanyID=<your company ID, from the Companies table> AND RecordID=<bug id>
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6678

PostPosted: Wed Dec 15, 2004 1:27 pm    Post subject: Reply with quote

Hi Jason,

You can have many files with the same file name attached to an issue because the real 'physical' file name is a GUID. I've tested this bit and it works. It must be some system problem.
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6678

PostPosted: Wed Dec 15, 2004 1:43 pm    Post subject: Reply with quote

Hi Jason,

Do the filenames have speces in them? Maybe it would help to change download.asp so that the content-disposition header it sends is embedded in quotes.
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6678

PostPosted: Thu Jan 20, 2005 7:07 pm    Post subject: Reply with quote

Hi Jason,

I've given up on the assumption that it's ASP, IIS or Aardvark that is throwing the error and concentrated on Visual Basic. 'Too Many Files' is a VB error (error number 67) that seems to hark back to the DOS days when you had to specify how many open files you could have at one time in your config.sys. I don't see how this applies to Windows 2003, but maybe the suggestions in the technet article help?

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbenlr98/html/vamsgTooManyFiles.asp
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6678

PostPosted: Sat Jan 22, 2005 1:22 pm    Post subject: Reply with quote

Hi Jason,

I had a feeling this wouldn't work (unless you run DOS!). How about updating your Visual Basic Runtime and see if that helps? There could be a problem with the VB Runtime installation. Here is a link where you can download the VB 6.0 SP5 archive:

http://www.microsoft.com/downloads/details.aspx?FamilyID=bf9a24f9-b5c5-48f4-8edd-cdf2d29a79d5&DisplayLang=en
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6678

PostPosted: Fri May 20, 2005 3:04 pm    Post subject: Reply with quote

Just to confirm, the solution to this problem was to update the VB Runtime (VBRUN60.dll). This eliminated the 'too many open files' error for two occurrances of this problem.
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies. All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group