473,326 Members | 2,805 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,326 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

Jul 21 '05 #1
10 1590

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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: Tom_OM | last post by:
I just got a new computer and am having a beast of a time getting Visual Studio to install on it. The computer is an HP Pavilion a750e with an AMD Athlon 64/3700 processor, a gig of RAM, a 250 gig...
0
by: Dena | last post by:
Hi. I have attempted to install Visual Studio .net 2002 Academic on my XP machine from the original CDs 3 times to no avail. 1st time installed .net framework, IIS, etc.. 2nd time & 3rd time,...
2
by: grant steinfeld | last post by:
I am trying to set up Visual Studio .NET 2003 on a Windows Server 2003 , I have set up ASP.NET IIS6 Front Page Extensions, it run the prerequesite wizard and it installs: *Microsoft FrontPage...
0
by: TDM | last post by:
Hello all, I suspect I created my own problem as I had a need to install an older version of MSDN Library so now my .NET Documentation is broken. When I run : Start/All Programs/Microsoft...
2
by: Someone Please Help! | last post by:
I had Visual Studio .NET installed on my system for a while and then decided I would install a second copy of Windows 2000 on my second drive and use it strictly for developing Visual Basic apps....
2
by: M Skabialka | last post by:
I installed Visual Studio Beta 2005 but setting up the SQL server was so complex I uninstalled it and put Visual Studio 2003 Academic on. I am totally new to Visual Studio and trying to teach...
4
by: Scott Glasgow | last post by:
I have the Microsoft Visual Basic .NET Deluxe Learning Edition from Microsoft and am trying to reinstall it after a hardware system crash requiring complete reformat/reinstall of Windows XP Pro and...
0
by: Nattydreadlock | last post by:
Hello, I'm having some problems installing Visual Studio 2005. I'll briefly explain what's the history of the problem here. First I installed VS 2005 beta 2. I uninstalled it later via the...
3
by: Jason Madison | last post by:
My SP1 install seemed to want to keep repeating the install. I spent 4 hours running the install, then it ran again (I got the message up saying it had finished, then it started again). I didn't...
8
by: Mr. R | last post by:
Hi I need to set up a server that supports ASP.NET. I will have it in my home and run on and off for demo projects. The problem is that I don't have then money to by Windows Server 2003 or...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.