Solved

Web Part error on server only

Posted on 2011-03-01
5
331 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Problem to copy file 14 81
Validation for Passport expiry in asp.net 2 29
ASP.NET generate check digit for ITF-14 and EAN-13 barcodes 4 31
How do I "share" on social sites? 2 32
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…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

734 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