469,331 Members | 4,501 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,331 developers. It's quick & easy.

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

Jul 21 '05 #1
10 1442

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


Jul 21 '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

Jul 21 '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

Jul 21 '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


Jul 21 '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

Jul 21 '05 #6
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

Jul 21 '05 #7
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
>

Jul 21 '05 #8
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.

ps.
i put this in the general area because another posted said that this belong
here.

..
"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




Jul 21 '05 #9
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

Jul 21 '05 #10
"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

Jul 21 '05 #11

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by grant steinfeld | last post: by
reply views Thread by TDM | last post: by
2 posts views Thread by Someone Please Help! | last post: by
reply views Thread by Nattydreadlock | last post: by
3 posts views Thread by Jason Madison | last post: by
8 posts views Thread by Mr. R | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
1 post views Thread by haryvincent176 | last post: by
reply views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.