installation problems

Last post 03-09-2007, 5:40 AM by sakthiyendrann. 8 replies.
Sort Posts: Previous Next
  •  01-20-2007, 6:10 PM 25965

    installation problems

    I'm running the trial version of the stand alone cute chat for asp.net. I'm running into a page error with the banner.aspx file. I set the folder application to asp.net 2.0, put the connection string in the web.config file, ran the sql scripts and moved everything into the folder. When i try to access the files I get:
     
    ( You can see this in action at http://katg.easycgi.com/chattest )
     
     

    Server Error in '/Chat' Application.

    Object reference not set to an instance of an object.

    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.NullReferenceException: Object reference not set to an instance of an object.

    Source Error:

    Line 67:   }
                Line 68:
                Line 69:   if(CuteSoft.Chat.ChatWebUtility.CurrentIdentityIsAdministrator)
                Line 70:    temp += "<a Class=\"Big\" href='CuteSoft_Client/CuteChat/Admin'>Chat Admin</a>";
                Line 71:   TopMenu.Text = temp;

    Source File: c:\websites\katg59\katg.com\Chat\banner.ascx    Line: 69
  •  01-20-2007, 6:20 PM 25967 in reply to 25965

    Re: installation problems

    MichaelApproved,
     
    Most of this kind of problems are caused by wrong connection string.
     
    Please check your web.config.
     
    If you still have problems, please send your site FTP and SQL Server connection string to me.
     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  01-20-2007, 6:28 PM 25969 in reply to 25967

    Re: installation problems

    Adam:
    MichaelApproved,
     
    Most of this kind of problems are caused by wrong connection string.
     
    Please check your web.config.
     
    If you still have problems, please send your site FTP and SQL Server connection string to me.
     
     


    Adam is right !
    Edit the web.config file and check this line...

    <add key="ConnectionString" value="server=(local);database=CutechatStandalone;uid=test;pwd=test"/>

    database=TheNameOfYourDatabase
    uid=UserOfTheDatabase
    pwd=PasswordOfTheDatabase

    For Microsoft SQL Server 2000
    Hope it helps !
    ;-)

    Visit...
    http://www.kanenas.net
    News and ideas about programming
  •  01-22-2007, 5:47 PM 26021 in reply to 25967

    Re: installation problems

    I emailed you the ftp info for my site. I had the password wrong at one point and it gave me a permissions error. Now it's something else so I believe the connection information is correct now.
    Adam:
    MichaelApproved,
     
    Most of this kind of problems are caused by wrong connection string.
     
    Please check your web.config.
     
    If you still have problems, please send your site FTP and SQL Server connection string to me.
     
     
  •  01-22-2007, 7:02 PM 26022 in reply to 25967

    Re: installation problems

    I just realized the FTP information I gave you was not exact
     
    The Chat Folder in the root points to a virtual folder that points to http://katg.easycgi.com/chat
     
    the folder chattest is in the katg.com/chattest folder as simply an application dir, not a virtual folder. I was testing both methods thinking that might be the problem.
     
    let me know which one is needed. The application directory would be easier for me to admin but i could do either one.
  •  01-22-2007, 7:50 PM 26028 in reply to 26022

    Re: installation problems

    MichaelApproved,
     
     
    It's the connection string problem.
     
    The database user in your connection string doesn't have permission to login your DATABASE. Please double check it or contact your host or DBA.
     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  01-23-2007, 2:04 AM 26040 in reply to 26028

    Re: installation problems

    Adam:
    MichaelApproved,
     
     
    It's the connection string problem.
     
    The database user in your connection string doesn't have permission to login your DATABASE. Please double check it or contact your host or DBA.
     
     
     
    sigh, i AM the dba.. i found the problem and fixed it. The site works now. thank you.
     
    Can I make changes to the banner ads now while its in trial or do i have to wait till i paid for it?
     
    where can i find all the documentation on customizing the app?
  •  01-23-2007, 9:03 AM 26052 in reply to 26040

    Re: installation problems

    >>Can I make changes to the banner ads now while its in trial
     
    Yes.
     
     
    >>where can i find all the documentation on customizing the app?
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  03-09-2007, 5:40 AM 27298 in reply to 25965

    Re: installation problems

    picupload.Visible = False

    If ftpconnection1.IsConnected Then

    ftpconnection1.Close()

    End If

    FilesListBox.Items.Clear()

    ftpconnection1.ServerAddress = txtServerName.Text

    ftpconnection1.ServerPort = Integer.Parse(txtPort.Text)

    ftpconnection1.UserName = txtUserName.Text

    ftpconnection1.Password = txtPassword.Text

    ftpconnection1.Connect()

    FilesListBox.Items.AddRange(ftpconnection1.GetFiles())

    If ftpconnection1.IsConnected Then

    MsgBox("Connection is available.Please upload the package", MsgBoxStyle.Information)

    picconnect.Visible = False

    picupload.Visible = False

    'picupload.Visible = True

    picauto.Visible = True

    picmodify.Visible = True

    picmanual.Visible = True

    End If

    Catch ex As Exception

    MsgBox("Connection is not available. Please try again", MsgBoxStyle.Information)

    Exit Sub

    End Try

View as RSS news feed in XML