Visual Studio :: Enable .asp Files In 2010 Website Project?

Nov 11, 2010

how I can enable .asp files in a simple VS2010 Website project? For example: Start VS2010 Click "File/New Web Site..." Accept defaults Add an html file called "Test.asp" Attempt to open Test.asp (debug project with that file active) and you get the following error: "This type of page is not served. ... is not server because it has been explicitly forbidden. The extension '.asp' may be incorrect " SO, HOW DO I EXPLICITLY ALLOW IT? VS2010 is using the ASP.NET Development Server....

View 2 Replies


Similar Messages:

Visual Studio - What Is Best Option In Visual Studio 2010 To Sync Project Files Between Home & Work Computers

Feb 14, 2011

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?

View 1 Replies

C# - Migrating From Website Project To Web Application Project In Visual Studio 2010 Causing All Controls To Throw Error?

Mar 29, 2011

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:

<div class='<asp:Literal ID="CssClassLiteral" runat="server"></asp:Literal>'>

It doesn't see this literal when it does the conversion... Is the above valid code or should I implement that functionality another way?

View 1 Replies

Visual Studio :: Building A Project From Website Files?

Oct 30, 2010

I have been asked to do some work on a website. I downloaded all of the files and chose "open website" in Visual Studio. In the picture below you can see the file structure. When I run the project I get some errors such as "could not load type 'AdminSite.Partner.Listing" or "file project/adminmaster.master does not exist'. Now, those files are indeed there. I have noticed that within the Admin folder and the Home folder there are compiled DLLs in the bin folders. Also, there are project files within each of those folders. I've tried opening the project files and the projects only encompass the files within each of the Admin and Home directories respectively. I'm just wondering what the best way is to set up this solution. As I've done so far, by opening it as a web site, why is it not seeing the DLLs in the bin folders when I run it? Do I need to reference them somehow?

View 5 Replies

C# - Disable Script Debugging In Visual Studio 2010 When Running Website Project?

Apr 1, 2011

I'm creating a website in Visual Studio 2010. I would like to use Visual Studio for C# debugging, but it also uses Visual Studio as JavaScript debugger. Is there a way to disable script debugging for Asp.Net website projects? I run my projects by hitting F5 in my Visual Studio. (I've noticed that when I attach the debugger manually, I can specify the type of stuff I would like to debug.) Note: I would like to debug, but not with Visual Studio. The developer toolbar is enough.

View 3 Replies

Visual Studio :: How To Convert Whole Visual Studio 2008 Web Site Project To Visual Studio 2010

Aug 14, 2010

is it possible to convert whole visual studio 2008 web site project to visual studio 2010 web site project

my current project references

i have a very annoying iis problem

iis server stops working until app pool is recycled

i am hoping that new visual studio (net framework 4.0) may solve this very annoying unsolveable problem

View 2 Replies

Visual Studio :: Visual Studio 2010 Missing Ajax And No Web.config When Creating New Project?

Sep 28, 2010

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???? :/

View 13 Replies

Visual Studio :: Opening Visual Studio 2008 Project In Visual Studio 2010?

May 21, 2010

Anyone know if I can maintain a VS 2008 (.net 3.5) project by using the VS 2010 IDE ?

View 1 Replies

Visual Studio :: Conversion From 2005 Project To 2008/2010 Project Error?

Jul 17, 2010

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.

Error msg:

Conversion Report - SMSSend.csproj:
Error converting project file. MSB0001: Internal MSBuild Error: Missing resource 'MissingAttribute'

View 3 Replies

Visual Studio :: Visual Studio Hangs When Create A New Website Or Project

Sep 2, 2010

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.

View 9 Replies

To Use HTML5 In MVC Project In Visual Studio 2010?

Feb 3, 2010

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.

View 5 Replies

Creating An MVC 2 Project In Visual Studio 2010

Nov 13, 2010

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.

View 5 Replies

Recovering Project In Visual Studio 2010

Mar 7, 2011

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

View 2 Replies

Visual Studio 2010 Getting .dll For Project Classes?

Sep 21, 2010

I'm using VS 2010. I got the references to the classes from my project, now I need the .dll files but I can't seem to find them. How do you add the .dll's?

View 1 Replies

Visual Studio :: 2010 Project Not Working In Iis?

Mar 19, 2010

i get this error.What should i do ?

I even tried webapplication setup project is it not ready to deploy with RC ?

<compilation debug="true" targetFramework="4.0">

Configuration Error

Description: An error occurred during the processing of a configuration file required to service this request. review the specific error details below and modify your configuration file appropriately. Parser Error Message: Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive.

View 2 Replies

Visual Studio :: Running Website Windows 7 Professional 64 Bit / On Loading Up A Website Project Getting Error?

Mar 6, 2010

I have a new development machine running windows 7 professional 64 bit. On loading up a website project Im getting this error

'The Web Application Project 'websitename' is configured to use IIS. To access local IIS websites, you must install IIS components:

IIS 6 Metabase and IIS 6 Configuration Compatibilty

ASP.net

Windows Authentication

In addition you must run Visual Studio in the context of an administrator account

As far as Im aware, I am an administrator of my own pc and I have the .net framework installed.

View 4 Replies

Project Template Missing In Visual Studio 2010?

Jul 30, 2010

Today in one of the computer i installed visual studio 2010 professional edition, and successfully installed. But in my new project template "Asp.net MVC 2 website" is missing. Also I'm not able to open an already created MVC 2 project also. I'm also having MVC 2 installed with VS 2008 Sp1 in the same machine and is working fine. I uninstalled and installed again, the same is happening.

View 3 Replies

Upgraded Project To Visual Studio 2010, But Now Get MVC Error

Nov 9, 2010

I have an asp.net mvc 1.0 project. I upgraded the project and solution to Visual Studio 2010. However, I do not want to use asp.net mvc 2.0. My app compiles under mvc 1.0. All my references are to 1.0. I have copy local true and i am referencing mvc 1.0 from a lib folder, not the GAC.However I keep getting this error:

No parameterless constructor defined for this object.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.MissingMethodException: No parameterless constructor defined for this object.

Source Error:An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:[MissingMethodException: No parameterless constructor defined for this object.]
System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck) +0
[code]....

Its like it wants to keep using asp.net mvc 2.0, because its complaining about that GetControllerInstance method. This project works fine in vs 2008.

View 2 Replies

Visual Studio 2010 Puts 4.0 Classes Into 3.5 Project?

Jun 21, 2010

I have existing ASP.NET 3.5 project I migrated to Visual Studio 2010. I didn't migrate it to .NET 4.0. Every time I try to edit .aspx page, it alters the .designer.cs class to point to System.Web.UI.WebControls.WebParts.UpdatePanel class instead of

System.Web.UI.UpdatePanel

class and then the build of course produces an error. The project properties says ".NET3.5".Also the "design" tab produces just one box saying "unknown server tag asp:UpdatePanel". It seems like it is looking at .NET4.0 to generate the desgn view, not 3.5

Is there a setting somewhere I need to change?

View 3 Replies

App_Code Folder In Project In VIsual Studio 2010

Jun 22, 2010

at vs2008 i could set App_Code folder, but at vs2010 i can not do it, that's why i put my dataset's and class' to App_Data folder. Either I do not know even App_Data folder is secure?

View 4 Replies

AJAX :: Not Converted As A Visual Studio 2010 Project?

Dec 16, 2010

the problem is that, my web project developed in visual studio 2008 but i converted as a visual studio 2010 project. when i am try to run this project that showing the error message that

[code]...

View 3 Replies

Visual Studio :: Add Shared Classes / Files Into Project

Feb 20, 2011

VWD 2010 Express.

We have shared CSharp classes put into a shared folders for re-use. Now I want to add those classes into my project by creating a new folder:

1) Right click the solution,
Add -> New Folder
Give it a new, eg. SharedClasses

2) Right click the new folder "SharedClasses"
Add- > Existing Item...

Browse to the "Shared Folder", include those shared classes. But those files are added physically into the folder "SharedClasses" rather than a reference. How do I just add a link to those shared files? Since these files might be modified from time to time, I don't want to delete and add those file frequently.

View 3 Replies

Visual Studio :: How To Clean The Useless Files In .net Project

Mar 23, 2010

I work on an asp.net web application (3.5) with Visual Studio 2008. There are a lot of files in this project (approximately 500 aspx files) and I think I can remove some of them.

My question is: Is there a way to identify the useless files, I mean, the files that are no longer used in the project (like an image, aspx, etc.); by using Visual Studio or an external tool?

View 2 Replies

Visual Studio :: Reference Xml Files N The Setup Project?

Dec 13, 2010

I am using VS2010. When I am building a release for a WinForms Applicaiton, I can see some .xml files relevant to project in the bin elease folder. The .dll (third party component) has been referenced in the References folder of the project for eg. Rebex.Net.Ftp and in the properties window the Source Path is

C:Program FilesRebexFile Transfer Pack for .NET 4.0FTP SSL for .NET 4.0inRebex.Net.Ftp.dll In the above mentioned source path directory there is an Rebex.Net.Ftp.xml which gets pulled across to the release folder as well. I couldn't really get my head around where this can be referenced so that it puts this .xml file in the release folder of the project when I do a build?

My main problem is, when I created a setup project for this application, I can't get this file included in the installation pack (after installing the .msi file). I get the Rebex.Net.Ftp.dll but not Rebex.Net.Ftp.xml file. I tried all the options in the Project Output except including the "Source files" which I dont want to. how to include the .xml files in the setup installation pack, ie., if there are properties I am forgetting to set or something like that?

View 3 Replies

Visual Studio Premium 2010 Not Show All Of The Available Project Templates?

Sep 14, 2010

I'm trying to create an ASP.NET Web Application, but this is all I see: I have confirmed that I have the full Visual Studio installed, not just Visual C#.Why can't I see ASP.NET Web Application in the "new project" list?

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved