473,387 Members | 3,750 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,387 software developers and data experts.

do i need to install visual studio to fix this?

Sam

we are running windows 2003 server. it has NET framework installed, but
doesn't have Visual Studio etc. installed on it. i created a new
sulotion/project on my development pc and FTP'd it up to our server with all
of the files from my dev. pc. i also created a \bin directory and copied
tthose files as well.

now i'm getting this error. do i need to install visual studio on the server
and build it there?
=====================

Parser Error Message: Could not load type 'EmailServer.AspEmail'.

Source Error:

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

Source File: D:\WWW\domain\myappfolder\myapp.aspx Line: 1

Nov 18 '05 #1
14 950

Sam,

Remove and then add again the reference to your project for AspEmail
with from the location on that computer.

In addition, if this control is not registered on this machine you will
still have problems even if you copy and paste the control over to the
new machine.

IN that case you'll need gacutil.exe which can be found in the .NET SDK

IN the future, cross posting is generally not nice.
"Sam" <sm*****@yahoo.com> wrote in message
news:10*************@corp.supernews.com:
we are running windows 2003 server. it has NET framework installed, but
doesn't have Visual Studio etc. installed on it. i created a new
sulotion/project on my development pc and FTP'd it up to our server with
all
of the files from my dev. pc. i also created a \bin directory and copied

tthose files as well.

now i'm getting this error. do i need to install visual studio on the
server
and build it there?
=====================

Parser Error Message: Could not load type 'EmailServer.AspEmail'.

Source Error:

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

Source File: D:\WWW\domain\myappfolder\myapp.aspx Line: 1


Nov 18 '05 #2
No, you don't install VS.NET on the production machine. It seems, by the
error, that the problem is that the EmailServer.AspEmail component is either
not present on the target machine or not registered.
"Sam" <sm*****@yahoo.com> wrote in message
news:10*************@corp.supernews.com...

we are running windows 2003 server. it has NET framework installed, but
doesn't have Visual Studio etc. installed on it. i created a new
sulotion/project on my development pc and FTP'd it up to our server with
all
of the files from my dev. pc. i also created a \bin directory and copied
tthose files as well.

now i'm getting this error. do i need to install visual studio on the
server
and build it there?
=====================

Parser Error Message: Could not load type 'EmailServer.AspEmail'.

Source Error:

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

Source File: D:\WWW\domain\myappfolder\myapp.aspx Line: 1

Nov 18 '05 #3
Kelly,

I am propaganding crossposting and you tell it is not nice.

Crossposting is in my opininion very good you get opinions from different
newsgroups.

Bad in my opinion is multiposting; sending post to all kind of different
newsgroups and not in one time. I find this a nice sample from a correct
crosspost.

More than 4 newsgroups start to look as well in my opinion to look to spam

However just my idea of course.

Cor

Sam,

Remove and then add again the reference to your project for AspEmail
with from the location on that computer.

In addition, if this control is not registered on this machine you will
still have problems even if you copy and paste the control over to the
new machine.

IN that case you'll need gacutil.exe which can be found in the .NET SDK

IN the future, cross posting is generally not nice.
"Sam" <sm*****@yahoo.com> wrote in message
news:10*************@corp.supernews.com:
we are running windows 2003 server. it has NET framework installed, but
doesn't have Visual Studio etc. installed on it. i created a new
sulotion/project on my development pc and FTP'd it up to our server with
all
of the files from my dev. pc. i also created a \bin directory and copied

tthose files as well.

now i'm getting this error. do i need to install visual studio on the
server
and build it there?
=====================

Parser Error Message: Could not load type 'EmailServer.AspEmail'.

Source Error:

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

Source File: D:\WWW\domain\myappfolder\myapp.aspx Line: 1

Nov 18 '05 #4
Hey you have the right to your opinion. You know what they say about
opinions right?

The way I was raised was to find the closest group I can see to match my
issue, post and if the problem was not solved to go to another group and
request help there.

Of course, I may have been "raised" wrong. In that case a thousand
apologies.

In any event, I tried to be nice about expressing my opinion.

If I see something in a post that conflicts with what I perceive as
proper posting etiquette, such as incorrect dates, off topic subjects
and the like I don't post soley to reprimand the poster but only if I
have something positive to contribute to their question because I don't
see myself as the guardian of the newsgroup gate unlike others who may
do so.

Just trying to be helpful if I thought a user may not know something.

Well, have a nice day.


"Cor Ligthert" <no************@planet.nl> wrote in message
news:uq**************@TK2MSFTNGP09.phx.gbl:
Kelly,

I am propaganding crossposting and you tell it is not nice.

Crossposting is in my opininion very good you get opinions from different

newsgroups.

Bad in my opinion is multiposting; sending post to all kind of different

newsgroups and not in one time. I find this a nice sample from a correct

crosspost.

More than 4 newsgroups start to look as well in my opinion to look to
spam

However just my idea of course.

Cor

Sam,

Remove and then add again the reference to your project for AspEmail
with from the location on that computer.

In addition, if this control is not registered on this machine you
will
still have problems even if you copy and paste the control over to the
new machine.

IN that case you'll need gacutil.exe which can be found in the .NET
SDK

IN the future, cross posting is generally not nice.
"Sam" <sm*****@yahoo.com> wrote in message
news:10*************@corp.supernews.com:
we are running windows 2003 server. it has NET framework installed,
but
doesn't have Visual Studio etc. installed on it. i created a new
sulotion/project on my development pc and FTP'd it up to our server
with
all
of the files from my dev. pc. i also created a \bin directory and
copied

tthose files as well.

now i'm getting this error. do i need to install visual studio on the
server
and build it there?
=====================

Parser Error Message: Could not load type 'EmailServer.AspEmail'.

Source Error:

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

Source File: D:\WWW\domain\myappfolder\myapp.aspx Line: 1


Nov 18 '05 #5
You miss a DLL and the application is then enable to find out what is this
EmailServer.AspMail type...

About crossposting the point is that when you crosspost you tend to post in
irrelevant newsgroups. For example it has nothing to do with the VB.NET
language and even perhaps with the "general" group.

Patrice

--

"Sam" <sm*****@yahoo.com> a écrit dans le message de
news:10*************@corp.supernews.com...

we are running windows 2003 server. it has NET framework installed, but
doesn't have Visual Studio etc. installed on it. i created a new
sulotion/project on my development pc and FTP'd it up to our server with all of the files from my dev. pc. i also created a \bin directory and copied
tthose files as well.

now i'm getting this error. do i need to install visual studio on the server and build it there?
=====================

Parser Error Message: Could not load type 'EmailServer.AspEmail'.

Source Error:

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

Source File: D:\WWW\domain\myappfolder\myapp.aspx Line: 1

Nov 18 '05 #6
Sam
AspEmail is the main class within the aspx. there is no external component.
thanks for the note about cross postings.

==================================

Imports System
Imports System.Threading

Public Class AspEmail
Inherits System.Web.UI.Page

Nov 18 '05 #7
Hi Sam,

If that's the component I suspect that it is, then it is a COM component.
It needs to be installed on the destination machine. You cannot use "xcopy
deployment" for COM components.

You may be able to use a .NET Installer project. I haven't tried to copy
and register a COM component using an installer coded from within the Visual
Studio environment, but I'm sure that it can be done.

HTH,
--- Nick

"Sam" <sm*****@yahoo.com> wrote in message
news:10*************@corp.supernews.com...

we are running windows 2003 server. it has NET framework installed, but
doesn't have Visual Studio etc. installed on it. i created a new
sulotion/project on my development pc and FTP'd it up to our server with all of the files from my dev. pc. i also created a \bin directory and copied
tthose files as well.

now i'm getting this error. do i need to install visual studio on the server and build it there?
=====================

Parser Error Message: Could not load type 'EmailServer.AspEmail'.

Source Error:

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

Source File: D:\WWW\domain\myappfolder\myapp.aspx Line: 1

Nov 18 '05 #8
Kelly,

No problems at all, I see you are pretty active the last days and that is
great.

However I see often messages multiposted to more newsgroups, and in this
case the OP probably would not have knowed what was the best newsgroup for
his question.

When I had not told you this than you never would have knowed.

However nothing personal of course to tell you that you are doing things
wrong or something like that.

Cor

"scorpion53061" <ad***@nospamherekjmsolutions.com>
Hey you have the right to your opinion. You know what they say about
opinions right?

The way I was raised was to find the closest group I can see to match my
issue, post and if the problem was not solved to go to another group and
request help there.

Of course, I may have been "raised" wrong. In that case a thousand
apologies.

In any event, I tried to be nice about expressing my opinion.

If I see something in a post that conflicts with what I perceive as
proper posting etiquette, such as incorrect dates, off topic subjects
and the like I don't post soley to reprimand the poster but only if I
have something positive to contribute to their question because I don't
see myself as the guardian of the newsgroup gate unlike others who may
do so.

Just trying to be helpful if I thought a user may not know something.

Well, have a nice day.


"Cor Ligthert" <no************@planet.nl> wrote in message
news:uq**************@TK2MSFTNGP09.phx.gbl:
Kelly,

I am propaganding crossposting and you tell it is not nice.

Crossposting is in my opininion very good you get opinions from different

newsgroups.

Bad in my opinion is multiposting; sending post to all kind of different

newsgroups and not in one time. I find this a nice sample from a correct

crosspost.

More than 4 newsgroups start to look as well in my opinion to look to
spam

However just my idea of course.

Cor

> Sam,
>
> Remove and then add again the reference to your project for AspEmail
> with from the location on that computer.
>
> In addition, if this control is not registered on this machine you
> will
> still have problems even if you copy and paste the control over to the
> new machine.
>
> IN that case you'll need gacutil.exe which can be found in the .NET
> SDK
>
> IN the future, cross posting is generally not nice.
>
>
> "Sam" <sm*****@yahoo.com> wrote in message
> news:10*************@corp.supernews.com:
>> we are running windows 2003 server. it has NET framework installed,
>> but
>> doesn't have Visual Studio etc. installed on it. i created a new
>> sulotion/project on my development pc and FTP'd it up to our server
>> with
>> all
>> of the files from my dev. pc. i also created a \bin directory and
>> copied
>>
>> tthose files as well.
>>
>> now i'm getting this error. do i need to install visual studio on the
>> server
>> and build it there?
>> =====================
>>
>> Parser Error Message: Could not load type 'EmailServer.AspEmail'.
>>
>> Source Error:
>>
>> Line 1: <%@ Page Language="vb" AutoEventWireup="false"
>> Codebehind="EmailServer.aspx.vb" Inherits="EmailServer.AspEmail"%>
>> Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
>> Transitional//EN">
>> Line 3: <HTML>
>>
>> Source File: D:\WWW\domain\myappfolder\myapp.aspx Line: 1
>

Nov 18 '05 #9
And EmailServer is ?

Also make sure your ASPX page is not out of sync with the code behind DLL...

Patrice

--

"Sam" <sm*****@yahoo.com> a écrit dans le message de
news:10*************@corp.supernews.com...
AspEmail is the main class within the aspx. there is no external component. thanks for the note about cross postings.

==================================

Imports System
Imports System.Threading

Public Class AspEmail
Inherits System.Web.UI.Page

Nov 18 '05 #10
Sam
Emailserver is the ASPX file with code behind in emailserver.aspx.vb. i
rebuilt the solution and aspx then copied the bin files to /bin and copied
the aspx file.

Here is the code for the whole thing.

===================================
emailserver.aspx.vb
Imports System
Imports System.Threading

Public Class AspEmail
Inherits System.Web.UI.Page

#Region " Web Form Designer Generated Code "

<System.Diagnostics.DebuggerStepThrough()>
Private Sub InitializeComponent()
End Sub

Private designerPlaceholderDeclaration As System.Object
Private Sub Page_Init(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Init

InitializeComponent()

End Sub
#End Region

Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load

Dim Buffer As String
Dim FromURL As String

Body = Request("body")
Subject = Request("Subject")
FromURL = Request.UrlReferrer.ToString()
Response.Write("Emails Sent!<br><br>")
Response.Write("<a href=" & FromURL & ">Click here to return.</a>")
End Sub
End Class
"Patrice" <no****@nowhere.com> wrote in message
news:ee**************@TK2MSFTNGP10.phx.gbl...
And EmailServer is ?

Also make sure your ASPX page is not out of sync with the code behind DLL...

Patrice

--

"Sam" <sm*****@yahoo.com> a écrit dans le message de
news:10*************@corp.supernews.com...
AspEmail is the main class within the aspx. there is no external component. thanks for the note about cross postings.

==================================

Imports System
Imports System.Threading

Public Class AspEmail
Inherits System.Web.UI.Page


Nov 18 '05 #11
What if you use Inherits="AspEmail" instead of "EmailServer.AspEmail" ?

"EmailServer" used in inherits should be a class (or more likely a
namespace) in which your AspEmail class is (the codebehind file has its own
directive, the inherits one only deals with types and has nothing to do with
file names).

Have you tried to run this on your dev machine before sending the update yo
your server ?

Patrice

--

"Sam" <sm*****@yahoo.com> a écrit dans le message de
news:10*************@corp.supernews.com...
Emailserver is the ASPX file with code behind in emailserver.aspx.vb. i
rebuilt the solution and aspx then copied the bin files to /bin and copied
the aspx file.

Here is the code for the whole thing.

===================================
emailserver.aspx.vb
Imports System
Imports System.Threading

Public Class AspEmail
Inherits System.Web.UI.Page

#Region " Web Form Designer Generated Code "

<System.Diagnostics.DebuggerStepThrough()>
Private Sub InitializeComponent()
End Sub

Private designerPlaceholderDeclaration As System.Object
Private Sub Page_Init(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Init

InitializeComponent()

End Sub
#End Region

Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load

Dim Buffer As String
Dim FromURL As String

Body = Request("body")
Subject = Request("Subject")
FromURL = Request.UrlReferrer.ToString()
Response.Write("Emails Sent!<br><br>")
Response.Write("<a href=" & FromURL & ">Click here to return.</a>")
End Sub
End Class
"Patrice" <no****@nowhere.com> wrote in message
news:ee**************@TK2MSFTNGP10.phx.gbl...
And EmailServer is ?

Also make sure your ASPX page is not out of sync with the code behind DLL...
Patrice

--

"Sam" <sm*****@yahoo.com> a écrit dans le message de
news:10*************@corp.supernews.com...
AspEmail is the main class within the aspx. there is no external

component.
thanks for the note about cross postings.

==================================

Imports System
Imports System.Threading

Public Class AspEmail
Inherits System.Web.UI.Page


Nov 18 '05 #12
Sam
i just tried changing it (Inherits="AspEmail") on my dev machine and got the
same error. but, when i change it back it ran fine. i then copied it up the
the server and i got the same error again using the aspEmail.

it works on my local machine, but not on the server.

..
"Patrice" <no****@nowhere.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
What if you use Inherits="AspEmail" instead of "EmailServer.AspEmail" ?

"EmailServer" used in inherits should be a class (or more likely a
namespace) in which your AspEmail class is (the codebehind file has its own
directive, the inherits one only deals with types and has nothing to do with
file names).

Have you tried to run this on your dev machine before sending the update yo
your server ?

Patrice

--

"Sam" <sm*****@yahoo.com> a écrit dans le message de
news:10*************@corp.supernews.com...
Emailserver is the ASPX file with code behind in emailserver.aspx.vb. i
rebuilt the solution and aspx then copied the bin files to /bin and copied
the aspx file.

Here is the code for the whole thing.

===================================
emailserver.aspx.vb
Imports System
Imports System.Threading

Public Class AspEmail
Inherits System.Web.UI.Page

#Region " Web Form Designer Generated Code "

<System.Diagnostics.DebuggerStepThrough()>
Private Sub InitializeComponent()
End Sub

Private designerPlaceholderDeclaration As System.Object
Private Sub Page_Init(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Init

InitializeComponent()

End Sub
#End Region

Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load

Dim Buffer As String
Dim FromURL As String

Body = Request("body")
Subject = Request("Subject")
FromURL = Request.UrlReferrer.ToString()
Response.Write("Emails Sent!<br><br>")
Response.Write("<a href=" & FromURL & ">Click here to return.</a>")
End Sub
End Class
"Patrice" <no****@nowhere.com> wrote in message
news:ee**************@TK2MSFTNGP10.phx.gbl...
And EmailServer is ?

Also make sure your ASPX page is not out of sync with the code behind DLL...
Patrice

--

"Sam" <sm*****@yahoo.com> a écrit dans le message de
news:10*************@corp.supernews.com...
AspEmail is the main class within the aspx. there is no external

component.
thanks for the note about cross postings.

==================================

Imports System
Imports System.Threading

Public Class AspEmail
Inherits System.Web.UI.Page



Nov 18 '05 #13
Sam,

I am fairly certain that AspEmail is a third party COM dll (not part of the
..NET famework). What you will need to do is ensure that the dll is copied
onto the target machine, and registered....
Also, since it is a COM component, there should also be an interop assembly
generated as well. Make sure this also gets copied across.

Have you thought about using the built in email stuff in .NET?? This would
save you a few deployment problems..

Hope this helps..

Eddie de Bear

"Sam" wrote:

we are running windows 2003 server. it has NET framework installed, but
doesn't have Visual Studio etc. installed on it. i created a new
sulotion/project on my development pc and FTP'd it up to our server with all
of the files from my dev. pc. i also created a \bin directory and copied
tthose files as well.

now i'm getting this error. do i need to install visual studio on the server
and build it there?
=====================

Parser Error Message: Could not load type 'EmailServer.AspEmail'.

Source Error:

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

Source File: D:\WWW\domain\myappfolder\myapp.aspx Line: 1

Nov 18 '05 #14
"Sam" <sm*****@yahoo.com> wrote in message news:<10*************@corp.supernews.com>...
we are running windows 2003 server. it has NET framework installed, but
doesn't have Visual Studio etc. installed on it. i created a new
sulotion/project on my development pc and FTP'd it up to our server with all
of the files from my dev. pc. i also created a \bin directory and copied
tthose files as well.

now i'm getting this error. do i need to install visual studio on the server
and build it there?
no.

There should be an EmailServer.dll in your VirtualRootT\bin... (the
\bin is under the VirtualRoot, not under the directory where you put
myapp.aspx)

The second solution is to change the "Codebehind" attribute to "Src",
then ASP.NET will load the source file directly. In this case you need
to have EmailServer.aspx.vb and myapp.aspx on the same directory.
=====================

Parser Error Message: Could not load type 'EmailServer.AspEmail'.

Source Error:

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

Source File: D:\WWW\domain\myappfolder\myapp.aspx Line: 1

Nov 18 '05 #15

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

Similar topics

4
by: amy | last post by:
Hi, I have Visual Studio .NET enterprise architect version 2002 installed on my PC. Now I like to install Visual Studio .NET 2003 Enterprise Architect. Do I need to remove .NET 2002 first...
10
by: Sam | last post by:
we are running windows 2003 server. it has NET framework installed, but doesn't have Visual Studio etc. installed on it. i created a new sulotion/project on my development pc and FTP'd it up to our...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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,...

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.