A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

Getting Exception while opening file in PageFiles

Vote:
 

Hi 

I am getting exception while opening File i uploaded in "Page Files" i.e.

Stack Trace:

[NullReferenceException: Object reference not set to an instance of an object.]

   EPiServer.Web.Hosting.Versioning.VersioningFileHandler.GetFullPath() +27

   EPiServer.Web.StaticFileHandler.ProcessVirtualFileEx(VirtualFileEx virtualFileEx, HttpContext context) +194

   EPiServer.Web.StaticFileHandler.BeginProcessRequest(HttpContext context, AsyncCallback callback, Object state) +132

   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +391

   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +262

On few files this error is coming,What is the cause of this error and how i can fix that.I don't want to upload files again. 

 

Thanks in Advance!

 

#56150
Jan 09, 2012 13:02
Vote:
 

Is the Page Files folder created and does the user have access to add files to that folder?

Frederik

#56186
Jan 10, 2012 19:06
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.