errors when open nopcommerce from localhost in visual express for web - nopcommerce

I am new to nopcommerce. I managed to install nopcommerce (administration) in local host iis
and customized it . everything runs fine when accessing website from localhost.
but when I opened website in visual express for web 2013 I am getting 4 compile errors in info.cshtml complaining about widget not defined
Error 3 'System.Web.Mvc.HtmlHelper' does not contain a definition for 'Widget' and the best extension method overload 'Nop.Web.Framework.HtmlExtensions.Widget(System.Web.Mvc.HtmlHelper, string, object)' has some invalid arguments nopCommerce\Views\Profile\Info.cshtml
the reason I am trying to open in visual express is that I want to publish website to windows azure.
so why am getting these compile errors?
is there a way to publish to azure directly from iis?

Related

Unable to run Asp.net Core 6.0 Web site hosted on IIS 10 Windows Server 2019 - getting 500 internal server error

I built ASP.net Core 6.0 Web application in Visual Studio 2022. I did publish to a local folder from Visual studio and hosted the application in IIS 10 Windows Server 2019 (This is a new VM. Enabled IIS and installed .netcore 6.0 Hosting Bundle) by creating a new application under default web site. The application is configured to use inProcess hosting. The application pool is set to No Managed Code. Installed necessary SSL certificate and also propogated the DNS. When I try to access the website from the browser I get an error This page isn’t working portal.abcd.com is currently unable to handle this request.HTTP ERROR 500.
I set stdoutLogEnabled="true" stdoutLogFile=".\logs\stdout. I do see a stdout file getting created under logs but the file is empty.
I tried many things suggested online but couldnt rectify this error. I am not sure what I am missing. Hoping someone can throw light on this issue.

Can't debug on Visual Studio 2017 with local IIS - Unknown Error 0x80004005

I'm working on a ASP.NET MVC project which was developed under IIS express and haven't had any problems with it ever since. However, when I try to run the debugger with local IIS, debugger doesn't attach and throws an error pop up stating - "Unable to start debugging on the web server. Operation is not supported. Unknown Error 0x80004005".
Actual error popup
Web settings in VS project
Event log doesn't show anything regarding this error, as well as Visual studio in log mode. If I create a new project on VS 2017 and try debugging it on local IIS - it works without a problem.
I'm using standard IIS site, in which:
Application pool uses administrator account
Port: 44311
IIS express SSL certificate
Already tried:
Making sure that IIS settings are correct.
Deleting VS cache, repairing VS, pulling clean source code from repository.
I was struggling with this error whole day, so any related information will be very appreciated.
In your project settings, open the "Web" tab and make sure you are debugging the app using the HTTPS address.
Project -> Properties -> Web -> Project Url
I am using HTTPS and a redirect and got exactly this error. Although there are other causes, I'm guessing it is the HTTPS one that is affecting you.

When creating a new project in Visual studio 2013 I get an error because they are automatically trying to use IIS express

When creating a new Web API ASP.NET project I get the error "Configuring IIS Express failed with the following error: Unable to access the IIS metabase. You do not have sufficient privilege to access IIS web sites on your machine.
The problem with this error is that I don't even have IIS express installed any more so I want to associate new projects with regular IIS. I can manually change the settings of the project by opening it in notepad. But this is pretty annoying and I can't see where to change the default.
Any help appreciated. Thanks.
When creating web project in VS, IIS Express is assumed to be on the machine (because VS puts it there). If you've removed that required dependency, your machine is in an unsupported state. Why not just have IIS Express installed, and change the projects after creating them?

Publish Asp.net web application to ftp

i want to publish my asp.net web application to my hosting. i am using the publish feature in visual studio 2013 ultimate. it is publishing correctly but the website is not opening i am getting could not load type error, i have tried many different configurations.
in the publish section i have choose : publish to ftp, fill in the correct information for the hosting and finally i used these configurations:
[this is the error i am getting
what can i do to make it work?
i have figure it out. the problem was i need to put the web.config in the root directorie

Local IIS Website Errors

I am using Visual studio web developer 4.0, in which I am creating a locally ISS hosted website.
My problem is while I am opening the website from visual studio I am getting errors such as:
ASP.NET 4.0 has not been registered on the webserver. You need to manually configure your web server for asp.net 4.0 in order for your site to run correctly...
When I am trying to serve a debug website I am getting the error:
Unable to start debugging on the server. Could not start asp.net debugging. More information my available by starting the project without debugging.
Then I navigated to my startup page without debugging and then the error in browser is
The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.
I have tried registering asp.net with aspnet_regiis -1. I'm using windows 8.
You have two options:
Manually configure web server for asp.net 4.0
Reinstall .NET framework
Number two is recommended.

Resources