CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Excel Import

  1. #1
    Join Date
    Aug 2010
    Posts
    7

    Question Excel Import

    Guys,

    I have a project to import data from one worksheet into database SQL Server 2008 on Windows Server 2008 using Interop. The project in debug mode works fine, but accessing the site from a client computer, I am getting permission denied message to the file I'm trying to import and it is located on the server.
    I wonder what it takes to make additional settings, as well as file folder. IIS? DCOM?

    Very thanks!

  2. #2
    Join Date
    Jun 2005
    Location
    JHB South Africa
    Posts
    3,772

    Re: Excel Import

    With Win Server 2008, each folder has different Access Rights, and it's quite posible that the User that the App run's under does not have access to the folder where the file is stored...
    Articles VB6 : Break the 2G limit - Animation 1, 2 VB.NET : 2005/8 : Moving Images , Animation 1 , 2 , 3 , User Controls
    WPF Articles : 3D Animation 1 , 2 , 3
    Code snips: VB6 Hex Edit, IP Chat, Copy Prot., Crop, Zoom : .NET IP Chat (V4), Adv. ContextMenus, click Hotspot, Scroll Controls
    Find me in ASP.NET., VB6., VB.NET , Writing Articles, My Genealogy, Forum
    All VS.NET: posts refer to VS.NET 2008 (Pro) unless otherwise stated.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured