Web service and database connection

We have a SharePoint 2010 webservice that is used to make calls to a database basically Microsoft Dynamics Navision.

The link for it is http://navdatas/Nav_Data.asmx in SharePoint.

It has various  GETPO GETORDER commands that it is calling.  We are moving the database of where these are talking to and I need to know how to repoint these to the new servername and database of the NAVISION DB.  

I have had no luck finding a connection string anywhere to talk to this DB.  Any ideas?
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.

Rainer JeschorCommented:
is this a custom developed web service?
Could you perhaps post / attach the web.config which resides inside of the web service web application?
In 99.9 percent of all cases, the connection string is in there.

scusackAuthor Commented:
<?xml version="1.0"?>
    <compilation debug="true" targetFramework="4.0" />
          <serviceMetadata httpGetEnabled="true"/>
          <serviceDebug includeExceptionDetailInFaults="false"/>
    <serviceHostingEnvironment multipleSiteBindingsEnabled="true" />
    <modules runAllManagedModulesForAllRequests="true"/>
scusackAuthor Commented:
I believe it was a custom application.
C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

Rainer JeschorCommented:
Looks not as usual/expected.
What's in the ASMX file?
scusackAuthor Commented:
<%@ WebService Language="C#" CodeBehind="NAV_Data.asmx.cs" Class="NAV_DATA.Service1" %>
scusackAuthor Commented:

There is a dll in the BIN file called Nava_data.dll.  I think this is a compiled application where maybe the settings are that point to the DB. installed a hex editor and took a look and I do see references to our Navision database.  Any idea how I would do this?

dll snipdll snip
scusackAuthor Commented:
I downloaded /Net Reflector and decompiled the dll. There was a connection string within the NAV_DATA.Service1 code that needed to be updated.  Thank You for your help Rainer.

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
Rainer JeschorCommented:
that are not really good News, but just in case: there is a really useful tool where you can patch .NET dlls - and It could be really good in your Situation.
The tool is called ReflexIL - http://reflexil.net/

scusackAuthor Commented:
Once I installed .Net Reflector and decompiled the dll file I was able to see the connection string to the DB.
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
Web Services

From novice to tech pro — start learning today.