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
Mr. Arnold - 24 Jun 2007 01:22 GMT
>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
[quoted text clipped - 8 lines]
>
> Can anyone give me a suggestion as to what to look for in my code.
http://www.google.com/search?hl=en&q=%27System.NotSupportedException%27+&btnG=Go
ogle+Search
news.microsoft.com - 24 Jun 2007 01:45 GMT
I already checked those out first. They still did not help me out
>>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
[quoted text clipped - 10 lines]
>
> http://www.google.com/search?hl=en&q=%27System.NotSupportedException%27+&btnG=Go
ogle+Search
Mr. Arnold - 24 Jun 2007 05:02 GMT
>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.
Chris Dunaway - 25 Jun 2007 15:50 GMT
On Jun 23, 6:27 pm, "news.microsoft.com" <billgo...@charter.net>
wrote:
> 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
[quoted text clipped - 11 lines]
> 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