Solved

Web Part error on server only

Posted on 2011-03-01
5
329 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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Pimping Sharepoint 2007 without Server-Side Code Part 1 One of my biggest frustrations with Sharepoint 2007 in the corporate world is that while good-intentioned managers lock down the more interesting capabilities of Sharepoint programming in…
I thought I'd write this up for anyone who has a request to create an anonymous whistle-blower-type submission form created using SharePoint 2010 (this would probably work the same for 2013). It's not 100% fool-proof but it's as close as you can get…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

816 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

14 Experts available now in Live!

Get 1:1 Help Now