I am setting up some collaboration software called eProject for a client.
eProject is a web based asp application. During setup, the instructions
called for registering a service called eProjectNotific ationService. Along
with registering the service, there is a
eProjectNotific ationService.ex e.config file where you setup your SMTP server
settings:
<configuratio n>
<appSettings>
<!-- Common Settings -->
<add key="assemblyPa th" value="D:\eProj ect\website\bin " />
<add key="configDire ctory" value="D:\eProj ect\config"/>
<add key="webRoot" value="http://eproject.jsaeng ineering.com/" />
<add key="mediaRoot" value="http://eproject.jsaeng ineering.com/Media" />
<add key="mediaPath" value="D:\eProj ect\website\med ia" />
<add key="sqlServerD SN" value="UID=<omi tted for posting to
newsgroup>;pwd= <omitted for posting to newsgroup>;Init ial
Catalog=eProjec tdb;Data Source=server\j sa;pooling=true ;Connection
Reset=false;Con nection Lifetime=0;" />
<!-- <add key="sqlServerD SN" value="Integrat ed Security=SSPI;I nitial
Catalog=Databas eName;Data Source=SQLServe rName;pooling=t rue;Connection
Reset=false;Con nection Lifetime=0;" /> -->
<!-- NotificationSer vice settings -->
<add key="smtpServer " value="192.168. 1.254" />
<!-- The "footerEmai l" key is no longer used and thus the value for it can
be ignored -->
<add key="footerEmai l" value="No longer used" />
<add key="returnAddr ess" value="eproject @<domainnameomi tted>.com" />
<add key="emailFilte r" value="" />
<add key="nsLoggingL evel" value="2" />
<!-- nsInterval determines how frequently system checks for new emails (in
seconds)....min =10 seconds-->
<add key="nsInterval " value="10"/>
<add key="keepSent" value="0"/>
</appSettings>
</configuration>
eProject uses this service to send out notifications of new documents
posted, new user info, etc... The problem exists when eProject attempts to
send a message the following is entered in the application log:
Event Type: Error
Event Source: eProjectNotific ationService
Event Category: None
Event ID: 0
Date: 3/14/2006
Time: 9:51:21 PM
User: N/A
Computer: SERVER
Description:
eProject Notification failure. Failed to deliver to . QueuedNotificat ionID
= 1d2014b5-cfdd-44ee-9dfd-07bcd4cffbf0
The following exception was thrown: System.Net.WebE xception: The remote
server returned an error: (401) Unauthorized.
at System.Net.Http WebRequest.Chec kFinalStatus()
at System.Net.Http WebRequest.EndG etResponse(IAsy ncResult asyncResult)
at System.Net.Http WebRequest.GetR esponse()
at System.Xml.XmlD ownloadManager. GetNonFileStrea m(Uri uri, ICredentials
credentials)
at System.Xml.XmlD ownloadManager. GetStream(Uri uri, ICredentials
credentials)
at System.Xml.XmlU rlResolver.GetE ntity(Uri absoluteUri, String role, Type
ofObjectToRetur n)
at System.Xml.XmlT extReader.Creat eScanner()
at System.Xml.XmlT extReader.Init( )
at System.Xml.XmlT extReader.Read( )
at System.Xml.XmlV alidatingReader .ReadWithCollec tTextToken()
at System.Xml.XmlV alidatingReader .Read()
at System.Xml.XPat h.XPathDocument .Load(XmlReader reader)
at System.Xml.Xsl. Compiler.LoadDo cument(XmlTextR eader reader)
at System.Xml.Xsl. XslTransform.Lo ad(String url, XmlResolver resolver)
at System.Xml.Xsl. XslTransform.Lo ad(String url)
at
eProject.Framew ork.Notificatio ns.Format.TextF ormat.Transform (XmlDocument xml,
Enterprise ent)
at
eProject.Framew ork.Notificatio ns.Devices.Noti ficationEmail.a (NotificationEm ail , String )
at
eProject.Framew ork.Notificatio ns.Devices.Noti ficationEmail.a (NotificationEm ail[] , DirectoryUser[] )
I have verified that IUSER and ASPNET user account have read, write and
execute on the virtual directory. IIS is Version 6.0 and is running on
SBS2003.
Any Ideas?
--
David Davis [MCSE, CCNA, Security +]