Advertisement

[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

02/13/2007 at 09:26AM PST, ID: 22340650
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

7.4

Reason why .asp code works on one server but not another

Asked by tazmanian in Miscellaneous Web Development

Tags: asp, cannot, collection, server

We have a .asp website (9000+ files) that was on 2000 server (and 2000 MS SQL database) an have since moved it to a 2003 server with a 2005 SQL server and now some of the site does not work.  We keep getting the following errror:
ADODB.Command error '800a0cc1'

Item cannot be found in the collection corresponding to the requested name or ordinal.

/manager/ssi/i_get_prod_entity_name.asp, line 24

and here is that code from the i_get_prod_entity_name.asp

<%
REM Function gets name of product entity
Function GetName(strAssocType, intAssocObjId)
      Select case strAssocType
            case "pf_id"
                  strText = "product family"
                  strStoredProc = "prod_family_select_by_pf_id"
                  strRS = "pf_name"
            case "pd_id"
                  strText = "product department"
                  strStoredProc = "prod_dept_select_by_pd_id"
                  strRS = "pd_name"
            case "prod_id"
                  strText = "product"
                  strStoredProc = "prod_select_name_by_prod_id"
                  strRS = "prod_name"
      end select

      CreateDBConnection()
            ConnectionObject.BeginTrans
            CommandObject.CommandType = 4 'adCommandObjectStoredProc
            CommandObject.CommandText = strStoredProc
            'CommandObject.Parameters.Refres
            CommandObject(1) = intAssocObjId
            set rsName = CommandObject.Execute()
      CloseDBConnection()
      If not rsName.eof then
            strRS = rsName(strRS)
            GetName = array(strText, strRS)
      else
            GetName = null
      end if
End Function
%>

I have checked the 2005 SQL database and it does have all the same stored procedures as the 2000 server.  Please help.  This is pretty important.
View the Solution FREE for 7 Days
[+][-]02/13/07 09:56 PM, ID: 18528963

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02/14/07 01:34 AM, ID: 18529767

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02/14/07 01:36 AM, ID: 18529783

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02/14/07 06:55 AM, ID: 18531609

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Miscellaneous Web Development
Tags: asp, cannot, collection, server
Sign Up Now!
Solution Provided By: The_Spaz
Participating Experts: 3
Solution Grade: A
 
 
[+][-]02/14/07 08:18 AM, ID: 18532514

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02/14/07 09:49 AM, ID: 18533461

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20090617-EE-VQP-62