I've been building a module that uses Web References (not to be confused with a Service Reference) to utilize a 3rd party API. In DNN 7.3.2, this web reference works fine. I upgraded the site successfully to 7.4.1 and this same web reference is now broken. Does anyone know if there are breaking changes that disable use of Web References? When adding a Web Reference, VS notifies you that it generates code based on .NET Framework 2.0 Web Services technology.
Here's the error I get when the Web Reference is called in 7.4.1:
AbsoluteURL:/Default.aspx
DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke
ExceptionGUID:412663ba-6428-47d7-9930-f469bb272293
AssemblyVersion:7.4.1
PortalId:1
UserId:-1
TabId:652
RawUrl:/Default.aspx?tabid=652&error=An%20unexpected%20error%20has%20occurred&content=0
Referrer:
UserAgent:Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.134 Safari/537.36
ExceptionHash:1wB6JQgJmRFOLBLlxlfnyg==
Message:Server was unable to process request. ---> The system was unable to successfully retrieve the DataTable. [Incorrect syntax near 'length'.] ---> Incorrect syntax near 'length'.
StackTrace:
InnerMessage:Server was unable to process request. ---> The system was unable to successfully retrieve the DataTable. [Incorrect syntax near 'length'.] ---> Incorrect syntax near 'length'.
InnerStackTrace:
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at SSO. ThirdPartyApiName. ThirdPartyApiName.GetInfo(String APICode, String EnPID) in C:\Code\ClientName\SSO\SSO\Web References\ThirdPartyApiName\Reference.cs:line 83
at SSO.SkinObject.Page_Load(Object sender, EventArgs e) in C:\Code\ClientName\SSO\SSO\SkinObject.ascx.cs:line 80
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Any thoughts? I've looked through issues in the issue tracker and release notes and haven't been able to find anything that would point to a solution or cause.