web site publishing problem - iis-6

I have win server 2003 and IIS 6. After publish my web app to IIS and set port 8080 I can't see web site
UPDATE:
I solve my problem with connect to port 8080, after type http://XXX.XXX.X.XX:8080/ I see this
Thursday, August 19, 2010 9:26 AM App_Data
Thursday, August 19, 2010 9:26 AM bin
Thursday, August 19, 2010 9:26 AM Content
Thursday, August 19, 2010 9:11 AM 97 Global.asax
Thursday, August 19, 2010 9:26 AM Scripts
Thursday, August 19, 2010 9:26 AM Views
Thursday, August 19, 2010 9:11 AM 11799 Web.config
how can I view my site

Looks like a combination of the following issues:
directory browsing is enabled
no default document is specified
possibly the incorrect version of .net is associated with the website.
It looks like you are using MVC (Views directory) - is your site configured correctly for MVC and does your server have all the right frameworks installed and bound to IIS (you may need to use aspnet_regiis for each of the required frameworks)
if you created the site using visual studio try using its "Deploy Website" feature as it should ensure all the settings for your site are correct for it to be displayed.
Have a look here http://haacked.com/archive/2008/11/26/asp.net-mvc-on-iis-6-walkthrough.aspx for an IIS 6.0 MVC walk through.

Does the server have an active firewall?
Have you checked IIS if the website you published is created and active?

Try to set a default webpage.
However your list does not show any ".aspx" page so it is likely that your publication went wrong.

Related

What is still missing in my attempt to host a blazor-server app?

I've been hitting my head against this wall for days now and to my knowledge I've followed every direction I've found. But I'm still getting a 500 Error when I browse to the URL.
What I've got to work with is a Windows Server 2012 R2 with IIS 8.5. I'm not married to IIS but I'd prefer not to dip into YET another tech just to get this running.
What I've done:
Old-style blazor-server app (with Program / Startup pair) without authentication. Dependencies:
SharpZipLib
LiteDB
published it using dotnet publish -o bin/publish --self-contained -r win7-x64
copied that folder to the server
On the server:
installed urlrewrite2
installed everything under Windows Features Word Wide Web Services and Web Management Tools
restarted
created a new site in IIS
set the application pool to unmanaged
set the physical path to the folder I copied from my dev system
What I haven't done:
Anything regarding Visual Studio as I'm currently forced to contend with Visual Studio Code and none of that applies/is possible here.
Provisional Workaround
running dotnet my.dll --urls http://*:1234 does work to expose the app to the network
the command needed to be run inside the application folder otherwise the app would fail to load the connection string.
I've also had to provision a production database and modify my appsettings.json accordingly
This is workable for now but not having the app "auto start" with the server is unsatisfactory.

VB.NET web application project docker deployment 403 Error(VS 2019)

I am trying to deploy vb.net web application project (.NET Framework) using Docker option of Visual Studio 2019 and have been running into "403 - Forbidden: Access is denied." error.
However, I am able to run the project by using IIS option.
I am new to both VB.Net and Docker. Please let me know if more information is required to answer this question.
IIS Logs ("How do I access Windows eventlog of a Docker container") attached as image here:IIS Logs
I am putting this answer here for any beginner who may struggle with this:
On running from Visual Studio 2019, using "Docker" option, I was getting an IP on the browser with an error "403-Forbidden". However, when I appended the webform.aspx to it, the error resolved.
So Instead of checking output at 172.24.152.32, I was supposed to view the output at 172.24.152.32/webform.aspx or localhost:52345/webform.aspx.
You just need to put a default document into the container. A simple index.html or default.html should do.

Visual Studio 2017 Published web application returns 500 error

I have tried creating a test default net core web application which runs fine with IIS Express on my local machine. When I publish it to the server (Win 2012 R2), it returns a 500 error when I hit the website. Nothing is logged in the Event Log or IIS logs. I've installed the ASP.NET Core Module and restarted the server and still get the error. From what I've read, it's supposed to deploy a testproject.dll and web.config points to that but mine is generating an executable instead and web.config is pointing to that. Everything is in the root of the website as well so I'm not sure what else I can do. I didn't change any code in the test project, just using the default demo app to make sure I can get it running on a server.
Please help!
After a lot of testing, I finally figured out that there was a few error with IIS bindings, and permissions. Now everything is working.

restarting documetum server repository not show in drop down list in login page

I have just install the developer edition of documentum it was working successfully on window 7. but whenever I restart my system then login page don’t have any repository in drop down list. kindly help me
Startup sequence is very important for Documentum.
Correct startup Sequence is
Documentum DocBroker Service
Documentum Docbase Service "Repository Name"
Documentum Java Method Server
your application (for example Apache Tomcat with Webtop or Taskspace)
Usually on Windows it is Windows Services. When you just restart your server windows can start it in different order. To automate this procedure it is possible to configure Windows Service Dependencies.
Most of the times when this problem occurs, repository didn't start yet, and docbroker doesn't have information about it (repository didn't informed docbroker about its availlability).
If you look in the repository log (located under %DOCUMENTUM%\dba\log) you will see at the end of the startup process line like
Thu Jul 31 15:55:33 2014 301000 [DM_DOCBROKER_I_PROJECTING]info: "Sending information to
Docbroker located on host (TESTSERVER) with port (1489). Information: (Config(documentum),
Proximity(1), Status(Open))."
At this point docbroker knows about this repository and your client applications will have it in the list of available repositories.

Server 2012 IIS site on different drive

I'm trying to get IIS 8 on a brand new Server 2012 up and running to run a .net 4.5 app and I can't get it to work across drives
Error: 500.19
Module
IIS Web Core
Notification
Unknown
Handler
Not yet determined
Error Code
0x80070005
Config Error
Cannot read configuration file due to insufficient permissions
Config File
\\?\D:\callsheet-test\web.config
The current site is just a single file index.html.
If I copy the folder to anywhere on c: like c:\callsheet-test\ or c:\inetpub\callsheet-test it works perfectly once I change the target location in IIS 8 (site > basic settings).
It doesn't matter if there is an web.config file as a complex mvc/webforms app gives the same error.
I have tried copying the file with permissions and even thought the permissions seem to match for all users. I am still getting this error.
I have deleted the partition and and recreated it as a mount point c:\mount and the same issue happens. Copy the files to c:\notamount and they work fine.
This server is running on a VMware server. Windows 2012 x64 Standard.
Based on further investigation of the problem (via link in my comment above), I've found a workaround via here: change the Group Policy value of "Audit Removable Storage" from "Not Configured" to "No Auditing" and reboot. Bizarre I know. This setting is in Windows Settings/Security Settings/Advanced Audit Policy Configuration/System Audit Policies/Object Access.
Even though we're using VMWare and not Hyper-V this workaround still worked for me. Hopefully Microsoft can provide a answer.
I also had the same error and the solution was similar. I had installed Sql Server 2012 on Windows Server 2012 and it was at this time that I noticed IIS worker processes running from the system C: drive were unable to access configuration files on the E: drive. The site could only be loaded when on the C: drive, despite all the necessary NTFS permissions being granted through IIS_IUSRS, IUSR, Users and/or even the specific AppPool itself. This became evident when IIS couldn't access the E: drive even when running the AppPool (.NET 4.5) using an admin account other than the ApplicationPoolIdentity account (IIS APPPOOL.NET v4.5 in this context - verified in procexp.exe). Installing Sql Server 2012 was throwing errors during installation and required enabling auditing for object access among other settings.
Solution:
Run -> secpol.msc
Security Settings -> Local Policies -> Audit Policy
Change "Audit Object Access" policy to "No Auditing"
Hopefully, this background helps ease someone's headache. :-)