hey,
I found a fix by using New CuteChat.SampleProvider() but i got a new error now.
Its saying....
The ConnectionString property has not been initialized.
Description: An
unhandled exception occurred during the execution of the current web
request. Please review the stack trace for more information about the
error and where it originated in the code.
Exception Details: System.InvalidOperationException: The ConnectionString property has not been initialized.
Source Error:
An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of
the exception can be identified using the exception stack trace below.
|
Stack Trace:
[InvalidOperationException: The ConnectionString property has not been initialized.]
System.Data.SqlClient.SqlConnection.PermissionDemand() +856947
System.Data.SqlClient.SqlConnectionFactory.PermissionDemand(DbConnection outerConnection) +22
System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +105
System.Data.SqlClient.SqlConnection.Open() +111
CuteChat.ChatProvider.CreateDataProvider(AppPortal portal) +102
CuteChat.AppDataManager.CreateDataProvider() +46
CuteChat.ChatDataManager.GetPortalInfo() +38
CuteChat.ChatApi.GetConfig(String name) +72
CuteChat.ChatWebUtility.get_LoginUrl() +12
CuteChat.ChatAdminPage.OnInit(EventArgs e) +120
System.Web.UI.Control.InitRecursive(Control namingContainer) +321
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +692
|
... but i've done what it said in the developers guide with the global.asax i.e.
Public Function GetConnectionString(ByVal user As CuteSoft.Chat.UserIdentity) As String Implements CuteSoft.Chat.IHttpApplicationConnectionStringProvider.GetConnectionString
Return System.Configuration.ConfigurationSettings.AppSettings("DSN")
End Function
Any help with this would be appreciated,
T.