> > > What, from a high level point of view, is the difference (in Visual
> > > Studio 2005) between Website (accessed with Open Website or Create
[quoted text clipped - 53 lines]
>
> - Show quoted text -
The DLL file does not contain code that can be executed directly by
the Server processor. It's an intermediate language that saves time
parsing the source code from scratch. Issues due to compiler version
differences might still arise.
However if you suspect that then try using the option of "publishing"
the web site which will create a DLL out of the .cs and other files.
daveh551 - 18 Apr 2008 15:01 GMT
> > > > What, from a high level point of view, is the difference (in Visual
> > > > Studio 2005) between Website (accessed with Open Website or Create
[quoted text clipped - 61 lines]
> However if you suspect that then try using the option of "publishing"
> the web site which will create a DLL out of the .cs and other files.
THANK YOU, Thank you, thank you, Stan. Publishing solved my parser
error problem. And MOST everything seems to be working now EXCEPT for
one critical thing. My login page (which, of course, is critical to
the guts of the site!) blows up with this 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:
[No relevant source lines]
Here is the .aspx file for that page:
<%@ page language="C#" masterpagefile="~/TakeCharge.master"
autoeventwireup="true" inherits="Login, App_Web_8mstyslz"
title="Login" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent"
Runat="Server">
<h1>Login now to create, revise, or view your plan.
</h1> <asp:Login ID="Login1" runat="server"
OnLoggedIn="Login_LoggedIn">
</asp:Login>
<br />
[followed by some text and links]
Once again, it runs fine in development, and it runs fine when moved
over to my Win 2000 Server machine. I haven't a clue as to what's
wrong.
If it will help, feel free to visit the site and look at the error
output. It put out a couple hundred lines of compiler source, which I
didn't think it was worthwhile to copy in here. The site is
www.takechargeofyourdebts.com, and the CustomErrors is turned off (as
of 4/18/2008 - I obviously won't leave it that way once I get this
resolved.)
Thanks for your help.
daveh551 - 18 Apr 2008 17:11 GMT
> > > > What, from a high level point of view, is the difference (in Visual
> > > > Studio 2005) between Website (accessed with Open Website or Create
[quoted text clipped - 61 lines]
> However if you suspect that then try using the option of "publishing"
> the web site which will create a DLL out of the .cs and other files.
Stan, I thought I had replied already thanking you for your help.
Publishing gets me over the hurdle of the parser error in the XSD
file. It generated a strange compilation error though. The login
page bombed out, saying it couldn't convert type ASP.login_aspx to
System.Web.UI.Controls.Login. I don't get that error when I run (even
the precompiled version) on my local server, but I figured out that it
seems to have to do with having a page named (and therefore a class
named) the same as one of the controls, namely Login (the page) and
Login (the control). This is rather strange since it's my
understanding that "Login.aspx" is the default and accepted name for
the login page used by forms authentication. But I was able to work
around it by creating a new page called "LoginPage.aspx", and
redirecting the forms authentication there.
Now it's just getting a security exception when it (apparently) tries
to open the Config file, but we're getting way outside the original
scope of this thread.
Again, thank you for your help.