HomeHome Product Discus... Product Discus...SmithCartSmithCarterror - access denied when importingerror - access denied when importing
Previous
 
Next
New Post
8/19/2013 1:10 PM
 
I'm receiving an error
"A critical error has occurred. Access to the path 'D:\Hosting\10302225\html\635125028650286504product_import.xls' is denied."

Just wondering if anyone knew exactly what is going on here. I'm suspecting an issue with our hosting provider, as they just recently moved our site to a new server. I've called our hosting provider and was told our site was pointing to their general server IP and not our dedicated server IP.
They said that this might fix this problem. I'm seeing this as a permissions issue- but I am unsure where and what to fix. 

Any ideas? and Thank you.
SmithCart 5.26
DNN 7.0

 
New Post
8/19/2013 9:06 PM
 
Hi Laura,

The error indicates an issue accessing directory D:\Hosting\10302225\html\. I recommend contacting your hosting provider for feedback as to why your DNN site cannot access this folder.
 
New Post
8/20/2013 12:03 PM
 
Kevin,

I've spoken to the hosting provider and was told that they have given proper rights to that folder. I can save and upload find to the folder, however when I use the import tool I'm getting access denied. I've spent a few hours trying to figure this out. My guess its something that is happening when the tool takes the file and processes it.

Is there a specific user that the SmithCart import tools requires to be used? and can the path to where this file is being save be changed?

I've copied my event viewer message below. I hope this makes sense or this make sense to anyone else reading this.

AssemblyVersion: 7.0.0
PortalID: 0
PortalName: Autograph Foliages
UserID: 1
UserName: host
ActiveTabID: 90
ActiveTabName: Products
RawURL: /Products/tabid/90/ctl/ImportProducts/mid/496/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://www.autographfoliages.com/Products/tabid/90/ctl/ImportProducts/mid/496/Default.aspx
UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.95 Safari/537.36
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke
ExceptionGUID: 5b2888be-0202-4a0f-a91c-82c4ee6d2d61
InnerException: Access to the path 'D:\Hosting\10302225\html\635125959255445740product_import.xls' is denied.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.IO.__Error.WinIOError
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Access to the path 'D:\Hosting\10302225\html\635125959255445740product_import.xls' is denied. ---> System.UnauthorizedAccessException: Access to the path 'D:\Hosting\10302225\html\635125959255445740product_import.xls' is denied. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at 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, Boolean useLongPath, Boolean checkHost) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode) at System.Web.HttpPostedFile.SaveAs(String filename) at System.Web.UI.WebControls.FileUpload.SaveAs(String filename) at Smith.DNN.Modules.BuyNow.ImportProducts.btnProductImport_Click(Object sender, EventArgs e) at System.EventHandler.Invoke(Object sender, EventArgs e) at System.Web.UI.WebControls.Button.OnClick(EventArgs e) at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---

 
New Post
8/20/2013 10:00 PM
 
Try resetting iis or recycling the app pool in dnn.


At your service,
Dave Smith
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
8/21/2013 8:33 AM
 
Thanks for the response. Yes, I've tried clearing cache, resetting the application pool and doing as much as I can on my end. I strongly believe this is a hosting issue. I just thought if there was any more info I could give to my hosting provider (GoDaddy) that I would pass it along. They have basically said that it wasn't their problem. I've insisted it was an application pool issue, but will try all over again today.

Laura
 
New Post
8/22/2013 5:37 PM
 
Hi Laura,

Just following up on this post with an update of info that you provided via our Help Desk.

The problem is that this site is being hosted on GoDaddy's shared host and they do not allow anyone to change the root folder permissions, only the subfolders.

Thanks!
 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCarterror - access denied when importingerror - access denied when importing