Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Relative path issueRelative path issue
Previous
 
Next
New Post
9/10/2009 7:18 AM
 

Snap!  I am also getting this problem - I have been having a lot of issues with localization since upgrading to DNN 5 - I do not understand the language settings now and am unclear if I am doing everything right.

I have posted on the CATALooK forums but have not had a response.

Any help gratefully received.

Examples below! - Is it because I am not using the dotnet 3.5 framework?

 

UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; GTB6; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 19fddf8d-55b9-48ff-9875-37952f570084
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: CATALooK.C_Address.Localize
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object.at CATALooK.C_Address.Localize()at CATALooK.C_Address.DataBindAddress()at CATALooK.ShoppingCart.InitPage(Int32 PageIndex)at CATALooK.ShoppingCart.DisplayCurrentPage()at CATALooK.ShoppingCart.Page_Load(Object sender, EventArgs e)at System.Web.UI.Control.OnLoad(EventArgs e)at System.Web.UI.Control.LoadRecursive()at System.Web.UI.Control.LoadRecursive()at System.Web.UI.Control.LoadRecursive()at System.Web.UI.Control.LoadRecursive()at System.Web.UI.Control.LoadRecursive()at System.Web.UI.Control.LoadRecursive()at System.Web.UI.Control.LoadRecursive()at System.Web.UI.Control.LoadRecursive()at System.Web.UI.Control.LoadRecursive()at System.Web.UI.Control.LoadRecursive()at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)--- End of inner exception stack trace ---
Source:

UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; Win64; x64; SV1; .NET CLR 2.0.50727)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: f3ef1186-dd56-4214-ad3f-2fa6e53ba3b3
InnerException: The relative virtual path 'profileproperties_telephone.ascx.portal-0.resx' is not allowed here.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Web.VirtualPath.FailIfRelativePath
StackTrace:
Message: System.ArgumentException: The relative virtual path 'profileproperties_telephone.ascx.portal-0.resx' is not allowed here.at System.Web.VirtualPath.FailIfRelativePath()at System.Web.Hosting.HostingEnvironment.MapPathActual(VirtualPath virtualPath, Boolean permitNull)at System.Web.Hosting.HostingEnvironment.MapPath(VirtualPath virtualPath)at DotNetNuke.Services.Localization.Localization.GetResourceFileCallBack(CacheItemArgs cacheItemArgs)at DotNetNuke.Common.Utilities.DataCache.GetCachedData[TObject](CacheItemArgs cacheItemArgs, CacheItemExpiredCallback cacheItemExpired)
Source:

 

 
New Post
11/1/2009 3:26 PM
 

I'm also getting the realtive path issue on recent version of DNN 5. See below.

AssemblyVersion: 5.1.4
PortalID: 0
PortalName: The Diving Club - Reading
UserID: -1
UserName:
ActiveTabID: 36
ActiveTabName: Home
RawURL: /desktopmodules/CATALooKStore/PayPalIPN.aspx
AbsoluteURL: /desktopmodules/CATALooKStore/PayPalIPN.aspx
AbsoluteURLReferrer:
UserAgent:
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 843197c9-864b-459e-8c52-5e08310a3733
InnerException: The relative virtual path 'sharedresources.host.resx' is not allowed here.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Web.VirtualPath.FailIfRelativePath
StackTrace:
Message: System.ArgumentException: The relative virtual path 'sharedresources.host.resx' is not allowed here. at System.Web.VirtualPath.FailIfRelativePath() at System.Web.Hosting.HostingEnvironment.MapPathActual(VirtualPath virtualPath, Boolean permitNull) at System.Web.Hosting.HostingEnvironment.MapPathInternal(VirtualPath virtualPath) at System.Web.Hosting.HostingEnvironment.MapPath(VirtualPath virtualPath) at System.Web.Hosting.HostingEnvironment.MapPath(String virtualPath) at DotNetNuke.Services.Localization.Localization.GetResourceFileCallBack(CacheItemArgs cacheItemArgs) at DotNetNuke.Common.Utilities.DataCache.GetCachedData[TObject](CacheItemArgs cacheItemArgs, CacheItemExpiredCallback cacheItemExpired)
Source:
Server Name: GENERIC31


DNN MVP
Events - Get the latest version - Upgrade now!!
Feedback 6.4.2 - Now available - Give it a go!
Find us on Codeplex - DNN Events, DNN Feedback
Requirements/Bugs - Please submit them on Codeplex
 
New Post
12/2/2009 7:43 AM
 

I'm getting precisely the same problem with PayPalIPN.aspx here.  I believe the following path definition is the source of the problem:

~/DesktopModules/CATALooKStore/App_LocalResources/SharedResources.resx

I'm struggling to see what could be wrong with that.

 
New Post
12/2/2009 8:06 AM
 

accoding to the fact that catalook is involved in all these cases I suggest to contact them for support. They might have used an unsupported API, which has been changed.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
12/2/2009 9:08 AM
 

Judging from the source of the catalook module their localisation code calls this:

 

DotNetNuke.Services.Localization.Localization.GetString

 

The variant with 2 string parameters, which is in my version of the DNN library project. The parameters being passed (assuming I have the correct bit of code, I think I have) are:

"PAYSTATE_0" and "

~/DesktopModules/CATALooKStore/App_LocalResources/SharedResources.resx"

Inspecting the resource file shows that it's both present and contains the data being searched for. This looks like it should still be supported to me. Sebastian, is there anything that looks like a problem to you? I have seen some localisation issues raised elsewhere as a bug, but that seemed to be to do with absolute paths not being supported.

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Relative path issueRelative path issue


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out