Getting Error After Upgrade To 2010 .NET 4?
Feb 17, 2010
I am getting an error mesage about my membership I have included System.Web.ApplicationServices
Error 2 Type 'System.Web.Security.MembershipUser' in assembly 'System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' has been forwarded to assembly 'System.Web.ApplicationServices'. Either a reference to 'System.Web.ApplicationServices' is missing from your project or the type 'System.Web.Security.MembershipUser' is missing from assembly 'System.Web.ApplicationServices'. C:Users###DocumentsVisual Studio 2010JobTrackerusersNewJob.aspx.vb 82 29 C:...JobTracker
do I need to amend my web.config file
View 1 Replies
Similar Messages:
Jun 3, 2010
My previous development PC was running Windows Vista Home Premium 32-bit and Visual Web Developer 2008 Express. My new PC has Windows 7 Home Premium 64-bit and Visual Web Developer 2010 Express. My Solution contains 3 projects. The Solution has been converted from VWD 2008 to 2010 fine. There are no errors when I build either of the projects. One of them is not working though. When I start debugging, my default browser does not open (problem 1). When I browse the the website manually, pages of that specific project
View 6 Replies
May 5, 2010
My application uses authentication mode="Forms". I am doing my first Publish since the upgrade and all looks correct. I publish to the File System which is what I used to do in VS2008. When I install the app on my server (IIS6), the login page renders correctly and I enter correct authentication. In previous versions, the application would then render the Default.aspx page. Now, I receive a windows authentication window for my website. I'm not sure what's changed and I think it has something to do with the publish process in VS2010 although I may be mistaken
View 1 Replies
Oct 5, 2010
i have licensed Microsoft VS 2005 with .Net Framework Version 2.0.50727.
How can i upgrade the VS 2010 with .Net Framework Version 4.0?
View 1 Replies
Jan 5, 2011
My current Web Based Application is developed in .NET 2.0 framework using Visual Studio 2005 Standard edition tool and SQL Server 2005 Standard edition, Is it possible to convert to .NET 4.0 Framework using Visual Studio 2010 Professional Upgrade edition tool.I would like to purchase Visual Studio 2010 Professional Upgrade edition.
View 8 Replies
Oct 13, 2010
At work I'm tryhing to upgrade an ASP.NET 2.0 app (which we wrote using VB.NET 2005) to ASP.NET 4.0. I had a few problems during the upgrade, but eventually worked them all out. At the end of the day I decided to give it a quick compile and see if I'd get the start page, so I hit F5 in VS 2010. I left it that way, and man was it acting weird. VS 2010 wasn't responding to anything. If I hovered the mouse over VS 2010's minimize or close buttons, in the upper right corner, then those buttons were flashing very rapidly. I'm not sure what was going on. After waiting 15 minutes to see if it would come up, I decided to try clicking on the close button. Nothing happened. Eventually, I had to leave (I take public transit, and I have to leave when the bus comes)But what I want to know is this, is this pretty standard behavior? Does it normally take this long to do this? This website is of modest size (<100 pages).
(Later) When I came into work today, 8 hours later, VS 2010 was still doing whatever the heck it was doing, but basically it wasn't responding to anything.
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
Jun 10, 2010
I have a highly complicated web site that is under source control and has a long history. I would like to migrate this website into a web application project but I do not want to lose the source control history. We use Visual Studio 2010 and Team Foundation Server (Currently 2005 tfs but we are in the process of upgrading to 2010).create a webapplication project and migrate the files from the web application into it without losing the source control connections?
View 1 Replies
Jun 6, 2010
I upgraded my site to works with Microsoft Visual Web Developer 2010 Express, works with .net 4.0 and new ajax tools. My site is manage on our site . Now it work on win server 2003 sp2 frameworks 2.0 ajax ast.net 2.0
Is the new upgrade site will work on the web sever ?Should I Upgrade the server to framework 4.0 ?
View 1 Replies
Feb 15, 2011
I have an HttpHandler which takes care of 404 errors, which I implemented years ago as a way of doing url routing. If the request maps to a valid page, it redirects to that page. Otherwise, it returns a 404. (I know I should start using the new routing feature of asp.net 4.0, but that will take some time. I need to get this working asap.)
In IIS6, I have mapped the 404 error to "/404.ashx". In the web.config, custom errors are set up like so:
<customErrors mode="On" defaultRedirect="error.aspx">
<error statusCode="404" redirect="/404.ashx"/>
</customErrors>
and the http handler:
<httpHandlers>
<add verb="GET" path="404.ashx" type="myNamespace.PageNotFoundHandler,myAssemblyName"/>
</httpHandlers>
This has been working for years - it stopped working as soon as I changed the site to use asp.net 4.0. Everything was recompiled for 4.0, and there were no code changes.
Now, when I hit one of these urls that used to work, I get a blank page with a 404 error code. If I remove the IIS 404 error mapping, I get a regular old 404 page. It seems that the httphandler is not being called.
I have other http handler which are working fine. I figure there must be some configuration setting I missed or something like that. Naturally, this is a problem only on my production server, so I can't run it in the debugger to see what is happening.
View 1 Replies
Mar 22, 2010
I have upgraded from mvc version1 to version2. I have installed mvc RC2 and copied the latest scripts to my project. Now that I am running with the latest scripts and dll, I am having the error message
MicrosoftMvcValidation.js
5
6Type.registerNamespace('Sys.Mvc');Sys.Mvc.$create_Validation=function(){return {};}
>
> Type is not defined
http://localhost:4164/Scripts/MicrosoftMvcValidation.js
Line 6
What is this message and how can I eliminate it?
View 6 Replies
Jun 7, 2010
I've got two sites hosted on a win2008R2 box that I just moved to .net 4 from 3.5. One worked well, but the other is showing a 500-internal server error on the server. It builds fine in VS, and runs fine in Cassini.I've changed the app pool to .net 4 and copied the new web config into the site, but I still get an error. I did this about a month ago with another site and everything worked fine.I can't use my own error logging code because my app doesn't even get started, and IIS doesn't seem to leave anything in the application event log. Apologies in advance for a dumb question, but where can I get some more detail on this error?500 - Internal server error.There is a problem with the resource you are looking for, and it cannot be displayed.
View 8 Replies
Apr 20, 2010
I recently upgraded my database to sql server 2008 and my visual studio to sp1. I did this after i uninstalled the original versions. when i run old projects made in the previos configuration i had (express and viaual studio professional) i cannot connect to database, even though i have added the connections in visual studio and made sure sql server is running. Also When i go to create a new project in visual studio i cannot see the standard project types anymore, i get an error "no template information found".
View 4 Replies
Aug 4, 2010
In MOSS 2007, we could update the tag's callstack attribute to true and then customerrors mode to "Off" to see the actual error behind the 'An unexpected error has occurred' message. Does it apply on SharePoint 2010 as well ? I tried it but I get the following error:
Runtime Error Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed.
Details: To enable the details of this specific error message to be viewable on the local server machine, create a tag within a "web.config" configuration file located in the root direc...
View 4 Replies
Apr 10, 2014
I have a method who return list of data from database. i want to know how we can get value from list which is return by method.
public List<Company> GetCompanyInfo (int CompID)
{
db_CompanyDataContext obj_comp = new db_CompanyDataContext();
var Compnay_Info = from Cinfo in obj_comp.Companies where Cinfo.CompID == CompID
select Cinfo;
return Compnay_Info.ToList();
}
i am trying below mention statement but it gives error.
List<Company> cmp = sm.GetCompanyInfo(qry).ToList();
View 3 Replies
Jul 30, 2010
I have a webform that has a formview (fvwContract) and inside itemtemplate there is a Tabcontainer with three tabs (invoice (spanish: factura), receipt (spanish: recibo) and beneficiary (spanish: beneficiario). I have another formview inside invoice tab (fvwFactura) with many textboxes that I need to manipulate in code behind. The thing is that I canīt reference any of them like the following:
protected void DropDownList1_SelectedIndexChanged2(object sender, EventArgs e)
{
AjaxControlToolkit.TabContainer container = (AjaxControlToolkit.TabContainer)fvwContract.FindControl("TabContainer1");
[Code]....
how to reference any control inside frwContract.TabContainer1.fvwFactura?
View 1 Replies
Sep 30, 2010
we recently converted our web application from VS 2008 to 2010 and i am getting following error most of the time, both in my local machine (windows 7) and test server (windows 2003 server). Could not load file or assembly 'VJSharpCodeProvider, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) I already wasted a lot of time on this and it is stalling me to move ahead and do further development.
View 1 Replies
Nov 25, 2010
I have upgraded my app from c# 2.0 to 4.0 framework, it run without error. But when i copy the solution to another computer un VS 2010 Ultimate as well. when i run my project (f5), it genarate an following error:
correct before proceeding (You might rename the current web.config or add new one.)
How can i fix it?
View 4 Replies
Jul 7, 2011
I need to add a small training page to an existing website structure. I created a new project and published it to a subdirectory of the website, but when I run it, the .aspx pages throw a parser error because it's looking for the codebehind files in root/bin instead of root/subdirectory/bin. How can I make it look in the right folder?
View 1 Replies
Jan 16, 2011
I worked with updatepanel with visual studio.net 2005 and it was working fine but after using visual studio.net 2010 I get error message when I try to use updatepanel control. here is what I get:
Parser Error Message: Type 'System.Web.UI.UpdatePanel' does not have a public property named 'CreateUserWizard'.
Source Error:
Line 9: <asp:UpdatePanel ID="UpdatePanel1" runat="server">
Line 10:
Line 11: <asp:CreateUserWizard ID="RegisterUser" runat="server" EnableViewState="False"
Line 12: oncreateduser="RegisterUser_CreatedUser" DisableCreatedUser="true"
Line 13: ContinueDestinationPageUrl="~/Account/ActivationUser.aspx"
anything has changed in visual studio.net 2010 with ajax?
View 5 Replies
Nov 3, 2010
I coverted a VS 2008 project to VS 2010. I then downloaded and installed the AjaxControlToolkit for .net 4. When I run in debug mode I get an the following error. The code worked in VS 2008 .net 3.5. No Source Available There is no source code available for the current location. Call stack location:
AjaxControlToolKitDLL!AjaxControlToolkit.ToolkitScriptManager.OnLoad(System.EventArgs e) Line157
Source file information:
Locating source for 'd:hgactServerAjaxControlToolkitToolkitScriptManagerToolkitScriptManager.cs'. Checksum: MD5 {c1 d2 e2 8c cd 4b 65 11 35 53 7f f5 e3 3b 76 58}
The file 'd:hgactServerAjaxControlToolkitToolkitScriptManagerToolkitScriptManager.cs' does not exist.
Looking in script documents for 'd:hgactServerAjaxControlToolkitToolkitScriptManagerToolkitScriptManager.cs'...
Looking in the projects for 'd:hgactServerAjaxControlToolkitToolkitScriptManagerToolkitScriptManager.cs'.
The file was not found in a project.
Looking in directory 'C:Program Files (x86)Microsoft Visual Studio 9.0VCcrtsrc'...
Looking in directory 'C:Program Files (x86)Microsoft Visual Studio 9.0VCatlmfcsrcmfc'...
Looking in directory 'C:Program Files (x86)Microsoft Visual Studio 9.0VCatlmfcsrcatl'...
Looking in directory 'C:Program Files (x86)Microsoft Visual Studio 9.0VCatlmfcinclude'...
Looking in directory 'C:'...
The debug source files settings for the active solution indicate that the debugger will not ask the user to find the file:d:hgactServerAjaxControlToolkitToolkitScriptManagerToolkitScriptManager.cs.
The debugger could not locate the source file 'd:hgactServerAjaxControlToolkitToolkitScriptManagerToolkitScriptManager.cs'.
View 1 Replies
Mar 21, 2010
On a webform that was working fine before, all of the sudden most of the controls on the page give me the following error in trying to use the controls in codebehind. Error 18 'DropDownList1' is not declared. It may be inaccessible due to its protection level. C:UsersJohnDocumentsVisual Studio 2010Projects2010App_PagesTestPage1.aspx.vb 29 107 2010
View 5 Replies
Mar 14, 2014
I have a site that I setup and users can create dynamic links and part of the link is their company name. Well just found out that if the name of the company has a dot (. or period) then the routing doesn't like that. After searching see that you can't put a dot in the folder name and wonder now that all these urls are out there is there a good way to handle so the user doesn't get the 404 page? Someone said to add relaxedUrlToFileSystemMapping="true" but did this and still throws to 404.
------------------------------
System info
------------------------------
Microsoft Windows Server 2003 R2
Standard x64 Editions SP2
site using ASP.NET 4.0.30319 framework
Using web forms.
------------------------------
Global.asax
------------------------------
Code:
<%@ Application Language="VB" %>
<%@ Import Namespace="System.Web.Routing" %>
<%@ Import Namespace="System.Security.Principal" %>
Sub Application_Start(ByVal sender As Object, ByVal e As EventArgs)
' Code that runs on application startup
RegisterRoutes(RouteTable.Routes)
End Sub
Sub RegisterRoutes(ByVal routes As RouteCollection)
[code]...
This works:
[URL]
This does not work because of . (dot) in folder name:
--I get 'The page cannot
View 1 Replies
Feb 22, 2012
I'm working on an application using a 3 tier architecture and I'm having issues with a business layer select method. Basically, I have a gridview control that is populated by an objectDataSource. The ObjectDataSource calls a select method in the my business logic layer to retrieve data. When the business logic layer calls a table adapter method, I receive the following error message:
Failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key constraints
This is my first attempt at a 3 tier design and I'm not sure where to start with the debugging process.
Also, the stored procedure that is used by the table adapter select method, creates a new column inside of the query. This column is not included in the datasets datatable. I manually inserted a new column into the datatable from the dataset designer. The new column was created to store the values that are being returned from the new column in the stored procedure. I'm not sure if this is the correct way to do this or not but it allowed me to access the column in the business logic layer methods.
View 1 Replies
Mar 17, 2010
I have VS2008 SP1 installed with ASP.NET MVC2 RC2. Do I need to do anything to upgrade to ASP.NET MVC2 RTM?
View 1 Replies