Unspecified exception when connecting to Excel

From: Mike (Mike_at_discussions.microsoft.com)
Date: 06/22/05

  • Next message: Parag: "Re: Audit trail for web application"
    Date: Wed, 22 Jun 2005 01:17:14 -0700
    
    

    Hi! I am getting consistent "Unspecified Exception" message when I try to
    connect to an Excel file people upload using ADO.NET. I googl’ed, yahoo’ed
    and MSN’ed but was unable to find answers. I was able to eliminate the driver
    problems since the same code wrapped into C# executable connects to Excel
    files just fine. Obviously, this is some kind of an ASP.NET security issue. I
    do not know where to start. The ASP.NET code runs fine on my DEV and QA
    environments and I do not see what’s different between QA and PROD where the
    code does not run.

    Could you recommend some troubleshooting steps I can take to solve the
    mystery, please?

    I saw the Anonymous account my app runs under in all 3 environments
    configured the same. Perhaps I am not looking at the right things?

    Many Thanks in Advance,

    Michael


  • Next message: Parag: "Re: Audit trail for web application"

    Relevant Pages

    • RE: Inconsistent problem
      ... drive of the clients computer and I am still getting intermittent sucess. ... I have set up an upload status table that tells me where the file crashed. ... What is happening is an excel file contains many lines of data. ... properly set up network. ...
      (microsoft.public.access.externaldata)
    • Re: Excel File Handling (from Jaydeep)
      ... > Thanks Patrice, ... > Actallty Excel file containts sensitive data and anybody can forget to ... As well there will be button called Upload ... >> obviously no other solution than downloading the file or taking control ...
      (microsoft.public.dotnet.framework.aspnet)
    • Re: Excel File Handling (from Jaydeep)
      ... Actallty Excel file containts sensitive data and anybody can forget to ... As well there will be button called Upload ... > obviously no other solution than downloading the file or taking control on ... >> uploaded and save the same to the server without downloading the file. ...
      (microsoft.public.dotnet.framework.aspnet)
    • Re: Upload/DownLoad from Excel
      ... Don't catch exception if you don't do anything else than ASP.NET do. ... information in my database by the page. ... this is the code I am using to Upload from sql to excel: ... this works perfectly and I have an excel file on my desktop. ...
      (microsoft.public.dotnet.framework.aspnet)
    • Re: Upload file from USB cable to Mobile Device (PC to Mobile)
      ... I have created another thread regarding exporting data from SDF to Excel file ... application to upload an Excel file from PC to mobile device or from the ... USB cable to achieve the file transfer. ...
      (microsoft.public.dotnet.framework.compactframework)