Advertisement

10.18.2007 at 06:29AM PDT, ID: 22901586
[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!

6.2

Importing a backed up SQL database to a new one with a new name/user/pw

Asked by Malevolo in MS SQL Server, Active Server Pages (ASP)

Tags: ,

A client of mine recently switched to a new webhosting account so we're in the process of restoring their website for them.  Their website was built in ASP and depends on a small SQL database for some information.  I've restored all data to the new host, and created a new SQL database to restore that to.  The account is with 1and1.com, so anyone familiar with their setup will know that they assign you a database name, user and password and you can't alter this information.

Now, after I imported my SQL backup (something.bak) into the new database, it looks like the tables and data are all there but after updating the settings in my main ASP page, I get an "HTTP 500 - Internal server error" when trying to navigate to, lets say: http://xxyyzz.com/products.asp?catCode=TP

I edited the below info in products.asp; no other files I found contained any reference to a database so I guess this is the only one I need to change.

[[[OLD]]]
ConnectString="PROVIDER=SQLOLEDB;DATA SOURCE=64.xx.xx.92;UID=oldUSR;PWD=oldPW;DATABASE=oldDB"

[[[NEW]]]
ConnectString="PROVIDER=SQLOLEDB;DATA SOURCE=mssql.yyyy.com;UID=user22222;PWD=newPW;DATABASE=db11111"

1) Does the "PROVIDER=" field need to be changed from "SQLOLEDB" to something else?

2) There were some other lines like this one in the same page that had "connectstring=..." but they began with an apostrophee, I gather that means that those lines were commented out and were probably for older setups?

3) When browsing through 1&1's SQL Light viewer, or something like that, I see that the userid for all the tables and such is still "oldUSR" (the username from the old DB setup) instead of "user22222" from the new DB. Could this be causing the issue?


Thanks very much in advance!Start Free Trial
 
Loading Advertisement...
 
[+][-]10.18.2007 at 06:42AM PDT, ID: 20100882

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 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.18.2007 at 06:47AM PDT, ID: 20100915

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 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.18.2007 at 06:48AM PDT, ID: 20100926

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 30-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]10.18.2007 at 06:53AM PDT, ID: 20100963

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 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.18.2007 at 06:57AM PDT, ID: 20100986

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 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.18.2007 at 07:16AM PDT, ID: 20101157

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 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.18.2007 at 08:45AM PDT, ID: 20101970

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 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.18.2007 at 10:20AM PDT, ID: 20102718

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 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.18.2007 at 10:46AM PDT, ID: 20102920

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 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.18.2007 at 02:47PM PDT, ID: 20104954

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 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.19.2007 at 01:40AM PDT, ID: 20107343

View this solution now by starting your 30-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

Zones: MS SQL Server, Active Server Pages (ASP)
Tags: sql, database
Sign Up Now!
Solution Provided By: ibrusett
Participating Experts: 3
Solution Grade: B
 
 
 
Loading Advertisement...
20081112-EE-VQP-44 / EE_QW_EXPERT_20070906