I have just created a new DNN site and everything went well. If I try to work with the components and skins installed initially, everything is fine but if I try to load a new skin as Host or Admin it gives the following message:
Error: Install Skin Package is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. ---> 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.Directory.InternalCreateDirectory(String fullPath, String path, DirectorySecurity dirSecurity) at System.IO.Directory.CreateDirectory(String path, DirectorySecurity directorySecurity) at DotNetNuke.UI.Skins.SkinController.UploadSkin(String RootPath, String SkinRoot, String SkinName, Stream objInputStream) at DotNetNuke.UI.Skins.SkinController.UploadSkin(String RootPath, String SkinRoot, String SkinName, Stream objInputStream) at DotNetNuke.Modules.Admin.FileSystem.WebUpload.cmdAdd_Click(Object sender, EventArgs e) 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: Intranet --- End of inner exception stack trace ---
When I try to install a new Module I get:
StartJob |
Begin Sql execution |
Info |
Executing 01.00.00.SqlDataProvider |
StartJob |
Start Sql execution: 01.00.00.SqlDataProvider file |
EndJob |
End Sql execution: 01.00.00.SqlDataProvider file |
|
Info |
Executing 01.01.00.SqlDataProvider |
StartJob |
Start Sql execution: 01.01.00.SqlDataProvider file |
Failure |
SQL Execution resulted in following Exceptions: System.Data.SqlClient.SqlException: Column names in each table must be unique. Column name 'IsExpanded' in table 'dbo.ICG_ETH_ExpandableTextHtml' is specified more than once. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL) at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions) ALTER TABLE dbo.[ICG_ETH_ExpandableTextHtml] ADD IsExpanded BIT NOT NULL DEFAULT 0 |
EndJob |
End Sql execution: 01.01.00.SqlDataProvider file |
|
Info |
Executing 01.01.05.SqlDataProvider |
StartJob |
Start Sql execution: 01.01.05.SqlDataProvider file |
EndJob |
End Sql execution: 01.01.05.SqlDataProvider file |
|
Info |
Executing 01.02.00.SqlDataProvider |
StartJob |
Start Sql execution: 01.02.00.SqlDataProvider file |
EndJob |
End Sql execution: 01.02.00.SqlDataProvider file |
|
Info |
Executing 01.04.00.SqlDataProvider |
StartJob |
Start Sql execution: 01.04.00.SqlDataProvider file |
EndJob |
End Sql execution: 01.04.00.SqlDataProvider file |
|
Info |
Executing 01.05.05.SqlDataProvider |
StartJob |
Start Sql execution: 01.05.05.SqlDataProvider file |
Failure |
SQL Execution resulted in following Exceptions: System.Data.SqlClient.SqlException: Column names in each table must be unique. Column name 'SortOrder' in table 'dbo.ICG_ETH_ExpandableTextHtml' is specified more than once. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL) at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions) --Add the SortOrder column ALTER TABLE dbo.[ICG_ETH_ExpandableTextHtml] ADD SortOrder INT NOT NULL DEFAULT 0 |
EndJob |
End Sql execution: 01.05.05.SqlDataProvider file |
|
Info |
Executing 02.01.00.SqlDataProvider |
StartJob |
Start Sql execution: 02.01.00.SqlDataProvider file |
Failure |
SQL Execution resulted in following Exceptions: System.Data.SqlClient.SqlException: There is already an object named 'FK_ICG_ETH_ExpandableTextHtml_Modules' in the database. Could not create constraint. See previous errors. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL) at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions) --Alter table to add constraint to auto complete in future ALTER TABLE dbo.[ICG_ETH_ExpandableTextHtml] WITH NOCHECK ADD CONSTRAINT [FK_ICG_ETH_ExpandableTextHtml_Modules] FOREIGN KEY ([ModuleID]) REFERENCES dbo.[Modules] ([ModuleID]) ON DELETE CASCADE NOT FOR REPLICATION |
EndJob |
End Sql execution: 02.01.00.SqlDataProvider file |
|
EndJob |
Finished Sql execution |
|
StartJob |
Creating files |
Info |
Created \\fsvs02\target03\360108\365220\fho.romechristmasparade.com\web\content\bin\ICG.Modules.ExpandableTextHtml.dll |
Failure |
ExceptionSystem.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.Directory.InternalCreateDirectory(String fullPath, String path, DirectorySecurity dirSecurity) at System.IO.Directory.CreateDirectory(String path, DirectorySecurity directorySecurity) 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() 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: Intranet
Otherwise, I don't seem to have any problem with file operations. Can anyone offer any suggestions?
|