Hi,
I am using vs.net 2005. and using sql server 2000 and sql server 2005.
I have created an windows application and when i am starting the service after installing, it goes to the stopped pahse and in the event viewe i can see this error:
Event Type: Error
Event Source: Process Delivery Queue Service
Event Category: None
Event ID: 0
Description:
Service cannot be started. System.NotSupportedException: The given path's format is not supported.
at System.Security.Util.StringExpressionSet.CanonicalizePath(String path, Boolean needFullPath)
at System.Security.Util.StringExpressionSet.CreateListFromExpressions(String[] str, Boolean needFullPath)
at System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, AccessControlActions control, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList)
at System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess access, String[] pathList, Boolean checkForDuplicates, Boolean needFullPath)
at System.IO.Path.GetFullPath(String path)
at System.CodeDom.Compiler.TempFileCollection.EnsureTempNameCreated()
at System.CodeDom.Compiler.TempFileCollection.AddExtension(String fileExtension, Boolean keepFile)
at System.CodeDom.Compiler.TempFileCollection.AddExtension(String fileExtension)
at Microsoft.CSharp.CSharpCodeGenerator.FromSour...
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Please help me out. I tried a lot and tired.
Thanks
Raju
Mike GoldPosted Aug 9, 2007, 12:34 AM
looks like you have some sort of Permissions error when you are trying to write a file from a Windows Service. Are you using local system account or account logon in your service
(Go to Control Panel, Services. Right Click on your service and check these settings in the LogOn tab. You may need to give your service rights to write to the system.