Office WebApps Server Error in '/x' Application

I am getting the following error when I attempt to open any MS Office Document within our SharePoint 2013 Foundations site. Help!

See Image for Runtime Error. It occurs on the web page.
2014-11-13-15-41-59.jpg
Robert MohrAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Dan McFaddenSystems EngineerCommented:
I would edit your web.config so you can see the actual error message.  Modify the following line of your config file:

<customErrors mode="RemoteOnly">

Open in new window


to this:

<customErrors mode="Off">

Open in new window


Or, if you do not want to do this, logon to the server where this application lives and try to go to the URL which is giving you the error.

Please post the error full text of the error message.

Dan
0
Robert MohrAuthor Commented:
Dan -

Thank-you for your help with this!

Where is the config file located? I attempted to do research (google) with no luck. I logged into IIS but I'm not sure where to go.

In regards to where the application resides, I entered the URL of the file and it still gave the same error
URL of file was http://<servername>/Shared%20Documents/test.xlsx?Web=1

Couple things to note -
When I deployed the single server office web apps server to use HTTP, I entered this line into PowerShell
New-OfficeWebAppsFarm -InternalURL "http://<servername>" -AllowHttp -EditingEnabled

When running above PowerShell command, I get a notice that says "You should only do this if users of this office web apps server have licenses that permit editing using office web apps." I went ahead and chose "Yes" even though I'm not sure what that means. Everyone has a copy of Office on their machines.

It's also worth noting that I received positive installation verification when entering the following link into a browser http://servername/hosting/discovery after I set up the webapps farm.

Here is configuration information -
My webapps server is Server 2008R2 (IIS 7)
SharePoint server is Server 2012R2 (IIS 8)
I'm considering putting SharePoint on Server 2008R2 so there's is a closer match with server and IIS.
My version of is SharePoint 2013 Foundations
I'm using this TechNet article to set up my webapps server. http://technet.microsoft.com/en-us/library/jj219455(v=office.15).aspx

Thoughts?
0
Dan McFaddenSystems EngineerCommented:
in IIS manager, go to the website that hosts the application, switch to content view and you should see the contents of the web application.  There should be a web.config there.

Then right-click on the site, select "manage website" and click "Advanced Settings."  There is a field called "Physical Path," that is where the web.config resides.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

Robert MohrAuthor Commented:
Dan

Thanks for assisting finding webconfig file(s).

No luck on that change however. The webconfig files on the SharePoint server had
<customErrors mode="On">
which I then changed to
<customErrors mode="Off">
I searched the WebApps server to see if the config file there even had <customErrors mode="Off"> and it had no customErrors line.

I have rebooted both my WebApps Server and my SharePoint Server.

Any further insight?
0
Robert MohrAuthor Commented:
It may be worth noting that when I now go to
http://<servername>/hosting/discovery
that I get a 404 error and the configuration verification page does not show. Augh!!!!!
0
Robert MohrAuthor Commented:
Scratch that last comment please. No 404.
0
Robert MohrAuthor Commented:
This helped find the path to a webconfig file. thank-you!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SharePoint

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.