Server Error in '/' Application

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
9/22/2010 2:10:24 PM
Gravatar
Total Posts 2

Server Error in '/' Application

Hi

I installed mojoportal, all was working fine as I was testing the application untill i gte this error

 

Server Error in '/' Application.


Could not find a part of the path 'C:\Users\sdsouza\Downloads\mojoportal-2-3-5-1-mssql-net35-deploymentfiles\wwwroot\App_Themes\default1\theme.skin'.

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.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\sdsouza\Downloads\mojoportal-2-3-5-1-mssql-net35-deploymentfiles\wwwroot\App_Themes\default1\theme.skin'.

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:

				[DirectoryNotFoundException: Could not find a part of the path 'C:\Users\sdsouza\Downloads\mojoportal-2-3-5-1-mssql-net35-deploymentfiles\wwwroot\App_Themes\default1\theme.skin'.]
   System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +193
   System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy) +1162
   System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) +66
   System.IO.File.OpenRead(String path) +30
   mojoPortal.Web.mojoThemeVirtualFile.Open() +1088
   System.Web.Hosting.VirtualPathProvider.OpenFile(String virtualPath) +28
   System.Web.UI.TemplateParser.ParseFile(String physicalPath, VirtualPath virtualPath) +123
   System.Web.UI.PageThemeParser.ParseInternal() +144
   System.Web.UI.TemplateParser.Parse() +167
   System.Web.UI.TemplateParser.Parse(ICollection referencedAssemblies, VirtualPath virtualPath) +34
   System.Web.Compilation.BaseTemplateBuildProvider.get_CodeCompilerType() +85
   System.Web.Compilation.BuildProvider.GetCompilerTypeFromBuildProvider(BuildProvider buildProvider) +62
   System.Web.Compilation.BuildProvidersCompiler.ProcessBuildProviders() +199
   System.Web.Compilation.BuildProvidersCompiler.PerformBuild() +42
   System.Web.Compilation.ThemeDirectoryCompiler.GetThemeBuildResultType(String themeName) +730
   System.Web.Compilation.ThemeDirectoryCompiler.GetThemeBuildResultType(HttpContext context, String themeName) +73
   System.Web.UI.Page.InitializeThemes() +8700927
   System.Web.UI.Page.PerformPreInit() +38
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +282


Version Information: Microsoft .NET Framework Version:2.0.50727.4952; ASP.NET Version:2.0.50727.4927 

 

I am lost , i do not know how to get out of this problem. Please help

Thanks

9/23/2010 8:14:25 AM
Gravatar
Total Posts 18439

Re: Server Error in '/' Application

Hi,

I recommend upgrade to the latest version 2.3.5.3. There were recent fixes to the VirtualPathProvider that may resolve this issue for you. Also there are important security updates.

If the problem persists after upgrading let us know.

Best,

Joe

9/29/2010 9:08:01 AM
Gravatar
Total Posts 2

Re: Server Error in '/' Application

Thanks Heaps Joe, Problem solved

10/21/2010 5:16:59 PM
Gravatar
Total Posts 5

Re: Server Error in '/' Application

Hello,

I'm experiencing similar issue:

System.UnauthorizedAccessException: Access to the path '/var/www/mooo.com/tomas-vondracek/App_Themes/default1' is denied.

Version information: Mono Runtime Version: 2.6.7 (Debian 2.6.7-3ubuntu1~dhx1); ASP.NET Version: 2.0.50727.1433

I'm using MySql database, MojoPortal version  2.3.5.4

Setup procedure went just fine, but right after that, all I get is this error.

Thank you,

Tomas

10/22/2010 8:30:16 AM
Gravatar
Total Posts 18439

Re: Server Error in '/' Application

Sounds like a bug in Mono is preventing our virtual path provider from working correctly. The folder it complains about does not really exist but if the virtual path provider is working it does not matter that the folder does not exist.

A possible workaround is to create a folder named default1 under /App_Themes and copy the contents from the App_Themes/default folder into the /default1 folder.

Hope it helps,

Joe

10/29/2010 10:15:23 AM
Gravatar
Total Posts 1

Re: Server Error in '/' Application

This is still and issue for me under Mono.  Ubuntu 10.04 LTS with Mono 2.8 (installed from tarball) along with XSP and Mod_Mono 2.8

Creating the /var/www/portal/App_Themes/default1 and copying over both files doesn't work.

System.UnauthorizedAccessException: Access to the path '/var/www/portal/App_Themes/default1' is denied.
 

Welcome to mojoPortal Setup

Probing system...
File system permissions ok.
SQLite database connection ok.
database permissions are sufficient to alter schema.
database initial schema already exists.
database core schema is up to date.
1 site(s) found.
Configuring feature Html Content - 00:00:00.2453470
Configuring feature Site Statistics - 00:00:00.8744160
Configuring feature Newsletter Sign Up Form - 00:00:01.0723120
Configuring feature Bing Map - 00:00:01.4675430
Configuring feature Blog - 00:00:01.8792560
Configuring feature Contact Form - 00:00:04.0895670
Configuring feature Event Calendar - 00:00:04.4919140
Configuring feature Feed Manager - 00:00:04.8971710
Configuring feature Flickr Slide Show - 00:00:05.8202580
Configuring feature Image Gallery (Simple Folder Version) - 00:00:06.0670450
Configuring feature Forums - 00:00:06.3292700
Configuring feature Google Map - 00:00:06.7200140
Configuring feature Google Translate - 00:00:07.1931350
Configuring feature Html Fragment Include - 00:00:07.2711770
Configuring feature IFrame - 00:00:07.4068260
Configuring feature Image Gallery - 00:00:07.8102420
Configuring feature Simple List/Links - 00:00:08.2948140
Configuring feature Live Messenger Chat - 00:00:08.6011080
Configuring feature Poll - 00:00:08.8367440
Configuring feature Shared Files - 00:00:09.0151880
Configuring feature Survey - 00:00:09.3639630
Configuring feature Twitter Profile Widget - 00:00:09.4449720
Configuring feature Twitter Search Widget - 00:00:09.7276960
Configuring feature Xml/Xsl - 00:00:10.1674470
Ensuring all features are installed in server admin sites... - 00:00:10.2814190



Setup is complete, click the link below to go to the home page.

Site Home Page



Database PlatformSQLite
Version2.3.5.4
StatusYour installation is up to date.
10/31/2010 7:15:26 AM
Gravatar
Total Posts 18439

Re: Server Error in '/' Application

during setup it should copy the /Data/skins folder to /Data/Sites/1/skins if it failed to do that it might also cause this error. You could try copying the folder manually and see if it helps.

Other than that, it is no surprise to have problems running under Mono, it has always been a "your mileage may vary" proposition to use Mono and therefore not something I recommend for production deployments

Best,

Joe

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