Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Page Plugin with TweetSharp
hnchan
#1 Posted : Friday, June 18, 2010 10:18:32 PM(UTC)
Rank: Advanced Member
Groups: Registered

Joined: 5/16/2010(UTC)
Posts: 36
Location: HK
Hello

I included tweetsharp lib in my page plug-in with the following namespace.

http://tweetsharp.codeplex.com/

using TweetSharp.Twitter;
using TweetSharp.Twitter.Fluent;
using TweetSharp.Model;
using TweetSharp.Twitter.Extensions;

However, following error occurred.

Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.]
System.Reflection.Module._GetTypesInternal(StackCrawlMark& stackMark) +0
System.Reflection.Assembly.GetTypes() +105
Everest.CmsServices.Extension.StandardPluginResolver`1.GetPluginsFromDirectory(String path) +258
Everest.CmsServices.Extension.StandardPluginResolver`1.GetPlugins() +383
Everest.CmsServices.Extension.StandardPluginResolver`1.Resolve(IEnumerable`1 typeNames) +169
Everest.CmsServices.Controllers.CommonController.GetPagePlugins() +1983
Everest.CmsServices.Controllers.CommonController.Execute() +518
lambda_method(ExecutionScope , ControllerBase , Object[] ) +43
System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters) +17
System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) +178
System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +24
System.Web.Mvc.<>c__DisplayClassd.<InvokeActionMethodWithFilters>b__a() +52
System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) +254
System.Web.Mvc.<>c__DisplayClassf.<InvokeActionMethodWithFilters>b__c() +19
System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodWithFilters(ControllerContext controllerContext, IList`1 filters, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +192
System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) +314
System.Web.Mvc.Controller.ExecuteCore() +105
System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext) +39
System.Web.Mvc.ControllerBase.System.Web.Mvc.IController.Execute(RequestContext requestContext) +7
System.Web.Mvc.<>c__DisplayClass8.<BeginProcessRequest>b__4() +34
System.Web.Mvc.Async.<>c__DisplayClass1.<MakeVoidDelegate>b__0() +21
System.Web.Mvc.Async.<>c__DisplayClass8`1.<BeginSynchronous>b__7(IAsyncResult _) +12
System.Web.Mvc.Async.WrappedAsyncResult`1.End() +59
System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) +44
System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest(IAsyncResult result) +7
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +8678910
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155

Why?

Thanks and Regards
Alex
luiz@wise.com.br
#2 Posted : Friday, June 18, 2010 10:20:28 PM(UTC)
Rank: Advanced Member
Groups: Registered

Joined: 3/4/2010(UTC)
Posts: 157
Location: brazil
Did you uploaded TweetSharp lib and it's dependencies with the plugin?
hnchan
#3 Posted : Friday, June 18, 2010 11:07:37 PM(UTC)
Rank: Advanced Member
Groups: Registered

Joined: 5/16/2010(UTC)
Posts: 36
Location: HK
Yes.
hnchan
#4 Posted : Friday, June 18, 2010 11:09:17 PM(UTC)
Rank: Advanced Member
Groups: Registered

Joined: 5/16/2010(UTC)
Posts: 36
Location: HK
BTW, my class name is oAuth and using System.Web;
Do I need to upload the lib for System.web?

luiz@wise.com.br
#5 Posted : Friday, June 18, 2010 11:55:36 PM(UTC)
Rank: Advanced Member
Groups: Registered

Joined: 3/4/2010(UTC)
Posts: 157
Location: brazil
is the kooboo server the same machine you develop?

could be some lib in the GAC that is missing?

hnchan
#6 Posted : Saturday, June 19, 2010 12:40:37 AM(UTC)
Rank: Advanced Member
Groups: Registered

Joined: 5/16/2010(UTC)
Posts: 36
Location: HK
Oh sorry, I fixed by reset the IIS.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF 1.9.5.5 | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.153 seconds.