myLittleTools Community Forum

Welcome Guest Search | Active Topics | Members | Log In | Register

Can connect to/edit DB but unable to use Treeview to browse contents (2) Options · View
SupermanInNY
Posted: Tuesday, April 08, 2008 5:52:53 PM
Rank: Member
Groups: Member

Joined: 4/8/2008
Posts: 8
Points: 0
Same topic as the previous user posted, but I don't think he needs to see such an old thread update.

Here is my problem:

I'm login in OK, and just like the other thread issue:
I can connect, but can't expand the Treeview to browse content.
I checked the demo site, and there I have no problem viewing the tables
and all the site's info.
Also, I checked with Firefox 2 and IE7.
I get the same behaviour.

My server is 2003 Standard with SQL Server 2005 Express.
My control panel is HC7 build 15 (fresh install).
I did not modify anything, it is installed and enabled by HostingController automatically.

Quote:

Offending URL: http://server.info/MSSQLAdmin/obj/objlist.aspx?t=ud

Source: .Net SqlClient Data Provider

Message: Invalid object name 'sys.databases'.

Stack trace: at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream)
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior)
at System.Data.SqlClient.SqlCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.FillSchemaFromCommand(Object data, SchemaType schemaType, IDbCommand command, String srcTable, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.FillSchema(DataSet dataSet, SchemaType schemaType, IDbCommand command, String srcTable, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.FillSchema(DataSet dataSet, SchemaType schemaType)
at MyLittleAdmin.Connection.FillDataSet(String pSqlQuery, Int32 p1stRow, Int32 pRowCount, String pDataSetName, String pTableName)
at MyLittleAdmin.MlaServer.GetUserDbList()
at mla_gui.ObjList.Page_Load(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain()

Target site: System.Data.SqlClient.SqlDataReader ExecuteReader(System.Data.CommandBehavior, System.Data.SqlClient.RunBehavior, Boolean)



Looking for some pointers to fix this.

-Sup.
elian
Posted: Tuesday, April 08, 2008 6:17:36 PM

Rank: Administration
Groups: Administration

Joined: 9/11/2006
Posts: 605
Points: 649
Location: Enghien Les Bains, France
You try to use myLittleAdmin for SQL 2005 with a SQL 2000 server, which is not supported.
If you need to manage a SQL 2000 server, then use myLittleAdmin for SQL 2000.

More info on myLittleAdmin for SQL 2000 can be found at
http://www.mylittletools.net/en/mylittleadmin_sql_server_2000/
SupermanInNY
Posted: Tuesday, April 08, 2008 7:33:57 PM
Rank: Member
Groups: Member

Joined: 4/8/2008
Posts: 8
Points: 0
elian wrote:
You try to use myLittleAdmin for SQL 2005 with a SQL 2000 server, which is not supported.
If you need to manage a SQL 2000 server, then use myLittleAdmin for SQL 2000.

More info on myLittleAdmin for SQL 2000 can be found at
http://www.mylittletools.net/en/mylittleadmin_sql_server_2000/


I'm sorry, but where did you see SQL 2000?
I explicity said windows 2003 with SQL Server 2005 Express.

Did I miss something?

-Sup.
elian
Posted: Tuesday, April 08, 2008 7:58:19 PM

Rank: Administration
Groups: Administration

Joined: 9/11/2006
Posts: 605
Points: 649
Location: Enghien Les Bains, France
Run the following query on your sql server and tell us the result:
Code:
EXEC xp_msver @optname='ProductVersion'


A classic explanation is that you both have SQL 2000 and SQL 2005 on your machine and you did not correctly define your SQL 2005 Server in the config.xml file
SupermanInNY
Posted: Tuesday, April 08, 2008 8:07:00 PM
Rank: Member
Groups: Member

Joined: 4/8/2008
Posts: 8
Points: 0
Index Name Internal_Value Character_Value
2 ProductVersion 524288 8.00.2039
elian
Posted: Tuesday, April 08, 2008 8:25:54 PM

Rank: Administration
Groups: Administration

Joined: 9/11/2006
Posts: 605
Points: 649
Location: Enghien Les Bains, France
Quote:
8.00.2039

It means that you try to manage a SQL 2000 instance.
SQL 2005 is 9.00.xxxx

Edit your config.xml file and check your SQL Server instance name.
I'm pretty sure you (or HC7 default install) defined your SQL 2000 instance instead of your SQL 2005 instance.
SupermanInNY
Posted: Tuesday, April 08, 2008 8:33:07 PM
Rank: Member
Groups: Member

Joined: 4/8/2008
Posts: 8
Points: 0
elian wrote:
Quote:
8.00.2039

It means that you try to manage a SQL 2000 instance.
SQL 2005 is 9.00.xxxx

Edit your config.xml file and check your SQL Server instance name.
I'm pretty sure you (or HC7 default install) defined your SQL 2000 instance instead of your SQL 2005 instance.


You might want to indicate to users who use HC to understand that HC installs either a version with NO database (where you need to install a db on your own and then you are certain to get the 2005, OR,. use the HC version of DB which as it turn out to be: MSDE version which as it appears,. is NOT a 2005 version).

I'm going to install 2005 now and re-install HC onto it.. then I'll try again.

Thanks for helping me identify the problem.

-Sup.
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

Theme created by myLittleTools
Powered by Yet Another Forum.net version 1.9.1.8 (NET v2.0) - 3/29/2008
Copyright © 2003-2008 Yet Another Forum.net. All rights reserved.