Closed babak1199 closed 7 years ago
@babak1199 how did you resolve this? I see exactly same error log on server
If you look at these lines:
string directory = Server.MapPath("~/bin/") + @"\";
string source = directory + @"Templates\Template.xlsx";
string destination = directory + @"Spreadsheets\output file.xlsx";
System.IO.File.Copy(source, destination, true);
you will know that I was trying to work with bin folder. Every time you make a change in bin folder, IIS recycles your application domain and as a result, SignalR's connect will be reset.
Solution:
Avoid making any changes to bin folder. I transferred Templates folder to root folder (changed code to Server.MapPath("~/")
)
Hope it helps.
Server-side log:
Client-side log: