.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

IIS 7.5 - HTTP Error 404.17 - Not Found - Static File Handler.

Posted By:      Posted Date: October 19, 2010    Points: 0   Category :WCF

 I'm having an issue with web.config file in my development environment. I had the WCF site running on my local. My local has VS2010 framework 4.0 installed. I published the code and hosted the site in IIS 7.5 2008 R2 on my dev server which has an application pool of framework 2.0. I had an issue which says

HTTP Error 404.17 - Not Found

The requested content appears to be script and will not be served by the static file handler.


These are the few handlers that i've in my web.config file on my dev server. There are other handlers too which are inherited.


      <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
      <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />

View Complete Post

More Related Resource Links

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 !

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?

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

Getting error as : HTTP Error 404.3 - Not Found

Hi,   I have taken a sample WEBService, created virtual directory and compiled my website and published it(successful). when i type URL in explorer giving error as : HTTP Error 500.19 - Internal Server Error The requested page cannot be accessed because the related configuration data for the page is invalid.detailed information abt error:Detailed Error Information Module IIS Web Core Notification BeginRequest Handler Not yet determined Error Code 0x800700b7 Config Error Cannot add duplicate collection entry of type 'add' with unique key attribute 'name' set to 'ScriptModule' Config File \\?\C:\inetpub\wwwroot\WCFServiceDemo\web.config Config source:<modules>  139:         <add name="ScriptModule" preCondition="integratedMode" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>  140:       </modules>so i have deleted some files from web.config file and published again. When executed given error as: HTTP Error 404.3 - Not Found The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.PC information:vista ultimate VS 2008 sp1Framework 3.5.Anyone suggest on it, where i could explore it without error.Thanks. nagarjun

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 error sharepoint

Hi, I have downloaded two site templates from another site collection.I have uploaded these site templates to another site collection. Trying to Use these custom site templates in the current(another) site collection.When i click on create... i'm Getting "File Not Found" error.   Any Idea?

Internel Error Resource file not found

I am developing an application which is running fine on local machine. It is using webservices and jquery's ajax to call that service. It also has some asp hidden fields. I deploy it with visual studio. It is giving me error that the resource I am looking for is not found. Please help.

ASP:Upload control . Uploading into a SharePoint Document Library Subfolder and FILE NOT FOUND error

RE: ASP:Upload control . Uploading into a SharePoint Document Library Subfolder and FILE NOT FOUND error Two Issues, apparently unrelated. I have subfolders like this /ApplicantDocuments/20 and /ApplicantDocuments/21 (where 20 and 21 are my subfolders and ApplicantDocuments is my library. 1. The below function is erroring with file not found, but I confirmed I'm sending the fully qualify path (i.e c:\test.txt) to System.IO.FileStream content = System.IO.File.Open(documentFileName, System.IO.FileMode.Open); 2. Even if it worked, looking at the code, I'm not using argument foldername.  I'm passing 20 to the argument. How can I make sure it uploads into subfolder 20 of ApplicantDocuments? Thank you.     Just testing in test environment. Will tighten code once it works.   public void UploadDocumentToSite(string foldername, string documentFileName) {      SPSite siteCollection = new SPSite("https://xxxxxx");      SPWeb web = siteCollection.OpenWeb();      //SPSite.AllowUnsafeUpdates = true;      //Web.AllowUnsafeUpdates = true;      string Lib = "ApplicantDocuments";      SPFolder destFolder = web.GetFolder(Lib);      sendmail(documentFileName+" "+foldername);  

File not found error after restore the sitecollection



I backed up a MOSS sitecollection using "stsadm -o backup" and then restored the same file in the other machine/server. No problems while creating backup and doing restores . But after restore is successfull and try to open the site ..it is giving me an error "File not found".Any idea?

Can not connect to ReportServer. HTTP 404 - File not found

I am running SQL Server 2008 Express.

I notice it did not create the reportserver directory in the Default Web Site.  I read one solution that said to go in Reporting Services Configuration Manager and click on the New button.  I can not find the New button.

I think the original problem was my IIS server was not working right so I reinstalled it.  It is working now.  How do I get Reporting Services to recreate the directories?

Thanks for any help,


SSIS 2K5 - Deploy SSIS Package with C# - Error File cannot be found



I made a installer program in C# that deploy ssis package on a SQL server 2005. I have like 50 package that contain only dataflow to update a datawarehouse and create fact tables.

I made also one package that call all the other packages. When I try to deploy the packages on the SQL server with the command SaveToDtsServer, I receive an error BUT only on the package calling all the other SSIS package ?? All the other SSIS packages are deployed but the package that call other packages failed to deploy. Whats strange is that when I use the domain controler to deploy the package (I use Impersonation in my C# code) its all working fine, but if I use another user (like the computer admin account), I got the error only on the package calling other packages ???

Can anyone help me on that ? I really don't know whats happening ?

The error that i have is : The file can't be found. But like I said, when using the domain controler user for impersonation, its working ???



    imp = new Impersonation(session["DBMASTER"], session["DBMASTER_PWD"]);


Error 404: File Not Found



I have MOSS2007. I would like to install my project portal but it will give error 404 file not found and also it will not load my portal DLL into GAC

pls let me know whats problem gng on ? 

SSRS Deployment - FIle not found error



I have a problem in accessing the SSRS reports following scenario.

My SRRS are deployed on following URL.



Now the above url is exposed for remote access.

The problem that, when the users try to access this site i.e 'payroll' internally;

the SSRS reports are not opening "File Not found" error message being displayed.


Internal URL



Please help me.



Error " http 404 not found" in while creating FBA enabled Claims based Authen.Web Appln with custom




1)While creating a claims based autheitcation web appln in sps 2010, i have given a  custom login page [say mylogin.aspx] instead of default sign  in page. i gave custom membership provider name, role provider name say CMP1 & CRP1 respectively. there is no sql db for storing user profiles. we have to call a web service to authenticate. and want to know how this can be achieved using claims based authen. with the emntioned custom membership provider

2) When created a sitecollection and tried to navigate i got the error  "http 404  not found --> "web page cannot be found". i am unable to view the home page of this web appln    http://servername:5555/ and       its sitecollection url   http://servername:5555/sites/test. Where should I add the custom login page. is that login page doesnt exist in the 14\template\_layouts dierctory, it shows  http not found error if i use custom membership provider for fba with a  custom login page, what are the steps to make this web appln with the custom login page as the landing page.

any help is appreciated.




PrasadWT PrasadWT
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