Visual Studio :: Cannot Add A New Page To Web Project
Mar 14, 2011
I'll start off by pointing out I am on VS 2010 with a Web Application running against .NET 3.5 SP1 I have a Web Application that I've been working on for almost 2 years now, and suddenly I cannot add a new page to the project without it whining that 'Could not load type 'AA.Service.Pages.Folder_PageName'.' for any page I create 'AA' is the Root namespace defined in my project's Application tab in the settings... Since I started I have been namespacing my pages to avoid any possible conflicts with this pattern
[Code]....
and the aspx page would be like so:
[Code]....
That is the way every single page on the site is coded Now suddenly out of no where any new page I create throws 'Could not load type "AA.Service.Pages.Folder_PageName"' Every single previous page created in the project before today is exactly in the same pattern as above, refers to the same MasterPage, and works perfectly fine. I have done no window updates, VS updates or anything that could have caused this I don't even know where to begin. Trying to create a new blank, stand-alone, MasterPage-less page doesn't work either, same could not load type error I've tried doing stupid usual Microsoft tips like "reboot your computer" too.
Im working on a website project with Visual Studio 2010 from 2 different computers (home & work). In Dreamweaver Im used to FTP to upload/download files to/from a webserver to syncronice my files on the current computer Im working on.What is best option in Visual Studio 2010 to sync project files between home & work computers? I have seen there is a built in FTP, but seems only it can upload files, limited functionality?
when i opened my Visual Studio 2010 i noticed that my ajax tab was missing from my toolbox and ajax control kit too.Then i noticed even that when i create new website, there is no web.config in it and it should be.WHAT IS GOIN ON???? :/
i install url rewrite iis module to my computer i want when i press f5 in visual studio my project work with url rewrite how can i this?my web sites is not seeming in iis.
This useful effect seems not to happen anymore. I'm in VS2008. If I have several files open as tabs, when clicking on each of them, VS used to highlight that file in Project Explorer, which is very useful to quickly see where in the Solution that file is, even if it's not in the Web Project.
I've got an ASP.NET 4 web forms application I'm building in Studio 2010. The solution has two projects. A web forms application and a class library. I have added a reference to the class libraryr project in the web forms project, but when I go a code behind page in the web forms project, it does not recognize the class from the class library and throws the "type or namespace <class> could not be found ...." error. Adding a using <class library projec> does not work either as it does not recognize that.
Just as the subject says, my VS'05 installation hangs when trying to create a new website. I even installed a fresh version of VS08 along side '05 and '08 is doing the same.
I have downloaded a project from the internet called the SMS Source example. I wanted to open this project in VS2010, so a conversion wizard has popped up prompting for the conversion. But it has errors in converting.
As that title says my aspx page shows a compile error on the @Page directive that says "ASP.NET runtime error: Cannot load file or Assembly 'Microsoft.SqlServer.BatchParser' or one of it's dependencies". The project compiles with our error and it runs with no problem. The only real problem that this causes it that the intellisense for anything other than simple HTML is broken so I can't type asp:Controlname and have intellisense show me a the list of items or properties in a control. I get a green squiggly line under all the asp tags saying "Unrecognized tag prefix or device filter 'asp'". This project doesn't directly use SQL SMO but it does reference a project that does. However, I removed that reference and the problem still doesn't go away. I have installed on my development machine the full SQL client and for both SQL 2005 and 2008 (including the SDK) from the Developer editions of both versions. This was not a problem on VS2005 and the project compiles without error in VS2010 too.
I recently updated my VS2010 website project from .NET 3.5 to 4.0. Everything was working fine in the website project. Today I decided to migrate the website to a web application project as I have learned this is the best way to work in .NET. I split out all my class files into a separate class library and copied all my other content into my new project. Then I updated all the references and web.config.
When I build the class library, everything works great. The problem is happening when I try to build/debug the web application project. It is acting like all the controls are missing and it is also throwing a bunch of compile errors about the public properties I have in my master pages.
Control errors: "The name 'INSERT CONTROL NAME HERE' does not exist in the current context"
Master page errors:'System.Web.UI.MasterPage' does not contain a definition....
It is giving these errors for every single control and master page property in my entire solution.I notice when I add a new web.form to this project, it also adds a filename.aspx.designer.cs file in addition to the .aspx and .aspx.cs file. My existing files do not have these extra files since they were created in a different .NET version.
UPDATE: It seems I was missing the step where I need to right click on the new application folder and select "Convert to web application". I just did that and it seems to be a little bit better...
Now it is choking on Literals that are inside single quotes:
i was wondering if visual studio 2010 can be used as an assembly editor too????if yes where do i have to go to create a first blank page for an assembly project?
I'm trying to create a MVC project inside of VS 2010 using Asp.Net MVC 2 RC2, using all the default settings and the default "Visual Studio Unit Test" framework and am getting 6 Namespace errors upon compile (without touching ANYTHING). Pretty standard setup. I removed the prior MVC versions before installing RC2 for VS2010 etc. These are the errors:
[Code]....
The namespace "AWWOAMVC" is empty (or so says Intellisense). Both of these reside in the same solution explorer, as it is brand new project.
I installed Visual Web Developer 2005 Express in Window Vista Home Edition. In this VWD 2005 Express, I can only create a new web site, not aweb project. So I installed Service Pack for this Express, vs80sp1-kb926751-x86-intl.exe. After this installation, I haven't found a new web project yet.
I created my site using a web app project with Visual Studio.NET 2008 and I would like to publish all the site using the precompilation mode. How can I do that?
I have an asp.net app in visual studio and it's starting to contain quite a few files. I remenber seeing a .sln file format that converts the entire files into one file. How does this work?
I have Visual Studio 2008 SP1 and ASP.NET MVC 2 (not the RC) installed on 2 computers, one at home and one at work which allows me to work on the same projects (via a synced dropbox account) in both locations.I've recently started with ASP.NET MVC and I've noticed that the projects I create at work won't compile at home (haven't tried it in reverse yet), citing the UrlParameter on line 22 and AreaRegistration on line 29 of the default Global.asax file as having a missing reference.I've checked the using System.Web.Mvc statement is in place and that the reference exists in the project references folder in solution explorer. I've looked in the object browser as well and I can see that my work machine shows the System.Web.Mvc.UrlParameter but my home machine doesn't.I've created a brand new Web MVC project on my home computer and the object in object browser is there, everything compiles and runs fine.
For now, I just want to use the <audio> and <video> tags and maybe try out the drag and drop features since these are supported by Firefox 3.6. The project will just be a test project, not necessarily for production.
So I got a copy of Visual studio 2010 ultimate through my university and MSDN AA. I've been unable though to create any MVC2 projects in it. Even worse when I save my project from school and attempt to just open it at home I keep getting errors that it can't load the project (this included just open a basic empty project). I've tried a complete reinstall, and even manually downloading the MVC2 RC.
i have 4 project in my solution, framework , domain objects,business objects and website ...but this morning website project couldnt be loaded... when i tried firsttime to open solution... "The solution file has been modified outside the enviroment" message seemed and press reload then error is project file is corrupted... how can it happen
I have a WebTest that simply opens a login page, inputs a userid/password and logs in.I need this test to user a list of ten userid/password combinations.
I've already recorded this event and the Form Post Parameters display a userText and pwText entry. I assume I do something with those to accomplish that. I just don't know what.