473,396 Members | 1,734 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Copy aspx pages to another website

I'm trying copy asp .net pages from one website (where it works fine) to
another.

CusAdd.aspx.vb and CusAdd.aspx

I tried to just copy it and also tried to "Add Existing Item"

When I try to run it on the website I copied it too I get the following
error.
Any Help?

line 1 below is highlighted

Parser Error
Description: An error occurred during the parsing of a resource required to
service this request. Please review the following specific parse error
details and modify your source file appropriately.

Parser Error Message: Could not load type 'CusAdd'.

Source Error:

Line 1: <%@ Page Language="VB" AutoEventWireup="false"
CodeFile="CusAdd.aspx.vb" Inherits="CusAdd" %>
Line 2:
Line 3: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

Thanks
Jul 18 '07 #1
4 2608

"Tony M" <To*************@msn.comwrote in message
news:eP**************@TK2MSFTNGP03.phx.gbl...
I'm trying copy asp .net pages from one website (where it works fine) to
another.

CusAdd.aspx.vb and CusAdd.aspx

I tried to just copy it and also tried to "Add Existing Item"

When I try to run it on the website I copied it too I get the following
error.
Any Help?

line 1 below is highlighted

Parser Error
Description: An error occurred during the parsing of a resource required
to service this request. Please review the following specific parse error
details and modify your source file appropriately.

Parser Error Message: Could not load type 'CusAdd'.

Source Error:

Line 1: <%@ Page Language="VB" AutoEventWireup="false"
CodeFile="CusAdd.aspx.vb" Inherits="CusAdd" %>
Line 2:
Line 3: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
Is not CustAdd the name of the class that defines solution in the CodeBehind
file CusAdd.aspx.vb?

And do you have the files in the Web sites application Virtual Directory on
the Web server?

Jul 18 '07 #2
Thanks Mr. Arnold but I think it's a server problem.
I rewrote it within the website itself instead of copying it and it did the
same thing.

Thanks
"Mr. Arnold" <MR. Ar****@Arnold.comwrote in message
news:ug****************@TK2MSFTNGP03.phx.gbl...
>
"Tony M" <To*************@msn.comwrote in message
news:eP**************@TK2MSFTNGP03.phx.gbl...
>I'm trying copy asp .net pages from one website (where it works fine) to
another.

CusAdd.aspx.vb and CusAdd.aspx

I tried to just copy it and also tried to "Add Existing Item"

When I try to run it on the website I copied it too I get the following
error.
Any Help?

line 1 below is highlighted

Parser Error
Description: An error occurred during the parsing of a resource required
to service this request. Please review the following specific parse error
details and modify your source file appropriately.

Parser Error Message: Could not load type 'CusAdd'.

Source Error:

Line 1: <%@ Page Language="VB" AutoEventWireup="false"
CodeFile="CusAdd.aspx.vb" Inherits="CusAdd" %>
Line 2:
Line 3: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
Is not CustAdd the name of the class that defines solution in the
CodeBehind file CusAdd.aspx.vb?

And do you have the files in the Web sites application Virtual Directory
on the Web server?


Jul 19 '07 #3

"Tony M" <To*************@msn.comwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...
Thanks Mr. Arnold but I think it's a server problem.
I rewrote it within the website itself instead of copying it and it did
the same thing.
You don't have a server error. You have a program error.

http://www.google.com/search?hl=en&q...=Google+Search

Jul 19 '07 #4
it works now. they didn't say what it was, but I think the server where
website resides was only working with framework 1.1 and not 2.0.
"Mr. Arnold" <MR. Ar****@Arnold.comwrote in message
news:ui**************@TK2MSFTNGP02.phx.gbl...
>
"Tony M" <To*************@msn.comwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...
>Thanks Mr. Arnold but I think it's a server problem.
I rewrote it within the website itself instead of copying it and it did
the same thing.

You don't have a server error. You have a program error.

http://www.google.com/search?hl=en&q...=Google+Search

Jul 19 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Bogosian | last post by:
I am working on an asp.net project.There is a subdir called OSearch,with a few aspx pages in it which as all other pages on the website use some controls.These controls are stored in a another...
2
by: Murphy | last post by:
Our website contains subdirectories for each subsidiary company, each company has it's own look and feel to the pages in their subdirectory although they are all part of the main website. The...
0
by: Larry Rekow | last post by:
I created my first application using a MS SQL db and ASP.NET. The app uses two tables in this db. I then needed to create another app that uses the same db, but two other identically structured...
3
by: thedebugger | last post by:
Dear Friends, I am working on website application in c# with asp.net. My practice using aspx files is, I have 1 main aspx files for inside pages. Whenever user hit the button like aboutus,...
3
by: Joe | last post by:
Hi, I am new to creating .asp web sites and have a basic question. I have a website with .html pages running on an IIS server with .Net installed. I also have a couple of forms on the website....
5
by: Dev | last post by:
Hi I am creating a shopping cart webstie using VB.net. I want certain portions of my wesite to be copy protected like www.proware.com . The pages i want to protect are all dynamic Thankyou ...
3
by: Purti Malhotra | last post by:
Hi All, In our Web hosting environment we are using Virtual hosting i.e. multiple websites are on one server and multiple domains are pointing to a single website. Issue: We have two domains...
4
by: VB Programmer | last post by:
My client wants to be able to have unlimited pages in his website and I'm making an "admin interface" for him to add and remove pages. (He will use Macromedia Contribute to modify the content of...
4
by: Jman | last post by:
Let's say I have a session variable in my asp.net website. Now I have an aspx file on my C drive. Now I have a link pointing to it so I can click on it and execute this ASPX file to my browser....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.