Posts filed under ‘WSS’

Sharepoint loading assembly error in the event log

In my application event log window, I am getting this error:

Error: Failure in loading assembly: HelloWorldWebPart, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9f4da00116c38ec5

 

This is caused by your web.config referencing assembly that doesn’t exists any more. The most likely cause is that you added HelloWorldWebPart as a safecontrol as part of a tutorial and then delete it later, but didn’t remove the reference.

The web.config is located at C:\Inetpub\wwwroot\wss\VirtualDirectories\<port number>. In most cases, the port will probably be 80. If you examine the web.config file, you may find the following reference:

<SafeControl Assembly=”HelloWorldWebPart, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9f4da00116c38ec5″ Namespace=”HelloSpace” TypeName=”*” Safe=”True” />

 

Delete this reference and the problem will go away.

Advertisements

July 24, 2008 at 7:52 am 2 comments


Calendar

September 2017
M T W T F S S
« Jun    
 123
45678910
11121314151617
18192021222324
252627282930  

Posts by Month

Posts by Category