I followed the tutorial available at
http://www.codeproject.com/KB/appli...odDev.aspx to create a custom module in c#
Everything went fine and I ended up with my ToDoTask module.
I then created a package through the host > module definitions
which was created in the Install folder as a .zip file
I then uploaded this package to another server.
Installation went fine (no errors) but a couple of problems have arised when adding the module to a page:
1 - The module comes with a bunch of stored procedures that weren't included in the package.
That was easily fixed through the host > sql module (I don't have have physical nor database access to the other server)
2 - The second problem I wasn't able to fix.
When I add the module to the page dnn spits an exception which seems related to accessing the database. The module is created but can't be used. Here is the transcript of the relevant(?) part of the log. Basically it says that the
object name ToDoTask (the name of the module)
is invalid
Can anyone tip me on this error?
ExceptionGUID: 11ecddbd-b7fb-4095-beee-a525feb895b4
InnerException: Eccezione generata dalla destinazione di una chiamata.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Data.SqlClient.SqlConnection.OnError
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Eccezione generata dalla destinazione di una chiamata. ---> System.Reflection.TargetInvocationException: Eccezione generata dalla destinazione di una chiamata. ---> System.Data.SqlClient.SqlException:
Il nome di oggetto 'ToDoTask' non è valido. in System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) in System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)