Try the fastest and simplest way to install ONLYOFFICE

exception has been thrown by the target of an invocation

Adding a first (new) user / portal activity notifications / email / chat

exception has been thrown by the target of an invocation

Postby dpap » Wed Jan 06, 2016 1:55 am

Hi,

i've installed onlyoffice on a centos 7 according to the official instructions.
When i try to access the documents section i get this error "exception has been thrown by the target of an invocation"
Any suggestions?
dpap
 
Posts: 36
Joined: Sun May 31, 2015 11:30 am

Re: exception has been thrown by the target of an invocation

Postby dpap » Wed Jan 06, 2016 2:05 am

Also i can access onlyoffice portal only by the ip 127.0.0.1 and not localhost.
I don't know if these 2 issues have something in common
dpap
 
Posts: 36
Joined: Sun May 31, 2015 11:30 am

Re: exception has been thrown by the target of an invocation

Postby Dean » Wed Jan 06, 2016 1:34 pm

Hello,

Please specify the exact version of the ONLYOFFICE you've installed and the method of installation?
Dean
 
Posts: 700
Joined: Tue Sep 30, 2014 11:04 am

Re: exception has been thrown by the target of an invocation

Postby dpap » Wed Jan 06, 2016 11:19 pm

I've used these instructions http://helpcenter.onlyoffice.com/server ... ation.aspx for installing on a centos 7
dpap
 
Posts: 36
Joined: Sun May 31, 2015 11:30 am

Re: exception has been thrown by the target of an invocation

Postby dpap » Fri Jan 08, 2016 7:22 pm

Any suggestion?
dpap
 
Posts: 36
Joined: Sun May 31, 2015 11:30 am

Re: exception has been thrown by the target of an invocation

Postby dpap » Tue Jan 12, 2016 6:01 pm

Version of community server is 8.5, centos version 7
dpap
 
Posts: 36
Joined: Sun May 31, 2015 11:30 am

Re: exception has been thrown by the target of an invocation

Postby Alex » Wed Jan 13, 2016 1:59 pm

If there are any errors in the browser console, make a screenshot of them and describe your actions step by step
Also i can access onlyoffice portal only by the ip 127.0.0.1 and not localhost.
I don't know if these 2 issues have something in common

Can the portal be accessed by the local ip?
Alex
 
Posts: 50
Joined: Sat Nov 07, 2015 3:19 pm

Re: exception has been thrown by the target of an invocation

Postby dpap » Wed Jan 13, 2016 9:27 pm

Now i can access both localhost and 127.0.0.1

i'm getting a 400 bad request when trying to access the documents. Below is the url. After this is the error.
http://my-ip/products/files/services/wc ... 2720237359

Code: Select all
<error xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Detail>Exception has been thrown by the target
 of an invocation.</Detail><inner><message>Exception has been thrown by the target of an invocation.
</message><source>mscorlib</source><stack>  at System.Reflection.MonoMethod.Invoke (System.Object obj
, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization
.CultureInfo culture) &lt;0x41329470 + 0x00127&gt; in &lt;filename unknown&gt;:0
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) &lt;0x4130faa0
 + 0x0002a&gt; in &lt;filename unknown&gt;:0
  at System.Runtime.Serialization.XmlFormatWriterInterpreter.InternalSerialize (System.Reflection.MethodInfo
 methodInfo, System.Func`1 memberValue, System.Type memberType, Boolean writeXsiType) &lt;0x40866cc0
 + 0x00293&gt; in &lt;filename unknown&gt;:0
  at System.Runtime.Serialization.XmlFormatWriterInterpreter.WriteValue (System.Type memberType, System
.Object memberValue, Boolean writeXsiType) &lt;0x40865ee0 + 0x00a47&gt; in &lt;filename unknown&gt;:0
 
  at System.Runtime.Serialization.XmlFormatWriterInterpreter.WriteMembers (System.Runtime.Serialization
.ClassDataContract classContract, System.Runtime.Serialization.ExtensionDataObject extensionData, System
.Runtime.Serialization.ClassDataContract derivedMostClassContract) &lt;0x408643b0 + 0x004c3&gt; in &lt
;filename unknown&gt;:0
  at System.Runtime.Serialization.XmlFormatWriterInterpreter.WriteClass (System.Runtime.Serialization
.ClassDataContract classContract) &lt;0x40861380 + 0x003f7&gt; in &lt;filename unknown&gt;:0
  at System.Runtime.Serialization.XmlFormatWriterInterpreter.WriteToXml (System.Runtime.Serialization
.XmlWriterDelegator xmlWriter, System.Object obj, System.Runtime.Serialization.XmlObjectSerializerWriteContext
 context, System.Runtime.Serialization.ClassDataContract dataContract) &lt;0x40861030 + 0x00153&gt; in
 &lt;filename unknown&gt;:0
  at System.Runtime.Serialization.XmlFormatWriterGenerator+CriticalHelper+&lt;GenerateClassWriter&gt
;c__AnonStorey0.&lt;&gt;m__0 (System.Runtime.Serialization.XmlWriterDelegator xw, System.Object obj,
 System.Runtime.Serialization.XmlObjectSerializerWriteContext ctx, System.Runtime.Serialization.ClassDataContract
 ctr) &lt;0x40860f20 + 0x00077&gt; in &lt;filename unknown&gt;:0
  at System.Runtime.Serialization.ClassDataContract.WriteXmlValue (System.Runtime.Serialization.XmlWriterDelegator
 xmlWriter, System.Object obj, System.Runtime.Serialization.XmlObjectSerializerWriteContext context)
 &lt;0x40860a60 + 0x0003c&gt; in &lt;filename unknown&gt;:0
  at System.Runtime.Serialization.XmlObjectSerializerWriteContext.WriteDataContractValue (System.Runtime
.Serialization.DataContract dataContract, System.Runtime.Serialization.XmlWriterDelegator xmlWriter,
 System.Object obj, RuntimeTypeHandle declaredTypeHandle) &lt;0x40860a20 + 0x00035&gt; in &lt;filename
 unknown&gt;:0
  at System.Runtime.Serialization.XmlObjectSerializerWriteContext.SerializeWithoutXsiType (System.Runtime
.Serialization.DataContract dataContract, System.Runtime.Serialization.XmlWriterDelegator xmlWriter,
 System.Object obj, RuntimeTypeHandle declaredTypeHandle) &lt;0x408605e0 + 0x000d6&gt; in &lt;filename
 unknown&gt;:0
  at System.Runtime.Serialization.DataContractSerializer.InternalWriteObjectContent (System.Runtime.Serialization
.XmlWriterDelegator writer, System.Object graph, System.Runtime.Serialization.DataContractResolver dataContractResolver
) &lt;0x4085eff0 + 0x0016b&gt; in &lt;filename unknown&gt;:0
  at System.Runtime.Serialization.DataContractSerializer.InternalWriteObject (System.Runtime.Serialization
.XmlWriterDelegator writer, System.Object graph, System.Runtime.Serialization.DataContractResolver dataContractResolver
) &lt;0x4085da10 + 0x0003f&gt; in &lt;filename unknown&gt;:0
  at System.Runtime.Serialization.XmlObjectSerializer.WriteObjectHandleExceptions (System.Runtime.Serialization
.XmlWriterDelegator writer, System.Object graph, System.Runtime.Serialization.DataContractResolver dataContractResolver
) &lt;0x4085d700 + 0x001e0&gt; in &lt;filename unknown&gt;:0
  at System.Runtime.Serialization.XmlObjectSerializer.WriteObjectHandleExceptions (System.Runtime.Serialization
.XmlWriterDelegator writer, System.Object graph) &lt;0x4085d6d0 + 0x0001b&gt; in &lt;filename unknown
&gt;:0
  at System.Runtime.Serialization.XmlObjectSerializer.WriteObject (System.Xml.XmlDictionaryWriter writer
, System.Object graph) &lt;0x4085d540 + 0x00053&gt; in &lt;filename unknown&gt;:0
  at ASC.Web.Files.Services.WCFService.FileEntrySerializer.ToXml (System.Object o) &lt;0x4085b850 + 0x00111
&gt; in &lt;filename unknown&gt;:0
  at ASC.Web.Files.Services.WCFService.FileStorageServiceController.GetFolderItemsXml (System.String
 parentId, Int32 from, Int32 count, FilterType filter, ASC.Files.Core.OrderBy orderBy, System.String
 subjectID, System.String search) &lt;0x4083f510 + 0x000af&gt; in &lt;filename unknown&gt;:0
  at (wrapper dynamic-method) System.Object:lambda_method (System.Runtime.CompilerServices.Closure,object
,object[])
  at System.Web.Http.Controllers.ReflectedHttpActionDescriptor+ActionExecutor+&lt;&gt;c__DisplayClass13
.&lt;GetExecutor&gt;b__c (System.Object instance, System.Object[] methodParameters) &lt;0x4083f3b0 +
 0x00039&gt; in &lt;filename unknown&gt;:0
  at System.Web.Http.Controllers.ReflectedHttpActionDescriptor+ActionExecutor.Execute (System.Object
 instance, System.Object[] arguments) &lt;0x4083f370 + 0x0002d&gt; in &lt;filename unknown&gt;:0
  at System.Web.Http.Controllers.ReflectedHttpActionDescriptor+&lt;&gt;c__DisplayClass5.&lt;ExecuteAsync
&gt;b__4 () &lt;0x4083c930 + 0x0005b&gt; in &lt;filename unknown&gt;:0
  at System.Threading.Tasks.TaskHelpers.RunSynchronously[TResult] (System.Func`1 func, CancellationToken
 cancellationToken) &lt;0x4083c4a0 + 0x0005f&gt; in &lt;filename unknown&gt;:0 </stack><type>System.Reflection
.TargetInvocationException</type></inner><message>Κακό αίτημα.</message></error>
dpap
 
Posts: 36
Joined: Sun May 31, 2015 11:30 am

Re: exception has been thrown by the target of an invocation

Postby dpap » Wed Jan 20, 2016 9:08 pm

Any suggestions on this?
dpap
 
Posts: 36
Joined: Sun May 31, 2015 11:30 am

Re: exception has been thrown by the target of an invocation

Postby dpap » Thu Jan 21, 2016 6:50 pm

From the error it seems to have an issue with mono and mscrolib.dll
I've disabled the firewall just in case it blocks something but no luck
dpap
 
Posts: 36
Joined: Sun May 31, 2015 11:30 am

Next

Return to Notification issues

Who is online

Users browsing this forum: No registered users and 1 guest