Portal Engine Questions on portal engine and web parts.
Version 6.x > Portal Engine > Error in uploading pdf file.. View modes: 
User avatar
Member
Member
sansugoi_sayounara-hotmail - 12/20/2011 3:15:03 AM
   
Error in uploading pdf file..
Hi all,,

When I try to upload a pdf file in any folder or in document library, then it is giving the following error, please guide me how can I solve this.. I am new to this and try to solve this but no success....

Thanks
Sansugoi


Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB7.2; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; .NET4.0E)
Timestamp: Tue, 20 Dec 2011 22:46:12 UTC


Message: Unhandled Error in Silverlight Application Access to the path 'StylecrestPages.pdf' 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, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at System.IO.FileInfo.OpenRead()
at CMS.MultiFileUploader.FileUpload.set_File(FileInfo value)
at CMS.MultiFileUploader.FileUpload..ctor(Dispatcher dispatcher, Uri uploadUrl, FileInfo fileToUpload)
at CMS.MultiFileUploader.FileUploadControl.GetFileUpload(FileInfo file)
at CMS.MultiFileUploader.FileUploadControl.btnDirectSingleUpload_Click(Object sender, RoutedEventArgs e)
at System.Windows.Controls.Primitives.ButtonBase.OnClick()
at System.Windows.Controls.Button.OnClick()
at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
at System.Windows.Controls.Control.OnMouseLeftButtonUp(Control ctrl, EventArgs e)
at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, String eventName)
Line: 1
Char: 1
Code: 0
URI: http://iipl19/cms/getdoc/f5ac05ae-1fd2-4630-96d6-554a7c02b8b8/Document-Liberary.aspx


User avatar
Kentico Consulting
Kentico Consulting
kentico_borisp - 12/20/2011 5:32:17 AM
   
RE:Error in uploading pdf file..
Hello,

Could you please try to add the following key to your web.config file into the appSettings section?

<add key="CMSUseSilverlightUploader" value="false" />

Best regards,
Boris Pocatko