Error connecting to server, MS-office Add-in

Wednesday, January 4, 2012 2:03:42 PM

Hi,

I have trouble connecting to my SpiraTeam server with the MS-Office Add-in. When i click connect the software response with an error message, something like;

"Unable to connect to server. The error message was: 'It was not possible to activate the requested service https://192.168.11.100/SpiraTeam/services/v3_0/ImportExport.svc."

Is it something wrong with the software on my server or is it something wrong with the Add-in? I-¦m using SpiraTeam 3.1 patch 15 and the MS-Office Ad-in is version 3.0.1.

Can you give me any hints how to proceed with this error?

Thanks!

Regards

5 Replies
Thursday, January 5, 2012 4:40:02 PM
Avatar
re: PeterHall on Wednesday, January 4, 2012 2:03:42 PM

You probably need to open up the Web.Config file on the server and change the following line:

<behavior name="Inflectra.SpiraTest.Web.Services.v3_0.ServiceBehavior">

<dataContractSerializer maxItemsInObjectGraph="2147483647"/>

<serviceMetadata httpGetEnabled="true" httpsGetEnabled="false" />

<serviceDebug includeExceptionDetailInFaults="true" />

</behavior>

to

<behavior name="Inflectra.SpiraTest.Web.Services.v3_0.ServiceBehavior">

<dataContractSerializer maxItemsInObjectGraph="2147483647"/>

<serviceMetadata httpGetEnabled="false" httpsGetEnabled="true" />

<serviceDebug includeExceptionDetailInFaults="true" />

</behavior>

Does that fix the issue?

Monday, January 9, 2012 11:44:03 AM
Avatar
re: inflectra.adam on Thursday, January 5, 2012

Thanks, the provided soultions solved my issue.

Isn-¦t it possible to import requirements from SpiraTeam in to a Word document, for example like in the Excel importer/exporter?

Thursday, January 12, 2012 5:34:26 PM
Avatar
re: PeterHall on Monday, January 9, 2012
I'm afraid not, but you can use the Reports tab to generate reports in MS-Word format.
Friday, March 23, 2012 5:22:10 AM
Avatar
re: inflectra.adam on Thursday, January 5, 2012
Good evening:
Before I try that (which implies contacting the administrator, a little complicated task at my site), how come it works on one computer and doesn't on another (failing with the error described in this thread)?

(It used to work in this client before, under Excel 2003.  It was then upgraded to Excel 2007 and didn't try the feature for more than a year)

Is there any setting on the client one can touch?
Wednesday, April 4, 2012 6:01:51 PM
Avatar
re: aferrari on Friday, March 23, 2012
It depends on the server. If the site is available in HTTP only or under both HTTP and HTTPS then the default settings work. If the site is only available under HTTPS then you need to make the change described in this thread.
Statistics
  • Started: Wednesday, January 4, 2012 2:03:42 PM
  • Last Reply: Wednesday, April 4, 2012 6:01:51 PM
  • Replies: 5
  • Views: 5206