|
|
|
Joined: 8/13/2006
Posts: 308
|
|
|
Hi,
I tried uploading the module, but I got:
StartJob Starting Installation StartJob Reading files Info Loading red.gif Info File red.gif read successfully Info Loading Settings.ascx Info File Settings.ascx read successfully Info Loading Settings.ascx.resx Info File Settings.ascx.resx read successfully Info Loading Settings.ascx.vb Info File Settings.ascx.vb read successfully Info Loading SqlDataProvider.vb Info File SqlDataProvider.vb read successfully Info Loading Survey.ascx Info File Survey.ascx read successfully Info Loading Survey.ascx.resx Info File Survey.ascx.resx read successfully Info Loading Survey.ascx.vb Info File Survey.ascx.vb read successfully Info Loading SurveyController.vb Info File SurveyController.vb read successfully Info Loading SurveyInfo.vb Info File SurveyInfo.vb read successfully Info Loading SurveyOptionController.vb Info File SurveyOptionController.vb read successfully Info Loading SurveyOptionInfo.vb Info File SurveyOptionInfo.vb read successfully Info Loading Uninstall.SqlDataProvider Info File Uninstall.SqlDataProvider read successfully Info Loading 03.01.00.SqlDataProvider Info File 03.01.00.SqlDataProvider read successfully Info Loading 03.03.00.SqlDataProvider Info File 03.03.00.SqlDataProvider read successfully Info Loading 04.00.20.SqlDataProvider Info File 04.00.20.SqlDataProvider read successfully Info Loading 04.00.20.txt Info File 04.00.20.txt read successfully Info Loading DataProvider.vb Info File DataProvider.vb read successfully Info Loading DNN_Survey.dnn Info File DNN_Survey.dnn read successfully Info Loading DNN_Survey.dnn.config Info File DNN_Survey.dnn.config read successfully Info Loading EditSurvey.ascx Info File EditSurvey.ascx read successfully Info Loading EditSurvey.ascx.resx Info File EditSurvey.ascx.resx read successfully Info Loading EditSurvey.ascx.vb Info File EditSurvey.ascx.vb read successfully Info Loading icon_survey_32px.gif Info File icon_survey_32px.gif read successfully Info Loading module.css Info File module.css read successfully EndJob Reading files done. StartJob Reading DNN file Info DNN file is in valid 3.0 format. Info xml loaded. Info Loading files info Info Found valid path (App_LocalResources) for EditSurvey.ascx.resx. Info Found valid path (App_LocalResources) for Settings.ascx.resx. Info Found valid path (App_LocalResources) for Survey.ascx.resx. Info Found valid path (Providers\DataProviders\SqlDataProvider) for 03.01.00.SqlDataProvider. Info Found valid path (Providers\DataProviders\SqlDataProvider) for 03.03.00.SqlDataProvider. Info Found valid path (Providers\DataProviders\SqlDataProvider) for 04.00.20.SqlDataProvider. Info Found valid path ([app_code]Providers\DataProviders\SqlDataProvider) for SqlDataProvider.vb. Info Found valid path ([app_code]) for DataProvider.vb. Info Found valid path ([app_code]) for SurveyController.vb. Info Found valid path ([app_code]) for SurveyInfo.vb. Info Found valid path ([app_code]) for SurveyOptionController.vb. Info Found valid path ([app_code]) for SurveyOptionInfo.vb. Info Loading Modules info Info Loading Control info for 'Survey' module EndJob Dnn load finished successfully StartJob Begin Sql execution Info Executing 04.00.20.SqlDataProvider StartJob Start Sql execution: 04.00.20.SqlDataProvider file EndJob End Sql execution: 04.00.20.SqlDataProvider file EndJob Finished Sql execution StartJob Creating files Info Created d:\www\xxx\www\DesktopModules\Survey\App_LocalResources\EditSurvey.ascx.resx Info Created d:\www\xxx\www\DesktopModules\Survey\App_LocalResources\Settings.ascx.resx Info Created d:\www\xxx\www\DesktopModules\Survey\App_LocalResources\Survey.ascx.resx Info Created d:\www\xxx\www\DesktopModules\Survey\Providers\DataProviders\SqlDataProvider\03.01.00.SqlDataProvider Info Created d:\www\xxx\www\DesktopModules\Survey\Providers\DataProviders\SqlDataProvider\03.03.00.SqlDataProvider Info Created d:\www\xxx\www\DesktopModules\Survey\Providers\DataProviders\SqlDataProvider\04.00.20.SqlDataProvider Info Created d:\www\xxx\www\DesktopModules\Survey\04.00.20.txt Info Created d:\www\xxx\www\DesktopModules\Survey\DNN_Survey.dnn.config Info Created d:\www\xxx\www\DesktopModules\Survey\EditSurvey.ascx Info Created d:\www\xxx\www\DesktopModules\Survey\EditSurvey.ascx.vb Info Created d:\www\xxx\www\DesktopModules\Survey\icon_survey_32px.gif Info Created d:\www\xxx\www\DesktopModules\Survey\module.css Info Created d:\www\xxx\www\DesktopModules\Survey\red.gif Info Created d:\www\xxx\www\DesktopModules\Survey\Settings.ascx Info Created d:\www\xxx\www\DesktopModules\Survey\Settings.ascx.vb Info Created d:\www\xxx\www\DesktopModules\Survey\Survey.ascx Info Created d:\www\xxx\www\DesktopModules\Survey\Survey.ascx.vb Info Created d:\www\xxx\www\DesktopModules\Survey\Uninstall.SqlDataProvider Failure ExceptionSystem.Configuration.ConfigurationErrorsException: An error occurred loading a configuration file: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. (machine.config) ---> System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet) at System.Security.CodeAccessPermission.Demand() 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) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) at System.Configuration.Internal.InternalConfigHost.StaticOpenStreamForRead(String streamName) at System.Configuration.Internal.InternalConfigHost.System.Configuration.Internal.IInternalConfigHost.OpenStreamForRead(String streamName, Boolean assertPermissions) at System.Configuration.Internal.InternalConfigHost.System.Configuration.Internal.IInternalConfigHost.OpenStreamForRead(String streamName) at System.Configuration.Internal.DelegatingConfigHost.OpenStreamForRead(String streamName) at System.Configuration.UpdateConfigHost.OpenStreamForRead(String streamName) at System.Configuration.BaseConfigurationRecord.InitConfigFromFile() The action that failed was: Demand The type of the first permission that failed was: System.Security.Permissions.FileIOPermission The Zone of the assembly that failed was: MyComputer --- End of inner exception stack trace --- at System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal) at System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(ConfigurationSchemaErrors schemaErrors) at System.Configuration.Configuration..ctor(String locationSubPath, Type typeConfigHost, Object[] hostInitConfigurationParams) at System.Configuration.Internal.InternalConfigConfigurationFactory.System.Configuration.Internal.IInternalConfigConfigurationFactory.Create(Type typeConfigHost, Object[] hostInitConfigurationParams) at System.Web.Configuration.WebConfigurationHost.OpenConfiguration(WebLevel webLevel, ConfigurationFileMap fileMap, VirtualPath path, String site, String locationSubPath, String server, String userName, String password, IntPtr tokenHandle) at System.Web.Configuration.WebConfigurationManager.OpenWebConfigurationImpl(WebLevel webLevel, ConfigurationFileMap fileMap, String path, String site, String locationSubPath, String server, String userName, String password, IntPtr userToken) at System.Web.Configuration.WebConfigurationManager.OpenWebConfiguration(String path) at DotNetNuke.Common.Utilities.Config.AddCodeSubDirectory(String name) at DotNetNuke.Modules.Admin.ResourceInstaller.PaDnnInstallerBase.CreateModuleFile(PaFile File, PaFolder Folder) at DotNetNuke.Modules.Admin.ResourceInstaller.PaDnnInstallerBase.CreateFiles(PaFolder Folder) at DotNetNuke.Modules.Admin.ResourceInstaller.PaDnnInstallerBase.Install(PaFolderCollection folders) at DotNetNuke.Modules.Admin.ResourceInstaller.PaInstaller.Install()
Thanks
|
|
|
|
| |
|
|
|
Unfourtunately it appears you have run into an error nstalling a dynamic module that we will be addressing in our next release of the DotNetNuke framework.
For now you can resolve this by removig these two files from your "bin" directory: bin\DotNetNuke.Modules.Survey.dll
bin\DotNetNuke.Modules.Survey.SqlDataProvider.dll
and placing the other files in the the directories like this (you will have .vb files instead of .cs)
and
|
|
|
|
| |
|
|
Joined: 8/13/2006
Posts: 308
|
|
|
Hi Michael,
I copied the files manually to the locations you said, unfortunately I get the folowwing error:
Error: Survey is currently unavailable. DotNetNuke.Services.Exceptions.ModuleLoadException:
d:\www\xxx\www\DesktopModules\Survey\Survey.ascx.vb(158): error
BC30002: Type 'SurveyInfo' is not defined. --->
System.Web.HttpCompileException:
d:\www\xxx\www\DesktopModules\Survey\Survey.ascx.vb(158): error
BC30002: Type 'SurveyInfo' is not defined. at
System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath
virtualPath) at
System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath
virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean
allowBuildInPrecompile) at
System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext
context, VirtualPath virtualPath, Boolean noBuild, Boolean
allowCrossApp, Boolean allowBuildInPrecompile) at
System.Web.Compilation.BuildManager.GetVPathBuildResultWithAssert(HttpContext
context, VirtualPath virtualPath, Boolean noBuild, Boolean
allowCrossApp, Boolean allowBuildInPrecompile) at
System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) at
System.Web.UI.TemplateControl.LoadControl(String virtualPath) at
DotNetNuke.UI.Skins.Skin.InjectModule(Control objPane, ModuleInfo
objModule, PortalSettings PortalSettings) --- End of inner exception
stack trace ---
|
|
|
|
| |
|
|
|
It seems to be missing the SurveyInfo.vb file.
In the App_Code directory there should be a Survey directory and under it the following files (your's will have a .vb extension)
|
|
|
|
| |
|
|
Joined: 8/13/2006
Posts: 308
|
|
|
Sorry, copied the files to that dir but forgot to put them ;-(
I can now add the module to my page without any warning, but after trying to add a question I get error below:
Error: Survey is currently unavailable. DotNetNuke.Services.Exceptions.ModuleLoadException:
Input string was not in a correct format. --->
System.FormatException: Input string was not in a correct format. at
System.Number.StringToNumber(String str, NumberStyles options,
NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt32(String s, NumberStyles style,
NumberFormatInfo info) at
System.String.System.IConvertible.ToInt32(IFormatProvider provider) at
System.Convert.ToInt32(Object value) at
DotNetNuke.Modules.Survey.SurveyController.ConvertNullInteger(Object
Field) at DotNetNuke.Modules.Survey.SurveyController.GetSurvey(Int32
SurveyID, Int32 ModuleId) at
DotNetNuke.Modules.Survey.Survey.lstSurvey_ItemDataBound(Object sender,
DataListItemEventArgs e) at
System.Web.UI.WebControls.DataList.OnItemDataBound(DataListItemEventArgs
e) at System.Web.UI.WebControls.DataList.CreateItem(Int32 itemIndex,
ListItemType itemType, Boolean dataBind, Object dataItem) at
System.Web.UI.WebControls.DataList.CreateControlHierarchy(Boolean
useDataSource) at
System.Web.UI.WebControls.BaseDataList.OnDataBinding(EventArgs e) at
System.Web.UI.WebControls.BaseDataList.DataBind() at
DotNetNuke.Modules.Survey.Survey.DisplaySurvey() at
DotNetNuke.Modules.Survey.Survey.DisplaySurveyPage() at
DotNetNuke.Modules.Survey.Survey.Page_Load(Object sender, EventArgs e)
--- End of inner exception stack trace ---
Thanks
|
|
|
|
| |