Last post Aug 23, 2005 09:20 AM by xellos667
Aug 17, 2005 02:25 PM|xellos667|LINK
Aug 17, 2005 08:01 PM|codeasp|LINK
Aug 18, 2005 10:24 AM|xellos667|LINK
well, you were right about that. My boss didnt give me the right web server (...), now framweorks is installed on it, but still my web site doesnt work at all
Message d'erreur de l'analyseur: Impossible de charger le type 'ChangePage.WebForm1'.
Ligne 1 : <%@ Page language="c#" Codebehind="default.aspx.cs" AutoEventWireup="false" Inherits="ChangePage.WebForm1" %>
all in all, its saying that its impossible to lad the type
'ChangePage.WebForm1', ChangePage being my project name and WebForm1, my aspx page.
So does anyone know why it works well on my workstation, but give me that error on the web server (like I said, the project work just fine on my workstation, so the answer is NOT because I didnt build my project yet, or else, I would see the same error when
I test it on my localhost...)
Aug 18, 2005 07:34 PM|codeasp|LINK
Aug 18, 2005 08:17 PM|xellos667|LINK
yes, many times, I tried to delete also the .dll from my workstation before publshing, rebuild the entire site so that it can regenerate a new dll, resend everything to the server, but nothing works.....
you know whats weird. If I put in the Inherits the Page class ("System.Web.Ui.Page" or something like that), the project seem to load ok, but of course I cant access my code-behind, so its a waste of time....Im really freakin over this because its really
urgent that we publish it, but I browsed the web the entire day, and couldnt find anything :( Its really a crisis...
the problem can be narrowed to that. It may be easier to understand what I am doing wrong. Please, someone, provide me a step-by-step to publsih a site to a web-server.
1. My project is located in c:\inetpub\wwwroot\test1\
2. I build my project, with Visual Studio.Net, and it works fine
3. I tried to access it with my web browser by taping
http://localhost/test1/webform1.aspx and it works fine also
4. Now lets say I copy every files of the project in the folder c:\inetpub\wwwroot\test2\ (in my head its the same thing as to publish my site on some distant web-server).
5. If I type http://localhost/test2/webform1.aspx, the error couldnt load the type appear...Why is that????
It may sound newbish, but in my head, to publish a site, all I needed was to paste my project into a folder on my web-server, once it was built on my local machine. What did I do wrong, and what do I need to do to make my site online (please, this is the
first time im publsihing with Visual Studio.Net, and Im really lost)
Aug 22, 2005 12:04 PM|xellos667|LINK
Aug 22, 2005 06:53 PM|codeasp|LINK
Aug 23, 2005 09:20 AM|xellos667|LINK