Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Nov 17, 2010 12:08 AM by camus
Member
209 Points
66 Posts
Nov 14, 2010 12:29 AM|LINK
Hi, i get an exception with linkshare helper.
[MethodAccessException: Attempt by method 'Microsoft.Web.Helpers.LinkShare.ConstructPageLinkBack(System.String ByRef, System.String ByRef)' to access method 'System.Web.WebPages.WebPageContext.get_HttpContext()' failed.] Microsoft.Web.Helpers.LinkShare.ConstructPageLinkBack(String& pageLinkBack, String& shortenedUrl) +33 Microsoft.Web.Helpers.LinkShare.GetHtml(String pageTitle, String pageLinkBack, String twitterUserName, String additionalTweetText, LinkShareSite[] linkSites) +70 ASP._ShowArticle_cshtml.Execute() in c:\www\Microsoft\DotNet\WebMatrixBeta3\WebMatrixBlog\Views\Public\_ShowArticle.cshtml:12 System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +172 System.Web.WebPages.WebPage.ExecutePageHierarchy(IEnumerable`1 executors) +68 System.Web.WebPages.WebPage.ExecutePageHierarchy() +156 System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +86 System.Web.WebPages.<>c__DisplayClass7.<RenderPage>b__6(TextWriter writer) +98 System.Web.WebPages.HelperResult.WriteTo(TextWriter writer) +12 System.Web.WebPages.WebPageBase.Write(HelperResult result) +67 ASP.ShowArticle_cshtml.Execute() in c:\www\Microsoft\DotNet\WebMatrixBeta3\WebMatrixBlog\Actions\Public\ShowArticle.cshtml:90 System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +172 System.Web.WebPages.WebPage.ExecutePageHierarchy(IEnumerable`1 executors) +68 System.Web.WebPages.WebPage.ExecutePageHierarchy() +156 System.Web.WebPages.StartPage.RunPage() +19 System.Web.WebPages.StartPage.ExecutePageHierarchy() +65 System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +74 System.Web.WebPages.WebPageHttpHandler.ProcessRequestInternal(HttpContext context) +247
Is there a bug or else Regards Mark Prades
linkshare razor
All-Star
17743 Points
1414 Posts
Nov 16, 2010 12:58 PM|LINK
Hi,
What's your WebMatrix version? As far as I know, in Beta3 WebPages.WebPageContext is removed.
For more details:
http://www.asp.net/webmatrix/readme
I hope this can be helpful for you.
Nov 17, 2010 12:08 AM|LINK
i'm on beta3.
i erased then re downloaded microsoft.web.helpers and i still got the error.
Regards.
camus
Member
209 Points
66 Posts
Exception with linkshare helper
Nov 14, 2010 12:29 AM|LINK
Hi, i get an exception with linkshare helper.
Is there a bug or else
Regards Mark Prades
linkshare razor
SimpleBlogCms powered by Razor and WebMatrix
XiaoCheng Fa...
All-Star
17743 Points
1414 Posts
Re: Exception with linkshare helper
Nov 16, 2010 12:58 PM|LINK
Hi,
What's your WebMatrix version? As far as I know, in Beta3 WebPages.WebPageContext is removed.
For more details:
http://www.asp.net/webmatrix/readme
I hope this can be helpful for you.
If you have any feedback about my replies, please contact msdnmg@microsoft.com
Microsoft One Code Framework
camus
Member
209 Points
66 Posts
Re: Exception with linkshare helper
Nov 17, 2010 12:08 AM|LINK
i'm on beta3.
i erased then re downloaded microsoft.web.helpers and i still got the error.
Regards.
SimpleBlogCms powered by Razor and WebMatrix