where is the "Edit Realm" page in GlassFish administration console? - console

in Java EE 6 & 7 tutorials, in chapter 47 "Introduction to Security in the Java EE Platform ", in section "47.5.2.1 To Add Users to GlassFish Server" it says "
On the Edit Realm page, click Manage Users. " ,
the question is i can not find this page (Realm page) in the administration console of GlassFish .

Have a look at this:
The path to this navigation element is server-config -> Security -> Realms

Related

Error. An error occurred while processing your request. ASP.NET Core MVC 2

I have trouble with working my site on IIS Server.
I read and tried the recommendations from Stack Overflow and other sites, but without success.
When installing the site on the IIS Server Version 10.0.17134.641 (on the my local computer) the following error occurred:
enter image description here
During development everything all worked fine. And when I try to post a site on local IIS Server, such an error occurred. Home page show normal. But when I try to register or log in have error above.
I'm confused because:
1) The publication took place in the "Folder", on the IIS pointed the way to it.
2) I'm install: Runtime & Hosting Bundle 2.2.3 for ASP.NET Core/.NET Core on Windows from this site: https://dotnet.microsoft.com/download/thank-you/dotnet-runtime-2.2.3-windows-hosting-bundle-installer
And in the module of my site are present: AspNetCoreModule, AspNetCoreModuleV2
3) I'm set "Application Pool" for this site in IIS Server next:
enter image description here
4) I'm "Edit Permissions..." for this site where I added and allow all permissions for next users: IUSR, IIS_IUSRS to "Security"
5) Also turn on next Windows features: enter image description here
Site written on ASP.NET Core MVC 2.2 with Use Entity Framework Core also the same version
With what it can be connected?
With database connection?
Or with configure IIS Server?
Or configure Website?
Thanks:)
SOLVED:
1) I have to add: 'app.UseDeveloperExceptionPage();' in Configure method Startup.cs file my project - It's help to show more details for errors.
2) In Microsoft SQL Server Management Studio need create a new user in Security -> Logins (in the same nesting level as the 'Databases' folder). User must have name like your application pool in IIS Server. In Default database General tab set your using database. And then need to set for user next role: sysadmin in Server Roles

asp.net mvc web deployment to hosting space (cant find “Publishing” Tab in my Website Panel )

I can able to deploy my mvc website through FTP but i cant able to use "Web deployment" method. Following youtube video suggest that i have to enable "Web Deploy" in Publishing tab
How to Use Web Deploy With Website Panel Windows 2012 Server
it has a Publishing tab
i cant see “Management” Tab. in my site ...... :( it has only HomeFolder, MIME Type, Virtual Dir, Extention, Custom Error, Header(Total 6 tab only).
image-2
You will need to allow option 'Remote Web Management' in your hosting plan only then you will be able to view 'Web publishing' under website.
Can you provide more details like do you have shared hosting or a VPS.
If you have shared hosting then you will need to contact your Hosting provider and If you have a VPS then you will need to follow below steps.
Login into Website Panel
Go to the plan of your domain for which you want to publish
You need to enable option 'Remote Web Management' and click on save
Go to your website in Website panel.
You will be able to see a Tab 'Web Publishing'and provide credentials.
Click on Enable and then on update
Now you should be able to use webdeploy with the credentials you provided in 'Web Publishing' tab.
I think hosting service provider just in active your option for Management tab. You are not authorized to have access to this part of online publicity.Please contact you hosting provider.
The video you have linked as you followed his tutorial, I left with first impression that he has made a video tutorial about a premium account so he has already paid for that hosting. MVC is a bit of a complicated method of making a website and hosting it online. You need a cloud server such as Google Cloud Platform or Azure. You can give it a go on AWS (Amazon Web Services) to host your ASP.NET products. GCP has 60 days of trial version + 300$ in cash that google is giving you for free to use their cloud system and spend these money during this period as you wish whereas Azure is a cloud system provided by Microsoft and their 30 days trial is quietly far not enough but if you like it and find it for easy way of hosting your project, you can double check the pricing. AWS has a free option to host your ASP.NET MVC website.
Here it comes for the missing button you've mentioned. It seems like that you missed the payments and the button is inactive. You are not authorized to have access to this part of online publicity.
Kind regards,
Zen

Error in publishing web page with IIS

With the demonstration web page of the visual studio 2013 I've published on my local server using the FileSystem option.
Following the msdn example (https://msdn.microsoft.com/en-us/library/vstudio/1y1404zt(v=vs.100).aspx) I have loaded this web page with the IIS. But when I try to open the web page in my internet browser the following error occurs:
**Error HTTP 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.
Config Error: This configuration section cannot be used at this path. This happens when the section is locked at a parent level. Locking is either by default (overrideModeDefault="Deny"), or set explicitly by a location tag with overrideMode="Deny" or the legacy allowOverride="false". **
I have tried many different configurations based on these links, without success, one of them is https://social.msdn.microsoft.com/Forums/vstudio/en-US/6e79cb01-ffb0-439c-8e1c-505a29b87671/iis7-http-error-50019-internal-server-error?forum=dotnetstocktradersampleapplication
Please try this
1) Click "Start button"
2) In the search box, enter "Turn windows features on or off"
in the features window, Click: "Internet Information Services"
3) Click: "World Wide Web Services"
4) Click: "Application Development Features"
5) Check (enable) the features. Check all except CGI.
Problem Solved!
I've done this steps:
1) Click "Start button"
2) In the search box, enter "Turn windows features on or off"
in the features window, Click: "Internet Information Services"
3) Click: "World Wide Web Services"
4) Click: "Application Development Features"
5) Check (enable) the features. Check all except CGI.
then I got another error message and solved doing what this link suggested:
How to add ASP.NET 4.0 as Application Pool on IIS 7, Windows 7
Change .NET framework version of your website's Application Pool to 4.0
Steps:
In IIS, click Application Pools
Select the application pool which you have created/configured for
your website
Right Click -> Select "Basic Settings"
Change .Net Framework Version to v4.0...

Web Publish password not the same as my Azure admin password?

For whatever reason when I published my server for the first time to Azure some really long password was generated for me that for whatever reason I didn't think would be an issue.
Apparently I need this to publish to my server.
http://i.imgur.com/w5K1ySZ.png
It does not match my Azure server admin password which I can easily change from the management portal. Is there a way to see what this password is and/or change it?
Is there a way to see what this password is and/or change it?
Click the link in Azure portal -> Your Website -> Dashboard -> Quick glance -> Download the publish profile.
Download the file and your publishing password should be there in plain text in form userPWD="7vasdfa....".
If you want to reset that you can click the link Azure portal -> Your Website -> Dashboard -> Quick glance -> Reset your publish profile credentials.
For the same solution as Kaspars Ozols presented but for the new Azure Portal you can go to App Services, open the App Service in question and click the "Get publishing profile"
Updating thread since it is now 9/2018.
Goto Azure Portal -> Dashboard -> App Service (that you are deploying to) -> Get publish profile (in the top middle of browser)
Once you have the file downloaded, look for the userPWD arg.
No it is not the same. Reason is pretty clear - security concern!
My "Azure Admin Password" is to manage all my Azure Resources. While when I publish a web site to Azure I would expect to have some other credentials, that do not have to all my azure services.
What you see there is a Deployment Credential. This is best explained in the Wiki Page for the Kudu Project. Note that Azure Web Sites run Kudu.

deploying mvc 4 asp.net with iis in windows 7

i created a mvc4 asp.net app using the default template within visual studio 2012. i can build and run the app with no problem.
now im trying to host this in my computer (windows 7 ultimate). i turned on iis in my machine, and i did this :
open iis manager
right click sites and "Add Web Site"
set site name to "site1"
set physical path to "C:\Users\DaFriskyMonkey\Documents\Visual Studio 2012\Projects\mvc4app"
click "Ok"
then i go to "Application Pools" and change".Net Framework version" to "v4.0"
so when i navigate to "localhost" i got this : HTTP Error 401.3 - Unauthorized
You do not have permission to view this directory or page because of the access control list (ACL) configuration or encryption settings for this resource on the Web server.
when i go to "edit permissions" for the "mvc4app" folder "IIS_IUSRS" has "read" permission.
what should i do to make things work properly.
thanks you all.

Resources