GroupDocs Annotation integration with SharePoint 2013 issues

Hello,

I followed all steps from GroupDocs · GitHub to integrate the GroupDoc Annotation with SharePoint but getting below error in Stack Trace. Even my SharePoint login page is not working. I could not able to login into the system.

Stack Trace:

              <table bgcolor="#ffffcc" width="100%"><tbody><tr><td>
                  <code><pre>[ArgumentException: virtualPath]

Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.IsExcludedPath(String virtualPath) +263
Microsoft.SharePoint.ApplicationRuntime.SPVirtualPathProvider.GetCacheDependency(String virtualPath, IEnumerable virtualPathDependencies, DateTime utcStart) +60
System.Web.WebPages.ApplicationStartPage.MonitorFile(String virtualPath) +185
System.Web.WebPages.ApplicationStartPage.ExecuteStartPageInternal(HttpApplication application, Action1 monitorFile, Func2 fileExists, Func2 createInstance, IEnumerable1 supportedExtensions) +145
System.Web.WebPages.ApplicationStartPage.ExecuteStartPage(HttpApplication application, Action1 monitorFile, Func2 fileExists, Func2 createInstance, IEnumerable1 supportedExtensions) +31

[HttpException (0x80004005): Exception of type ‘System.Web.HttpException’ was thrown.]
System.Web.WebPages.ApplicationStartPage.ExecuteStartPage(HttpApplication application, Action1 monitorFile, Func2 fileExists, Func2 createInstance, IEnumerable1 supportedExtensions) +151
System.Web.WebPages.ApplicationStartPage.ExecuteStartPage(HttpApplication application) +409
System.Web.WebPages.WebPageHttpModule.StartApplication(HttpApplication application, Action`1 executeStartPage, EventHandler applicationStart) +113
System.Web.WebPages.WebPageHttpModule.Init(HttpApplication application) +450
System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +610
System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +175
System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +423
System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +317

[HttpException (0x80004005): Exception of type ‘System.Web.HttpException’ was thrown.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +545
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +118
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +711

Thanks,
Bhavin

Hi Bhavin,


I’m sorry to hear that you have such issue. Please try to use our SharePoint plugin which has fix for the VirtualPath issue.

Best regards.

Hello

Thanks for prompt reply. After installing new version of the solution I am getting below error.

Could not load file or assembly
‘System.Web.WebPages.Deployment, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35’ or one of its dependencies. The system
cannot find the file specified.

        <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">

        <b> Description: </b>An unhandled exception occurred during 

the execution of the current web request. Please review the stack trace
for more information about the error and where it originated in the
code.

        <br><br>

        <b> Exception Details: </b>System.IO.FileNotFoundException: 

Could not load file or assembly ‘System.Web.WebPages.Deployment,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ or
one of its dependencies. The system cannot find the file specified.

        <b>Source Error:</b> <br><br>

        <table bgcolor="#ffffcc" width="100%">
           <tbody><tr>
              <td>
                  <code>

An unhandled exception was generated during the execution of the current
web request. Information regarding the origin and location of the
exception can be identified using the exception stack trace below.

              </td>
           </tr>
        </tbody></table>

        <br>

        <b>Assembly Load Trace:</b> The following information can be

helpful to determine why the assembly ‘System.Web.WebPages.Deployment,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ could
not be loaded.

        <table bgcolor="#ffffcc" width="100%">
           <tbody><tr>
              <td>
                  <code><pre>WRN: Assembly binding logging is turned OFF.

To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

              </td>
           </tr>
        </tbody></table>

        <br>

        <b>Stack Trace:</b> <br><br>

        <table bgcolor="#ffffcc" width="100%">
           <tbody><tr>
              <td>
                  <code><pre>[FileNotFoundException: Could not load file or assembly 'System.Web.WebPages.Deployment, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.]

System.Web.WebPages.WebPageRoute.DoPostResolveRequestCache(HttpContextBase context) +0
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +215
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +98

              </td>
           </tr>
        </tbody></table>

        <br><br><font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">Thanks,<br><font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">Bhavin</font><br></font></font>

Hi Bhavin,


Thank you for coming back. This error means that you simply need to add System.Web.WebPages.Deployment.dll to the bin folder of the SharePoint web site, or install it to the GAC.

Best regards.