Uploading files to Document.Library throws an error.

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
2/27/2012 10:10:01 AM
Gravatar
Total Posts 3

Uploading files to Document.Library throws an error.

Hi, when I try to upload a word document to the Document.Library, I get the following error.

mojoPortal version: 2.3.6.2 MSSQL.

Operating System Microsoft Windows NT 6.0.6002 Service Pack 2

ASP.NET Info v4.0.30319 Running in Partial Trust

Server Error in '/Promise' Application.

Operation is not valid due to the current state of the object.

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.InvalidOperationException: Operation is not valid due to the current state of the object.

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:

[InvalidOperationException: Operation is not valid due to the current state of the object.] System.Web.HttpRequest.FillInFormCollection() +9037530 System.Web.HttpRequest.get_Form() +104 System.Web.HttpRequest.get_HasForm() +9038047 System.Web.UI.Page.GetCollectionBasedOnMethod(Boolean dontReturnNull) +97 System.Web.UI.Page.DeterminePostBackMode() +69 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +135

2/27/2012 10:26:25 AM
Gravatar
Total Posts 18439

Re: Uploading files to Document.Library throws an error.

Hi,

See this thread, for information about this error and a workaround.

Hope that helps,

Joe

2/27/2012 10:29:40 AM
Gravatar
Total Posts 3

Re: Uploading files to Document.Library throws an error.

I tried this already. I increased the value up to 10000 but still it throws an error when I upload.

You must sign in to post in the forums. This thread is closed to new posts.