scusack
asked on
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?
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?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I believe it was a custom application.
Hm,
Looks not as usual/expected.
What's in the ASMX file?
Looks not as usual/expected.
What's in the ASMX file?
ASKER
<%@ WebService Language="C#" CodeBehind="NAV_Data.asmx. cs" Class="NAV_DATA.Service1" %>
ASKER
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Hi,
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/
HTH
Rainer
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/
HTH
Rainer
ASKER
Once I installed .Net Reflector and decompiled the dll file I was able to see the connection string to the DB.
ASKER
<configuration>
<system.web>
<compilation debug="true" targetFramework="4.0" />
</system.web>
<system.serviceModel>
<behaviors>
<serviceBehaviors>
<behavior>
<serviceMetadata httpGetEnabled="true"/>
<serviceDebug includeExceptionDetailInFa
</behavior>
</serviceBehaviors>
</behaviors>
<serviceHostingEnvironment
</system.serviceModel>
<system.webServer>
<modules runAllManagedModulesForAll
</system.webServer>
</configuration>