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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...ASPDNSF ML/DNN IssueASPDNSF ML/DNN Issue
Previous
 
Next
New Post
9/23/2008 12:56 PM
 

I am setting up an eComm store with ASPDotNetStoreFront ML/DNN version. It's been a pretty big struggle over the last few months with ADNSF and DNN getting out of sync on releases and problems in one causing issues in the other.

Right now I have what seems like a simple problem. I put up a Sample Image for one of the product Categories. But when I try to delete it I get this error below. ADNSF says it is probably a NETWORK SERVICE permissions issue on the folder but that is not the case. I was hoping that someone here might be of additional help on the AccessDeniedURL issue. One thing to note is that when I click the delete link it opens a popup where the error occurs. Well, it gives a Runtime error, but the error below is in the Event Viewer.

Thanks for any help you can provide.

RawURL: /admin/aspdnsf/deleteimage.aspx?imgurl=/Portals/0/aspdnsf/images/CATEGORY/medium/1.jpg&formImageName=Pic2
AbsoluteURL: /admin/aspdnsf/deleteimage.aspx
AbsoluteURLReferrer:
UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506; InfoPath.2)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: af6b40b6-b717-4ec8-b183-78084f017f3b
InnerException: Unhandled Error:
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.Common.Globals.AccessDeniedURL
StackTrace:
Message: System.Exception: Unhandled Error: ---> System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Common.Globals.AccessDeniedURL(String Message) at DotNetNuke.Common.Globals.NavigateURL(String ControlKey) at AspDotNetStorefront.PageBase.Pu2HcWyYq(Object , EventArgs ) at System.EventHandler.Invoke(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace --- at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) at System.Web.UI.Page.ProcessRequest(HttpContext context) at ASP.admin_aspdnsf_deleteimage_aspx.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) --- End of inner exception stack trace ---


 


Forerunner Communications, LLC
DotNetNuke Integration Specialists

 
New Post
9/23/2008 1:38 PM
 

it's not an issue I've noticed and I've just tested on a dnn4.9/aspdnsf ml instance I have locally and can delete category images ok (though when you delete the image the preview of it shows a missing image icon [as you'd expect] and you have to press 'update' to see the original 'picture unavailable' gif)

One thing I notice is that the path has a filename with a period in it (1.jpg). If you're running something like urlscan on your webserver this can cause problems i.e. if it's has AllowDotInPath set to 0 (http://technet.microsoft.com/en-us/security/cc242650.aspx)

Cathal


Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
9/23/2008 2:24 PM
 

Another thing to look at is /admin/aspdnsf/assetmanager/settings.asp, and what it has for the arrBaseFolder(0) value. The proper setting depends on where you want your images located.

It typically is either "./images/" or "/images/" 

More info at ASPDNSF support - look for article ID 123.


Eric Swanzey
www.swanzey.com
 
New Post
9/23/2008 3:16 PM
 

achooyeah wrote
 

Another thing to look at is /admin/aspdnsf/assetmanager/settings.asp, and what it has for the arrBaseFolder(0) value. The proper setting depends on where you want your images located.

It typically is either "./images/" or "/images/" 

More info at ASPDNSF support - look for article ID 123.

Here is what is in my .asp.

arrBaseFolder(0)="../images/" 'Use "Relative to Root" Path

arrBaseName(0)="images"

and here is where the image is stored.

Portals\0\aspdnsf\images\category

I could not locate that Article ID on the Kayako Support Site for ASPDNSF.

Thanks for any followup info you might have.


Forerunner Communications, LLC
DotNetNuke Integration Specialists

 
New Post
9/23/2008 3:25 PM
 

cathal connolly wrote
 

it's not an issue I've noticed and I've just tested on a dnn4.9/aspdnsf ml instance I have locally and can delete category images ok (though when you delete the image the preview of it shows a missing image icon [as you'd expect] and you have to press 'update' to see the original 'picture unavailable' gif)

One thing I notice is that the path has a filename with a period in it (1.jpg). If you're running something like urlscan on your webserver this can cause problems i.e. if it's has AllowDotInPath set to 0 (http://technet.microsoft.com/en-us/security/cc242650.aspx)

Cathal

Cathal, the technet article did not come up for me. You mentioned that my file name had a period it it. Don't most all file names have a period between the name and the extension? Here is the link that goes all the way to the image. I am not 100% sure but I think that ASPDNSF names is 1.jpg since this is the category 1 in my db.

http://www.uncommongames.com/portals/0/aspdnsf/images/category/medium/1.jpg

Thanks.


Forerunner Communications, LLC
DotNetNuke Integration Specialists

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...ASPDNSF ML/DNN IssueASPDNSF ML/DNN 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