can not create new page

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
1/10/2019 10:03:18 AM
Gravatar
Total Posts 92
Нет, я не изменил. До старости глубокой...

can not create new page

n the last release 2.7 always give error when I try to create newpage 

http://www.iquranaccess.com/Error.htm?aspxerrorpath=/Admin/PageSettings.aspx

 

Ah, shucks!

So sorry for the inconvenience but an error has occurred while trying to process your request.

The error has been logged and will be reviewed by our staff as soon as possible. It's possible the error was a momentary hiccup and you may wish to use the back button to try your request again, or you can go to the home page.

 

any help ? 
because the last commit also not working probably !

regards

1/10/2019 1:36:35 PM
Gravatar
Total Posts 92
Нет, я не изменил. До старости глубокой...

Re: can not create new page

I download the official release code published by Joy , installed it with no problem, full trusted, folder Data granted full rights ,  there was no App_Data but still - dummy - I created it with full rights  !

for true : Log in my host have no files !!!
 
still do not understand the issue in pagesetings.aspx !!
the db sql created perfect! and the site seems good but can not add- edit - modify any page using the file "pagesetings" !

1/10/2019 1:39:23 PM
Gravatar
Total Posts 92
Нет, я не изменил. До старости глубокой...

Re: can not create new page

@Joe Davis I need to run this website it is for free !!!!sadheart

1/11/2019 2:57:30 AM
Gravatar
Total Posts 92
Нет, я не изменил. До старости глубокой...

Re: can not create new page

this is the log :

2019-01-11 03:47:21,834 ERROR 94.249.86.226 - ar-JO - /Admin/PageSettings.aspx - mojoPortal.Web.Global - 94.249.86.226 /Admin/PageSettings.aspx Referrer(http://www.iquranaccess.com/Admin/PageManager.aspx) useragent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763
System.Web.HttpCompileException (0x80004005): c:\inetpub\wwwroot\iquranaccess.com\www\Admin\PageSettings.aspx(483): error CS0117: 'Resources.Resource' does not contain a definition for 'MetaNamePropertyRequired'
at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath)
at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound)
at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp)
at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
at System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

1/11/2019 10:53:05 AM
Gravatar
Total Posts 92
Нет, я не изменил. До старости глубокой...

Re: can not create new page

I will try reinstalling the whole website with English culture ! seems something related to Arabic language 

thanks 

1/11/2019 12:32:34 PM
Gravatar
Total Posts 92
Нет, я не изменил. До старости глубокой...

Re: can not create new page

so I just reinstalled with default settings 
First error was file manager is not opening and gave that resource is missing and I will try to fix it now!!! :
 

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS0117: 'Resources.Resource' does not contain a definition for 'FileManagerIndexHeaderTitle'

Source Error:
 

Line 5: Line 6: @{ Line 7: ViewBag.Title = Resource.FileManagerIndexHeaderTitle; Line 8: ViewBag.AngularApp = "FileManagerApp"; Line 9: ViewBag.BodyClass = "ng-cloak" + ((Model.View == "fullpage" || (Model.Type == "file" || Model.Type == "folder")) ? " fullpage" : string.Empty);

 

1/11/2019 1:14:27 PM
Gravatar
Total Posts 92
Нет, я не изменил. До старости глубокой...

Re: can not create new page

the same 2 errors still the same 
1. file manager does not work
2. cannot add pages 
hopless !!!!!!!!
 

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS0117: 'Resources.Resource' does not contain a definition for 'MetaNamePropertyRequired'

Source Error:
 

Line 481: ConfigKey="MetaNameProperty" ResourceFile="Resource" /> Line 482: <asp:TextBox ID="txtNameProperty" CssClass="widetextbox forminput" runat="server" Text='<%# Eval("NameProperty") %>' /> Line 483: <asp:RequiredFieldValidator ID="reqMetaNameProperty" runat="server" ControlToValidate="txtNameProperty" Line 484: ErrorMessage='<%# Resources.Resource.MetaNamePropertyRequired %>' ValidationGroup="meta" /> Line 485: </div>


Source File: c:\inetpub\wwwroot\iquranaccess.com\www\Admin\PageSettings.aspx Line: 483

1/11/2019 1:20:33 PM
Gravatar
Total Posts 92
Нет, я не изменил. До старости глубокой...

Re: can not create new page

all other functions are working perfect except these 2 issues !!!

1/12/2019 4:01:20 AM
Gravatar
Total Posts 92
Нет, я не изменил. До старости глубокой...

Re: can not create new page

1/12/2019 3:19:48 PM
Gravatar
Total Posts 2192

Re: can not create new page

Hi,

Are you running a release or compiling from source code?

We aren't having these issues at all. 

You may need to set UseCultureOverride to false in the web.config to use Arabic, or set it to true and set the site1culture and site1uiculture to "ar-DZ".  Full list of codes here. <<--EDITED

Whatever you do, do not delete the English resource files. These are the defaults so if your chosen culture doesn't have something, .net will fall back to the English files. If you remove the English files, there is nothing for .net to fallback to and it will cause errors.

Thanks,
Joe

1/13/2019 12:11:51 AM
Gravatar
Total Posts 92
Нет, я не изменил. До старости глубокой...

Re: can not create new page

Joy thanks
I used the default 2.7 source code
in past it worked !
seems I am late!!
what ever you need will do it

do not think about bears!!

 

1/13/2019 12:13:45 AM
Gravatar
Total Posts 92
Нет, я не изменил. До старости глубокой...

Re: can not create new page

just give me the solution and take what ever u like

!

1/14/2019 1:17:26 AM
Gravatar
Total Posts 92
Нет, я не изменил. До старости глубокой...

Re: can not create new page

Mr. Joe
consider me as tester for the last release!! 

Here all information , I just reinstalled every thing as here :

The source I use is mojoportal-2.7.0.0 source code I downloaded it from here :
Please Try to use it as it is with English language - with mssql locally on your pc and there are three modules will not work with you and they will give the error below!
1. Site settings
2. add new page or root page 
3. file manager
I am sure there is an error in this download !

 


https://github.com/i7MEDIA/mojoportal/archive/v2.7.0.0.zip




The errors are :

1. PageSettings.aspx :

2019-01-14 02:03:18,970 ERROR 92.253.45.227 - en-US - /Admin/PageSettings.aspx?start=1 - mojoPortal.Web.Global - 92.253.45.227 /Admin/PageSettings.aspx?start=1 Referrer(http://www.iquranaccess.com/Admin/ServerLog.aspx) useragent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763
System.Web.HttpCompileException (0x80004005): c:\inetpub\wwwroot\iquranaccess.com\www\Admin\PageSettings.aspx(483): error CS0117: 'Resources.Resource' does not contain a definition for 'MetaNamePropertyRequired'
at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath)
at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound)
at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp)
at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)
at System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

2. SiteSettings.aspx

2019-01-14 02:03:37,004 ERROR 92.253.45.227 - en-US - /Admin/SiteSettings.aspx - mojoPortal.Web.Global - Referrer(http://www.iquranaccess.com/Admin/AdminMenu.aspx) useragent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763
System.ArgumentNullException: Value cannot be null.
Parameter name: format
at System.String.FormatHelper(IFormatProvider provider, String format, ParamsArray args)
at mojoPortal.Web.AdminUI.SiteSettingsPage.PopulateMultiSiteControls()
at mojoPortal.Web.AdminUI.SiteSettingsPage.PopulateControls()
at mojoPortal.Web.AdminUI.SiteSettingsPage.Page_Load(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at mojoPortal.Web.mojoBasePage.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

3. FileManager :

 

2019-01-14 02:04:09,063 ERROR 92.253.45.227 - en-US - /FileManager - mojoPortal.Web.Global - Referrer(http://www.iquranaccess.com/Admin/AdminMenu.aspx) useragent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763
System.InvalidOperationException: The view 'Error' or its master was not found or no view engine supports the searched locations. The following locations were searched:
~/Data/Sites/$SiteId$/skins/$Skin$/Views/FileManager/Error.cshtml
~/Views/FileManager/Error.cshtml
~/Views/FileManager/Error.vbhtml
~/Views/Shared/Error.cshtml
~/Views/Shared/Error.vbhtml
at System.Web.Mvc.ViewResult.FindView(ControllerContext context)
at System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass21.<BeginInvokeAction>b__1e(IAsyncResult asyncResult)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult)
at System.Web.Mvc.Controller.<BeginExecuteCore>b__1d(IAsyncResult asyncResult, ExecuteCoreState innerState)
at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)
at System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult)
at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)
at System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult)
at System.Web.Mvc.MvcHandler.<BeginProcessRequest>b__5(IAsyncResult asyncResult, ProcessRequestState innerState)
at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)
at System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

1/14/2019 3:41:41 AM
Gravatar
Total Posts 92
Нет, я не изменил. До старости глубокой...

Re: can not create new page

it seems the error from the host with the virtual path ! 
I will see your hosting company features now !!

this what I get out with !!!

c:\inetpub\wwwroot\iquranaccess.com\www\Admin\PageSettings.aspx

 

1/14/2019 9:58:57 AM
Gravatar
Total Posts 92
Нет, я не изменил. До старости глубокой...

Re: can not create new page

FINALLY SOLVED and every thing worked cool


WHO SAID THERE IS NO GINNY IN THE COMPUTERS ?! devil
I enabled the debugger changing from "remoteonly" to "Off" 
The error was very clear but strange !!!
The error from debugging different than in log System !
 


Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS0117: 'Resources.Resource' does not contain a definition for 'MetaNamePropertyRequired'

Source Error:

Line 497: ConfigKey="MetaNameProperty" ResourceFile="Resource" />
Line 498: <asp:TextBox ID="txtNameProperty" CssClass="widetextbox forminput" runat="server" Text='<%# Eval("NameProperty") %>' />
Line 499: <asp:RequiredFieldValidator ID="reqMetaNameProperty" runat="server" ControlToValidate="txtNameProperty"
Line 500: ErrorMessage='<%# Resources.Resource.MetaNamePropertyRequired %>' ValidationGroup="meta" />
Line 501: </div>

I went to the resource file and did not find "MetaNamePropertyRequired" in the .rezx file but it was in the .cs file !
any way, after some tries I decided to copy the .rezx file into the global resources folder then I included it into the project 
sure I deleted the corrupted one before!
if you copy it to the project it will not work ! 
you have to delete resources file then copy the rezx into the folder then include it ! 
and all worked like magic !!!!!!!!!!
I do not know why that all happened with me but I used the official downloads of Joe ! 

thanks

You must sign in to post in the forums. This thread is closed to new posts.