Profile Picture

Cannot connect to data source. Error was: Exception has been thrown by the target of an invocation.

Posted By Gregory Diana 9 Years Ago

Cannot connect to data source. Error was: Exception has been thrown by...

Author
Message
Gregory Diana
Posted 9 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)

Group: Forum Members
Last Active: 9 Years Ago
Posts: 2, Visits: 1

I am evaluating Nevron Vison for Sharepoint and trying to create a chart from data stored in an excel file stored in Sharepoint. Deatils are as follows;

Microsoft Server 2008 R2

Sharepoint 2010 Enterprise, with Excel activated on farm and site, same with Nevron. Am site farm/ owner / adminstrator

Nevron Vision appeared to install fine without any problems. Activated Nevron services etc.

Added web part, no problem, tried to link to excel file, using excel services see attached pic. Could not insert using Insert pic.

Kind regards

Greg Diana

 

 

 



Attachments
error1.jpg (492 views, 50.00 KB)
Nevron Support
Posted 9 Years Ago
View Quick Profile
Supreme Being

Supreme Being (3,958 reputation)Supreme Being (3,958 reputation)Supreme Being (3,958 reputation)Supreme Being (3,958 reputation)Supreme Being (3,958 reputation)Supreme Being (3,958 reputation)Supreme Being (3,958 reputation)Supreme Being (3,958 reputation)Supreme Being (3,958 reputation)

Group: Forum Members
Last Active: Last Month
Posts: 2,892, Visits: 3,094

Hello Greg,

From the attached image, it looks that there is difference between the server that you run the chart web part (http://localhost) and the server for your Excel file (http://dbnems4).

This is the reason for the error message.

Let us know if you have specific farm configuration and if you were able to solve this problem.



Best Regards,
Nevron Support Team



Gregory Diana
Posted 9 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)

Group: Forum Members
Last Active: 9 Years Ago
Posts: 2, Visits: 1

Thanks for this.

However localhost and dbnems4 are the same. Sharepoint uses port 80, by default, so one has to deactiveate the default IIS web site (also port 80). Sharepoint may thus be called using either dbnems4 and / or localhost as both refer to the sharepoint root.

Otherwise on server 2008 the default locahost on port 80 refers to the IIS 7 default aspx page, which it is not doing here as the service has been stopped.

I have tried both localhost and dbnems4 in the web part and both give same result. The http link was copied from the excel file stored in the sharepoint directory as indicated. The same link works in IE and in sharepoint for other web parts.

Cheers





Similar Topics


Reading This Topic