Configuration :: Framework 4. Not In Build Dropdown Vs2010?
Feb 11, 2011
my clients PC has framework 4.0 installed and my web app runs in IIS 7 configured to use framework 4.0.
but for some reason when i open the same app in VS2010 it says that the app is running in framework 2.0??
when i open the startup options and go to build, the dropdown for the framework does not have framework 4.0 as an option only goes up to 3.5?
View 1 Replies
Similar Messages:
Sep 3, 2010
I have recently developed a new vs2010 web application that I would like to add to my web site.
The existing website was developed using vs2008. The web site is hosted on a windows 2008 server running iis 7. My new web application sits below my main website i.e. mywebite mywebsite/mynewwebsite
I have set the application pools for the mynewwebsite to be asp.net v4.0, leaving the application pools for mywebsite as .net v2.0 If I try and open my new web application i.e. [URL] then I get 500. Internal server error. I assume that it is iis that is unhappy here. Do I have to rebuild the whole of my web site to be vs2010 using asp.net v4.0. If I do should I use ASP.Net v4.0 or ASP.net v4.0 Classic for my application pools, and should I have a separate and distinct application pool for each of my web applications ( I have 4 of these) Just to clarify my clients can log on the web site as
[Code]....
View 1 Replies
Dec 8, 2010
I have recently upgraded my .Net 3.5 solution containing some C# code projects and a ASP.net web site project to VS2010 (from VS2008). It is building and running fine inside VS, but I get some problems when trying to build it on my server with MSBuild 4.0 via TeamCity. It seems like the projects that are referenced from the web site are not built. This was all working fine before I upgraded to VS2010, MSbuild 4.0 and Windows SDK 7.1.
Inside the msbuild script that I use to build from teamcity I have defined project references for the web site like this:
[code]...
When I try to run the build script I get an error message saying that it could not find the dll file when trying to copy it from the bin folder of the referenced project into the bin folder of the web site. This is happening because the referenced projects are in fact never built at all (No bin folder exists in the project dir).
I am not very experienced with MSbuild, so I may have overlooked some important stuff. Is it not so that MSbuild will automatically try to build the referenced projects if no project output is existing?
View 1 Replies
Sep 6, 2010
I have a VS2010 Web Application that uses the AjaxControlToolkit. I am able to build the Debug configuration. When I build the release configuration I get the following error message: Error 89 Could not load file or assembly 'file:///S:My CodeLibrariesACTMay 2010AjaxControlToolkit.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515) S:My CodeEZFishingEZFishingEZFishingSGEN EZFishing
The location of the file is correct, and I just downloaded and unzipped there the Ajax CT. I have always built this app correctly before upgrading to VS2010 and ACT May 2010.
View 3 Replies
May 25, 2010
When I upgraded my Web Deployment Project from VS2008 to the VS2010 beta version, I was able to execute the build locally on my development box. However, when I tried to execute the build on our TeamCity build server, I began getting the following exception:
[code]....
View 1 Replies
Mar 9, 2011
unable to install VS2010 and .NET framework
View 1 Replies
Feb 7, 2011
A client of mine is only proficient in development for ASP Classic. They have recently acquired an account for a site originally written in ASP.NET. They are rolling the site into something they can actively maintain, but the site originally included an image handler that took dynamically changing data regarding water levels and outputs an image containing a graphical representation of that data. The requirement is to develop a COM interop library that can be registered on the server and called with CreateObject to generate the same image's byte array for output using Response.BinaryWrite. The COM interop library must be registered at the remote site on a Windows 2000 Server, and I can't make any assumptions about their having access to regasm/gacutil to accomplish that task.
The Difficulty
I've built the class library by creating a Class Library project in Visual Studio 2010, choosing "COM Class" from the template, and inserting my code to generate a class with a single public method to return a byte array when given an integer (well, enumerator, but all the same). Unfortunately, even on my own development machine after building the library and registering (regasm) and caching the assembly (gacutil), I can't make a call through Classic ASP to instantiate the object, receiving instead an "ActiveX component can't create object" error. And, of course, at the server site, the DLL can't be registered, the response being "Required module was not found."
Resources I've Used
I've already had a look through the following articles and haven't turned up the answers I need:
(basic steps) Walkthrough: Creating COM Objects with Visual Basic Build and Deploy a .NET COM Assembly .NET COM+ Interop Component with Classic ASP
What I Need
Essentially what I need is a bit of hand-holding on a kind of step by step of what it's going to take to meet the requirements and create a COM+ interop module correctly in VS2010. Creating the actual class object itself isn't terribly difficult. However, none of the articles I've looked through really discuss project options or build procedures with VS2010 or the .NET 4.0 Framework, nor have any of them really discussed if there are special considerations for deploying to older systems like Windows Server 2000 and the actual registration of the library on a system with only, say, regsvr32 on hand. Unfortunately, most of the information I find centers on ASP.NET 2.0 and supporting older applications while still in the middle of transitioning from ASP Classic to the new technology.
View 1 Replies
Nov 4, 2010
How do I upgrade an existing VS2010 ASP.Net 3.5 project from Entity Framework 3.5 to Entity Framework 4.0?
Do I:
- Change the references?
- Change the target framework?
View 2 Replies
Mar 10, 2011
Is there any way that I can make it so that to use a "Production" publish profile, it would require that the build configuration was set to Release?
I believe you're supposed to be able to customize the profiles with add-ons or something...?
View 1 Replies
May 18, 2010
I host a website that has recently been upgraded from .NET Framework 2.0 to .NET Framework 4.0. Within the website, I have an instance of BlogEngine which still requires .NET Framework 2.0. Each website is in it's own application pool. My issue is that when I browse to the blog portion of my website, I receive a 500.19 error with the following information...
The configuration section 'system.web.extensions' cannot be read because it is missing a section declaration The web.conf file that is listed in the error message is the config file that belongs to my root website which is running .NET Framework 4.0. How do I get the two websites to run together in the same website using different versions of the .NET Framework?
View 2 Replies
May 19, 2010
I am using MUSQL Database extensivly in my projects,
can we build ADO.NET entity framework based on MYSQL database?
View 2 Replies
Jan 6, 2011
I have this cenario:One server (machine) that have framework 3.5. And one site (website) developed for framework 3.5.This site can not be modified (rebuild in other FW version, or others changes).
I'll developer a new webapplication (WAP) in framework 4.0 (using microsoft visual web developer 2010).
As I know, the new webaplication work in the server, if I install framework 4.0 in the server.
My question is: Can I install the framework 4.0 on the machine that already have framework 3.5. And continue have sites working with other frameworks version?Or, should I develop my new webapplication in framawork 3.5 ?If I can install the framework 4.0, do I need make some specify configuration during the installation?
View 2 Replies
Dec 8, 2010
I have a document which may have many revisions. I need to create a view which should show the build documents and a dropdown which shows different revisions of the build document. For eg. I have a document Doc1 which have 4 revisions. So the view should show the Doc1 and a dropdown which have options 1 to 4. The will contain a table of document name and the dropdowns. How can I create the dropdown dynamically?
View 2 Replies
Aug 5, 2010
I just discovered that a (simple) website I'm working on will be deployed to a server running framework 2.0. My quandry is that I started it using VS2010 and framework 4.0.
Is the solution as simple as changing the compile to options? I'm assuming that I'll have to remove the Listview controls I am using as they didn't get introduced until 3.5 (i think).
Am I basically correct with this or am I missing something?
View 1 Replies
Jan 5, 2011
I recently I have upgraded my web application from 1.1 to 3.5.
Now the problem is support DLLs used in this application still in 1.1 only.
There is no way to change it. While accessing from 3.5 it is not showing any error msg.
But not giving expected results.
Is there any way to run this particular assembly in 1.1 and other in 3.5 ?
View 1 Replies
Mar 31, 2011
I'm new to ASP.NET. I have created a web application project using VS2010. I tried to deploy it to my web server (IIS7) based on article on the internet (eg. link) but I've got an error:
[Code]....
View 3 Replies
Apr 2, 2010
I'm used to use web deployment projects. Currently I am developing a new web application with VS2010 and want to try to get along with the new web.config principle and deployment issues.
How can I replace a simple setting like
<applicationSettings>
<NAMESPACE>
<setting name="Testenvironment" serializeAs="String">
[code]...
I want to have this setting to be set to True in Debug, and false in Release. How must the entries in the Web.Debug.config and Web.Release.Config look like?Is there some documentation about the new web.config issue? Can't seem to google for the correct keywords.
View 5 Replies
Feb 28, 2011
I have VS 2008 and VS2010 on the same machine (OS:WINDOWS 7). Eariler both were working fine for ASP.NEt Webconfiguration manager. Now i amtrying to open ASP.Net Configuration Manager in VS 2010 , it showing Error. I had used this feature in both before this. WHat is the root problem.I am running VS2010 as RUN AS ADMINISTRATOR.It showing Icon in tray, but unable to open in IE. http://localhost:2663/asp.netwebadminfiles/If i click on this link, it process for a while and then redirect to error page. http://localhost:2663/asp.netwebadminfiles/error.aspxand show this message: An error was encountered. Please return to the previous page and try again.
View 4 Replies
Nov 19, 2010
From last month i have started develop application in vs2010 ultimate edition.I have install crystal report beta 2 for vs2010 from sap website.It was working fine at development machine.But whe i deployed it on windows 2003 production server it was showing assebly reference errors.For this I install crystal report runtime beta 2 on production server but error remain same.
My Question to all of you is ,provide appropriate link for setups for vs2010 and runtime for production server which is latest and bug free so our applications can run properly.
View 1 Replies
Aug 8, 2010
iam trying to make a web program that consist on marking days for vacation. my problem is this: when put the login and password and press the login button everything work great on vs2010. when i copy the prrogram to the iis 7 i put the username and password and when i press the login button nothing append. is like the button as no action.
View 5 Replies
Nov 3, 2010
what are the steps to create a setup in asp.net mvc2.0 and VS2010 application and deploy it on server.
View 10 Replies
Aug 11, 2010
I am getting this error, without any further details, when attempting to debug my ASP.Net project in VS2010. There are other developers using the same tools and code who are not having this problem therefore I know the problem is not in the web.config file. I have found several suggestions when googling the issue and tried them all to no avail. I uninstalled and re-installed VS2010 along with the .Net 4 framework. I made sure Anonymous as well as Windows authentication is enabled in IIS. I uninstalled and reinstalled IIS. I am at a loss. I can attach to the process and debug the ASP.Net code that way, but what I really need to be working on is a Silverlight app that is called from the ASP.Net and the breakpoints don't work in Silverlight when I attach to the process manually.
View 3 Replies
Aug 25, 2010
We have had a web application built in vs2008. We have recently set up vs2010, and when we build the solution we are getting this error.
The CodeDom provider type "Microsoft.VJSharp.VJSharpCodeProvider, VJSharpCodeProvider, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" could not be located.
We have tried placing the following in web.config
<compiler language="vj#;vjs;vjsharp" extension=".jsl;.java" type="Microsoft.VJSharp.VJSharpCodeProvider, VJSharpCodeProvider, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<providerOption name="CompilerVersion" value="v3.5"/>
<providerOption name="WarnAsError" value="false"/>
</compiler>
View 1 Replies
Nov 29, 2010
I have tried to create an asp web site with VS 2010, using VB code behind the Default.aspx form. It works fine on my local development computer with Win 7, but it will not work when I try to access it on my web site after I post it there. If I create a similar asp file with VWD 2008, using the html style code (which I do not know how to use) and post it to the web site, it works fine.
View 1 Replies
Jun 6, 2010
I just upgraded from VS2008 to VS2010, and now my web deployment project keeps rebuilding constantly. Even if I have a WinForms application set as the startup project and hit Ctrl+F5 to run it, the web deployment project rebuilds every time I hit Ctrl+F5. It didn't do this in VS2008. Does anyone know what's causing this?
View 1 Replies