.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Cannot make a cache safe URL for "form.js", file not found.

Posted By:      Posted Date: April 14, 2011    Points: 0   Category :C#

On uploading a document to a sharepoint library, the following error has just started occuring. No changes were made to the site, which has been working fine for several months, any ideas on what is going on? The problem exists with any browser, including IE 8 & 9. The file exists in the library specified.

Cannot make a cache safe URL for "form.js", file not found. Please verify that the file exists under the layouts directory.



View Complete Post

More Related Resource Links

Crawl Log - Error - Language database/cache file could not be found



I'm getting a lot of errors - Language database/cache file could not be found - in the Crawl Log. Does anyone know what they are and how to fix them?


scripts file not found on server - 404


Fiddler is showing a 404 error when my published web application runs. the jquery.js file in
/scripts is highlighted in red by fiddler as not found. ( IIS log also shows the 404 error ).
I run the web app from visual studio, on local host - no problems. The publish is successful.
All the files are in the scripts folder of the web app on the server.

In the site.master I have:
<script src="../../Scripts/jquery-1.4.1.min.js" type="text/javascript"></script>

Visual studio does not complain about this. ( which indicates the file is found. )

Oddly, when I fully qualify the path, VS says file not found, but after I publish and run, fiddler
shows the jquery file being found and sent to the browser.
<script src="/MvcApplication1/Scripts/jquery-1.4.1.min.js" type="text/javascript"></script>

when the <script> path is "../../Scripts/jquery-1.4.1.min.js", the fiddler error is
404: /Scripts/jquery-1.4.1.min.js .

when the <script> path is "/MvcApplication1/Scripts/jquery-1.4.1.min.js", fiddler shows the file
being sent to the browser from that /MvcApplication1/Scripts path.

Both the Scripts fol

how to make a css style background image be linked to an image in the resource file


hey guy, i need help in a very troubling matter. I want to make a textbox with a specific style, within this style a set of images as background parts, how can i attach these images to the custom control as whenever i take the .dll file and add it to the toolbar the images do not appear. So i tried to make them as resource files and their property as embedded in .resx file, so how to make the css style background image url to be linked to any of those image.

thanks in advance

Compiler Error Message : CS0006: Metadata file 'System.EnterpriseServices.dll' could not be found


I get this error when i Debug my web application....


I followed these steps.,

  • Ended the aspnet_wp.exe process in the Windows Task Manager
  • Then deleted the application`s folder in C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\
  • Then started Visual Studio 2008 again

I also rebooted my system but no use....

Plz help !

Bitmap FromFile space "file not found"


I am using aspose.slides to create PPTx's. Some of the process involves loading jpg's from another server and including them in the presentation. This works fine in my development environment. When I upload the site to its server, the jpg loading fails.

I am trying to access jpg's on the other server by:

   oFS = New FileStream(sFile, FileMode.Open, FileAccess.Read)

This causes an access violation error when run from the server.

I also boiled the code down to reading the file directly:

   oImg = System.Drawing.Bitmap.FromFile(sFilePath)

This causes a file not found error.

We have narrowed the problem down to the fact that the File Path has a space in it. How does one solve this problem (while still keeping the space, there is a lot of legacy data)? I have tried replacing the space with %20 or +. I have tried using Server.UrlEncode. The error message always comes back with the encoding in place (like no decoding

Make sure that the class defined in this code file matches the 'inherits' attribute, and that it e


Here is the page directive for the page that throws the error:

@ Page language="c#" Inherits="University.AspNet.Index" CodeFile="Index.aspx.cs" %>

The code behind file Index.aspx.cs starts like this:

using University.Framework.UI;

namespace University.AspNet

public partial class Index : University.Framework.UI.HomePage

The code behind is extending this HomePage class, which is in turn an extenstion of another class University.Framework.UI.Page, which extends the System.Web.UI.Page class.

Am I misusing the I

Unable to open physical file - Operating system error 5: 5(error not found) Microsoft SQL Server: Er

I am trying to attach a database to SQL 2005. This database has not previously been attached. I have only just installed SQL.   I get the following message: Unable to open physical file "C:\ArrowSQL\Arr@Data\Arrow_data.mdf" Operating system error 5: "5(error not found)" (Microsoft SQL Server: Error 5120)".   I have loaded SQL and the database fiel and directory with the same user acccount which is a local adminstrator ont hsi machine. I have checked that I have read/write access to the file.   The machine runs Windows Vista Business. SQL has SP 2 loaded.   What causes this?

File not found for SPSite object

Hi,  I created a webapplication to access spsite object,When i try to access the site,I getting file not fount exception.If use the same code in windows form i am able to access the spsite object.Can any one tell me why its not working in web applications.I am using VS2008 and Moss 2007 is on the same machine. Thanks, Sreemouni.

The remote server returned an error: (550) File unavailable (e.g., file not found, no access).

Hi.   I have read the other threads regarding this but they do not solve my problem. All i am trying to do is upload a file from the webserver onto another server via FTP. But i get the above error and am at my wits end as to why.   below is the code:   Dim fs As New FileStream("H:\Visual Studio 2005\Websites\Website1\testfile.txt", FileMode.Open) Dim filecontents(fs.Length) As Byte fs.Read(filecontents, 0, fs.Length)   Dim remotePath As String = "ftp://elonwactd.uk.ml.com/apps/files/IPBHVGTRADE/QA5/in/testfile.txt" Dim ftp As FtpWebRequest = FtpWebRequest.Create(remotePath) ftp.Credentials = New System.Net.NetworkCredential("user1", "passwd1") ftp.KeepAlive = False ftp.UseBinary = True   ' (have tried UploadFile as well instead of UploadFileWithUniqueName) ftp.Method = WebRequestMethods.Ftp.UploadFileWithUniqueName     fs.Close()   ftp.GetRequestStream.Write(filecontents, 0, filecontents.Length) ftp.GetRequestStream.Close() ftp.GetResponse.Close()     Below is the stack trace that i get. [WebException: The remote server returned an error: (550) File unavailable (e.g., file not found, no access).]   System.Net.FtpWebRequest.SyncRequestCallback(Object obj) +321   System.Net.FtpWebRequest.RequestCallback(Object obj) +19   System.Net.CommandStream.Abort(Exception e) +163   System.Net.FtpWebRequest.FinishRequestStage(RequestStage stage) +45

File not found error when trying to open site permissions on a blog site

We have created a simple team site and a block subsite.  When trying to edit the site permissions we see the following error.  Any ideas? When opening a blog site and clicking Site Actions - site permissions we received a new page with the following error: Error File Not Found Troubleshoot issue with Microsoft Sharepoint Foundation Correlation ID: 51b54786-f344-4474-b88e-3080c363693 Date and Time: 3/24/2010 3:03:38 PM

File Not Found Error

Hello All, When i select custom master page from Site Setting > Site Master Page Settings for my SharePoint Site, it throw an error saying "File Not File". could anybody help me to resolve this error. its kinda urgent. thanks in advance. regards, nikhil

i make a web site using frame but session is expire Error message is my Config file is attache

i make a web site using frame  but session is expire message is Object reference not set to an instance of an object Description: HTTP 500. Error processing request. Stack Trace: System.NullReferenceException: Object reference not set to an instance of an object at System.Web.UI.Control.OnLoad (System.EventArgs e) [0x00000] in <filename unknown>:0 at System.Web.UI.Control.LoadRecursive () [0x00000] in <filename unknown>:0 at System.Web.UI.Page.ProcessLoad () [0x00000] in <filename unknown>:0 at System.Web.UI.Page.ProcessPostData () [0x00000] in <filename unknown>:0 at System.Web.UI.Page.InternalProcessRequest () [0x00000] in <filename unknown>:0 at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context) [0x00000] in <filename unknown>:0 My Web Config file is<configuration>    <!-- store the database connection info here -->     <appSettings>        <add key="sBook_StoreDBConnectionString" value="Provider=Microsoft.Jet.OLEDB.4.0;User ID=Admin;Data Source=C:\Program Files\CodeCharge\Examples\BookStore\BookStore_MSAccess.mdb;Persist Security Info=False" />            </appSettings>  <system.web>  <httpRuntime executionTimeout=&quo

Configure incoming e-mail settings - Error File Not Found?

Hello I am trying to setup a test server for SharePoint 2010 and I have followed the MS instructions for deploying a single SharePoint 2010 server with SQL server. I have had no problems or errors during the setup; however now going through the recomended post installation task of configuring incoming email settings I am getting an error message. I have added the SMTP service to the server, configured it in IIS then gone back to the SharePoint central administration page. When I click Configure incoming e-mail settings under System Settings I get the following error message. Error File Not Found. Correlation ID: cc08f335-6762-4c70-a690-ecfd012ec3c2 I have no idea what is causing this so have no way to resolve it, any help would be really appreciated.   Thanks  

"File Not Found" Error when Trying to Create a New Page

I have installed SharePoint 2010 Foundation with a Server Fram Configuration (in order to integrate it with the installed SSRS). On top of the foundation, I have created a site collection on port 80 (with business intelligence template). The site collection is running fine, as I could add web parts and edit the default page, however, when I try to create a new page from "Site Actions -> New Page" and then I put a page name like "NewPage" and click on "Create" button, I get the following error message: +++++ START OF ERROR MESSAGE +++++ Error File Not Found. Troubleshoot issues with Microsoft SharePoint Foundation. Correlation ID: efcb0dde-66ea-46df-b3a1-59a9918f6cb4 Date and Time: 9/12/2010 11:50:41 AM +++++ END OF ERROR MESSAGE +++++ Other error messages when I create site within this site collection and try to edit their pages. The steps I followed to do so are: "Site Actions -> New Site" Select "Business Intelligence Center" and put a title and URL name, and then click on create. The error message I get when I try to edit the defaul page on these newly created sites: +++++ START OF ERROR MESSAGE +++++ List does not exist. The page you selected contains a list t

File Not Found Exception from iiscore.dll

Create a asp.net mvc project with the default template  and used bmc appsight to monitor the w3wp process ; so when ever an action is clicked an exception is occured in iiscore.dll here is the sample one which i got.  Log Entry 530641OperationOpen "\\?\C:\CRAPPYTEST\HOME\ABOUT"CommentThe system cannot find the path specified. ProcessW3WP.exe:5436:5844Causality ID: {0B49C343-7918-4721-A53E-FFD4C7A1C35D}Moduleiiscore.dllTimeStart - Sep 14 18:39:43.913035Duration - 0.000121Stack Dumpiiscore.dll, 0x5d65fddciiscore.dll, 0x5d64b7b3iiscore.dll, 0x5d64fe97iiscore.dll, 0x5d65270fiiscore.dll, 0x5d6562dfiiscore.dll, 0x5d656338iiscore.dll, 0x5d65084eWEBENGINE.DLL, 0x5c8c289bWEBENGINE.DLL, 0x5c8c28d0System.Web.ni.dll, 0x1e7cdd3dSystem.Web.ni.dll, 0x1e7cdb80mscorwks.dll, 0x71761e6fmscorwks.dll, 0x719ba26emscorwks.dll, 0x718bdf6fmscorwks.dll, 0x719ba3a9mscorwks.dll, 0x718bef35mscorwks.dll, 0x719ba42dWEBENGINE.DLL, 0x5c8c7a2eWEBENGINE.DLL, 0x5c8c34cfmscorwks.dll, 0x718bea90mscorwks.dll, 0x718be3a2mscorwks.dll, 0x718be516mscorwks.dll, 0x718a1ec9kernel32.dll, 0x76881194ntdll.dll, 0x76f8b3f5ntdll.dll, 0x76f8b3c8
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend