PDA

View Full Version : Error Loading Document


cjorgensen
July 1, 2007, 18:57:36
I am getting the following Error loading a document in an ASP.NET project:

DOCUMENT ERRORSystem.UnauthorizedAccessException: Access to the path 'C:\Inetpub\wwwroot\PermitTrax\PermitTraxMain\Docu ments\Edmonds' is denied. 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) at TXTextControl.LoadSettings.LoadFile(String strFile, StreamType iStreamType, TextControlCore tx, Boolean bSelection) at TXTextControl.ServerTextControl.Load(String path, StreamType streamType, LoadSettings loadSettings) at wfViewDocument.DisplayDoc() in C:\Inetpub\wwwroot\PermitTrax\PermitTraxMain\wfVie wDocument.aspx.vb:line 60

I didn't have any problems loading these documents with the ActiveX Server Version 11.

Is there some other security setting that needs to be Set?

cjorgensen
July 1, 2007, 20:31:42
Nevermind! It was my error... you need a filename with the path... Duh!