G
Guest
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 eProjectNotificationService. Along
with registering the service, there is a
eProjectNotificationService.exe.config file where you setup your SMTP server
settings:
<configuration>
<appSettings>
<!-- Common Settings -->
<add key="assemblyPath" value="D:\eProject\website\bin" />
<add key="configDirectory" value="D:\eProject\config"/>
<add key="webRoot" value="http://eproject.jsaengineering.com/" />
<add key="mediaRoot" value="http://eproject.jsaengineering.com/Media" />
<add key="mediaPath" value="D:\eProject\website\media" />
<add key="sqlServerDSN" value="UID=<omitted for posting to
newsgroup>;pwd=<omitted for posting to newsgroup>;Initial
Catalog=eProjectdb;Data Source=server\jsa;pooling=true;Connection
Reset=false;Connection Lifetime=0;" />
<!-- <add key="sqlServerDSN" value="Integrated Security=SSPI;Initial
Catalog=DatabaseName;Data Source=SQLServerName;pooling=true;Connection
Reset=false;Connection Lifetime=0;" /> -->
<!-- NotificationService settings -->
<add key="smtpServer" value="192.168.1.254" />
<!-- The "footerEmail" key is no longer used and thus the value for it can
be ignored -->
<add key="footerEmail" value="No longer used" />
<add key="returnAddress" value="eproject@<domainnameomitted>.com" />
<add key="emailFilter" value="" />
<add key="nsLoggingLevel" 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: eProjectNotificationService
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 . QueuedNotificationID
= 1d2014b5-cfdd-44ee-9dfd-07bcd4cffbf0
The following exception was thrown: System.Net.WebException: The remote
server returned an error: (401) Unauthorized.
at System.Net.HttpWebRequest.CheckFinalStatus()
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.HttpWebRequest.GetResponse()
at System.Xml.XmlDownloadManager.GetNonFileStream(Uri uri, ICredentials
credentials)
at System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials
credentials)
at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type
ofObjectToReturn)
at System.Xml.XmlTextReader.CreateScanner()
at System.Xml.XmlTextReader.Init()
at System.Xml.XmlTextReader.Read()
at System.Xml.XmlValidatingReader.ReadWithCollectTextToken()
at System.Xml.XmlValidatingReader.Read()
at System.Xml.XPath.XPathDocument.Load(XmlReader reader)
at System.Xml.Xsl.Compiler.LoadDocument(XmlTextReader reader)
at System.Xml.Xsl.XslTransform.Load(String url, XmlResolver resolver)
at System.Xml.Xsl.XslTransform.Load(String url)
at
eProject.Framework.Notifications.Format.TextFormat.Transform(XmlDocument xml,
Enterprise ent)
at
eProject.Framework.Notifications.Devices.NotificationEmail.a(NotificationEmail , String )
at
eProject.Framework.Notifications.Devices.NotificationEmail.a(NotificationEmail[] , 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?
eProject is a web based asp application. During setup, the instructions
called for registering a service called eProjectNotificationService. Along
with registering the service, there is a
eProjectNotificationService.exe.config file where you setup your SMTP server
settings:
<configuration>
<appSettings>
<!-- Common Settings -->
<add key="assemblyPath" value="D:\eProject\website\bin" />
<add key="configDirectory" value="D:\eProject\config"/>
<add key="webRoot" value="http://eproject.jsaengineering.com/" />
<add key="mediaRoot" value="http://eproject.jsaengineering.com/Media" />
<add key="mediaPath" value="D:\eProject\website\media" />
<add key="sqlServerDSN" value="UID=<omitted for posting to
newsgroup>;pwd=<omitted for posting to newsgroup>;Initial
Catalog=eProjectdb;Data Source=server\jsa;pooling=true;Connection
Reset=false;Connection Lifetime=0;" />
<!-- <add key="sqlServerDSN" value="Integrated Security=SSPI;Initial
Catalog=DatabaseName;Data Source=SQLServerName;pooling=true;Connection
Reset=false;Connection Lifetime=0;" /> -->
<!-- NotificationService settings -->
<add key="smtpServer" value="192.168.1.254" />
<!-- The "footerEmail" key is no longer used and thus the value for it can
be ignored -->
<add key="footerEmail" value="No longer used" />
<add key="returnAddress" value="eproject@<domainnameomitted>.com" />
<add key="emailFilter" value="" />
<add key="nsLoggingLevel" 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: eProjectNotificationService
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 . QueuedNotificationID
= 1d2014b5-cfdd-44ee-9dfd-07bcd4cffbf0
The following exception was thrown: System.Net.WebException: The remote
server returned an error: (401) Unauthorized.
at System.Net.HttpWebRequest.CheckFinalStatus()
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.HttpWebRequest.GetResponse()
at System.Xml.XmlDownloadManager.GetNonFileStream(Uri uri, ICredentials
credentials)
at System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials
credentials)
at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type
ofObjectToReturn)
at System.Xml.XmlTextReader.CreateScanner()
at System.Xml.XmlTextReader.Init()
at System.Xml.XmlTextReader.Read()
at System.Xml.XmlValidatingReader.ReadWithCollectTextToken()
at System.Xml.XmlValidatingReader.Read()
at System.Xml.XPath.XPathDocument.Load(XmlReader reader)
at System.Xml.Xsl.Compiler.LoadDocument(XmlTextReader reader)
at System.Xml.Xsl.XslTransform.Load(String url, XmlResolver resolver)
at System.Xml.Xsl.XslTransform.Load(String url)
at
eProject.Framework.Notifications.Format.TextFormat.Transform(XmlDocument xml,
Enterprise ent)
at
eProject.Framework.Notifications.Devices.NotificationEmail.a(NotificationEmail , String )
at
eProject.Framework.Notifications.Devices.NotificationEmail.a(NotificationEmail[] , 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?