By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,341 Members | 1,720 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,341 IT Pros & Developers. It's quick & easy.

Copy aspx pages to another website

P: n/a
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
Share this Question
Share on Google+
4 Replies


P: n/a

"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

P: n/a
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

P: n/a

"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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.