Gemini Community Support Site

This Gemini community support site can be used to find solutions to product issues. You can log in using Open Id, Google Profile and even Facebook. Feel free to ask a question or browse FAQs and documentation. Product tour videos are also available along with how-to videos demonstrating key Gemini capabilities.




Attachment upload limit problem - 3.6.1 Build 2571

web-app

When I do upload attachment only 8000 bytes is uploaded.
Download works fine. I already have files in the database that is larger than 8000 bytes and they works fine when downloaded. So this has to do with the upload.

I run version 3.6.1 Build 2571 but had the same problem on 3.6

I use this setting is the web.config

<httpRuntime executionTimeout="90" maxRequestLength="16384" />

Any clues?

Svein Helge
· 1
Svein Helge
Replies (9)
helpful
0
not helpful

Is that comment attachment or issue ones?
We have re-tested this and it seems to work ok.
Do you have any errors in the log?
Also, please try it on our site: http://gemini.countersoft.com


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

This applies to both.

No errors in the log.

It does work on http://gemini.countersoft.com

 

 


Svein Helge
· 1
Svein Helge
helpful
0
not helpful

It looks like a network related issue (on your server).
In the past we have seen firewalls and anti-virus software interference with attachments.
Please check that.


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

I have tried it without both antivirus and firewall but have the same problem.


Svein Helge
· 1
Svein Helge
helpful
0
not helpful

Did you check if your database has enough space to grow?


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

The database uses auto growth. 40 MB is free at the moment.

If I upload a file with size 8100 bytes or 20000 bytes the file will be 8000 in the database. The size column (contentlength column) do have the correct value.

 

 


Svein Helge
· 1
Svein Helge
helpful
0
not helpful

I have found the problem:

If preparesql is set to true I get this problem. If it's set to false everything works fine.

<property name="preparesql">false</property>

Does this mean that you do have a problem with how prepare sql is handled by Hibernate?


Svein Helge
· 1
Svein Helge
helpful
0
not helpful

It might be. However, we can't reproduce it with the same settings.
Which version of IIS and SQL Server are you using?

Many thanks for the update!


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

Web server: IIS V6.0.

Database: MS SQL 2005 (9.0.4053)

Server: Windows 2003 SE SP2


Svein Helge
· 1
Svein Helge