Error loading the Page

Jun 23, 2008 at 11:28 AM
Hi

After i add and deploy the solution it says in my Share point  settings site "Unknown Error" and in the Index page says it encounterd an "critical Error"

I see in the Web config the safe control for this web part is there like this :

<SafeControl Assembly="SL.SharePoint.MediaViewer, Version=1.0.0.0, Culture=neutral, PublicKeyToken=bb99f30c0098259c" Namespace="SL.SharePoint.WebParts" TypeName="*" Safe="True" />
      <SafeControl Assembly="AjaxControlToolkit, Version=3.0.20229.20843, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e" Namespace="AjaxControlToolkit" TypeName="*" Safe="True" />
      <SafeControl Assembly="CodePlex.WebParts, Version=0.9.2.0, Culture=neutral, PublicKeyToken=a8975c53d715f889" Namespace="CodePlex.WebParts"TypeName="*" Safe="True" />

When I delete the solution the page works fine.


I want to use this web part for my picture library to view in silverlight slide show!

PLease reply

Mehfuz




Dont know what went wrong!

Please
Coordinator
Jun 23, 2008 at 12:22 PM
You probably don't have ASP .NET AJAX properly configured for SharePoint. Check out this post: http://blogs.msdn.com/sharepoint/archive/2007/03/02/integrating-asp-net-ajax-with-sharepoint.aspx

Steps 1-7 under "Extending SharePoint web.config files with Microsoft ASP.NET AJAX 1.0" topic.

After completing steps in blog post above, you need to change assembly version numbers from 1.0.61025.0 to 3.5.0.0.

There is also solution here in CodePlex that does this automatically. However, I don't have experience of it.
http://www.codeplex.com/ajaxifymoss

Also you can get better error message when you have enable detailed error messages. There are instructions for this in somewhere this forum.
Jun 25, 2008 at 6:41 AM

Hi

Mikko

Thanks For the help it worked fine the Problem was the Ajax configure and .net 3.5

But than also i have another problem My Library is in my local portal.

the name of the Library is "Photos" the location is http://portal.rbo.local/sites/eimage/Photos

here photo is the the libray name where all the picture are ...i give like this but it cant find the images..:(

it says missing equals sign between attributes and attribute value when i use the Library name "Photos"

any help?

Mehfuz