Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Professional
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old March 6th, 2007, 01:09 AM
Registered User
 
Join Date: Mar 2007
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to mazhiguo_1219
Default publish web site error

I develop the web site with .net 2.0 , every thing is fine before I publish it.
but after I publish it, it shows an error, hope anyone help me.
I use VS2005 deploy tool to publish and and select the "Allow this precompiled site to be updatable" mode.

  #2 (permalink)  
Old March 6th, 2007, 01:11 AM
Registered User
 
Join Date: Mar 2007
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to mazhiguo_1219
Default

the error description is as follows:

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 120: public login_aspx() {
Line 121: string[] dependencies;
Line 122: ((Login)(this)).AppRelativeVirtualPath = "~/Login.aspx";
Line 123: if ((global::ASP.login_aspx.@__initialized == false)) {
Line 124: global::ASP.login_aspx.@__stringResource = this.ReadStringResource();


Source File: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temp orary ASP.NET Files\eshop\61b0be26\e5e619a7\App_Web_login.aspx.c dcab7d2.m2hyv0cu.0.cs Line: 122

  #3 (permalink)  
Old June 6th, 2007, 09:53 AM
Registered User
 
Join Date: Jun 2007
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Got the same error. Also needing help.
Can it be because some kind of mess using the Login control in a page called Login.aspx??

  #4 (permalink)  
Old June 6th, 2007, 10:05 AM
Registered User
 
Join Date: Jun 2007
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Solved the problem...

Rename the Login.aspx page, and be sure that is doesn's inherits from Login object. If it does, rename the (public partial class Login) to (public partial class Login1) and in the page change the Inherits data to Login1


 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
UNABLE TO PUBLISH WEB SITE JORGEMAL Visual Studio 2005 0 April 2nd, 2008 06:09 PM
Publish Web Site & Copy Web Site angshujit ASP.NET 2.0 Basics 1 June 15th, 2007 09:21 AM
Web site administration tool (publish) swifty_programmer ASP.NET 2.0 Professional 1 May 9th, 2007 06:31 AM
publish .NET 2.0 web site Error mazhiguo_1219 ASP.NET 1.0 and 1.1 Basics 0 March 6th, 2007 01:08 AM
How to publish my web site online? johnsonlim026 ASP.NET 1.0 and 1.1 Professional 5 October 28th, 2005 05:49 AM



All times are GMT -4. The time now is 08:55 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.