Access to the path is denied


Author
Message
Randy Moore
Randy Moore
StrataFrame Beginner (26 reputation)StrataFrame Beginner (26 reputation)StrataFrame Beginner (26 reputation)StrataFrame Beginner (26 reputation)StrataFrame Beginner (26 reputation)StrataFrame Beginner (26 reputation)StrataFrame Beginner (26 reputation)StrataFrame Beginner (26 reputation)StrataFrame Beginner (26 reputation)
Group: Forum Members
Posts: 12, Visits: 140
Hi,

I'm trying to run an application remotely. The host has Windows 2000 and .NET Framework 2.0 installed. We also have SQL Server Express running on XP. When I try to execute the program I get this error. It run's fine on my development computer and on the computer running SQL Server Express. Any ideas why this might be happening? 

UnauthorizedAccessException
 Access to the path is denied.

Source     : mscorlib

Stack Trace:
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.__Error.WinIOError()
   at System.IO.File.Move(String sourceFileName, String destFileName)
   at MicroFour.StrataFrame.Security.Encryption.TripleDESWrapper.TransformFile(String FileName, ICryptoTransform CryptoTransform)
   at MicroFour.StrataFrame.Xml.XmlBasics.OpenXmlFile(String Version, String TableName, String PathAndFileName, List`1 ColumnStructure, Boolean DecryptFile)
   at MicroFour.StrataFrame.Data.BusinessObjects.DbeApplicationData.FillAll()
   at MicroFour.StrataFrame.Data.ConnectionManager.SetConnections()
   at Project_Tracker.AppMain.SetDataSources()
   at MicroFour.StrataFrame.Application.StrataFrameApplication.Raise_SetDataSources()
   at MicroFour.StrataFrame.Application.StrataFrameApplication.RunApplication()
   at Project_Tracker.AppMain.Main()

Reply
Victor Sousa
Victor Sousa
StrataFrame Novice (78 reputation)StrataFrame Novice (78 reputation)StrataFrame Novice (78 reputation)StrataFrame Novice (78 reputation)StrataFrame Novice (78 reputation)StrataFrame Novice (78 reputation)StrataFrame Novice (78 reputation)StrataFrame Novice (78 reputation)StrataFrame Novice (78 reputation)
Group: Forum Members
Posts: 21, Visits: 236
I'm getting this same error with an update i just put out at a customer.



I get the error twice, once for each SSF file that i am using. Configuring the connections without using the Network shared settings file works fine.



If i revert to the prior version of the application it works fine even with the Shared Network settings file.



I did add some code to Main() in the program.cs that checks for updates. This rung before the RunApplication() call. It seems to be running through that code without a problem, and according to the Trace is happening in the SetConnections() method. Which is what led me to try configuring the connections without the SSF file.



What in my current application could have caused this change??

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Randy Moore - 18 Years Ago
Trent L. Taylor - 18 Years Ago
Victor Sousa - 15 Years Ago
Victor Sousa - 15 Years Ago
Ivan George Borges - 15 Years Ago
Victor Sousa - 15 Years Ago
Ivan George Borges - 15 Years Ago
Victor Sousa - 15 Years Ago
Victor Sousa - 15 Years Ago
Victor Sousa - 15 Years Ago
Trent L. Taylor - 15 Years Ago
Victor Sousa - 15 Years Ago
Victor Sousa - 15 Years Ago
Victor Sousa - 15 Years Ago
Trent L. Taylor - 15 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search