Hi guys I'm having some trouble getting DNN to work correctly when using web services.
I think the problem stems from using the below method.
//Get Current Portal Settings
DotNetNuke.Entities.Portals.PortalSettings _Settings = DotNetNuke.Entities.Portals.PortalController.GetCurrentPortalSettings();
As the path to the webservice will be something like:
Website.com/DesktopModules/Module/Webservice.asmx
as apposed to
Website.com/SUBPORTAL/DesktopModules/Module/Webservice.asmx
So getting the current portal settings will always return the main portal usually with an id of 0.
Is there away to resolve the path to a webservice, or would you recommend another location for the webservice?
Currently running DNN 05.06.01, IIS7, VS2010, SQL2008, .net 4Target. Unable to upgrade DNN at this moment in time sadly.