|
|
|
|
Joined: 6/29/2004
Posts: 319
|
|
|
I am getting the following error when I try to upload a new module: anyone have any ideas? DNN Version 3.3.5
===================================== Failure
ExceptionSystem.ObjectDisposedException: Cannot access a closed file.
at System.IO.__Error.FileNotOpen()
at System.IO.FileStream.Seek(Int64 offset, SeekOrigin origin)
at System.Web.HttpRawUploadedContent.TempFile.GetBytes(Int32 offset, Int32 length, Byte[] buffer, Int32 bufferOffset)
at System.Web.HttpRawUploadedContent.CopyBytes(Int32 offset, Byte[] buffer, Int32 bufferOffset, Int32 length)
at System.Web.HttpInputStream.Read(Byte[] buffer, Int32 offset, Int32 count)
at ICSharpCode.SharpZipLib.Zip.ZipInputStream.FillBuf(Int32 size)
at ICSharpCode.SharpZipLib.Zip.ZipInputStream.GetNextEntry()
at DotNetNuke.Modules.Admin.ResourceInstaller.PaInstaller.ReadZipStream()
at DotNetNuke.Modules.Admin.ResourceInstaller.PaInstaller.Install()
|
|
|
|
| |
|
|
|
during an upgrade, you need to replace existing web.config with new release.config, only keeping
- database connection string
- both encrytion keys
- object qualifiers
This shall solve your issue.
|
|
|
|
| |
|
|
|
Joined: 6/29/2004
Posts: 319
|
|
|
I upgraded from 3.2.2 to 3.3.5 several weeks ago and DID use release.config transferring the items you suggested. Mostly the site has been working ok. I have even upgraded all the core modules without incident.
My attempts to upgrade CATALook Netstore and XMOD resulted in the error above. Have not tried to upgrade anything else since getting that error.
|
|
|
|
| |
|
|
|
not sure about the reason - please contact the module developers in this case.
|
|
|
|
| |
|
|
|
Joined: 6/29/2004
Posts: 319
|
|
|
Thanks for looking anyway. It appears to be happening with all modules that I attempt to install, whether they are 3rd party or core. If a core module already exists - i.e. Uploading an upgrade over an existing module , I get a slightly different error response. I tried to upload the links core module over my existing links module and it produced the error message below - which is typical of what I get when I try to upgrade over an existing core module. I have highlighted in red (below) the parts of the error message that I think lend a hint to the problem. It appears that if the database has an object qualifier other than "dbo" there are problems with access to the sysobjects table. It is my understanding that the ownership of that table is always supposed to be dbo, regardless of how the object qualifier is set for other tables. My ISP says that they cannot change the ownership of the sysobjects table to anything other than dbo. If this is the case, there may be a bug in this version of DNN. I don't know what procedures or processes read/write to the sysobjects table or how to make changes. ========= StartJob |
Starting Installation |
StartJob |
Reading files |
Info |
Loading DotNetNuke.Modules.Links.dll |
Info |
File DotNetNuke.Modules.Links.dll read successfully |
Info |
Loading EditLinks.ascx |
Info |
File EditLinks.ascx read successfully |
Info |
Loading Links.ascx |
Info |
File Links.ascx read successfully |
Info |
Loading Settings.ascx |
Info |
File Settings.ascx read successfully |
Info |
Loading EditLinks.ascx.resx |
Info |
File EditLinks.ascx.resx read successfully |
Info |
Loading Links.ascx.resx |
Info |
File Links.ascx.resx read successfully |
Info |
Loading Settings.ascx.resx |
Info |
File Settings.ascx.resx read successfully |
Info |
Loading DotNetNuke.Modules.Links.SqlDataProvider.dll |
Info |
File DotNetNuke.Modules.Links.SqlDataProvider.dll 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 Uninstall.SqlDataProvider |
Info |
File Uninstall.SqlDataProvider read successfully |
Info |
Loading DNN_Links.dnn |
Info |
File DNN_Links.dnn 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 EditLinks.ascx.resx. |
Info |
Found valid path (App_LocalResources) for Links.ascx.resx. |
Info |
Found valid path (App_LocalResources) for Settings.ascx.resx. |
Info |
Loading Modules info |
Info |
Loading Control info for 'Links' module |
EndJob |
Dnn load finished successfully |
|
StartJob |
Begin Sql execution |
Info |
Executing 03.03.00.SqlDataProvider |
StartJob |
Start Sql execution: 03.03.00.SqlDataProvider file |
Failure |
SQL
Execution resulted in following Exceptions:
System.Data.SqlClient.SqlException: Invalid object name
'empulse_dnnuser.sysobjects'. 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)
if exists (select * from empulse_dnnuser.sysobjects where id =
object_id(N'empulse_dnnuser.[GetLink]') and OBJECTPROPERTY(id,
N'IsProcedure') = 1) drop procedure empulse_dnnuser.GetLink
System.Data.SqlClient.SqlException: Invalid object name
'empulse_dnnuser.sysobjects'. 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)
if exists (select * from empulse_dnnuser.sysobjects where id =
object_id(N'empulse_dnnuser.[GetLinks]') and OBJECTPROPERTY(id,
N'IsProcedure') = 1) drop procedure empulse_dnnuser.GetLinks
System.Data.SqlClient.SqlException: There is already an object named
'GetLink' in the database. 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)
CREATE procedure empulse_dnnuser.GetLink
@ItemId int,
@ModuleId int
as
select Links.ItemId, Links.ModuleId, Links.Title, Links.URL,
Links.ViewOrder, Links.Description, Links.CreatedByUser,
Links.CreatedDate, UrlTracking.TrackClicks, UrlTracking.NewWindow
from Links
left outer join UrlTracking on Links.URL = UrlTracking.Url and
UrlTracking.ModuleId = @ModuleID where Links.ItemId = @ItemId
and Links.ModuleId = @ModuleId
System.Data.SqlClient.SqlException: There is already an object named
'GetLinks' in the database. 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)
CREATE procedure empulse_dnnuser.GetLinks
@ModuleId int
as
select Links.ItemId, Links.ModuleId, Links.CreatedByUser,
Links.CreatedDate, Links.Title, Links.URL, Links.ViewOrder,
Links.Description, UrlTracking.TrackClicks, UrlTracking.NewWindow
from Links
left outer join UrlTracking on Links.URL = UrlTracking.Url and
UrlTracking.ModuleId = @ModuleID where Links.ModuleId = @ModuleId
order by Links.ViewOrder, Links.Title
|
EndJob |
End Sql execution: 03.03.00.SqlDataProvider file |
|
EndJob |
Finished Sql execution |
|
StartJob |
Creating files |
Failure |
ExceptionSystem.UnauthorizedAccessException:
Access to the path
'C:\hshome\empulseh\empulsetech.com\bin\DotNetNuke.Modules.Links.dll'
is denied. at System.IO.__Error.WinIOError(Int32 errorCode, String
maybeFullPath) at System.IO.File.SetAttributes(String path,
FileAttributes fileAttributes) at
DotNetNuke.Modules.Admin.ResourceInstaller.PaDnnInstallerBase.CreateFile(String
FullFileName, Byte[] Buffer) at
DotNetNuke.Modules.Admin.ResourceInstaller.PaDnnInstallerBase.CreateBinFile(PaFile
File) 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() |
|
|
|
|
| |