User2044010418 posted
Hi,
I wrote the webService for Insert the records in the table and i deploy IIS 6, In the IIS right click on my Service and click browse test opertion is open and i input the values and i click the invoke button
the following error was shown :
System.IO.DirectoryNotFoundException: Could not find a part of the path 'D:\MRMWeb\WebService\'.
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)
at System.IO.StreamWriter.CreateFile(String path, Boolean append)
at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize)
at System.IO.StreamWriter..ctor(String path, Boolean append)
at System.IO.File.AppendText(String path)
at CommonBO.MrmErrorHandler.LogError(Int32 pIntErrServerity, String pStrClassName, String pStrFuncName, String pSrtErrText, String pStrStack, String strUserId) in D:\MRMWeb\CommonBO\MrmErrorHandler.cs:line 28
at WebService.Service.InsertOrderDetails(String SalesPersonID, String Date, String CustomerID, String Description, String Transaction, String OrderUnit, String OrderQuantity, String UnitPrice, String ItemCode, String TotalAmount, Int32 MobileOrderRowID)
in D:\MRMWeb\WebService\Service.asmx.cs:line 102
How could i solve this one can any one guide to me
thanks and regards
brite