6 Replies Latest reply: Aug 27, 2013 12:42 PM by Ron M-Oracle RSS

    Error when opening attachment in DRL Document

    Danah

      Hello all,

       

      I am working on giving read access to DRL for a specific group of people. I have been able to allow them to see the entire taxonomy of the DRL. When they try to access the attachment in the document they get an error message.

      Any suggestions or is this a SR? This has never been an issue for us in the past.

       

      Thanks,

      Dana

        • 1. Re: Error when opening attachment in DRL Document
          Ron M-Oracle

          Can you include the error message from the Event Logs?

          • 2. Re: Error when opening attachment in DRL Document
            Danah

            Ron,

            This is what we got. Thanks for your help.

             

            Event Type:        Error

            Event Source:    DRL-Prodika

            Event Category:                None

            Event ID:              0

            Date:                     8/26/2013

            Time:                     3:18:24 PM

            User:                     N/A

            Computer:          PROPHECYTEST

            Description:

            Current User: tarav

            URL: "/drl/WebCommon/Popups/DRL/DrlAttachmentViewerPopup.aspx"

            Additional Info:

            1. System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.NullReferenceException: Object reference not set to an instance of an object.

               at Xeno.Prodika.DRL.WebUI.Integration.DrlServiceImpl.GetAttachmentWithBlob(tIdentifier AttachmentId, Byte[]& AttachedBlob)

               --- End of inner exception stack trace ---

               at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)

               at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)

               at Xeno.Prodika.XenoDoc.Handlers.DRL.DrlService.GetAttachmentWithBlob(tIdentifier AttachmentId, Byte[]& AttachedBlob)

               at Xeno.Prodika.XenoDoc.Handlers.DRL.DrlWebServiceBlobHandler.LoadBlob(IXDocument xdoc, Stream readableBlobStream)

               at Xeno.Prodika.XenoDoc.BaseLibraryManager.LoadBlob(IXDocument xdoc, Stream readableBlobStream)

               at Xeno.Prodika.XenoDoc.DRL.WSBasedDrlAttachmentDocument.GetBlobAsStream()

               at Xeno.Web.UI.Common.Controls.Popups.DRL.DrlAttachmentViewerPopup.OpenAttachment(IDrlAttachmentDocument xdoc)

               at Xeno.Web.UI.Common.Controls.Popups.DRL.DrlAttachmentViewerPopup.OnLoad(EventArgs e)

               at System.Web.UI.Control.LoadRecursive()

               at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

               --- End of inner exception stack trace ---

               at System.Web.UI.Page.HandleError(Exception e)

               at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

               at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

               at System.Web.UI.Page.ProcessRequest()

               at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)

               at System.Web.UI.Page.ProcessRequest(HttpContext context)

               at ASP.webcommon_popups_drl_drlattachmentviewerpopup_aspx.ProcessRequest(HttpContext context) in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\drl\393ae15b\c0ee4519\App_Web_zaulqnop.1.cs:line 0

               at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

               at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

            • 3. Re: Error when opening attachment in DRL Document
              Ron M-Oracle

              Can any user see attachments at all? Can you see new attachments that you just uploaded, but not older attachments? If so, are you setting this up in a different environment (such as a test/development environment)? A common scenario we encounter is that a test/dev environment is set up using the database from a staging/production environment, but the files are not copied over. So the app is expecting those files to exist, but they were not on the file system. Is this possibly the situation you have?

              • 4. Re: Error when opening attachment in DRL Document
                Danah

                Yes, we have set this up in our test enviromnent first to comfirm functionality prior to sending to our production system.

                I as the admin can see some of the files but not all. I can open the ones attached to my business unit.

                We will import the changes for one user to production enviroment and test there. Thanks for the advice.

                 


                • 5. Re: Error when opening attachment in DRL Document
                  Danah

                  Ron,

                  You were correct. it seems we may have lost some data link when transfering from our production to our test environment. We updated a user in production and it is working.

                  Thanks so much for you help.

                   

                  Regards.