Hallo,
Erstmal vielen Dank f�r den Link den Du vorhin gepostet hast. Ist auch f�r mich sehr 
interresant aber hat mich direkt in Probleme gest�rtzt.
Also, folgendes Code
uses Outlook;
:
:
msoutl9.Application objOutlook = new msoutl9.ApplicationClass();
msoutl9.NameSpace objNS = objOutlook.GetNamespace("MAPI");
objNS.Logon ("exchtest","net",false,true); 
wirft den Fehler bei der ersten Zeile. Das bedeutet doch das die Outlook Komponente 
kann nicht geladen werden kann? Anmelden tut sich der Benutzer doch in der 3ten Zeile 
mit UserID und Password, oder she' ich das was falsch?
Gruss Meik 
 -----Original Message-----
From:   Entwicklung IT-ETB [mailto:develop@;it-etb.de] 
Sent:   quarta-feira, 23 de Outubro de 2002 15:31
To:     aspDEdotnet
Subject:        [aspdedotnet] AW: .NET & COM - Access denied

Outlook verlangt den Benutzer des Outlook Postfachs. Dann kann der
ASP.net User noch so viele Rechte haben. Wenn Du ein Outlook Konto hast,
kann sich der Admin ja auch nicht mit seinem Account anmelden und Deine
mails lesen oder?

-----Urspr�ngliche Nachricht-----
Von: [EMAIL PROTECTED]
[mailto:bounce-aspdedotnet-1036206@;aspfriends.com] Im Auftrag von Meik
Schuetz
Gesendet: Mittwoch, 23. Oktober 2002 16:21
An: aspDEdotnet
Betreff: [aspdedotnet] .NET & COM - Access denied

Hallo,

Ich versuche mich gerade mal daran die Outlook COM/ponente in ein
Projekt zu verwenden und bekome folgende Fehldermeldung:

Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code. 

Exception Details: System.UnauthorizedAccessException: Access Denied? 

The ASP.NET process is not authorized to access the requested resource.
For security reasons the default ASP.NET process identity is
'{machinename}\ASPNET', which has limited privileges. Consider granting
access rights to the resource to the ASP.NET process identity. 

To grant ASP.NET write access to a file, right-click the file in
Explorer, choose "Properties" and select the Security tab. Click "Add"
to add the "{machinename}\ASPNET" user. Highlight the ASP.NET account,
and check the Write box in the Allow column.

Der ASPNET- User hat jetzt schon Administrator Rechte, aber die
Fehlermeldung kommt immer noch. Kann da wer weiterhelfen.

Viele Gruesse
Meik 









| [aspdedotnet] als [email protected] subscribed
| http://www.dotnetgerman.com/archiv/aspdedotnet/ = Listenarchiv
| Sie k�nnen sich unter folgender URL an- und abmelden:
| http://www.dotnetgerman.com/listen/aspDEdotnet.asp

Antwort per Email an