त्रुटि का उपयोग करते समय:फ़ाइल या विधानसभा लोड नहीं कर सका ICSharpCode.SharpZipLib ... nuGet पैकेज ExcelDataReader
Could not load file or assembly 'ICSharpCode.SharpZipLib, Version=0.85.5.452, Culture=neutral, PublicKeyToken=1b03e6acf1164f73' or one of its dependencies. The system cannot find the file specified.`
ढेर:
[FileNotFoundException: Could not load file or assembly 'ICSharpCode.SharpZipLib, Version=0.85.5.452, Culture=neutral, PublicKeyToken=1b03e6acf1164f73' or one of its dependencies. The system cannot find the file specified.]
Excel.Core.ZipWorker.Extract(Stream fileStream) +0
Excel.ExcelOpenXmlReader.Initialize(Stream fileStream) +78
[Asp.Net Mvc3 सी #]
का उपयोग करना NuGet पैकेज ExcelDataReader मैंने फ़ाइल सिस्टम पर सहेजी गई .xlsx फ़ाइल को खोलने का प्रयास किया। यहाँ कोड प्रयोग किया जाता है: http://exceldatareader.codeplex.com/
क्या देता है:
string filePath = HttpContext.Server.MapPath("~/blank3.xlsx");
FileStream stream = System.IO.File.Open(filePath, FileMode.Open, FileAccess.Read);
IExcelDataReader excelReader = ExcelReaderFactory.CreateOpenXmlReader(stream);
यहाँ nuget पैकेज के लिए वेबसाइट है? यह बिना किसी झुकाव के काम करना चाहिए।
क्या आप अपनी प्रक्रिया के साथ थोड़ा और स्पष्ट हो सकते हैं? –