I'm working on a custom menu system in asp.net that populates a horizontal menu on the fly based on which menu item is selected from the website's main menu.This 2nd menu is populated from a custom XML file in the website's root directory.(See http://loganyoung.wordpress.com/2010/06/03/asp-net-horizontal-submenu-from-xml/ for details).At the time I'd written that post, it did work, but my development environment has changed and now I'm getting an error saying that the XML file can't be found.
OK, I was having some deployment issues on IIS 5.1, but at one point (right before the machine died) I was able to serve the files. I'm not certain what is lacking in my current case, but now I'm trying to deploy on IIS 6, and cannot get anything but "404 not found" errors. It's driving me nuts.
Just to be sure the site is working, because it isn't in the web root (virtual directory), I dumped a Web Forms website in there, and it worked just fine. I've tried setting up a wildcard in IIS by going to the properties of the site, and in the area under the file extension mappings, I clicked Insert to create a wildcard, assigning it to the aspnet_isapi.dll file. No dice. And yes, I remembered to uncheck the "Verify file exists" checkbox. Since this is IIS 6, I also made sure I had the Default.aspx page, with the code:
[Code]....
So all should be good. But it's not. I've combed over at least 6 websites and related links on getting MVC 2 to work on IIS 6, but nothing has worked so far. I cannot purchase the url rewritier mentioned in Steve Sanderson's blog, nor can I use the free version, since my application isn't the only web site running on this server. I can't use extensions for the pages, either. This is a crude hack I really don't want to deploy in a production application.
and SqlBulkCopy to store the file into the database.It works fine with the local machine.When I try to publish it in the server I received the following error:
404 - File or directory not found.The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.
I have uploaded my website on ftp's httpdocs folder when i go to Default.aspx page it gives me File not found error, I had use publish website options and my project contains Default.aspx page as start page.All published project files are uploaded and still i am getting File not Found error.
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.
I have uploaded my website on ftp's httpdocs folder when i go to Default.aspx page it gives me File not found error, I had use publish website options and my project contains Default.aspx page as start page.
All published project files are uploaded and still i am getting File not Found error.
when i try to type files in internet explorers address bar.
My application source code is under Driver H: in my Dev server.
The security settings under Driver C: (right click->properties->security tab) has access setup as "Everyone", but when I remove "Everyone" from C: and run my application, I am getting HTTP 404 - File not found. The app works fine if it has Everyone. I dont want to grant access to Everyone under C:.
How can I run my app which is setup under driver H: run without any issues by removing the Everyone Access in C drive.
I'm doing a tutorial for error logging. It seems to be pretty basic. Everything works the way it should but I get an error I did not expect in my error log. The error says file not found for favicon.ico. From what I've read this is a file for the icon that would appear in the address bar, to the left of the url. I don't understand why I'm getting this error. I have no code that does this or references this file. It happens when I run the app in chrome and in firefox. Does the browser automatically look for this file to display to the left of the url? Is it automatically looking for this file as part of it's normal routine when loading a page?
I have solution that has two projects in it. One is an ASP.net project and the other is a class library for the ASP.net project. I get this error but don't understand why or how to correct it.
Error 1 Metadata file 'C:UsersxDocumentsVisual Studio 2008ProjectsWeb AppsVet ClinicClassLibraryinDebugClassLibrary.dll' could not be found Vet Clinic
i created a site using asp.net, i got hosting space and uploaded my files, as per my process i ll send the Email verification link to users mail id with link to my site, if they click the link they will directly redirect to my site's registration page.it's working fine in my local iis and in visual studio, but in the host i'm getting error as Server Error 404 - File or directory not found.The resource you are looking for might have been removed, had its name changed, or is temporarily unavailabl
I come from a VB environment. I'm looking at 2 different file extensions. If one doesn't exist look at the next. I was hoping to use the try/catch function. I can get it to find the first extension but not the second. Here is my the try/catch part of code:
The error dialog that pops up shows Connection Error in the title and a yellow exclamation point with File Not Found! I thought the FileNotFoundException would work(?).
i hosted asp.net application in iis 7.. i can browse everything fine.. But while browsing in between i getting 404 error (file not found) even though the file
I have a file upload control on my page. The maximum request length set is 8 MB (maxRequestLength = 8192). I also have server validation that throws an error if the file is more than 4MB. The reason that its 8MB in the config is the leverage that's given to the user and also that the app can be tested.
If I upload a file that's 9MB, I get thrown an exception "Maximum request length exceeded.", which is fine and as expected.
But when I try to upload a file that's 1GB, it shows me a HTTP 404 - File not found. how can I get it throw me a maxRequestLength exception?
I have an asp.net webproject that I inherited from another guy here at my ccompany. Before he left, we got the site to work in dev. Now that he has gone I try and run it again and I get the following error:
I have a web application which runs crystal reports. Crystal reports were running properly and its been 2 years that we deployed crystal reports on the web server.Two days ago, suddenly users started getting the following error message. Need urgent help. I have an option to re-register .Net framework and re-installing IIS but i have other very critical application running too, which i don't want to risk at the moment. The server is running on Windows server 2003 with IIS 6.Drop Table INC_IND_CONTRACT;
I have a fairly big ASP.NET 3.5 website that refuses to open any page via the 'View in Browser' option of VS2010, i.e. the LocalHost facility does not work. All I get is a 'File Not Found' error.
Two other ASP.NET 4.0 sites (which are much simpler and do not have any SQL Server connections) can be viewed without any problem via the LocalHost service.
I have a unit test that reads from an .xml file and it works fine on my local machine.However, in TFS when I create a new build it gives the following exception:
Failed GetArticleByIdTestOptimal Test method Test.ArticleSystemTest.GetArticleByIdTestOptimal threw exception: System.Xml.XmlException: ImportFromFile filePath=[.Articles1to5.xml]. ---> System.IO.FileNotFoundException: Could not find file 'c:uildareaTestResults fservice 2010-10-19 11_52_19_Any CPU_ReleaseOutArticles1to5.xml'..
Is there some reason why a unit test could pass locally but not in TFS? I've verified that the file is on the build server.
I am using ItextSharp and I am getting a new font for it by doing this
[Code]....
That file is in that directory on both my dev machine and the server. When i run this on my dev machine it works fine, when published to my server I get an error saying FREE3OF9.TTF is not found as a file or a resource. I have double and triple checked that the file is in fact there on my server. My application has full trust on IIS. and IIS user has full access to this folder and this file.And still I get this error. Very frustrating. This code is Not inside the Web Application but inside a DLL class library that the web application is referencing. Do I need to add any more special permissions or something?