Pervasive ODBC with excel

I had an excel spreadsheet with datasource of Pervasive client interface ODBC configured. It was working perfectly. Yesterday i have changed the ODBC datasource name. and i get some error. How do i change the path for the Excle sheet for the new datasource name?

The error messages are here:
 "The microkeranl cannot find the specified file (Betrieve Error 12)"
"Invalid Connectiong string attribute"

Thanks for any help
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

MirtheilSoftware DeveloperCommented:
Sounds like you moved your Pervasive data as well. Did you recreate the ODBC DSN to point to the correct location?  
As far as changing Excel, you'll probably have to go into Excel, then "Data" then "Import External Data" and then "Edit Query" tobring up MS Query and then change the DSN it's pointing to.
Yes, I did recreate all DSNs. as your advise, i tried to edit the query, gives me error:
"[Microsoft][ODBC Driver Manager]Data source name not found and no default driver specified".
Is there any tweak in registry or somewhere else to edit the previous odbc configuration for this excel file?
Where actually this information stored? I searched the Microsoft KB, but didnt find any helpful document

Thanks for any help
MirtheilSoftware DeveloperCommented:
Looking at the XLS file for a sheet that has a query, there is a "DSN=" value.  I don't know how you would change it in Excel but it should be configurable.
Learn Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

BasheerptAuthor Commented:
Would you please let me know how do i find it and change?!!

BasheerptAuthor Commented:
I found a nice Query edit add-in for excel. It did the job! Pls find that here:

Thanks for all your help..:)
PAQed with points refunded (50)

EE Admin

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.