Hi All,
I have used the SimpleUpload control in my custom league module on PokerDIY to upload XML league result files. It has worked for years (on DNN 5.6.3) but stopped working after the DNN 6.1.3 upgrade with this error:
After a bit of reading I assume the files/folder providers have changed but I am not sure how to fix it. I checked the permissions under the portal File Admin (it uses a temp folder) and the Role has write permissions to it. I checked that the IIS App Pool account has full control over this folder too.
Any suggestions on where to start looking please?
AssemblyVersion: 6.1.3
PortalID: 6
PortalName: PokerDIY
UserID: 70190
UserName: Webs5853
ActiveTabID: 525
ActiveTabName: Poker League Season
RawURL: /poker-league-season/ctl/importgame/mid/1775/lsid/2359.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://www.pokerdiy.com/poker-league-...
UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20100101 Firefox/10.0.2
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 679a1fc3-1470-414b-b8a1-e575802e7b5e
InnerException: The underlying system threw an exception.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.Common.Requires.NotNull
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: The underlying system threw an exception. ---> DotNetNuke.Services.FileSystem.FolderProviderException: The underlying system threw an exception. ---> System.ArgumentNullException: Value cannot be null. Parameter name: content at DotNetNuke.Common.Requires.NotNull(String argName, Object argValue) at DotNetNuke.Services.FileSystem.StandardFolderProvider.AddFile(IFolderInfo folder, String fileName, Stream content) at DotNetNuke.Services.FileSystem.FileManager.MoveFile(IFileInfo file, IFolderInfo destinationFolder) --- End of inner exception stack trace --- at DotNetNuke.Services.FileSystem.FileManager.MoveFile(IFileInfo file, IFolderInfo destinationFolder) at DotNetNuke.Common.Utilities.FileSystemUtils.MoveFile(String strSourceFile, String strDestFile, PortalSettings settings) at gammacon.DNN.SimpleUpload.UploadToTemp() at gammacon.DNN.SimpleUpload.Upload_Click(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 ---
Source:
Server Name: Cloud156