473,395 Members | 1,458 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,395 software developers and data experts.

Package and Deploy

T.
Hi,

Is there any way that I can "package and deploy" an asp.net app?

When running this app from my workstation, it runs no problem, but when I
access the site from another workstation I'm getting the following:
"system.runtime.interopservices.comexception: server execution failed" on
this line "
Dim objOutlook As Microsoft.Office.Interop.Outlook.Application = New
Microsoft.Office.Interop.Outlook.Application"

Any help would be greatly appreciated.


Nov 18 '05 #1
9 1427
Make sure you have .Net framework install in the PC that you deploy. So far
I am ok will copy deployment for all my asp.net apps.

chanmm
"T." <as******@adfasdf.com> wrote in message
news:%2******************@tk2msftngp13.phx.gbl...
Hi,

Is there any way that I can "package and deploy" an asp.net app?

When running this app from my workstation, it runs no problem, but when I
access the site from another workstation I'm getting the following:
"system.runtime.interopservices.comexception: server execution failed" on
this line "
Dim objOutlook As Microsoft.Office.Interop.Outlook.Application = New
Microsoft.Office.Interop.Outlook.Application"

Any help would be greatly appreciated.

Nov 18 '05 #2
T.
Dot Net framework is installed, and I've copied over the interop dll which
did not help.

"chanmmn" <ch*****@hotmail.com> wrote in message
news:#f**************@TK2MSFTNGP10.phx.gbl...
Make sure you have .Net framework install in the PC that you deploy. So far I am ok will copy deployment for all my asp.net apps.

chanmm
"T." <as******@adfasdf.com> wrote in message
news:%2******************@tk2msftngp13.phx.gbl...
Hi,

Is there any way that I can "package and deploy" an asp.net app?

When running this app from my workstation, it runs no problem, but when I access the site from another workstation I'm getting the following:
"system.runtime.interopservices.comexception: server execution failed" on this line "
Dim objOutlook As Microsoft.Office.Interop.Outlook.Application = New
Microsoft.Office.Interop.Outlook.Application"

Any help would be greatly appreciated.


Nov 18 '05 #3
If you don't have MS Outlook installed on the server, your application
cannot access its object model. I could be wrong, but I don't think
Microsoft allows redistribution of the outlook executable. Are you trying
to send e-mail using the Outlook.Application object?

Craig

"T." <as******@adfasdf.com> wrote in message
news:%2******************@tk2msftngp13.phx.gbl...
Hi,

Is there any way that I can "package and deploy" an asp.net app?

When running this app from my workstation, it runs no problem, but when I
access the site from another workstation I'm getting the following:
"system.runtime.interopservices.comexception: server execution failed" on
this line "
Dim objOutlook As Microsoft.Office.Interop.Outlook.Application = New
Microsoft.Office.Interop.Outlook.Application"

Any help would be greatly appreciated.

Nov 18 '05 #4
T.
Technically, my development workstation is the server, as this is where the
site resides for now, and Outlook is installed.
Outlook is also installed on the client workstation that's trying to access
and send using Outlook.Application object.

This all works when I access the site from the development
workstation...which is way I don't understand why it won't work when I
access it from another workstation.
"Craig" <us**@domain.com> wrote in message
news:mv*******************@tornado.tampabay.rr.com ...
If you don't have MS Outlook installed on the server, your application
cannot access its object model. I could be wrong, but I don't think
Microsoft allows redistribution of the outlook executable. Are you trying
to send e-mail using the Outlook.Application object?

Craig

"T." <as******@adfasdf.com> wrote in message
news:%2******************@tk2msftngp13.phx.gbl...
Hi,

Is there any way that I can "package and deploy" an asp.net app?

When running this app from my workstation, it runs no problem, but when I access the site from another workstation I'm getting the following:
"system.runtime.interopservices.comexception: server execution failed" on this line "
Dim objOutlook As Microsoft.Office.Interop.Outlook.Application = New
Microsoft.Office.Interop.Outlook.Application"

Any help would be greatly appreciated.


Nov 18 '05 #5
In that case, you may be experiencing a permissions issue. The IUSER
account may not have permission to instantiate an outlook object on your
machine.

HTH
Craig

"T." <as******@adfasdf.com> wrote in message
news:eJ**************@TK2MSFTNGP12.phx.gbl...
Technically, my development workstation is the server, as this is where the site resides for now, and Outlook is installed.
Outlook is also installed on the client workstation that's trying to access and send using Outlook.Application object.

This all works when I access the site from the development
workstation...which is way I don't understand why it won't work when I
access it from another workstation.
"Craig" <us**@domain.com> wrote in message
news:mv*******************@tornado.tampabay.rr.com ...
If you don't have MS Outlook installed on the server, your application
cannot access its object model. I could be wrong, but I don't think
Microsoft allows redistribution of the outlook executable. Are you trying
to send e-mail using the Outlook.Application object?

Craig

"T." <as******@adfasdf.com> wrote in message
news:%2******************@tk2msftngp13.phx.gbl...
Hi,

Is there any way that I can "package and deploy" an asp.net app?

When running this app from my workstation, it runs no problem, but
when I access the site from another workstation I'm getting the following:
"system.runtime.interopservices.comexception: server execution failed" on this line "
Dim objOutlook As Microsoft.Office.Interop.Outlook.Application = New
Microsoft.Office.Interop.Outlook.Application"

Any help would be greatly appreciated.



Nov 18 '05 #6
T.
So here's what I've done just to see if this will work at all. I've changed
the anonymous user to be a domain admin account (which has permissions to
everything)...impersonate = true.

I've checked the event log and I'm getting "
Rejected Safe Mode action : Microsoft Office Outlook". So I'm assuming it
is a permissions thing...how can I correct this?

Thanks.
"Craig" <us**@domain.com> wrote in message
news:Nc******************@tornado.tampabay.rr.com. ..
In that case, you may be experiencing a permissions issue. The IUSER
account may not have permission to instantiate an outlook object on your
machine.

HTH
Craig

"T." <as******@adfasdf.com> wrote in message
news:eJ**************@TK2MSFTNGP12.phx.gbl...
Technically, my development workstation is the server, as this is where

the
site resides for now, and Outlook is installed.
Outlook is also installed on the client workstation that's trying to

access
and send using Outlook.Application object.

This all works when I access the site from the development
workstation...which is way I don't understand why it won't work when I
access it from another workstation.
"Craig" <us**@domain.com> wrote in message
news:mv*******************@tornado.tampabay.rr.com ...
If you don't have MS Outlook installed on the server, your application
cannot access its object model. I could be wrong, but I don't think
Microsoft allows redistribution of the outlook executable. Are you trying to send e-mail using the Outlook.Application object?

Craig

"T." <as******@adfasdf.com> wrote in message
news:%2******************@tk2msftngp13.phx.gbl...
> Hi,
>
> Is there any way that I can "package and deploy" an asp.net app?
>
> When running this app from my workstation, it runs no problem, but when
I
> access the site from another workstation I'm getting the following:
> "system.runtime.interopservices.comexception: server execution

failed" on
> this line "
> Dim objOutlook As Microsoft.Office.Interop.Outlook.Application = New
> Microsoft.Office.Interop.Outlook.Application"
>
> Any help would be greatly appreciated.
>
>
>
>



Nov 18 '05 #7
Are you trying to access the client's outlook or the server's outlook? What
exactly are you trying to do with the outlook object?

Craig

"T." <as******@adfasdf.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
So here's what I've done just to see if this will work at all. I've changed the anonymous user to be a domain admin account (which has permissions to
everything)...impersonate = true.

I've checked the event log and I'm getting "
Rejected Safe Mode action : Microsoft Office Outlook". So I'm assuming it
is a permissions thing...how can I correct this?

Thanks.
"Craig" <us**@domain.com> wrote in message
news:Nc******************@tornado.tampabay.rr.com. ..
In that case, you may be experiencing a permissions issue. The IUSER
account may not have permission to instantiate an outlook object on your
machine.

HTH
Craig

"T." <as******@adfasdf.com> wrote in message
news:eJ**************@TK2MSFTNGP12.phx.gbl...
Technically, my development workstation is the server, as this is where
the
site resides for now, and Outlook is installed.
Outlook is also installed on the client workstation that's trying to

access
and send using Outlook.Application object.

This all works when I access the site from the development
workstation...which is way I don't understand why it won't work when I
access it from another workstation.
"Craig" <us**@domain.com> wrote in message
news:mv*******************@tornado.tampabay.rr.com ...
> If you don't have MS Outlook installed on the server, your
application > cannot access its object model. I could be wrong, but I don't think
> Microsoft allows redistribution of the outlook executable. Are you

trying
> to send e-mail using the Outlook.Application object?
>
> Craig
>
> "T." <as******@adfasdf.com> wrote in message
> news:%2******************@tk2msftngp13.phx.gbl...
> > Hi,
> >
> > Is there any way that I can "package and deploy" an asp.net app?
> >
> > When running this app from my workstation, it runs no problem, but

when
I
> > access the site from another workstation I'm getting the following: > > "system.runtime.interopservices.comexception: server execution

failed" on
> > this line "
> > Dim objOutlook As Microsoft.Office.Interop.Outlook.Application = New > > Microsoft.Office.Interop.Outlook.Application"
> >
> > Any help would be greatly appreciated.
> >
> >
> >
> >
>
>



Nov 18 '05 #8
T.
I'm trying to access the client's outlook in order to login using their
profile, and send a task request to another email address.

I'm assuming that right now it's trying to access the server's outlook,
which is causing the app to hang. How can I force it to use the client's
outlook?

Thanks for your help.
"Craig" <us**@domain.com> wrote in message
news:YU*******************@tornado.tampabay.rr.com ...
Are you trying to access the client's outlook or the server's outlook? What exactly are you trying to do with the outlook object?

Craig

"T." <as******@adfasdf.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
So here's what I've done just to see if this will work at all. I've

changed
the anonymous user to be a domain admin account (which has permissions to
everything)...impersonate = true.

I've checked the event log and I'm getting "
Rejected Safe Mode action : Microsoft Office Outlook". So I'm assuming it is a permissions thing...how can I correct this?

Thanks.
"Craig" <us**@domain.com> wrote in message
news:Nc******************@tornado.tampabay.rr.com. ..
In that case, you may be experiencing a permissions issue. The IUSER
account may not have permission to instantiate an outlook object on your machine.

HTH
Craig

"T." <as******@adfasdf.com> wrote in message
news:eJ**************@TK2MSFTNGP12.phx.gbl...
> Technically, my development workstation is the server, as this is

where the
> site resides for now, and Outlook is installed.
> Outlook is also installed on the client workstation that's trying to
access
> and send using Outlook.Application object.
>
> This all works when I access the site from the development
> workstation...which is way I don't understand why it won't work when I > access it from another workstation.
>
>
> "Craig" <us**@domain.com> wrote in message
> news:mv*******************@tornado.tampabay.rr.com ...
> > If you don't have MS Outlook installed on the server, your application > > cannot access its object model. I could be wrong, but I don't think > > Microsoft allows redistribution of the outlook executable. Are you trying
> > to send e-mail using the Outlook.Application object?
> >
> > Craig
> >
> > "T." <as******@adfasdf.com> wrote in message
> > news:%2******************@tk2msftngp13.phx.gbl...
> > > Hi,
> > >
> > > Is there any way that I can "package and deploy" an asp.net app?
> > >
> > > When running this app from my workstation, it runs no problem, but when
> I
> > > access the site from another workstation I'm getting the following: > > > "system.runtime.interopservices.comexception: server execution

failed"
> on
> > > this line "
> > > Dim objOutlook As Microsoft.Office.Interop.Outlook.Application = New > > > Microsoft.Office.Interop.Outlook.Application"
> > >
> > > Any help would be greatly appreciated.
> > >
> > >
> > >
> > >
> >
> >
>
>



Nov 18 '05 #9
You'll probably have to do that through client-side scripting, but I'm not
so sure you'll want to as it poses a security risk. Surely, you've at least
heard about all of the viruses that propagate themselves through the Outlook
DOM. Outlook will throw up a nastygram informing the user that a program is
trying to access Outlook, and more often than not, your clients will not
allow your script to perform its task.

I don't really think that a web application is the best approach for what
you're trying to do.

Just my two pennies.

HTH
Craig

"T." <as******@adfasdf.com> wrote in message
news:ul**************@TK2MSFTNGP15.phx.gbl...
I'm trying to access the client's outlook in order to login using their
profile, and send a task request to another email address.

I'm assuming that right now it's trying to access the server's outlook,
which is causing the app to hang. How can I force it to use the client's
outlook?

Thanks for your help.
"Craig" <us**@domain.com> wrote in message
news:YU*******************@tornado.tampabay.rr.com ...
Are you trying to access the client's outlook or the server's outlook? What
exactly are you trying to do with the outlook object?

Craig

"T." <as******@adfasdf.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
So here's what I've done just to see if this will work at all. I've

changed
the anonymous user to be a domain admin account (which has permissions to everything)...impersonate = true.

I've checked the event log and I'm getting "
Rejected Safe Mode action : Microsoft Office Outlook". So I'm assuming it
is a permissions thing...how can I correct this?

Thanks.
"Craig" <us**@domain.com> wrote in message
news:Nc******************@tornado.tampabay.rr.com. ..

> In that case, you may be experiencing a permissions issue. The
IUSER > account may not have permission to instantiate an outlook object on your > machine.
>
> HTH
> Craig
>
> "T." <as******@adfasdf.com> wrote in message
> news:eJ**************@TK2MSFTNGP12.phx.gbl...
> > Technically, my development workstation is the server, as this is where
> the
> > site resides for now, and Outlook is installed.
> > Outlook is also installed on the client workstation that's trying to > access
> > and send using Outlook.Application object.
> >
> > This all works when I access the site from the development
> > workstation...which is way I don't understand why it won't work when I
> > access it from another workstation.
> >
> >
> > "Craig" <us**@domain.com> wrote in message
> > news:mv*******************@tornado.tampabay.rr.com ...
> > > If you don't have MS Outlook installed on the server, your

application
> > > cannot access its object model. I could be wrong, but I don't think > > > Microsoft allows redistribution of the outlook executable. Are you > trying
> > > to send e-mail using the Outlook.Application object?
> > >
> > > Craig
> > >
> > > "T." <as******@adfasdf.com> wrote in message
> > > news:%2******************@tk2msftngp13.phx.gbl...
> > > > Hi,
> > > >
> > > > Is there any way that I can "package and deploy" an asp.net
app? > > > >
> > > > When running this app from my workstation, it runs no problem,

but > when
> > I
> > > > access the site from another workstation I'm getting the

following:
> > > > "system.runtime.interopservices.comexception: server execution
failed"
> > on
> > > > this line "
> > > > Dim objOutlook As Microsoft.Office.Interop.Outlook.Application

= New
> > > > Microsoft.Office.Interop.Outlook.Application"
> > > >
> > > > Any help would be greatly appreciated.
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>



Nov 18 '05 #10

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

Similar topics

1
by: ItsMe | last post by:
Dear All, I've developed a small solution for one of my client using Visual Basic.NET (Standard Edition). And used Crystal Reports 9.2 (Seperately). I want to deploy this application at my...
2
by: hitendra15 | last post by:
How to Deploy SQL server Database to another PC, How to create a package that craetes Database as well as ODBC driver for accessing data at enduser PC, using .Net VB
1
by: Stephen Russell | last post by:
I have the need to take an existing DTS package off my laptop SQL2000 Developer version and deploy it on a clients site in the near future. What do I need to do to run this puppy? Can I script...
3
by: William E Voorhees | last post by:
My simple program accesses an access file and uses a crystal report as part of the package. When I deploy it to an xp machine it works fine. When I deploy it to w98 it runs until I try to run the...
0
by: PBsoft | last post by:
I developer an ADP with Access 2003 and distributed it with a package created wih Package Wizard from VSTO 2005. When I tried to install the package onto my customer computer I noticed that the...
1
by: Maklar | last post by:
Greetings, When I launch the PDW, I select the project that I wish to package and deploy, and go through the various steps in the wizard to reference files and such. When I reach the end of the...
0
by: Steve Long | last post by:
Hello (posted this in another group but it activity in that group was so slow I decided to post here several hours later), I 'm not sure if this is the correct forum to post this question in but,...
5
by: Fuard | last post by:
Dear Sir, I have developed a MS Access 2003 programme. Now I need to package this programme to run without MS Access 2003. When I go to Add-in Manager the Package & Deploy Wizard is not...
3
by: Hansen | last post by:
I hope that there is someone here that can help me. It's not directly related to this group but maybe someone here can help me. I wanted to deploy my Access database to another pc using the Access...
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:
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: 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:
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,...
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.