Solved

Web Part error on server only

Posted on 2011-03-01
5
328 Views
Last Modified: 2012-05-11
Hi all,

I'm having the following issue. My developers have made an update to a component we run on our SharePoint farm.  For some unclear reason, they changed the public token of the assemblies in the wsp solution.

After clearing up all the issue I'm left with one problem:

When I want to look at a site in a web application with the wsp installed i have to following issues

On the server accessing the site using http://MyServer/sites/Site1  all web parts, including all of the OOB webparts, generate the following error: "Web Page Error: This page has encountered a critical error. Contact your system administrator if this problem persists." If I retract the solution from this web app, everything returns to normal.

While this happens no messages appear in the ULS although running on verbose


However when viewing the site  on a client pc, the webparts run fine...

and stranger

when using http://localhost/sites/Site1  on the server... the webparts also render correctly

Any ideas? Sites are always viewed in the same 'internet zone'


thx

Bart

0
Comment
Question by:Bart-Vandyck
  • 3
5 Comments
 
LVL 9

Expert Comment

by:Deathrace
ID: 35008974
configure alternate access mappings to your site, if you can render with localhost and not with hostname may be you have to change host file which is located in
C:\Windows\System32\drivers\etc

map the localhost to hostname(Myserver) and try rendering the page now..
0
 
LVL 6

Expert Comment

by:sabby447
ID: 35020469
What it looks as is that you are trying to use the url on the same server where you have the site and please share if you are using a different host header name, If yes then you will have to add that host header in backward host header check or disable loopback check  in registry, Follow this article : http://support.microsoft.com/kb/896861  

Try adding the url in trusted zone on server if the above doesnt work
0
 
LVL 4

Author Comment

by:Bart-Vandyck
ID: 35024870
Well I don't believe it to be related to the name I use. The name I use on the server is infact the netbios name of the server, and the sitecollection is setup without a host header name. Further if I retract the solution everything  starts working again on the server....

The loopback has been disabled allready...


(when using the URL http://localhost I actually see a error in the eventlog that no managed path for this is defined, but this seems normal as I did define one and I don't want to)
0
 
LVL 4

Accepted Solution

by:
Bart-Vandyck earned 0 total points
ID: 35027163


I found the problem. When installing the new WSP file one of the dll's got not replicated to the second WFE Server. I guess by using 'localhost' it only looks at the current servers...

Still strange behavior but I'm happy it works now!
0
 
LVL 4

Author Closing Comment

by:Bart-Vandyck
ID: 35067724
Own solution found
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Note:  There are two main ways to deploy InfoPath forms:  Server-side and directly through the SharePoint site.  Deploying a server-side InfoPath form means the form is approved by the Administrator, thus allowing greater functionality in the form. …
ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now