Hello. I have a web service that gets data fromo one module.
The entire web service consiste of two files:
~/App_Code/Inventory.vb
~/WebServices\PropertyAgent\Inventory.asmx
I madde a web refrence in Visual Studio 2008 and on My dev machine everything looks fine.
When I migrate this set up to our test server it blows up. I am able to enter the url of our test server and bring up the web service ok, just can't do it from code.
We are using a web service because we plan to use multiple installs of DNN and want to get the data from one install to the other(s) using the web service.
I have researched and have found a number of (IMO) not simple solutions to fix this. For now what I'm asking is why would this set up work localy and then not like it on the test server?
Thanks!
Here is the error I'm getting on test :
DotNetNuke.Services.Exceptions.ModuleLoadException: C:\Inetpub\TEST_DNN\DesktopModules\PA_ImportInventory_WebService\ViewPA_ImportInventory_WebService.ascx.vb(1188): error BC30002: Type 'WebServicePropertyAgent.Inventory' is not defined. ---> System.Web.HttpCompileException: C:\Inetpub\TEST_DNN\DesktopModules\PA_ImportInventory_WebService\ViewPA_ImportInventory_WebService.ascx.vb(1188): error BC30002: Type 'WebServicePropertyAgent.Inventory' is not defined. at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) at System.Web.UI.TemplateControl.LoadControl(String virtualPath) at DotNetNuke.UI.Skins.Skin.InjectModule(Control objPane, ModuleInfo objModule, PortalSettings PortalSettings)
--- End of inner exception stack trace ---