Re: Integration in DNN

  •  07-26-2004, 10:52 AM

    Re: Integration in DNN

    Are you sure this is right? I doesn't work for me.

     
    A couple of things
    - #3 and #4 are the same, have you forgot something else?
    - you need a new section on the web.config for this to work
    -  the <cuteChat  tag is malformed. Al least the /> is missing.
    - Should the connectionsTring be blank?
    - If I'm not wrong this (CuteChat.DNNLib.DNNSqlDataProvider,CuteChat.DNNLib) specifies a type and an assembly. Are you sure this are the names? DNNLib is not on my installation.
     
    If I leave this as you pointed I get:
    FileName:
    FileLineNumber: 0
    FileColumnNumber: 0
    Method: System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage
    DatabaseVersion: 2.1.2
    AssemblyVersion: 2.1.2.16001
    PortalID: 0
    PortalName: DotNetNuke
    UserID: 2
    UserName: host
    ActiveTabID: 1
    ActiveTabName: Home
    AbsoluteURL: /chat/Default.aspx
    AbsoluteURLReferrer:
    ExceptionGUID: 0541e884-4ec3-4ca7-a49d-f13acf815935
    DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
    Message: ?
    InnerException: System.IO.FileNotFoundException: ? File name: "CuteChat.DNNLib" Server stack trace: at System.Type.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase) at CuteChat.ChatProviderItem.CreateSqlDataProvider(String connectionstring) at CuteChat.SqlServer.SqlDataAccess..ctor() at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(MethodBase mb, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs) at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext) Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at CuteChat.SqlServer.SqlDataAccess..ctor() at CuteChat.Defaults.DefaultDataFactory.CreateDataAccess() at CuteChat.ChatConfig.CreateDataAccess() at CuteChat.ChatComponentBase.CreateDataHolder() at CuteChat.ChatComponentBase.CuteChat.ContextBoundModel.IMessageHandlerBase.ProcessMessage(IMethodCallMessage mcm, AspectObjectProxy proxy, MessageHandlerQueue queue) at CuteChat.ContextBoundModel.MessageHandlerQueue.InvokeNext(IMethodCallMessage mcm, AspectObjectProxy proxy) Exception rethrown at [1]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at CuteChat.ContextBoundModel.AspectComponent.Dispose() at _ASP.Rooms_ascx.Page_Load(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain() === Pre-bind state information === LOG: DisplayName = CuteChat.DNNLib (Partial) LOG: Appbase = file:///C:/DNNWeb/chat LOG: Initial PrivatePath = bin Calling assembly : (Unknown). === LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind). LOG: Post-policy reference: CuteChat.DNNLib LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/chat/b3e96910/d3a5d7cf/CuteChat.DNNLib.DLL. LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/chat/b3e96910/d3a5d7cf/CuteChat.DNNLib/CuteChat.DNNLib.DLL. LOG: Attempting download of new URL file:///C:/DNNWeb/chat/bin/CuteChat.DNNLib.DLL. LOG: Attempting download of new URL file:///C:/DNNWeb/chat/bin/CuteChat.DNNLib/CuteChat.DNNLib.DLL. LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/chat/b3e96910/d3a5d7cf/CuteChat.DNNLib.EXE. LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/chat/b3e96910/d3a5d7cf/CuteChat.DNNLib/CuteChat.DNNLib.EXE. LOG: Attempting download of new URL file:///C:/DNNWeb/chat/bin/CuteChat.DNNLib.EXE. LOG: Attempting download of new URL file:///C:/DNNWeb/chat/bin/CuteChat.DNNLib/CuteChat.DNNLib.EXE.
    TargetSite:
    StackTrace:
    HelpLink:
    Source:
     
    If I change DNN to DotNetNuke I get:
    FileName:
    FileLineNumber: 0
    FileColumnNumber: 0
    Method: System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage
    DatabaseVersion: 2.1.2
    AssemblyVersion: 2.1.2.16001
    PortalID: 0
    PortalName: DotNetNuke
    UserID: 2
    UserName: host
    ActiveTabID: 1
    ActiveTabName: Home
    AbsoluteURL: /chat/Default.aspx
    AbsoluteURLReferrer:
    ExceptionGUID: c0e7c35b-ee4d-4fe7-86f8-8ff79bd8f045
    DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
    Message: Format of the initialization string does not conform to specification starting at index 0.
    InnerException: System.ArgumentException: Format of the initialization string does not conform to specification starting at index 0. Server stack trace: at System.Data.Common.DBConnectionString.GetKeyValuePair(Char[] connectionString, Int32 currentPosition, String& key, Char[] valuebuf, Int32& vallength, Boolean& isempty) at System.Data.Common.DBConnectionString.ParseInternal(Char[] connectionString, UdlSupport checkForUdl, NameValuePair& keychain) at System.Data.Common.DBConnectionString..ctor(String connectionString, UdlSupport checkForUdl) at System.Data.SqlClient.SqlConnectionString..ctor(String connectionString) at System.Data.SqlClient.SqlConnectionString.ParseString(String connectionString) at System.Data.SqlClient.SqlConnection.set_ConnectionString(String value) at System.Data.SqlClient.SqlConnection..ctor(String connectionString) at CuteChat.SqlServer.SqlDataProvider.get_Connection() at CuteChat.SqlServer.SqlDataProvider.CreateCommand() Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at CuteChat.SqlServer.ISqlDataProvider.CreateCommand() at CuteChat.SqlServer.SqlDataAccess.CreateCommand() at CuteChat.SqlServer.SqlDataAccess.ListRooms(String targetType, String targetId) Exception rethrown at [1]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at CuteChat.IDataAccess.ListRooms(String targetType, String targetId) at CuteChat.ChatSystem.ListRooms(String targetType, String targetId) Exception rethrown at [2]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at CuteChat.ChatSystem.ListRooms(String targetType, String targetId) at _ASP.Rooms_ascx.Page_Load(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain()
    TargetSite:
    StackTrace:
    HelpLink:
    Source:
     

    Vicenç Masanas
    www.disgrafic.com
View Complete Thread