Thanks, I'll look into that.
Have one more problem now!!
Created a form: http://www.elycity.co.uk/thingstodo.aspx, the fields are not wired up yet, click add event and im getting an object not set to reference.
The event viewer is showing:
AssemblyVersion: 7.0.3
PortalID: 0
PortalName: The City of Ely Website
UserID: 3
UserName: Facebook-567221822
ActiveTabID: 86
ActiveTabName: Things to do
RawURL: /thingstodo.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://www.elycity.co.uk/thingstodo.aspx
UserAgent: Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.172 Safari/537.22
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke
ExceptionGUID: 69343d43-68e5-48ec-be0f-a8f5ceea3e39
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: Categories.Events.AddEvent
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at Categories.Events.AddEvent() at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
Source:
Server Name: WEBSERVER
This is my first attempt at building module but all that is happening is:
Protected Sub btnAddEvent_Click(sender As Object, e As EventArgs) Handles btnAddEvent.Click
AddEvent()
End Sub
Works on my development environment fine using v4 .Net Integrated. Everything same but different reults :(