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
Solved

Web Part error on server only

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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Suggested Solutions

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…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

856 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