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

I need to be able to use Outlook from aspx

P: n/a
I need some help.

I have a group of attorneys that need to be able to see
the schedule of court dates. These dates are scheduled by
the legal assistants.

This is what I need:

when a legal assistant schedules a court date I need that
date to be added to each attorney's outlook calendar when
the legal assistant adds it to the case calendar.

the case calendar can be the calendar control linked to a
database.

I have tried to access the outlook calendar but I can not
even get the outlook object to instantiate.

Here is my code so far:

Dim objOutlook As Outlook.Application
Dim objNamespace As Outlook.NameSpace
Dim objContactFolder As Outlook.MAPIFolder

objOutlook = New Outlook.Application
objNamespace = objOutlook.GetNamespace("MAPI")
I get an error at the "New Outlook.Application" line
above. The error states that "Server execution failed".

Can anyone please help?

Thanks
enak

Nov 17 '05 #1
Share this Question
Share on Google+
6 Replies


P: n/a
Check out the Exchange 2003 SDK. There's a sample application in there
called Issue Tracking.
They have code to interact with all the Exchange folders.

"enak" <an*******@discussions.microsoft.com> wrote in message
news:00****************************@phx.gbl...
I need some help.

I have a group of attorneys that need to be able to see
the schedule of court dates. These dates are scheduled by
the legal assistants.

This is what I need:

when a legal assistant schedules a court date I need that
date to be added to each attorney's outlook calendar when
the legal assistant adds it to the case calendar.

the case calendar can be the calendar control linked to a
database.

I have tried to access the outlook calendar but I can not
even get the outlook object to instantiate.

Here is my code so far:

Dim objOutlook As Outlook.Application
Dim objNamespace As Outlook.NameSpace
Dim objContactFolder As Outlook.MAPIFolder

objOutlook = New Outlook.Application
objNamespace = objOutlook.GetNamespace("MAPI")
I get an error at the "New Outlook.Application" line
above. The error states that "Server execution failed".

Can anyone please help?

Thanks
enak

Nov 17 '05 #2

P: n/a
I can not find just the application. Where can I get it
without downloading the Exchange 2003 Server?
-----Original Message-----
Check out the Exchange 2003 SDK. There's a sample application in therecalled Issue Tracking.
They have code to interact with all the Exchange folders.

"enak" <an*******@discussions.microsoft.com> wrote in messagenews:00****************************@phx.gbl...
I need some help.

I have a group of attorneys that need to be able to see
the schedule of court dates. These dates are scheduled by the legal assistants.

This is what I need:

when a legal assistant schedules a court date I need that date to be added to each attorney's outlook calendar when the legal assistant adds it to the case calendar.

the case calendar can be the calendar control linked to a database.

I have tried to access the outlook calendar but I can not even get the outlook object to instantiate.

Here is my code so far:

Dim objOutlook As Outlook.Application
Dim objNamespace As Outlook.NameSpace
Dim objContactFolder As Outlook.MAPIFolder

objOutlook = New Outlook.Application
objNamespace = objOutlook.GetNamespace("MAPI")
I get an error at the "New Outlook.Application" line
above. The error states that "Server execution failed".

Can anyone please help?

Thanks
enak

.

Nov 17 '05 #3

P: n/a
You're not downloading Exchange 2003 Server, just the SDK

http://www.microsoft.com/downloads/d...displaylang=en
"enak" <an*******@discussions.microsoft.com> wrote in message
news:00****************************@phx.gbl...
I can not find just the application. Where can I get it
without downloading the Exchange 2003 Server?
-----Original Message-----
Check out the Exchange 2003 SDK. There's a sample

application in there
called Issue Tracking.
They have code to interact with all the Exchange folders.

"enak" <an*******@discussions.microsoft.com> wrote in

message
news:00****************************@phx.gbl...
I need some help.

I have a group of attorneys that need to be able to see
the schedule of court dates. These dates are scheduled by the legal assistants.

This is what I need:

when a legal assistant schedules a court date I need that date to be added to each attorney's outlook calendar when the legal assistant adds it to the case calendar.

the case calendar can be the calendar control linked to a database.

I have tried to access the outlook calendar but I can not even get the outlook object to instantiate.

Here is my code so far:

Dim objOutlook As Outlook.Application
Dim objNamespace As Outlook.NameSpace
Dim objContactFolder As Outlook.MAPIFolder

objOutlook = New Outlook.Application
objNamespace = objOutlook.GetNamespace("MAPI")
I get an error at the "New Outlook.Application" line
above. The error states that "Server execution failed".

Can anyone please help?

Thanks
enak

.

Nov 17 '05 #4

P: n/a
does the server that this is going to run on have to have
Exchange 2003 or can I do what I want to do with just the
SDK or none of Exchange 2003?
-----Original Message-----
You're not downloading Exchange 2003 Server, just the SDK

http://www.microsoft.com/downloads/details.aspx? FamilyId=AAA9FEE9-426E-4437-BF3E-
5A098D5F9A08&displaylang=en"enak" <an*******@discussions.microsoft.com> wrote in messagenews:00****************************@phx.gbl...
I can not find just the application. Where can I get it
without downloading the Exchange 2003 Server?
>-----Original Message-----
>Check out the Exchange 2003 SDK. There's a sample

application in there
>called Issue Tracking.
>They have code to interact with all the Exchange folders. >
>"enak" <an*******@discussions.microsoft.com> wrote in

message
>news:00****************************@phx.gbl...
>> I need some help.
>>
>> I have a group of attorneys that need to be able to see >> the schedule of court dates. These dates are scheduled
by
>> the legal assistants.
>>
>> This is what I need:
>>
>> when a legal assistant schedules a court date I need

that
>> date to be added to each attorney's outlook calendar

when
>> the legal assistant adds it to the case calendar.
>>
>> the case calendar can be the calendar control linked
to a
>> database.
>>
>> I have tried to access the outlook calendar but I can

not
>> even get the outlook object to instantiate.
>>
>> Here is my code so far:
>>
>> Dim objOutlook As Outlook.Application
>> Dim objNamespace As Outlook.NameSpace
>> Dim objContactFolder As Outlook.MAPIFolder
>>
>> objOutlook = New Outlook.Application
>> objNamespace = objOutlook.GetNamespace("MAPI")
>>
>>
>> I get an error at the "New Outlook.Application" line
>> above. The error states that "Server execution

failed". >>
>> Can anyone please help?
>>
>> Thanks
>> enak
>>
>
>
>.
>

.

Nov 17 '05 #5

P: n/a
No, what you're basically doing is using HTTP to do a WebDav query to
exchange.
Your exchange server doesn't have to be 2003.

Only reason I pointed you towards the SDK, is that the Issue Tracking sample
application is the only good C# example I've seen that shows ASPX
integrating with Exchange

"enak" <an*******@discussions.microsoft.com> wrote in message
news:00****************************@phx.gbl...
does the server that this is going to run on have to have
Exchange 2003 or can I do what I want to do with just the
SDK or none of Exchange 2003?
-----Original Message-----
You're not downloading Exchange 2003 Server, just the SDK

http://www.microsoft.com/downloads/details.aspx?

FamilyId=AAA9FEE9-426E-4437-BF3E-
5A098D5F9A08&displaylang=en
"enak" <an*******@discussions.microsoft.com> wrote in

message
news:00****************************@phx.gbl...
I can not find just the application. Where can I get it
without downloading the Exchange 2003 Server?

>-----Original Message-----
>Check out the Exchange 2003 SDK. There's a sample
application in there
>called Issue Tracking.
>They have code to interact with all the Exchange folders. >
>"enak" <an*******@discussions.microsoft.com> wrote in
message
>news:00****************************@phx.gbl...
>> I need some help.
>>
>> I have a group of attorneys that need to be able to see >> the schedule of court dates. These dates are scheduled by
>> the legal assistants.
>>
>> This is what I need:
>>
>> when a legal assistant schedules a court date I need
that
>> date to be added to each attorney's outlook calendar
when
>> the legal assistant adds it to the case calendar.
>>
>> the case calendar can be the calendar control linked to a
>> database.
>>
>> I have tried to access the outlook calendar but I can
not
>> even get the outlook object to instantiate.
>>
>> Here is my code so far:
>>
>> Dim objOutlook As Outlook.Application
>> Dim objNamespace As Outlook.NameSpace
>> Dim objContactFolder As Outlook.MAPIFolder
>>
>> objOutlook = New Outlook.Application
>> objNamespace = objOutlook.GetNamespace("MAPI")
>>
>>
>> I get an error at the "New Outlook.Application" line
>> above. The error states that "Server execution failed". >>
>> Can anyone please help?
>>
>> Thanks
>> enak
>>
>
>
>.
>

.

Nov 17 '05 #6

P: n/a
OK, Thanks.
-----Original Message-----
No, what you're basically doing is using HTTP to do a WebDav query toexchange.
Your exchange server doesn't have to be 2003.

Only reason I pointed you towards the SDK, is that the Issue Tracking sampleapplication is the only good C# example I've seen that shows ASPXintegrating with Exchange

"enak" <an*******@discussions.microsoft.com> wrote in messagenews:00****************************@phx.gbl...
does the server that this is going to run on have to have Exchange 2003 or can I do what I want to do with just the SDK or none of Exchange 2003?
>-----Original Message-----
>You're not downloading Exchange 2003 Server, just the SDK >
>http://www.microsoft.com/downloads/details.aspx?

FamilyId=AAA9FEE9-426E-4437-BF3E-
5A098D5F9A08&displaylang=en
>"enak" <an*******@discussions.microsoft.com> wrote in

message
>news:00****************************@phx.gbl...
>> I can not find just the application. Where can I get it >> without downloading the Exchange 2003 Server?
>>
>> >-----Original Message-----
>> >Check out the Exchange 2003 SDK. There's a sample
>> application in there
>> >called Issue Tracking.
>> >They have code to interact with all the Exchange

folders.
>> >
>> >"enak" <an*******@discussions.microsoft.com> wrote in >> message
>> >news:00****************************@phx.gbl...
>> >> I need some help.
>> >>
>> >> I have a group of attorneys that need to be able to
see
>> >> the schedule of court dates. These dates are

scheduled
>> by
>> >> the legal assistants.
>> >>
>> >> This is what I need:
>> >>
>> >> when a legal assistant schedules a court date I
need >> that
>> >> date to be added to each attorney's outlook calendar >> when
>> >> the legal assistant adds it to the case calendar.
>> >>
>> >> the case calendar can be the calendar control linked to
>> a
>> >> database.
>> >>
>> >> I have tried to access the outlook calendar but I

can >> not
>> >> even get the outlook object to instantiate.
>> >>
>> >> Here is my code so far:
>> >>
>> >> Dim objOutlook As Outlook.Application
>> >> Dim objNamespace As Outlook.NameSpace
>> >> Dim objContactFolder As Outlook.MAPIFolder
>> >>
>> >> objOutlook = New Outlook.Application
>> >> objNamespace = objOutlook.GetNamespace("MAPI")
>> >>
>> >>
>> >> I get an error at the "New Outlook.Application" line >> >> above. The error states that "Server execution

failed".
>> >>
>> >> Can anyone please help?
>> >>
>> >> Thanks
>> >> enak
>> >>
>> >
>> >
>> >.
>> >
>
>
>.
>

.

Nov 17 '05 #7

This discussion thread is closed

Replies have been disabled for this discussion.