Hi,
Is there a provision for sitemappath in your project.
Thanks Anwar
Hello
I get this following error when i published this site on 3rd party server
err screen shot is attached, please tell me what is the reason, also please tell me how to publish database i did a export from my database to server database all table s and data was transferred but all primary keys and forignkeys was not created.
thanks
hello i want to access a 3rd party control pptxgen from our index.js file
i have attached a snapshot of the code running on top you can see the shape.js file and below the unpr error
i have put the 3rd party scripts in the lib folder and put a correct path in the App_start/ScriptsPath as follows
public const string pptxgen = "~/libs/pptxgenjs/pptxgen.js";
Can you please tell me how i can instantiate this in our js page not frontend, i have attached the js file, i have created a folder under lib in the project and put it there.
the code would go as follows
var pptx = new PptxGenJS(); var slide = pptx.addNewSlide();
slide.addText('Hello world!', { x: 1.0, y: 1.0, font_size: 42, color: '00FF00' }); pptx.save('Demo-Simple');
@using System.Web.Optimization @using Abp.Timing @using Abp.Web.Mvc.Extensions @using Samit.CmsProTest.Localization @using Samit.CmsProTest.Web.Bundling @{ Layout = null; SetAntiForgeryCookie(); } <!DOCTYPE html>
<html lang="en" dir=@(CultureHelper.IsRtl ? "rtl" : "")>
<head> <meta charset="utf-8" /> <title>CmsProTest</title> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta content="width=device-width, initial-scale=1.0" name="viewport" /> <meta http-equiv="Content-type" content="text/html; charset=utf-8">
@* Fill these meta tags upon your project specification *@
<meta content="CmsProTest" name="description" />
<meta content="CmsProTest" name="keywords">
<meta content="CmsProTest" name="author" />
<link rel="shortcut icon" href="~/favicon.ico" />
<link href="~/Content/fonts-open-sans.css" rel="stylesheet" type="text/css" />
@Html.IncludeStyle(StylePaths.FontAwesome)
@Html.IncludeStyle(StylePaths.Simple_Line_Icons)
@Html.IncludeStyle(CultureHelper.IsRtl ? StylePaths.BootstrapRTL : StylePaths.Bootstrap)
@Html.IncludeStyle(StylePaths.JQuery_Uniform)
@Html.IncludeStyle(StylePaths.Toastr)
@Html.IncludeStyle(StylePaths.SweetAlert)
@Html.IncludeStyle(StylePaths.FamFamFamFlags)
@Html.IncludeStyle("~/metronic/assets/global/css/components-md" + (CultureHelper.IsRtl ? "-rtl" : "") + ".css")
@Html.IncludeStyle("~/metronic/assets/global/css/plugins-md" + (CultureHelper.IsRtl ? "-rtl" : "") + ".css")
@Html.IncludeStyle("~/metronic/assets/admin/layout/css/layout" + (CultureHelper.IsRtl ? "-rtl" : "") + ".css")
@Html.IncludeStyle("~/metronic/assets/admin/layout/css/themes/default" + (CultureHelper.IsRtl ? "-rtl" : "") + ".css")
@Styles.Render("~/Bundles/Common/css")
@Html.IncludeStyle("~/Views/Account/_Layout" + (CultureHelper.IsRtl ? "-rtl" : "") + ".css")
@RenderSection("Styles", false)
<script type="text/javascript">
@* This is used to get the application's root path from javascript.
It's useful if you're running application in a virtual directory under IIS. *@
var abp = abp || {}; abp.appPath = '@ApplicationPath';
</script>
</head> <body class="page-md login"> <div class="menu-toggler sidebar-toggler"> </div> <div class="logo"> <a href="~/"> <img src="~/Common/Images/app-logo-on-dark.png" alt="" width="149" height="35" /> </a> </div> <div class="content"> @RenderBody() </div> @Html.Action("Languages", "Account") <div class="copyright"> @Clock.Now.Year © CmsProTest. </div>
@Html.IncludeScript(ScriptPaths.Json2)
@Html.IncludeScript(ScriptPaths.JQuery)
@Html.IncludeScript(ScriptPaths.JQuery_Migrate)
@Html.IncludeScript(ScriptPaths.Bootstrap)
@Html.IncludeScript(ScriptPaths.JQuery_BlockUi)
@Html.IncludeScript(ScriptPaths.JQuery_Uniform)
@Html.IncludeScript(ScriptPaths.JQuery_Cookie)
@Html.IncludeScript(ScriptPaths.Toastr)
@Html.IncludeScript(ScriptPaths.SpinJs)
@Html.IncludeScript(ScriptPaths.SpinJs_JQuery)
@Html.IncludeScript(ScriptPaths.SweetAlert)
@Html.IncludeScript(ScriptPaths.Abp)
@Html.IncludeScript(ScriptPaths.Abp_JQuery)
@Html.IncludeScript(ScriptPaths.Abp_BlockUi)
@Html.IncludeScript(ScriptPaths.Abp_SpinJs)
@Html.IncludeScript(ScriptPaths.Abp_Toastr)
@Html.IncludeScript(ScriptPaths.Abp_SweetAlert)
<script type="text/javascript">
abp.localization.defaultSourceName = '@LocalizationSourceName';
</script>
<script src="~/AbpScripts/GetScripts?v=@(Clock.Now.Ticks)" type="text/javascript"></script>
@Html.IncludeScript(ScriptPaths.JQuery_Validation)
@Html.IncludeScript(ScriptPaths.JQuery_Validation_Localization)
@Html.IncludeScript("~/metronic/assets/global/scripts/app.js")
<script type="text/javascript">
App.setAssetsPath(abp.appPath + 'metronic/assets/');
</script>
@Scripts.Render("~/Bundles/Common/js")
@Html.IncludeScript("~/metronic/assets/admin/layout/scripts/layout.js")
@RenderSection("Scripts", false)
<script>
jQuery(document).ready(function () {
if (CurrentPage) {
CurrentPage.init();
}
});
</script>
</body> </html>
Hi,
Can you share your _Layout.cshtml under Views/Account folder ? In the mean time you can try to delete files in IIS folder and re-publish your website.
One more thing, you can try to enter this page with a different browser. Current browser might cache javascript files.
gives me the following error
No connection could be made because the target machine actively refused it 127.0.0.1:3446
regards
Anwar
Hello can i deploy this projects on IIS , please let me know or what is the best mode of hosting this, buy domain windows hosting webspace or a VPN please advise.
Regards Anwar