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 ---
|