Nopcommerce 4.10 getting error C:\Nopcommerce_4.10_Source\Presentation\Nop.Web\http:\localhost:15536scheduletask\runtask' In Logs Every minute

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
5 years ago
When I check logs I am getting below error every minute. I have updated my database from nopcommerce 3.90 to 4.10
After running both 4.0 and 4.10 upgraded scripts.
And getting below error frequently in logs every minute.

The filename, directory name, or volume label syntax is incorrect : 'C:\Nopcommerce_4.10_Source\Presentation\Nop.Web\http:\localhost:15536scheduletask\runtask'


System.Net.WebException: The filename, directory name, or volume label syntax is incorrect : 'C:\Nopcommerce_4.10_Source\Presentation\Nop.Web\http:\localhost:15536scheduletask\runtask' ---> System.IO.IOException: The filename, directory name, or volume label syntax is incorrect : 'C:\Nopcommerce_4.10_Source\Presentation\Nop.Web\http:\localhost:15536scheduletask\runtask'
   at System.IO.FileStream.ValidateFileHandle(SafeFileHandle fileHandle)
   at System.IO.FileStream.CreateFileOpenHandle(FileMode mode, FileShare share, FileOptions options)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
   at System.Net.FileWebRequest.CreateWriteStream()
   --- End of inner exception stack trace ---
   at System.Net.FileWebRequest.CreateWriteStream()
   at System.Net.FileWebRequest.<>c.<BeginGetRequestStream>b__55_0(Object s)
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
--- End of stack trace from previous location where exception was thrown ---
   at System.Threading.Tasks.TaskToApm.End[TResult](IAsyncResult asyncResult)
   at System.Net.FileWebRequest.EndGetRequestStream(IAsyncResult asyncResult)
   at System.Net.FileWebRequest.GetRequestStream()
   at System.Net.WebClient.UploadBits(WebRequest request, Stream readStream, Byte[] buffer, Int32 chunkSize, Byte[] header, Byte[] footer)
   at System.Net.WebClient.UploadValues(Uri address, String method, NameValueCollection data)
   at Nop.Services.Tasks.TaskThread.Run() in C:\Nopcommerce_4.10_Source\Libraries\Nop.Services\Tasks\TaskThread.cs:line 65
5 years ago
sumit7034 wrote:
http:\localhost:15536scheduletask\runtask

Please go to a store details page and ensure that Store URL is set to http:\\localhost:15536scheduletask\runtask (you missed one \)
5 years ago
Thanks problem is solved
Actually in store table I was missing a "/" in storeurl
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.