I installed erlang 19 for rabbitmq in Azure VM with windows 2016 OS.
but it shows 'ERLANG HOME not set properly' while enabling rabbitMQ management plugin.
I added environment variable in both system variable and user variable like 'ERLANG_HOME' with path 'C:\Program Files\erl8.2\
When I install the same in windows servfer 2012 R2. It works fine.
Is there any error in the way in which I set environment variable in windows server 2016. Please suggest
Thanks in advance
I had a similar issue was able to resolve it with the solutions on this thread
Windows x64 RabbitMQ install error with Erlang environment var (ERLANG_HOME)
For me the issue was windows didn't pick up the environment variable until restart.
I am adding an answer to this thread since it still does not have an accepted answer. When encountering the "ERLANG HOME not set properly" error, it is worth a shot to see if you opened CMD on Windows as an Adminsitrator when enabling the RabbitMQ management plugin. Hope this helps. :D
This is a very basic question for which I've spent unnecessarily hours. What is the home directory of the Web Application Server 6 (WAS6) when installed through Rational Software Architect.
I am using WAS6 with RSA for development and need to set the WAS6_HOME environment variable. I am not sure as to what path should be set to this environment variable.
if WAS 6.1 was installed it should be RSA_INSTALL_HOME/runtimes/base_v61. I have it as c:\Program Files\IBM\SDP\runtime\base_v61
I've used the Web PI to install IIS Express. In the tray, there is not the IIS Express icon. How do I start IIS Express without using the command line? I want that IIS runs permanently, so without command line.
See Running IIS Express from the Command Line
Open a command prompt.
cd \Program Files\IIS Express, or
cd \Program Files (x86)\IIS Express on 64-bit OS
iisexpress /? to show usage
For example, you can start your IIS Express named site by issuing the command
iisexpress /site:WebSite1 where WebSite1 is a site from the user profile configuration file (C:\Program Files (x86)\IIS Express\AppServer\applicationhost.config)
Another common way to start IIS Express is to issue the command iisexpress /path:c:\myapp\ /port:80
This command runs the site from the c:\myapp folder over port 80.
You could use a *.bat that you include in your startup folder that starts IIS Express for you (using C:\Users\<user name>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup or the All Users startup folder C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup).
In Windows 7 you can use the Windows PowerShell to hide the command window, for example i use:
start-process "c:\program files\iis express\iisexpress.exe" -workingdirectory "c:\program files\iis express" -windowstyle Hidden
PowerShell script execution is set to Restricted on most new systems by default so you might need to change that to RemoteSigned or something first.
You can also install Web Matrix, which has an administration interface to IIS Express.
IIS Express isn't really meant to be run without some kind of interaction with it - Visual Studio, WebMatrix, or other. IIS Express isn't a service.
If you wanted to automate its startup in Windows, you can do so via Startup directory, or add a new item to the registry key HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
C:\Program Files (x86)\IIS Express\iisexpress.exe
You could run this executable ad-hoc if you like, perhaps create a shortcut on your quicklaunch or desktop or other.
I don't think running IIS Express without the command line is achievable unless you're successful in writing a separate program to do it, as some have attempted to do in this related question.
Quoting the online documentation:
IIS Express is a lightweight,
self-contained version of IIS
optimized for developers. IIS Express
makes it easy to use the most current
version of IIS to develop and test
websites. It has all the core
capabilities of IIS 7 as well as
additional features designed to ease
website development including:
It doesn't run as a service or require administrator user rights to
perform most tasks.
IIS Express works well with ASP.NET and PHP applications.
Multiple users of IIS Express can work independently on the same
computer.
You could use srvany to run IISExpress as a service.
Here is a blog post about this (though I haven't tested it yet, it looks promissing).
http://arvinboggs.wordpress.com/2011/04/08/installing-iisexpress-as-a-service-on-windows-2003/
The interesting part is where you pass a /config ... parameter to iisexpress, otherwise IIS Express loads the config from the users documents folder.
If you want your IISExpress to be able to be reachable from remote machines you can either
Start is with admin privileges and edit your applicationhost.config file: http://blogs.iis.net/vaidyg/archive/2010/07/29/serving-external-traffic-with-webmatrix-beta.aspx
Start is a a user and set up an ACL: http://blogs.iis.net/vaidyg/archive/2010/07/29/serving-external-traffic-with-webmatrix-beta.aspx
Use Vb.net 2010
and put this on a button
this will execute the IIS Express console less
shell("C:\Program files\IIS Express\iisexpress", vbhide)
To kill the process
*this will kill the IIS Express *
shell("taskkill /f /im iisexpress.exe", vbhide)
I'm using installshield to install my website to IIS, it works fine on windows server 2003, but while running on windows server 2008, it raise an error saying:
Error 1606. Could not access network location {IISROOTFOLDER}.
How can I fix this problem?
First you need to check your iisrootfolder.
In default website properites check home directory - local path.
Some times its missing changes so you could try vbscript custom action to get the "true" root directory:
Dim objIIsWebService
Set objIIsWebService = GetObject("IIS://localhost/W3SVC/1/ROOT")
MsgBox objIIsWebService.Path
Cdonts is not working in server 2008 (im using 32bit)
i tried copying cdonts.dll to windows/system32 folder
did regsvr32
it failed
any alternatives?
-Vivek
This is probably because you have the 64-bit version. You have to put cdonts.dll in the windows\SysWOW64 folder and then run
regsvr32 C:\Windows\SysWOW64\cdonts.dll
You will also have to edit the application pool of your site and set "Enable 32-bit Applications" to True.
Someone seems to have successfully installed CDONTS on Windows 2008 x64 on IISLogs.com. I did not try myself though.
Here his procedure :
Copy CDONTS.dll from another server to C:\Windows\SysWOW64
Run regsvr32 c:\windows\SysWOW64\cdonts.dll
Grant the appropriate permissions on C:\inetpub\mailroot\pickup (I granted USERS group Modify permissions). You could get permission denied if the folder security isn't adjusted.
I'm assuming you have installed the SMTP Service located in Server Manager > Features > SMTP Server option
Make sure when you when you install the SMTP service, you enable Relay for localhost > Administrative Tools > Internet Information Services (IIS6) > SMTP Virtual Server > Right click, Properties > Access Tab > Relay button > Add 127.0.0.1 in the option. Also enable logging for additional troubleshooting.
CDONTS is deprecated (around the time of XP, I believe?)
Here are 2 common replacements.
http://www.w3schools.com/asp/asp_send_email.asp
http://www.aspcode.net/ASPMail-SMTPsvgMailer-.aspx