· Chris Hammond
Last Updated

DotNetNuke Tip #15, Running a webservice inside of a DNN site.

Learn how to run a webservice inside DotNetNuke with this easy fix. Create a virtual directory, copy BIN files, and modify web.config for seamless integration.

Learn how to run a webservice inside DotNetNuke with this easy fix. Create a virtual directory, copy BIN files, and modify web.config for seamless integration.

Perhaps you need to run a webservice inside an instance of DotNetNuke. If you’ve tried by just copying the webservice directory out there you’ve probably been frustrated with the result.

The fix is pretty darn simple. First thing, create a virtual directory in IIS for your web service folder.

Second, copy the BIN files from the DotNetNuke/bin folder to the webservice/bin folder.

In the webservice web.config file add the following to System.web

<httpModules> <clear />

</httpModules>

That will clear out the httpModules that DNN loads, thus allowing your webservice to run on it’s own.

<clear />

</httpModules>

That will clear out the httpModules that DNN loads, thus allowing your webservice to run on it’s own.

Share:
Back to Blog

Related Posts

View All Posts »