2010-03-15 21:16
Darutiz
Sveiki,
kai bandau papildyti PVM tarifa 21 proc., man meta tokia klaida. Gal galit padeti kame beda?
Neatpažinta klaida: Access to the path 'C:\Program Files (x86)\Apskaita\pvm.dat' is denied.. No inner exception.
Objektas SF_Nustatymai procedūra WinIOError.
Stekas:
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize)
at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding)
at System.IO.File.WriteAllLines(String path, String[] contents, Encoding encoding)
at WindowsApplication1.SF_Nustatymai.Ivesti_PVM_Click(Object sender, EventArgs e)