Notification server Setup
Created: 03 Apr 2012 | 14 comments
Hi All,
This is Madhu, iam currently installing Notofocation server 6.0 on a Windows Server 2003.
I have installed Altiris DS6.9 SP5. everything working fine except the Notification Server.
When i try to browse the NS on IIS, its throwing an exception as shown below.
i have tried registering the COM dll trough command prompt. Thanks in Advance.
Discussion Filed Under:
Comments 14 Comments • Jump to latest comment
Hi,
Close the window and try to restart NSSetup. If the error is still present you can follow this procedure to fix the problem with ASP.NET.
Here are the steps to follow:
Reset ASP.NET settings
Note: Resetting the ASP.NET settings is quick and won't adversely affect your Notification Server. It often helps correct authentication problems in the Notification Server.
regsvr32 "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll"
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis.exe -lk
(Note: -lk lists all the path of all IIS metabase keys where ASP.NET is scriptmapped, together with the version. Keys that inherit ASP.NET scriptmaps from a parent key will not be displayed.)
(Note: The aspnet_regiis.exe utility is an administration utility that manages the installation and uninstallation of multiple versions of ASP.NET on a single computer.)
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis.exe -k W3SVC/
(Note: -k <path> removes all scriptmaps to any version of ASP.NET from the specified path, recursively. E.g. aspnet_regiis.exe -k W3SVC/1/ROOT/SampleApp1)
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis.exe -i
(Note: The -i parameter installs this version of ASP.NET and updates scriptmaps at the IIS metabase root and for all scriptmaps below the root. Existing scriptmaps of lower versions are upgraded to this version.)
iisreset
Article URL http://www.symantec.com/docs/TECH12667
Regards,
If the suggestion has helped to solve your problem, please mark the post as a solution.
Fábio Sanches
Altiris Consultant | Skip Services | www.skipservices.com.br
Hi Luke,
I tried the above but of no luck left with the same error.
When i see the Notification Server Logs the below is the error its showing up..
I thought its the problem with the COM components.
i tried registering the COM dll wit srvreg32 command but then also the same error and unable ti install NS.
Pls advice meon this.
Thanks for you support and prompt reply.
Regards,
Madhu
Hi Madhu,
In case that you want to remove .NET 2.0 from being used by IIS without removing it from Add/Remove Programs, you can try the following command line (just make sure that you are unistalling the right version of .NET):
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -ua
(Note: the -u switch formerly listed for this command removes .NET 2.0 from being used by IIS and then associates unregisterred applications to the highest installed version of .NET which would still be 2.0. By using -ua, it only removes the registrations.)
Then go back and re-register .NET 1.1 as mentioned on steps 1 a) and 2 b) above.
Then, make sure ASP.NET v1.1.4322 is allowed in Web Server Extensions:
Note: There are cases where in addition to the fix provided in this article, you will need to edit HK-LM\Software\Microsoft\ASP.NET\RootVer to read "1.1.4322" before the InstallHelper would let you continue.
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis.exe -i
(Note: The -i parameter installs this version of ASP.NET and updates scriptmaps at the IIS metabase root and for all scriptmaps below the root. Existing scriptmaps of lower versions are upgraded to this version.)
iisreset
(Note: It will stop and restart IIS services in order to add the changes into IIS.)
Then the application is finished; test to see if it fixed the installation problem.
If the suggestion has helped to solve your problem, please mark the post as a solution.
Fábio Sanches
Altiris Consultant | Skip Services | www.skipservices.com.br
HI Luke,
I have tried your 2nd reply also...
Even then iam getting the same error..
Iam wondering how the .Net Framework related to COM Components issue..
Thanks for your valuable time on this.
Please suggest me furthur and help me out.
Regards,
Madhu
Hi Madhu,
I'm happy to help you. Could you please verify if have any error message at Event Viewer about DCOM or ocurred close to the NS installation time?
Please configure DCOM Permisions like that before run NSsetup again.
Add administrators to this setting and give it Allow Access permissions. For Windows 2003 servers:
If Self is removed, the only way to bring it back is to find it on the Domain. If either Self or System is removed, then they should be brought back as well as Administrators and Interactive should be added with the same permissions.
http://www.symantec.com/docs/TECH14855
Regards,
Fábio Sanches
If the suggestion has helped to solve your problem, please mark the post as a solution.
Fábio Sanches
Altiris Consultant | Skip Services | www.skipservices.com.br
Hi Luke,
I have checked all the default COM Services settings, everything is fine as u explained in your previous post.
Dont know whats going wrong :-(
Iam really worried about this NS.:-(
What shall i try now?
Thanks,
Madhu
Hi Madhu,
Continuing the troubleshooting process.
Regsvr32 "D:\Program files\Altiris\Notification Server\Bin\AexUtility.dll"
regsvr32 "D:\Program Files\Altiris\Notification Server\bin\aexlicense.dll"
The drive location to the Altiris installation path, in the above instance, was D:\Program files\Altiris so D was used for the path in the command line. It will need to be modified if Altiris is installed to a different drive path.
1) Backup the web.config and coresettings.config files per http://www.symantec.com/docs/HOWTO10321 (Attention to make the proper steps)
2) Delete the AexSvc.exe and AexSvc.exe.config files from the <Install Dir>\Altiris\Notification Server\bin directory
3) Run a repair on NS Core via Add/Remove programs
4) Run a repair on NS Hotfix KBxxxxx via Add/Remove programs
5) Restore the web.config and coresttings.config files
Regards,
If the suggestion has helped to solve your problem, please mark the post as a solution.
Fábio Sanches
Altiris Consultant | Skip Services | www.skipservices.com.br
Hi Luke,
Tried to repair the NS from the Control Panel. While installing its saying another installation is in progress.
Hi Madhu,
Did you reboot this server and tried repair again?
Regards,
If the suggestion has helped to solve your problem, please mark the post as a solution.
Fábio Sanches
Altiris Consultant | Skip Services | www.skipservices.com.br
Hi Luke,
Yes i rebooted the server and tried again.
Again i got the same error.
FYI this is the 1st time iam Installing the NS on server, till now i didnt use the NS.
Thanks,
Madhu
Hi Luke,
Thank god by the end the COM Components error has gone and i moved a step forward.
In 3rd step it asked me to connect to the SQL Database.
I tried in multiple ways.
Can u hel me, wher can i locate which credentials apllication will use to connect to DB?
Thnaks,
Madhu
Hi Madhu,
Thanks for your good news! Application credentials are the account you have configured at Step 01. Do you have the SQL Server at the same machine? Do you remember when install the SQL Server if was choosed the Mixed Mode authentication?
Mixed Mode authentication allows SQL logins and Windows authentications logins to access the SQL databases, and Applications Credencials need this type of access.
If you don´t remember, try using the SA account. So change the Step 3 to "Use SQL Login" and username SA, and the password configured at SQL installation.
Regards,
If the suggestion has helped to solve your problem, please mark the post as a solution.
Fábio Sanches
Altiris Consultant | Skip Services | www.skipservices.com.br
Hi Madhu, how are you?
Do you have any news about your issue?
Regards,
If the suggestion has helped to solve your problem, please mark the post as a solution.
Fábio Sanches
Altiris Consultant | Skip Services | www.skipservices.com.br
Hi Luke,
Excuse for late in response, was off the work all these days.
Coming to my NS Problem, still iam facing the same issue.
In UI its showing the DB authentication error as posted in my previous post but when in look into the NS error log it was showing the COM components error.
So i was unable to decide what exactly causing the problem :-(
Any idea on this?
Thanks,
Madhuri
Would you like to reply?
Login or Register to post your comment.