CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

ASP.NET Web Hosting – 3 Months Free!



Can Reply:  No Members Can Edit: No Online: Yes
Zone: > NEWSGROUP > Asp.Net Forum > visual_studio.vs_2005_web_application_projects Tags:
Item Type: NewsGroup Date Entered: 5/18/2006 5:37:16 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 3 Views: 33 Favorited: 0 Favorite
4 Items, 1 Pages 1 |< << Go >> >|
mdsrlz
Asp.Net User
Error on running my website: "Cannot convert type ..."5/18/2006 5:37:16 PM

0/0

Hi!

After the migration of my VS 2005 WebSite, I've got the following error:

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS0030: Cannot convert type 'ASP.login_aspx' to 'System.Web.UI.WebControls.Login'

Source Error:

Line 114:        public login_aspx() {
Line 115:            string[] dependencies;
Line 116:            ((Login)(this)).AppRelativeVirtualPath = "~/Login.aspx";
Line 117:            if ((global::ASP.login_aspx.@__initialized == false)) {
Line 118:                global::ASP.login_aspx.@__stringResource = this.ReadStringResource();


I'm using the Membership and Roles Providers... can you help me? I can't imagine what is going wrogn.

Thanks

timmcb
Asp.Net User
Re: Error on running my website: "Cannot convert type ..."5/18/2006 10:44:41 PM

0/0

ASP.NET is confusing your Login class with the Login control.  Try putting your Login class in a namespace or re-naming it.

< % @ page ... codebehind="login.aspx.cs" inherits="MyNamespace.Login" % >

namespace MyNamespace {
    public class Login { ...


Tim McBride

This posting is provided "AS IS" with no warranties, and confers no rights.
mikbyrne
Asp.Net User
Re: Error on running my website: "Cannot convert type ..."5/23/2006 6:01:12 AM

0/0

I was just experiencing the same problem as described above, but putting all the classes and user controls for my site into it's own namespace fixed it all. Thanks for the post.

Mick Byrne
Web Projects Director
rpot
Asp.Net User
Re: Error on running my website: "Cannot convert type ..."10/30/2006 8:05:17 AM

0/0

I have had the same problem. You can also rename the page name from "login.aspx" to "userlogin.aspx". Vs2k5 sees "login.aspx" as some kind of default page and therfore creates an error.
4 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Using Microsoft Office Outlook 2003 Authors: Patricia Cardoza, Patricia DiGiacomo, Pages: 1040, Published: 2003
Quick Base: The Missing Manual Authors: Nancy Conner, Pages: 398, Published: 2007
MEL Scripting for Maya Animators Authors: Mark R. Wilkins, Chris Kazmier, Stephan Osterburg, Pages: 501, Published: 2003
Thomas Middleton: The Collected Works Authors: Thomas Middleton, Gary Taylor, John Lavagnino, Pages: 2018, Published: 2007
Thomas Middleton: the collected works and companion Authors: Gary Taylor, Pages: 2016, Published: -1

Web:
Error on running my website: "Cannot convert type ..." - ASP.NET ... Error on running my website: "Cannot convert type ..." ... Compiler Error Message: CS0030: Cannot convert type 'ASP.login_aspx' to 'System. ...
Cannot convert type 'ASP.login_aspx' to 'System.Web.UI.WebControls ... This page works perfectly when running on the WebDev debug web server. ... error CS0030: Cannot convert type 'ASP.login_aspx' to 'System.Web.UI.WebControls. .... error we were both receiving). I renamed my page from Login.aspx t ... site as an updateable web site, the aspx is retained and tries to ...
Cannot convert type 'ASP.login_aspx' to 'System.Web.UI.WebControls ... This page works perfectly when running on the WebDev debug web server. ... However after publishing the page to my local IIS, it results in the below error . ... error CS0030: Cannot convert type 'ASP.login_aspx' to 'System.Web. .... site as an updateable web site, the aspx is retained and tries to ...
MS SQL Server :: Cannot Convert Type 'int' To 'System.Data.DataView' Dec 27, 2007 ... In my code I get the following error: "Cannot convert type 'int' to ..... I think that a windows form connecting to a sql database running ...
Cannot convert type 'ASP.login_aspx' to 'System.Web.UI.WebControls ... i have precompiled my webapplication and i am tryng to host that application. so ... Compiler Error Message: CS0030: Cannot convert type 'ASP.login_aspx' to ' System. ... in database if user exist and allow user to get in website. ... that problem when i rename inside class too its running smoothly. ...
PreCompile Issue - CS0030: Cannot convert type 'ASP.login_aspx' to ... Dec 11, 2006 ... Running locally using the In built Cassini Web Server all is fine. ... Compiler Error Message: CS0030: Cannot convert type 'ASP.login_aspx' to 'System.Web.UI. ... So I changed the name of my page and all is good ... Visual Studio · Visual Studio Addins · Website · windows workflow · wwf · YouTube . ...
C# - : Error CS0029: Cannot Implicityly Convert Type 'string' To ... my error says : error CS0029: Cannot implicityly convert type 'string' to 'int' .... Check if a process is running · 290 More C# Snippets. ...
Cannot convert type 'ASP.login_aspx' to 'System.Web.UI.WebControls ... Nov 13, 2005 ... works perfectly when running on the WebDev debug web server. I am able = to log in. However after publishing the .....
error CS0030: Cannot convert type ... error we were both receiving). I renamed my page from Login.aspx to ... site as an updateable web site, the aspx is retained and tries to ...
Anuj Rathi: Cannot convert type 'ASP.login_aspx' to 'System.Web.UI ... Mar 15, 2007 ... Improve your website's user interface using javasc... ► March (1). ► Mar 15 (1 ). Cannot convert type 'ASP.login_aspx' to 'System.We. ... Specified web server is not running ASP.NET 1.1 ... So, after i published my site sucessfully, & try to run the site, ... I surprised because there is an error. ...
Why does (string)int32 always throw: Cannot convert type 'int' to ... Why does (string)int32 always throw: Cannot convert type ‘int’ to ‘string’ .... How can I package my Perl script to run on a machine without Perl? Generating Code in an MSBuild task ... Flex Builder, keep flash player running on Error ...

Videos:
Authors@Google: Michael Chorost Author Michael Chorost visits Google's headquarters in Mountain View, CA, to discuss his book "Rebuilt: How Becoming Part Computer Made Me More ...
An Introduction to SQLite Google TechTalks May 31, 2006 Richard Hipp ABSTRACT SQLite is a small C library that implements a self-contained, embeddable, zero ...
Motion Estimation from Image and Inertial Measurements Google TechTalks February 24, 2006 Dennis Strelow Robust motion from monocular image measurements would be an enabling technology for Mars ...
Lec 8 | MIT 3.091 Introduction to Solid State Chemistry Born-Haber Cycle Octet Stability by Electron Sharing: Covalent Bonding Lewis Structures Hybridization View the complete course at: http://ocw ...
Using open source tools for performance testing Google London Test Automation Conference (LTAC) Google Tech Talks September 8th, 2006 Presenter: Goranka Bjedov
www.moldytoaster.com t all !! Muradaldin (4 months ago) Show Hide Marked as spam Reply Im glad you are proud to be Muslim. Sorry you didn't like the video. Its not ...
django: Web Development for Perfectionists with Deadlines Google TechTalks April 26, 2006 Jacob Kaplan-Moss ABSTRACT Django is one of the premier web frameworks for Python, and is often compared ...
Silicon Valley WebGuild: Vertical Search Trends Google Tech Talks August 23, 2006 Silicon Valley Web Guild http://www.webguild.org/ Presenters: Michael Yang, Founder, President and CEO ...
Charlie Rose - Zalmay Khalilzad / John McLaughlin Segment 1: Zalmay Khalilzad, U.S. Ambassador to Iraq, speaks about the current political situation in Iraq. Segment 2: Part two of a ...
www.moldytoaster.com oor comment Reply Evolution isn't concerned with the origin of the universe. Why is this so hard to understand. If a magical fairy created the ...




Search This Site:










namespace and classes

how to: have a "back" button recognise ie's previous page

accessing controls from another iframe

creating labels etc. dynamically

global.asax

web controls in dot net

datagrid columns displayed as rows

dynamically declaring a control array

register a class file

form action and server.transfer

how do you expose a nested usercontrol?

trouble converting object to a string using format

extend datalist with a button-click

transfer lot of data from one project to another on the same server, request.form['' ''] not working

using classes

right way to use a wizard control, thanks

sending reference from repeater to another page

string format

in visual studio 2003,why does response.write() can't be shown in web page

modify active directory password

data poll every 5 second.

capture control event in user control

radiobuttonlists

just bought a new site.. proper directory location

i'm not getting data on page

cache getting invalidated

what is this component called?

problem in keeping password value in textbox?

search function

response.resirect vs server.transfer

  Privacy | Contact Us
All Times Are GMT