Error Loading Razor Script Debug
Contents |
here for a quick overview of the site umbdebugshowtrace=true Help Center Detailed answers to any questions you might have error loading macroengine script file Meta Discuss the workings and policies of this site About Us Learn more about
Umbracodebugmode
Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Error loading MacroEngine script (file: LawyerProfileView.cshtml) up vote 3 down vote favorite Working on site i been handed and suddnely a couple of macros have started playing up. Macro was working fine now suddenly this error showed up can anyone help here is the code. @using umbraco.MacroEngines @inherits umbraco.MacroEngines.DynamicNodeContext @functions{ public void SetPageTitle(string title) { var page = HttpContext.Current.Handler as Page; if (page != null){ page.Title = title; } } public DynamicNode Homepage { get { var homepage = Model; while(homepage.NodeTypeAlias != "Homepage"){ homepage = homepage.Parent; } return homepage; } } public HtmlString GetSocialMediaLink(string network, string url, string name) { var socialMediaRepo = Library.NodeById(-1).DescendantsOrSelf("SocialMediaNetworkRepository").First(); var socialNetworks = new List
clipboard Flag this post as spam? This post will be reported to the moderators as potential spam to be looked at Yes No These support forums are now closed for new topics and comments. Please head on over to http://eureka.ucommerce.net/ for support. Morgan K. 16 posts 57 karma points Feb 04, 2013 @ 23:56 0 Ucommerce Checkout: Error loading Razor Script uCommerce/Preview.cshtml uCommerce Support I add an item to my cart, go through the checkout process (filling out billing/shipping info, payment info, etc), get to the preview page, and click "Complete Order". I get the following error: "Error loading Razor Script uCommerce/Preview.cshtml". The order goes through in the back-end, as http://stackoverflow.com/questions/21490376/error-loading-macroengine-script-file-lawyerprofileview-cshtml it should. So the only issue is getting the Confirmation Page to display. I have all of the uCommerce js files in my scripts folder, and they are being called in the master template. My Preview macro looks the same as the Ucommerce demo store's. I don't know what the issue can be at this point, so any help would be appreciated! Copy Link Morten Skjoldager 436 posts 1491 karma points Feb 07, 2013 https://our.umbraco.org/projects/website-utilities/ucommerce/ucommerce-support/38100-Ucommerce-Checkout-Error-loading-Razor-Script-uCommercePreviewcshtml @ 10:47 100 Have you tried using the debugger at your preview macro. Whenever an unhandeled exception is thrown on a macro - in this case Preview.cshtml, you would get the error loading razor script uCommerce/Preview Copy Link Michael Knudsen 18 posts 40 karma points Feb 08, 2013 @ 08:43 0 Do you send a confirmation email?Might be SMTP settings or the page or data you use for the confirm email.Is the confirm email getting thru? Copy Link Morgan K. 16 posts 57 karma points Feb 08, 2013 @ 15:50 0 Morten, I used the debugger to find out what was the issue and it had to do with the confirmation email. Thanks guys! Copy Link Morten Skjoldager 436 posts 1491 karma points Feb 08, 2013 @ 19:15 0 Cool. If you could mark the question as resolved it would be nice :) Copy Link Please Sign in or register to post replies Write your reply to: Choose version Umbraco v7 Umbraco v6 Umbraco v4 uCommerce Support Editor Preview Preview Draft Upload image Image will be uploaded when post is submitted Our.umbraco.org is the community mothership for Umbraco, the open source asp.net cms. With a friendly forum for all your questions, a comprehensive documentation and a ton of packages from the community. This site is running Umbraco version 7.5.3
Websites Community Support ASP.NET Community Standup ForumsHelp Web Pages:Guidance Videos Samples https://www.asp.net/web-pages/overview/testing-and-debugging/aspnet-web-pages-razor-troubleshooting-guide Forum Books Open Source Testing and Debugging Getting StartedProgram https://umbraco.com/follow-us/blog-archive/2008/1/21/umbraco-debugging-made-easy/ ASP.NET Web Pages in Visual StudioIntro to ASP.NET Web Programming Razor SyntaxASP.NET Web Pages Visual BasicASP.NET Web Pages (Razor) FAQSending Email from Your SiteAdding Social Networking to Your WebsiteIntroducing ASP.NET Web Pages1. Getting Started2. Programming Basics3. error loading Displaying Data4. HTML Form Basics5. Entering Database Data by Using Forms6. Updating Database Data7. Deleting Database Data8. Creating a Consistent Layout9. Publishing a Site by Using WebMatrixExploring WebMatrixIntroduction to WebMatrixWebsite Creation with WebMatrix (Intermediate)Develop and deploy a web app with Microsoft WebMatrixRoutingCreating Readable URLs in ASP.NET error loading razor Web Pages SitesUI, Layouts, and ThemesWorking with FormsValidating User Input in ASP.NET Web Pages SitesCreating a Consistent LookCustomizing Site-Wide BehaviorWorking with ImagesWorking with VideoCreating and Using a Helper in an ASP.NET Web Pages SiteInstalling a HelperTwitter Helper with ASP.NET Web PagesDisplaying Maps in an ASP.NET Web Pages SiteMobileRendering ASP.NET Web Pages Sites for Mobile DevicesWorking with DataWorking with DataDisplaying Data in a ChartWorking with FilesTesting and DebuggingIntro to DebuggingASP.NET Web Pages (Razor) Troubleshooting GuideTroubleshooting Windows Azure Web Sites in Visual StudioSecurityAdding Security and MembershipAdding Security to Any SiteEnabling Login from External Sites in an ASP.NET Web Pages SiteUsing a CAPTCHA to Prevent Automated Programs (Bots) from Using Your ASP.NET Web SitePerformanceCaching to Improve the Performance of Your WebsiteAnalyzing TrafficBundling and Minifying Assets in an ASP.NET Web Pages (Razor) SiteDeploymentPublishing a site by using WebMatrixDevelop and Deplo
manually, you can start debugging with the click of a browser button in Internet Explorer or Firefox. See more at Umbraco debugging made easy at www.cpalm.dk 5 comment(s) for “Umbraco debugging made easy” Asmita Malu Says:13 Mar 09 @ 05:55 GMT+1I have created Login control using ASP.NET. But when i am including this control in Umbraco, i am getting error as "Error creating control (/usercontrols/LoginPage.ascx). Maybe file doesn't exists or the usercontrol has a cache directive, which is not allowed! See the tracestack for more information!" What needs to be done? babu Says:18 Dec 09 @ 06:15 GMT+1its so gret when nobody responds on shyte like this!!!!!!! Paul S Says:29 Aug 10 @ 10:22 GMT+1Append this to your URL ?umbDebugShowTrace=true Read this to make it easy http://www.cpalm.dk/1459.aspx Nurg Says:13 Jun 13 @ 09:07 GMT+1All the links in this article are dead. Nice work Umbraco. Ahmed Says:19 Sep 13 @ 01:06 GMT+1http://www.youtube.com/watch?v=yVt3yE1r5-I Says: Leave a comment You comment is being submitted... please wait... Your comment has been posted on umbraco in reply to: Umbraco debugging made easy Something horrible happened. and your comment could not be posted. Please ensure that all fields have correct values, and that yourEmail address is valid. Your Name: Your E-mail (not shown/shared): Your Comment Your comment is being submitted, please wait Your comment has been posted, thank you very much Blog archive umbraco tour products and support cloud training partners contact us Sign in/Register Get started with the the friendliest CMS on the planet Download Umbraco Products Features Partners Download Learn Training Videos Developer Site Support Product Support Documentation Blog Company Team Jobs Contact Follow us on twitter facebook google + Sign up for our newsletter