Visual Studio :: Migrating VWD2010 Project To IIS?

Jul 12, 2010

I create a new ASP.NET MVC 2 project with Visual Web Developer 2010 a while back. After some testing, I realized that the built-in development server is too slow for proper testing, so I decided to switch to IIS. I created a new IIS website that points to my project on disk, and configured it to use the .NET 4 application pool. Many problems arose from this:

If I open the solution file in VWD, then clean the project, IIS gives me a "Could not load type: ***" where *** is my global.asax class name.If I open the IIS website in VWD and then try to build the project, I get the same error.If I open the solution file in VWD, build the project, then open the IIS website in VWD, and then build, the build is successful. However, whenever I make a change in the code and then build again, my change is simply ignored (it seems to only be using the assembly that was compiled when I built it as a solution). When I open the IIS website in VWD, and start debugging, the debugger does not catch requests to the IIS website.My guess is that when I open the IIS website in VWD, it outputs the built assemblies to a directory that IIS is not aware of. Is there a way I can configure it to output everything to the bin directory instead? Or am I doing something wrong?

View 2 Replies


Similar Messages:

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 :: VWD2010 - New Project - Console Application Template Missing?

Jul 22, 2010

My VWD 2010 Express Edition appears to be missing the console application template. I have searched all the options under new project in VB and C# but it just is not there. I would like to add the console application template option .

View 3 Replies

Visual Studio :: Publish Website Using VWD2010?

Apr 25, 2010

How easy is it to publish your project using Visual Web Developer 2010? Right now, the ease of use using Database Publishing Wizard makes my publishing breezely smooth. [:)]

View 2 Replies

Visual Studio :: Build And Clean In VWD2010?

Apr 14, 2010

can't find the Clean project under VWD2010, however, my project still works fine using the Build only, is this an upgrade?

View 2 Replies

Visual Studio :: Cannot Connect To SQL2005 From VWD2010?

Apr 20, 2010

When I try to connect to my SQL Server 2005 from within the Visual Web Developer 2010 Database Explorer, I get the "This server version is not supported. You must have Microsoft SQL Server 2005 or later" message.If I open up my web project from within VWD 2008, it still works fine.For reference, my SQL 2005 machine is a separate machine than one I installed VWD 2010 on. I did install the ASP.NET 4 framework on the SQL 2005 machine (but not any of the extra tools).

View 10 Replies

Visual Studio :: Unit Test For VWD2010 / MVC 2 On Windows 7?

Jun 6, 2010

I'd like to tryout ASP.NET MVC2, im using VWD2010 on Windows 7. I can't seem to be able to get the unit test dialog to pop up. I googled it and all I find is nUnit templates for VWD2008.

Anyone running into this issue with same setup as mine?

View 3 Replies

Visual Studio :: Unable To Open .css Files In VWD2010

Feb 1, 2011

I have not been able to open css files in VWD, I must have sone something I don't know. I can open them in wordpad, and WebDevelopment Server still displays properly so the file is not currupt. Is there a setting I messed up in web.config or somewhere else?

View 5 Replies

Visual Studio :: VWD2010 Cannot Save Toolbar Settings?

Oct 19, 2010

I keep adding the Build Toolbar buttons everytime I open a new instance of VWD2010.After I restart VWD2010, the Build toolbar settings wasn't saved. [:(]

View 2 Replies

Visual Studio :: VWD2010 Express Did Not Install Successfully?

Sep 23, 2010

In Windows 7, I get this error message when installing VWD2010 Express "Visual Web Developer 2010 Express This product did not install successfully." This is the log file from Web Platform Install 2.0

[Code]....

View 2 Replies

Visual Studio :: VWD2010 Eats 340MB Of Memory Consumption?

Jul 31, 2010

I have this big project running VWD2010 and it eats a lot of resources about 340mb+. This does not happen before, last time I check this one project runs less than 150mb. Sometimes, I even run two instances of VWD2010, one project has lesser files about 130mb and combining the two, about less than 340mb. But on a single project that doesn't run more than 300mb before, is this normal? Is VWD2010 updates something?

I only use Task Manager to check the memory consumption.

View 1 Replies

Visual Studio :: VWD2010 Express The Error Code Is 2908?

Sep 23, 2010

From this link [URL] I get this error when installing Visual Web Developer 2010 Express.

"The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2908."

I'm using a fresh install of Windows 7.

View 2 Replies

Visual Studio :: Configuration Tool Won't Run In VWD2010 / HTTP Error 404 - Not Found

Apr 28, 2010

My project works under VWD2010 but when I click the Configuration tools at Solution Explorer, nothing happens unlike under VWD2008.

The configuration developement port is running and accessing it only gets me this error, [:(]

Server Error in '/asp.netwebadminfiles' Application.

HTTP Error 404 - Not Found.

View 1 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 :: Migrating From 2005 To 2010 And 4.0 Framework?

Apr 16, 2010

For a web application we are using VS2005 and 2.0 framework...we want to migrate from vs2005 to vs2010 and 4.0 framework...

View 1 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 - 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

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

HttpHandlers / Modules :: Visual Studio + Iis 7 / Press F5 In Visual Studio Project Work With Url Rewrite?

Apr 1, 2010

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.

module=http://www.iis.net/expand/URLRewrite

View 1 Replies

Visual Studio :: Started With VWD2010 Express / Temporarily Need To Use 2008 Express?

May 11, 2010

I have been using VWD2010 Express for a website that I am working on. Due to a delay in implementing the 4.0 framework at the hosting service that I use, I need to finish up with VWD2008 Express. Is there a simple way to save my project so that it is compatible with 2008?

View 2 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

WCF / ASMX :: Migrating .Net 2.0 Framework Web Service Project To .Net 3.5 Project & Impact On Proxy?

Nov 4, 2010

We are upgrading .Net 2.0 Framework Web service project to .Net 3.5 Project. We are not changing any methods. Will there be any change in the proxy because of this Framework Upgrade.My requirement is to all the existing clients consuming this webservice should not have any impact due to this framework upgrade.

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

Can Run A Project In Visual Studio 2005 That Is Created In Visual Studio?

Apr 20, 2010

Can i run a project in Visual Studio 2005 that is created in Visual Studio Team Edition 2005

View 1 Replies

Visual Studio :: Don't See Empty Project Under New Project

Apr 21, 2010

I don't see Empty Project option in Visual Studion 2008 under NEW > Project?

View 1 Replies







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