Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

aspx production and deployment

Status
Not open for further replies.

123ASP

MIS
Nov 2, 2002
239
US
hi,
I used to create aspx in one page, the html and the code. everytime I am done with an aspx page,I upload it to the server and I am able to view it via the browser. I never used visual studio before. Someone recommended me to use it and I did.

My question, when I create one aspx page in my local pc then I want to put it in a production server, I copied all three pages(SalesReport.aspx & SalesReport.aspx.vb & SalesReport.aspx.resx

I tried to run it but was not able to do so. and I got the following message
Parser Error Message: Could not load type 'Pcx.SalesReport'.

Source Error:


Line 1: <%@ Page Language="vb" AutoEventWireup="false" Codebehind="SalesReport.aspx.vb" Inherits="Pcx.SalesReport"%>
Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
Line 3: <HTML>
Source File: D:\PCx\SalesReport.aspx Line: 1
---------------------------------------------------------Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573

How can I overcome this issue.
thanks
Al
 
Sounds like you haven't actually built your application in VS. If you didn't compile the .dll, then the page that you're trying to load won't find it's codebehind junk (real technical term ;)).

From within VS, compile your project by either Build > Solution, or CTRL+ALT+B. Once you've done that, try Project > Copy Project and select "Only files needed to run this application". If you copy via file share, you'll have to set up a virtual directory to copy it to. Then copy those files to your production server.

Hope that helps =D

-----------------------------------------------
"The night sky over the planet Krikkit is the least interesting sight in the entire universe."
-Hitch Hiker's Guide To The Galaxy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top