Quantcast
Channel: Troubleshooting
Viewing all articles
Browse latest Browse all 1814

IIS 10 cannot to create txt, xls file.

$
0
0

Hi !

WinServ 2016 (or Win10) + IIS10 + Visuall Studio 2015.

Asp,Net application cannot to create txt, xsl file, but all right when application started from VS2015 (IIS express).

Files where created and deleded.

Creatinf xls file:

_Application excel =newApplication();Workbook wb = excel.Workbooks.Add(XlWBATemplate.xlWBATWorksheet);Worksheet ws = wb.Worksheets[1];
...

Saving files:

try{
    wb.SaveAs(path);File.Create(@"f:\testAutorep\234.txt");}catch{File.Create(@"f:\testAutorep\123.txt");}

txt, xsl files don't created.

Permissions for target folder - Full rights for :

Everyone, Administrators, Users, IIS IUSRS, SYSTEM, NETWORKSERVICE, Authenticated users and account of IIS Application pool.

Need help...


Viewing all articles
Browse latest Browse all 1814

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>