Hi,
I am using the Dnn5.2.0 install on localhost to develop a simple module.
I am using windows 7 as my development platform.
I am using IIS7.
I am using SQL2005 for my DB.
I have created a custom module using the 'DotNetNuke Compiled Module' template - It installs ok.
My Dnn5.2 website works fine, but I am having serious problems reading from my modules resource file (see code below).
This line of code Localization.GetString("DefaultContent", LocalResourceFile) RETURNS NULL.
The resource file exists as does the 'DefaultContent' key.
I think this may be a permissions problem, but I can't seem to pinpoint the problem - PLEASE COULD SOMEONE HELP.
Any help appreciated.
Regards,
Paul.
// add the content to the SandboxModule table SandboxModuleInfo objSandboxModule = new SandboxModuleInfo();Localization.GetString("DefaultContent", LocalResourceFile);this.UserId;
objSandboxModule.ModuleId = ModuleId;
objSandboxModule.Content =
objSandboxModule.CreatedByUser =
objSandboxModules.AddSandboxModule(objSandboxModule);