Compartilhar via


Documents cannot be downloaded from Customer workspace (Duet Enterprise)

 

Applies to: Duet Enterprise for Microsoft SharePoint and SAP

Error message: Server Error in '/' Application.

Summary

This error might occur when a user tries to upload a document on an entity workspace. This error is not common and is not encountered in most Web applications.

Resolution

If this error occurs, change the Duet Enterprise file, ExternalDocUpload.aspx. To change ExternalDocUpload.aspx:

  1. Verify that you have the following administrative credentials:

    • You must be a member of the Farm Administrators group.
  2. Open a Command Prompt window and go to the following folder:

    <drive>:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\OBA

    where <drive> is the drive on which the Duet Enterprise files are stored.

  3. Make a backup copy of ExternalDocUpload.aspx.

  4. At the prompt, type notepad ExternalDocUpload.aspx and then press ENTER.

    The ExternalDocUpload.aspx file opens in Notepad.

  5. Change the following lines in the .aspx page code after the method 'protected override void OnPreInit(EventArgs e)':

    protected override void OnPreInit(EventArgs e)
    {
      this.customPage = true;
      base.OnPreInit(e);
    }
    

    To the following:

    protected override void OnPreInit(EventArgs e)
    {
       string actionStep = Request.QueryString["actionStep"];
       if(actionStep == "OpenFileUploadForm")
       {
          isListPresent = true;
       }
       this.customPage = true;
       base.OnPreInit(e);
    }
    
  6. Save ExternalDocUpload.aspx.

Resolution:   Restart Internet Information Services

Restarting or stopping IIS, causes all sessions connected to your Web server (including Internet, FTP, SMTP, and NNTP) to be dropped. When you restart the Internet service, all sessions connected to your Web server are dropped. All Internet sites are unavailable until Internet services are restarted. For this reason, avoid restarting the Internet Information Services service during peak usage.

  1. Verify that the user account that is performing this procedure is a member of the local Administrators group.

  2. Open a Command Prompt window and type the following at the command prompt:

    iisreset -force