Re: Integration with portal (VS.NET 2005 Beta2) ...

  •  07-14-2005, 2:47 AM

    Re: Integration with portal (VS.NET 2005 Beta2) ...

    Dear Adam, the link resulted by you tells about how to adjust integration in ASP.NET 1.1, and me interests ASP.NET 2.0...

    There is a good news, I managed to understand as it is necessary to register ConnectionStringProvider in WEB.Config:

    1. We create a class successor ConnectionStringProvider, for example: PortalConnectionStringProvider it is written down it in folder App_Code
    2. We add in WEB.Config a line:

    <add key = " CuteChat.ConnectionStringProvider " value = " PortalConnectionStringProvider, App_Code "/>

    I have put in folder Bin:

    CuteSoft. Chat.dll
    CuteSoft. ChatService.dll
    cutechat.lic
    cutechat.messenger.lic

    I do a call:

    Dim Lobbys () As CuteSoft. Chat. Chat_Lobby
    Lobbys = CuteSoft. Chat. ChatWebUtility. Api. GetLobbies ()

    The call of function passes without mistakes and the array of rooms comes back, BUT at the moment of visualization of page I receive exception:
     
    System.IO.FileNotFoundException was unhandled
    Message="Could not load file or assembly 'CuteSoft.Chat, Version=2.0.0.0, Culture=neutral, PublicKeyToken=da0fc3a24b6f18ba' or one of its dependencies. The system cannot find the file specified."
    Source="WebDev.WebHost"
    FileName="CuteSoft.Chat, Version=2.0.0.0, Culture=neutral, PublicKeyToken=da0fc3a24b6f18ba"
    FusionLog="=== Pre-bind state information ===\r\nLOG: User = PortalServer\\Dmitriy\r\nLOG: DisplayName = CuteSoft.Chat, Version=2.0.0.0, Culture=neutral, PublicKeyToken=da0fc3a24b6f18ba\n (Fully-specified)\r\nLOG: Appbase = file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50215/\r\nLOG: Initial PrivatePath = NULL\r\nCalling assembly : (Unknown).\r\n===\r\nLOG: This bind is in default load context.\r\nLOG: No application configuration file found.\r\nLOG: Using machine configuration file from C:\\WINDOWS\\Microsoft.NET\\Framework\\v2.0.50215\\config\\machine.config.\r\nLOG: Post-policy reference: CuteSoft.Chat, Version=2.0.0.0, Culture=neutral, PublicKeyToken=da0fc3a24b6f18ba\r\nLOG: The same bind was seen before, and was failed with hr = 0x80070002.\r\n"
    StackTrace:
    at Microsoft.VisualStudio.WebHost.Host.ProcessRequest(Connection conn) at Microsoft.VisualStudio.WebHost.Server.OnSocketAccept(Object acceptedSocket) at System.Threading._ThreadPoolWaitCallback.WaitCallback_Context(Object state) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback(Object state)
     
     
    Any more I do not know what to do, I can not understand in what a mistake...
    One hope for that that you tell as to solve the given problem???

    On English: Automatic intellegance - a task of generations ...
    По Русски: Искуственный интеллект - задача поколений ...
View Complete Thread