Need help with understanding error message

  • Thread starter Thread starter news.microsoft.com
  • Start date Start date
N

news.microsoft.com

I am using a library class that creates an entry in the Windows Task
Scheduler. After saving the task, I am getting the following error message
when I close the task,

An unhandled exception of type 'System.NotSupportedException' occurred in
mscorlib.dll
Additional information: The given path's format is not supported.

I have checked my file paths and they are correct and I even have double
back slashes between directory parts.

Can anyone give me a suggestion as to what to look for in my code.

Thanks
Bill
 
news.microsoft.com said:
I am using a library class that creates an entry in the Windows Task
Scheduler. After saving the task, I am getting the following error message
when I close the task,

An unhandled exception of type 'System.NotSupportedException' occurred in
mscorlib.dll
Additional information: The given path's format is not supported.

I have checked my file paths and they are correct and I even have double
back slashes between directory parts.

Can anyone give me a suggestion as to what to look for in my code.

http://www.google.com/search?hl=en&q='System.NotSupportedException'+&btnG=Google+Search
 
news.microsoft.com said:
I already checked those out first. They still did not help me out
An unhandled exception of type 'System.NotSupportedException' occurred in
mscorlib.dll
Additional information: The given path's format is not supported.

I think the message is trying to tell that a method is mscrolib.dll that
you're trying to call form your code is not supported. It may have been
supported when you were developing the code. but it's not supported when
you deployed the program using that dll wherever that dll is located.

Maybe, you need to map a drive letter with the path location.
 
I am using a library class that creates an entry in the Windows Task
Scheduler. After saving the task, I am getting the following error message
when I close the task,

An unhandled exception of type 'System.NotSupportedException' occurred in
mscorlib.dll
Additional information: The given path's format is not supported.

I have checked my file paths and they are correct and I even have double
back slashes between directory parts.

Can anyone give me a suggestion as to what to look for in my code.

Thanks
Bill

One thing that occurs to me is that perhaps you are using a UNC path
and that is not supported? Or perhaps you are using a mapped drive
letter for a network path and that is not supported?

Can you provide some more information about what the scheduled task
does or an example of the path you are using?

Chris
 
Back
Top