Hi All
I am already busy for several days to install Business Notification at a customers site. I already installed it succesfully on other systems.
But this time no luck.
The problem: After successfull installation (no errors etc.) I am able to connect to a server. I am also able to create a new event. I am able to complete it but when I try to start it in de Business Notification Manager I get an error that the event has caused an error and cannot start.
In the even log on the server I get the following message:
Specified cast is not valid.
For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
<NotificationServicesEvent>
<Description>
The application is disabled. It must be enabled before any processing will occur.
</Description>
<Context>
<EventParameters>
<ApplicationName>MBSBN</ApplicationName>
</EventParameters>
</Context>
<Instance>BusinessNotificationInstance</Instance>
<Component>Other</Component>
<ComponentDetails>
ComponentName: Driver for Application MBSBN
</ComponentDetails>
<Thread>7</Thread>
</NotificationServicesEvent>
When I check the settings in Navision it is all correct, that is that the notifictaion are ENabled and the correct network type is set. Also for the NAS (Parameters in registry) the settings are correct.
Anyone any idea?
Regards.
Mike.
Comments
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
i am trying to install notification services but i could not succed it yet,
when i run the Navision Business Notification service i got the error
"SQL NS not registered".
do you have any idea?
best wishes
sema
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Could not write configuration to Navision.
Exception:
System.Exception
Could not start Navision Application Server.
at Microsoft.BusinessSolutions.MBN.VIP.AttainDataProvider.AttainPsychicalConnection.Open()
at Microsoft.BusinessSolutions.MBN.VIP.AttainDataProvider.AttainConnection.Open()
at Microsoft.BusinessSolutions.MBN.VIP.TransactionManagement.ConnectionManager.OpenConnection(String connectionString)
at Microsoft.BusinessSolutions.MBN.VIP.AttainAdapter.ConnectionFactory.OpenConnection(String companyName)
at Microsoft.BusinessSolutions.MBN.VIP.AttainAdapter.PropertyStorageProvider.GetSubs(String key)
at Microsoft.BusinessSolutions.MBN.VIP.AttainAdapter.PropertyStorageProvider.Remove(String key)
at Microsoft.BusinessSolutions.MBN.VIP.AttainAdapter.PropertyStorageProvider.set_Item(String key, Object value)
at Microsoft.BusinessSolutions.BusinessNotification.NotificationService.NotificationServiceDeploymentManager.InitializeNavision()
Inner Exception
System.InvalidOperationException
There is an error in XML document (0, 0).
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, XmlDeserializationEvents events)
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader)
at Microsoft.BusinessSolutions.MBN.VIP.AttainDataProvider.AttainPsychicalConnection.Open()
Inner Exception
System.Xml.XmlException
The root element is missing.
at System.Xml.XmlTextReader.Read()
at System.Xml.XmlReader.MoveToContent()
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderlogin.Read8_login()
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
But now I have the following problem:
The installation is now flawless. When I create a new event in the BN manager this goes well, including validation. But I cannot start the event.
The following happens:
I get the message "Cannot start". At the event I get the message:"Cannot start. The scheme doesn't work correctly. Contact the systems administrator and check the Event log for more information." When I check the event-log however, it is empty (no logs for business notifictation on the client nor on the server).
My question is: what is business notification trying to do when I start an event? I cannot trace what is happening and I cannot find the place where the error occurs.
Database is SQL Server 2000 with SP4. No errors there either.
And for you Semaa: I recognize your error. You probably have more applications running on your IIS? If so, try to install these applications on a website other than on Port 80. BN runs standard on port 80 and conflicts sometimes with these applications (e.g. employee portal). What I did to solve this was: I installed Employee portal (Notification svs) on a new website that I created in IIS, and set the port to 82 instead of 80. Then install the Employee portal (automatically installs on port 80) and the conflict should be solved. Sometimes I get that error that you described but after restarting the services of business not. it usually i solved.