Out company have a product that is being install through InstallShield.
When I run the installation on a machine with IIS 6 installed it is working great.
But, when I am trying to install it on a machine with IIS 7 install I get:
*Error 1609.An error occurred while applying security settings. ASPNET is
not a valid user or group. This could
be a problem with the package, or a
problem connecting to a domain
controller on the network. Check your
network connection and click Retry, or
Cancel to end the install. *
what am I doing wrong ? what do I need to change on the installation (or on the installed machine).
Thanks,
Ben
It is becase you don't have a ASPNET user. You have 2 choices you can either manaually create this user for the purpse of running this package or you can install .net framework 1.1 and then reinstall or reregister the version of .net you intend to run your apps with.
Run the following command to fix this issue:
aspnet_regiis –i
This is usually available in the .NET Framework installation path. If you use .NET 2.0, for example, the whole path would be:
C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis -i
More information about the aspnet_regiis command is available here.
Related
I cannot get the Bonobo Git Server to work. I think the problem may be that there is no web page to load (example index.htm, etc.).
The following snapshot is what is displayed when I request http://localhost/Bonobo.Git.Server/
Snapshot of Bonobo.Git.Server directory listings
Snapshot of Web Server (IIS) display.
Ok, it had nothing to do with the instructions on the Bonobo site.
The instructions specified in the readme.md were my first clue.
Don't forget to register .NET framework with your IIS
Run %windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -ir with administrator privileges
That was tried but the app informed my that I would have to uninstall what I already had installed, ASP.NET 4.8, to install a previous ASP.NET 4.5 version.
So, I enabled ASP.NET 3.5 as well as a few more features to the IIS capability just incase I might need them.
Now it works!
The following was helpful:
https://www.google.com/search?q=add+NET+4.5+to+IIS&rlz=1C1CHBF_enUS915US915&oq=add+NET+4.5+to+IIS&aqs=chrome..69i57.12325j0j15&sourceid=chrome&ie=UTF-8
I have a Windows Server 2012 R2 & Visual Studio Professional 2012. now i use to develop an asp.net 4.5 mvc 4 web application without any problem. but now when i try to open the project i will get this error:-
if i click OK then this error:-
if i click OK the visual studio will stop working
so can anyone adivce what is going on ??
and here is how the Turn windows features on/off looks like:-
Now i did this modification, as i read on a post in the internet that deleting the cache might help. so i removed this folder:-
%LocalAppData%\Microsoft\VisualStudio\11.0\ComponentModelCache
then i tried to open the Visual Studio, and i got the same 2 errors, but the visual studio did not stop working, and i was able to modify the code i rebuild the project and run it.. so not sure what is going on ?
aspnet_regiis -i
Using the ASP.NET IIS Registration tool, you can perform tasks such as the following:
Register or remove the .NET Framework ASP.NET installation with IIS.
Create new ASP.NET application pools.
Display the status of all installed versions of ASP.NET.
More here
Edit 1:-
dism /online /enable-feature /featurename:IIS-ASPNET45 /all
Try running this command
Edit 2:-
Try downloading and installing this update
This is a related tweet
If you get KB3002339 hanging kill the VSUpdate process in task manager. Windows Update will finish. Bing/Google KB3002339 install manually.
https://twitter.com/blowdart/status/542542342075346945
In order to resolve this error you have to install related version of .Net framework in your system.
First install IIS if not installed.
Then run following command:
C:\Windows\Microsoft.NET\Framework\v4.0.30319> aspnet_regiis -i
OR (Depens on your OS)
C:\Windows\Microsoft.NET\Framework64\v4.0.30319> aspnet_regiis -i
And in IIS your site should run on pool with version like : .Net FrameWork v4.0.xxxxxx
Open your solution as an Administrator
Maybe this answer comes too late, but I tried the solution from #Sameer referring to this question stackoverflow.com/questions/13749138/asp-net-4-5-has-not-been-registered-on-the-web-server#13749209
aspnet_regiis -i
didn't work for me aswell, but this update fixed the problem for VS 2012
For Visual Studio 2012 you actually need to download an update to fix it from here: support.microsoft.com/en-us/kb/3002339 – Sameer Nov 16 '15 at 21:17
See if the computer has self updated to .NET 4.6 (due to Windows Update task).
In some situations, the installation of .NET 4.6 may impact on Visual Studio 2012.
In my case I had to upgrade my project to NET 4.6 to solve the problem.
In relation to IIS itself, I guess you may be forgotten some feature - as HTTP which I guess is necessary, even if you won't utilize it directly. Check all features and toogle OFF just those really optional (like FTP).
This reminds me of similar issues I have seen in the past and I strongly suspect it's an installation order related thing which ultimately boils down to the aspnet_regiis command which has been mentioned already (here's some more information on this topic: https://rockyprogress.wordpress.com/2011/09/06/iis-7-5-and-net-framework-4-installation-order-does-matter/).
You would generally want to install IIS first and then .NET afterwards. So I suggest you get rid of the .NET 4.5 installation again by using the "Turn Windows Features On/Off" screen and then later simply add it back in.
Please try below point
1) open Visual studio run as administration
2) Please host your site in IIS (Not on port like localhost:65389...)
3) Make sure about application pool (with framework 4.0)
4) run C:\Windows\Microsoft.NET\Framework\v4.0.30319> aspnet_regiis -i command
I'm getting the following error after installing VS2013:
Service Unavailable HTTP 503
The earlier version of IIS is working with an application pool ASP.Net 4.0. This uses the 4.0 framework. I believe the new version uses the 4.5.1 framework. So the application pool might get a conflict. So when I go through the IIS manager dashboard I noticed that the application pool is getting stopped automatically. So I manually restarted and tried again. Whenever the application starts this application pool get stopped automatically. I don't know why this happening?
Please could you help to fix this issue?
I am not quiet sure whether it works for you, but i had the similar problem once, registering the FrameWork with the IIS Manager resolved my problem.
Below are the commands to run depending on 64-bit/32-bit OS version installed in your system
%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -i
%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -i
Note:
1. Please remember to replace the "v4.0.30319" with your current version installed.
2. You should run the above commands as a Administrator(better if you logged in as a administrator).
I have a dedicated server and I am trying to install MS Web Deploy 3 using the Web Platform Installer running as administrator.
It fails to install with the message:
We're sorry. The following products have failed to install.
**Web Deploy 3.0 - July 2012**
This product did not install successfully: Service 'Web Management Service' (WMSvc)
failed to start.
Verify that you have sufficient privileges to start system services.
I have tried running the installer using 'Run As Administrator' but this error comes up each time. Does any one know how I can verify or fix this issue?
Thanks! Sorry for any noobness!
I found a possible answer to this as I wouldn't give up. go to your iis installation and select the server so you get the options, go to management service. you can try checking "Remote Connections" and restarting if that doesn't help, select the certificate you have installed in the ssl certificate dropdown. I was able to install the web deploy software after this.
Having the same problem. Seems to be a problem with Web Deploy v3. I installed Web Deploy v2 without problems. It looks like they both can coexist. Just make sure to change the path for the Web Deploy Agent Service from C:\Program Files\IIS\Microsoft Web Deploy V3 to C:\Program Files\IIS\Microsoft Web Deploy V2
I also found a possible answer to this issue. It seems that WebPI doesn't install the IIS Management Service as a dependency for Web Deploy.
After installing IIS Management Service (and re-installing Web Deploy) it began working.
I'm trying to deploy an ASP.Net application I developed to a Windows Server 2003 System but I get a error message when running the Site.
The first thing is that I get a Null Reference exception when I want to access my custom configuration section. So I figured that maybe the System.Configuration Assembly might not be installed. However I removed the reference and included the database directly into code to see if it works without.
But now I'm getting another error that a third party server control is not recognized.
Error Message: Server label
"trirand:JQGrid" unknown.
The same application runs just fine on my XP machine with IIS 6 installed so I wonder if I'm missing some installation. This is the first ASP.Net Application on that machine as before there were only ASP tools. I think that the .Net Framework 3.5 SP1 is installed but I'm not sure. Another question is if the ASP.Net is integrated into the .Net Framework of if I need a different install package.
Update:
I experienced a weird behaviour: I added the obviously wrong element <asdf> to the web.config file. On my development machine that gave me the expected error, but on the server nothing happened at all. So it seems like it some does not recognize my web.config file.
You need to check if the windows server system is loaded with the software your application required.
The folder v3.5 should be there in the following location.
C:\WINDOWS\Microsoft.NET\Framework\v3.5
Also you need to check if asp.net is installed on the system, if you are not sure then do install it, installing it if it is already there have no side effects.
To install asp.net type the following commands in DOS prompt.
cd C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
// then
aspnet_regiis.exe -i
Then also, confirm in IIS that correct version of asp.net is selected for your website.
To check; go to your website properties in IIS
then select ASP.NET tab then check ASP.NET version it should be 2.0.50727 for websites below .net version 4.0
Good Luck!