SharePoint 2013 Hosting :: Resolving a virtualPath issue on SharePoint 2013

This article will manage you how to resolve a virtualPath issue that may appear in SharePoint 2013 when attempting to include a third gathering library (for instance Signalr), or when you utilize the “~” symbol in the way. We experienced this issue while creating a plugin that permits you to incorporate the Groupdocs.annotation for .NET library into Sharepoint.

ahp banner sharepoint-01

In general, the issue is truly unusual, as it is not reported in the stack follow or logs. Googling it didn’t provide for us any profitable points of interest either. After a few hours of examination, we discovered that the issue showed up because of the Sharepoint server got “panicked and swoons” simply on the grounds that it saw the “~” image in the way (for instance: Server.mappath(“~/testfolder/page.aspx”)).

To purpose the issue, we ought to show Sharepoint how to function with this image. For doing in this way, we’ll make a custom handler that will override Sharepoint’s basic way handler. To begin with, we have to make a custom http module that can be sent to Sharepoint:

1. Open your VisualStudio 2012 as administrator.
2. Create an empty SharePoint project.
3. Create a new class with the following code:

 4. Register this GDPathProvider in the HostingEnvironment via the custom HttpModule:

 5. So as to add the Gdhttpmodule to the application pipeline, we utilized the Preapplicationstartmethod get together credit that permits us to enlist the module by means of Dynamicmoduleutility.registermodule when the application begins:

 6. Finally, add this assembly to the web.config assemblies:

 Finish, I hope it will help you to solve your SharePoint problem.

Best SharePoint 2013 Hosting Recommendation

ASPHostPortal.com

ASPHostPortal.com provides its customers with Plesk Panel, one of the most popular and stable control panels for Windows hosting, as free. You could also see the latest .NET framework, a crazy amount of functionality as well as Large disk space, bandwidth, MSSQL databases and more. All those give people the convenience to build up a powerful site in Windows server. ASPHostPortal.com offers SharePoint 2013  hosting starts from $9,99/month only. They also guarantees 30 days money back and guarantee 99.9% uptime. If you need a reliable affordable SharePoint 2013 Hosting, ASPHostPortal.com should be your best choice.

HostForLIFE.eu

The price of HostForLIFE.eu SharePoint 2013 hosting packages is quite competitive, especially the Level 1 which we may recommend most here. The Level 1 hosting package is €9.99/mo. It include 50GB bandwidth, 5 GB disk storage, MSSQL 2012 databases, MySQL databases, Unlimited Subsites and support almost all of the cutting-edge Windows technologies, such as remote IIS management, ASP.NET v5 and Full Trust. Hosting a Windows-based website with HostForLife.eu should be absolutely worry-free.

DiscountService.com.au

DiscountService.com.au is Microsoft Gold Partner, which means they will be the first one to know the latest Microsoft technology and test Microsoft product before being released to the public. With tons of positive feedback from their customers, we are glad to grant them as the Best SharePoint 2013 Hosting of this month. Their SharePoint hosting is sold at $10/month only, each account is allocated with large Bandwith and Storage Space. It’s sufficient to run a website which is not very busy.