| Номер ошибки: | Ошибка 403 | |
| Название ошибки: | .NET Error 403 | |
| Описание ошибки: | Ошибка 403: Возникла ошибка в приложении .NET Framework. Приложение будет закрыто. Приносим извинения за неудобства. | |
| Разработчик: | Microsoft Corporation | |
| Программное обеспечение: | .NET Framework | |
| Относится к: | Windows XP, Vista, 7, 8, 10, 11 |
Сводка «.NET Error 403
«.NET Error 403» часто называется ошибкой во время выполнения (ошибка). Разработчики тратят много времени и усилий на написание кода, чтобы убедиться, что .NET Framework стабилен до продажи продукта. К сожалению, некоторые критические проблемы, такие как ошибка 403, часто могут быть упущены из виду.
Некоторые пользователи могут столкнуться с сообщением «.NET Error 403» при использовании .NET Framework. Таким образом, конечные пользователи предупреждают поставщиков о наличии ошибок 403 проблем, предоставляя информацию разработчику. Затем программисты могут исправить эти ошибки в коде и включить исправление, которое можно загрузить с их веб-сайта. Таким образом, когда ваш компьютер выполняет обновления, как это, это, как правило, чтобы исправить проблемы ошибки 403 и другие ошибки внутри .NET Framework.
Что генерирует ошибку времени выполнения 403?
В первый раз, когда вы можете столкнуться с ошибкой среды выполнения .NET Framework обычно с «.NET Error 403» при запуске программы. Проанализируем некоторые из наиболее распространенных причин ошибок ошибки 403 во время выполнения:
Ошибка 403 Crash — программа обнаружила ошибку 403 из-за указанной задачи и завершила работу программы. Это возникает, когда .NET Framework не работает должным образом или не знает, какой вывод будет подходящим.
Утечка памяти «.NET Error 403» — ошибка 403 утечка памяти приводит к тому, что .NET Framework использует все больше памяти, что делает ваш компьютер запуск медленнее и замедляет вывод системы. Повреждение памяти и другие потенциальные ошибки в коде могут произойти, когда память обрабатывается неправильно.
Ошибка 403 Logic Error — логическая ошибка .NET Framework возникает, когда она производит неправильный вывод, несмотря на то, что пользователь предоставляет правильный ввод. Это видно, когда исходный код Microsoft Corporation содержит недостаток в обработке данных.
.NET Error 403 проблемы часто являются результатом отсутствия, удаления или случайного перемещения файла из исходного места установки .NET Framework. Как правило, решить проблему можно заменой файла Microsoft Corporation. Мы также рекомендуем выполнить сканирование реестра, чтобы очистить все недействительные ссылки на .NET Error 403, которые могут являться причиной ошибки.
Типичные ошибки .NET Error 403
Эти проблемы .NET Framework, связанные с .NET Error 403, включают в себя:
- «Ошибка программы .NET Error 403. «
- «.NET Error 403 не является приложением Win32.»
- «.NET Error 403 столкнулся с проблемой и закроется. «
- «Не удается найти .NET Error 403»
- «.NET Error 403 не может быть найден. «
- «Ошибка запуска программы: .NET Error 403.»
- «Файл .NET Error 403 не запущен.»
- «Ошибка .NET Error 403. «
- «Неверный путь к приложению: .NET Error 403.»
Ошибки .NET Error 403 EXE возникают во время установки .NET Framework, при запуске приложений, связанных с .NET Error 403 (.NET Framework), во время запуска или завершения работы или во время установки ОС Windows. При появлении ошибки .NET Error 403 запишите вхождения для устранения неполадок .NET Framework и чтобы HelpMicrosoft Corporation найти причину.
Истоки проблем .NET Error 403
Заражение вредоносными программами, недопустимые записи реестра .NET Framework или отсутствующие или поврежденные файлы .NET Error 403 могут создать эти ошибки .NET Error 403.
Более конкретно, данные ошибки .NET Error 403 могут быть вызваны следующими причинами:
- Недопустимый .NET Error 403 или поврежденный раздел реестра.
- Загрязненный вирусом и поврежденный .NET Error 403.
- Другая программа злонамеренно или по ошибке удалила файлы, связанные с .NET Error 403.
- Другая программа находится в конфликте с .NET Framework и его общими файлами ссылок.
- Поврежденная установка или загрузка .NET Framework (.NET Error 403).
Продукт Solvusoft
Загрузка
WinThruster 2022 — Проверьте свой компьютер на наличие ошибок.
Совместима с Windows 2000, XP, Vista, 7, 8, 10 и 11
Установить необязательные продукты — WinThruster (Solvusoft) | Лицензия | Политика защиты личных сведений | Условия | Удаление
Симптомы
При попытке получить доступ к запрещенным ресурс с веб-сервера, который возвращает код состояния HTTP 403 HTTP клиента Microsoft платформа.NET Framework 2.0 закрывает постоянного подключения к веб-серверу. Так как новое подключение должно согласовываться для следующего запроса, такое поведение может привести к снижению производительности веб-сервера и клиента.
Примечания
-
Данная проблема также возникает при попытке доступа к ресурсу, запрещенное по протоколу HTTPS. Однако такое поведение является особенностью при использовании HTTPS. Для просмотра ресурсов, клиент может потребоваться восстановить новое подключение HTTPS и повторно пройти проверку подлинности на веб-сервере.
-
Это поведение возникает только в том случае, когда веб-сервер возвращает код состояния HTTP 403. Когда веб-сервер возвращает другие коды состояния клиента платформа.NET Framework 2.0 не закрывает постоянного подключения.
-
Данная проблема не возникает при использовании Microsoft платформа.NET Framework 1.1 или более ранней версии платформа.NET Framework.
Причина
Эта проблема возникает, так как платформа.NET Framework 2.0 неправильно отвечает на код состояния HTTP 403 когда платформа.NET Framework не использует Secure Sockets Layer (SSL) HTTP-соединения.
Решение
Доступно исправление от корпорации Майкрософт, но оно предназначено только для устранения проблемы, описанной в этой статье. Применяйте только в тех системах, в которых обнаружена эта специфическая неполадка. Это исправление может проходить дополнительное тестирование. Таким образом Если вы не подвержены серьезно эту проблему, рекомендуется дождаться следующего пакета обновления платформа.NET Framework 2.0, содержащего это исправление.
Чтобы решить проблему немедленно, обратитесь к технической поддержки корпорации Майкрософт для получения исправления. Полный список телефонов служб поддержки продуктов корпорации Майкрософт и сведения о стоимости поддержки посетите следующий веб-узел корпорации Майкрософт:
http://support.microsoft.com/contactus/?ws=supportПримечание. В особых случаях оплата, предусмотренная за обращение в службу поддержки может быть отменена, если специалист службы технической поддержки Майкрософт определит, что обновление будет решением проблемы. Затраты на обычные услуги службы поддержки будут применяться к дополнительным вопросам и проблемам, которые не охватываются конкретным обновлением.
Предварительные условия
Следующий список содержит необходимые условия для установки исправления.
-
Microsoft платформа.NET Framework 2.0
Необходимость перезагрузки
Необходимо перезагрузить компьютер после установки этого исправления.
Сведения о файлах
Английская версия данного исправления содержит атрибуты файла (или более поздние атрибуты файлов), приведенные в следующей таблице. Дата и время для этих файлов указаны в формате общего скоординированного времени (UTC). При просмотре сведений о файле, он преобразуется в локальное время. Чтобы узнать разницу между временем по Гринвичу и местным временем, откройте вкладку Часовой пояс элемента «Дата и время» панели управления.
|
Имя файла |
Версия файла |
Размер файла |
Дата |
Время |
Платформа |
|---|---|---|---|---|---|
|
System.dll |
2.0.50727.163 |
3,018,752 |
04-Jun-2006 |
09:24 |
x86 |
Статус
Корпорация Майкрософт подтверждает, что это проблема продуктов Майкрософт, перечисленных в разделе «Относится к».
Дополнительные сведения
Для получения дополнительных сведений щелкните следующий номер статьи базы знаний Майкрософт:
Описание 824684 Стандартные термины, используемые при описании обновлений программных продуктов Майкрософт
Нужна дополнительная помощь?
I have downloaded the MVC Music Store ASP.NET application at location C:UsersDEVESHDesktopProjectsMvcMusicStore-v3.0MvcMusicStore-CompletedMvcMusicStore
and added the website on IIS at the same location. I have also given permission to IIS_IUSRS, but when I run localhost I am getting the error:
HTTP Error 403.14 — Forbidden The Web server is configured to not list the contents of this directory.
I have googled it, but have not found a fix. What I am doing wrong?
Jon Schneider
24.9k21 gold badges144 silver badges167 bronze badges
asked Jul 13, 2013 at 14:42
1
I came across this error because I had the wrong .NET version (v2.0 instead of v4.0) configured on the web site application pool. I fixed it this way on Windows Server 2008 R2 and IIS 7. I’m pretty sure the instructions apply to Windows Server 2012 and IIS 8 as well:
- Press keys Windows+R to open the Run dialog, type inetmgr and then click OK. This opens the IIS Manager.
- In the left treeview, locate the Sites node and find the Default Web Site node under it (or the name of the site where the error message appears).
- Right-click the node and select Manage web site -> Advanced settings…. Note the name of the value Application pool. Close this dialog.
- In the treeview to the left, locate and select the node Application pools.
- In the list to the right, locate the Application pool with the same name as the one you noted in the web site settings. Right-click it and select Advanced settings…
- Make sure that the .NET Framework version value is v4.0. Click OK.
This doesn’t apply if you’re running an older site that actually should have .NET v2.0, of course 🙂
answered Feb 17, 2014 at 20:12
![]()
Daniel PerssonDaniel Persson
2,1511 gold badge17 silver badges24 bronze badges
7
In my case ASP.NET not registered on server. try to execute this in command prompt:
Windows 32bit
%windir%Microsoft.NETFrameworkv4.0.30319aspnet_regiis.exe -ir
Windows 64bit
%windir%Microsoft.NETFramework64v4.0.30319aspnet_regiis.exe -ir
answered Jul 4, 2016 at 8:33
Ruslan_KRuslan_K
4157 silver badges23 bronze badges
4
Just in case if anyone reached here looking for solution, here is how i resolved it. By mistake I deleted all files from my server ( bin directory ) but when i recopied all files i missed App_global.asax.dll and App_global.asax.compiled files. Because these files were missing IIS was giving me this error
403 - Forbidden: Access is denied.
As soon as i added these files, it started working perfectly fine.
answered Aug 13, 2014 at 0:46
ATHERATHER
3,1395 gold badges39 silver badges61 bronze badges
0
I resolved this issue by correcting an error with my Global.asax file arrangement. I had copied across the files from another project and failed to embed the Global.asax.cs within the Global.asax file (both files previously existed at the same level).

answered Aug 24, 2015 at 9:51
1
In my case when I browsed to
site5.com
I got the following error.
HTTP Error 403.14 — Forbidden
The Web server is configured to not list the contents of this directory.
Most likely causes:
A default document is not configured for the requested URL, and directory browsing is not enabled on the server.
And then when I browsed to
site5.com/home/index
I was met with
HTTP Error 404.0 — Not Found
The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.
Most likely causes:
The directory or file specified does not exist on the Web server.
The URL contains a typographical error.
A custom filter or module, such as URLScan, restricts access to the file.
All that I did is installed the feature in IIS ASP.NET 4.8 as shown below.

answered Feb 22, 2020 at 10:09
VivekDevVivekDev
17.7k22 gold badges116 silver badges178 bronze badges
I was using ASP.NET 4.5 MVC application on IIS 7. My fix was to set runallmanagedmodule to true.
<system.webServer>
<modules runAllManagedModulesForAllRequests="true" />
</system.webServer>
or If you have other modules, you may want to add them inside the module tag.
<system.webServer>
<modules runAllManagedModulesForAllRequests="true">
<add name="ErrorLogWeb" type="Elmah.ErrorLogModule, Elmah" preCondition="managedHandler" />
...
</modules>
</system.webServer>
IIS Modules Overview : The Official Microsoft IIS Site
answered Apr 21, 2017 at 14:58
![]()
0
I have encountered similar myself before for 2 reasons;
1. MVC is not installed.
2. The url routing module is not registered (this varies by machine in my workplace for a reason I cannot fully explain — it is not always registered at a system level ), try registering it in the application web.config:
<system.web>
...
<httpModules>
...
<add name="UrlRoutingModule" type="System.Web.Routing.UrlRoutingModule, System.Web.Routing, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
</httpModules>
</system.web>
Edit: I forgot to add the location for iis 7+:
<system.webServer>
<modules>
...
<add name="UrlRoutingModule" type="System.Web.Routing.UrlRoutingModule, System.Web.Routing, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
</modules>
</system.webServer>
answered Jul 13, 2013 at 15:37
![]()
This error can happen when, in IIS Manager, the ASP.NET MVC site is pointed to the wrong directory.
In my case, I inadvertently had the site pointed to the solution directory instead of the child project directory. That is, I had the site’s Physical path set to
C:devMySolution
instead of
C:devMySolutionMyProject.
Specific steps to fix this:
- Open IIS Manager (Start > Run > inetmgr);
- In IIS Manager, in the left pane, expand Sites;
- Under Sites, left-click the ASP.NET MVC website;
- In the right pane, click Basic Settings…;
- In the Edit Site dialog, change the
Physical pathto the project directory. - Click OK.
answered Jul 10, 2017 at 15:06
Jon SchneiderJon Schneider
24.9k21 gold badges144 silver badges167 bronze badges
This error occurs when the application cannot startup.
So the cause can be anything that prevents your application to start.
- Wrong connection string
- Wrong IIS directory permissions
- An exception thrown in your Application_Start() function
- IOC Container initialization error
- IIS ASP.NET registration errors
- Missing DLL in your bin folder
- etc…
answered Dec 15, 2016 at 16:08
Hüseyin YağlıHüseyin Yağlı
9,6666 gold badges43 silver badges49 bronze badges
I faced a similar (but not identical) issue.
I had to go to to Turn Windows features on or off in Control Panel and add ASP.NET 3.5 and 4.7:

Then it worked for me.
answered May 12, 2020 at 20:09
![]()
0
I’ve just had the same problem, but my fix was that the Routing was not configured in the Global.asax.cs file. I’m using Bootstrapper and Castle Windsor, so to resolve this problem I added the following code to Global.asax.cs:
public class MvcApplication : System.Web.HttpApplication
{
protected void Application_Start()
{
Bootstrapper.IncludingOnly.Assembly(Assembly.GetAssembly(typeof(WindsorRegistration)))
.With
.Windsor()
.With
.StartupTasks()
.Start();
}
}
Obviously if you are using the basic MVC then you will need to reference the RouteConfig file in the AppStart folder instead:
public class MvcApplication : System.Web.HttpApplication
{
protected void Application_Start()
{
AreaRegistration.RegisterAllAreas();
FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
RouteConfig.RegisterRoutes(RouteTable.Routes);
BundleConfig.RegisterBundles(BundleTable.Bundles);
}
}
answered Oct 21, 2015 at 13:47
![]()
JohnJohn
1,25816 silver badges25 bronze badges
In my case, i had multiple projects but i had not defined the starting Project.
So this error was generating.
After defining the startUp project solved the issue.
answered Jan 7, 2016 at 15:01
rnsrns
1432 silver badges7 bronze badges
0
I had this error after creating an empty ASP.Net application in Visual Studio. As soon as I added a file index.html to the main solution, it worked. So in my case, I just needed to add a file to the root of the project folder.
answered Jan 4, 2017 at 15:10
![]()
live-lovelive-love
46.1k22 gold badges227 silver badges196 bronze badges
Check this also:
This problem occurs because the Web site does not have the Directory Browsing feature enabled, and the default document is not configured. To resolve this problem, use one of the following methods:
- Method 1: Enable the Directory Browsing feature in IIS (Recommended)
- Method 2: Add a default document Method
- Method 3: Enable the Directory Browsing feature in IIS Express
LINK : https://support.microsoft.com/en-us/kb/942062
answered Nov 10, 2016 at 10:23
![]()
BinoBino
60417 silver badges21 bronze badges
2
If project is a ASP.net MVC project it would be about routing.
In my case I changed default routing values:
routes.MapRoute(
"Default",
"{controller}/{action}/{id}",
new { controller = "Home", action = "Index", id = "" }
);
I changed my code accidentally to:
routes.MapRoute(
"Default",
"{controller}/{action}/{JobID}",
new { controller = "Home", action = "Index", id = "" }
);
Thats I only changed «id» to «JobId» and default route can not be find.
answered May 9, 2016 at 14:55
![]()
Ahmet ArslanAhmet Arslan
4,9621 gold badge31 silver badges34 bronze badges
In my case index.aspx file was not created by default and after adding another web form i did not set the form as start page …After setting the page as start page my issue get resolved .
So right click a web form and set the form as start page
🙂
answered May 12, 2017 at 17:08
IUSR permissions use on a folder if not under inetpub/wwwroot will be solution for some.
answered Feb 20, 2018 at 22:42
![]()
Tom StickelTom Stickel
19.2k6 gold badges110 silver badges113 bronze badges
In my case, I had to disable ‘Exclude files from the App_Data folder’ in my publish profile to deploy the App_Data folder with my XML documentation (XmlDocument.xml). That got rid of the 403.14.
answered Jan 5, 2018 at 21:06
in my case:
1. in IIS Manager, in left tree, left click the computer name, in right dialog click ISAPI and CGT limitation, in open dialog, select ASP.NET v4.0.30319 and select enable. There is two ASP.Net v4.0, one for 32bit, another for 64 bit. select depending on your OS bit.
2. in left tree select app pool, in right dialog, select the app pool your website used. double click that pool, in open dialog, .net framke item select .net framework v.4.0.30319. and pipe..item select integate.
Maybe there is some wrong translation above because my OS is not English version.
answered Jan 26, 2018 at 0:33
![]()
PennyPenny
5861 gold badge6 silver badges15 bronze badges
In case anyone comes across this for a project other than MVC:
My project was a WCF project, which runs off .svc files—no default document. As a result I got a 403.14 error at myhost.com/ but as soon as I added a baseAddress path from my web.config file (ex. myhost.com/mybaseaddresspath.svc I got a webpage.
answered Feb 5, 2019 at 17:38
codeMonkeycodeMonkey
3,8222 gold badges34 silver badges49 bronze badges
My colleagues made a URL Rewrite rule, which reduced all URLs to a StaticFileHandler; mapped to a file path at the root of my Application physical folder.
(i.e. an over-aggressive URL rewrite means that my Controllers/Actions were not working)
Check your applications’ URL Rewrite rules to confirm they do what you expect.
answered May 9, 2019 at 23:44
The Red PeaThe Red Pea
16.6k18 gold badges96 silver badges127 bronze badges
I faced the same issue while developing Business Central application.
Open Business Central Application and Edit Web Client Base URL
under Client Services.
You can enter http://localhost:8080/YourWebServerInstance/

answered Sep 19, 2022 at 19:03
MeliMeli
314 bronze badges
I faced similar issue. My controller name was documents. It manages uploaded documents. It was working fine and started showing this error after completion of code. The mistake I did is — Created a folder ‘Documents’ to save the uploaded files. So controller name and folder name were same — which made the issue.
answered Jan 16, 2019 at 11:59
0
- Remove From My Forums
-
Question
-
Recently, every time I turn on my computer after a shutdown or a restart, I get an error box that says
«Unhandled exception has occurred in your application. If you click continue, the application will ignore this error and attempt to continue. If you clock quit, the application will close immediately.
The remote server returned an error: (403) Forbidden.»
The exception text says:
System.Net.WebException: The remote server returned an error: (403) Forbidden.
at System.Net.WebClient.DownloadFile(Uri address, String fileName)
at System.Net.WebClient.DownloadFile(String address, String fileName)
at services.Form1.Form1_Load(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Answers
-
-
Marked as answer by
Tuesday, March 26, 2013 7:29 AM
-
Marked as answer by
-
The clean boot did not have any issues. Am I right in guessing that I should use process of elimination to figure out which service is causing the error?
-
Marked as answer by
Niki Han
Tuesday, March 26, 2013 7:29 AM
-
Marked as answer by
When I try to view the report, I got the error «The remote server returned an error: (403) Forbidden. «. And in the event log , I got the detaiil excception:
Event Type: Warning
Event Source: ASP.NET 2.0.50727.0
Event Category: Web Event
Event ID: 1309
Date: 2007-7-16
Time: 11:28:29
User: N/A
Computer: WEIGUANG
Description:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 2007-7-16 11:28:29
Event time (UTC): 2007-7-16 3:28:29
Event ID: 3c4daa414c89430786c106f3c9085b56
Event sequence: 10
Event occurrence: 1
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/1/Root/Reports-2-128290300818412520
Trust level: RosettaMgr
Application Virtual Path: /Reports
Application Path: C:Program FilesMicrosoft SQL ServerMSSQL.3Reporting ServicesReportManager
Machine name: WEIGUANG
Process information:
Process ID: 4152
Process name: w3wp.exe
Account name: NT AUTHORITYNETWORK SERVICE
Exception information:
Exception type: WebException
Exception message: The remote server returned an error: (403) Forbidden.
Request information:
Request URL:
http://localhost/Reports/Reserved.ReportViewerWebControl.axd?OpType=StyleSheet&Version=2005.090.3042.00
Request path: /Reports/Reserved.ReportViewerWebControl.axd
User host address: 127.0.0.1
User: ASIAPACIFICliweig
Is authenticated: True
Authentication Type: NTLM
Thread account name: NT AUTHORITYNETWORK SERVICE
Thread information:
Thread ID: 5
Thread account name: NT AUTHORITYNETWORK SERVICE
Is impersonating: True
Stack trace: at Microsoft.Reporting.WebForms.ServerReport.ServerUrlRequest(Boolean isAbortable, String url, Stream outputStream, String& mimeType, String& fileNameExtension)
at Microsoft.Reporting.WebForms.ServerReport.GetStyleSheet(String styleSheetName)
at Microsoft.Reporting.WebForms.ReportServerStyleSheetOperation.PerformOperation(NameValueCollection urlQuery, HttpResponse response)
at Microsoft.Reporting.WebForms.HttpHandler.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Custom event details: For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
I’m using reporting service 2005, does anybody know the reason?
Many thanks.
Kevin
![]()
The problem
A rather common issue when installing an ASP.NET MVC powered by .NET Framework 4 on IIS 7.0 or higher is the sudden appearance of a HTTP Error 403 — Forbidden upon launch:
HTTP Error 403.14 — Forbidden — The Web server is configured to not list the contents of this directory.
The text might vary, but the meat is the same: despite anonymous authentication is enabled and all the permissions are set (IUSR, IIS_IUSRS, NetworkService), the web application refuses to run properly.
The fix
Well. the first thing to do obviously is to ensure that what we mentioned above is properly set: anonymous authentication must be set to enabled (Authentication icon in IIS settings) and all the aforementioned users permissions must be properly assigned (filesystem wise). If everything has been handled correctly, you can proceed to add the following section to your web application‘s web.config file:
|
<system.webServer> <modules runAllManagedModulesForAllRequests=«true»/> </system.webServer> |
Once you do that, you can try to deploy your application again: the issue should be solved.
IT Project Manager, Web Interface Architect and Lead Developer for many high-traffic web sites & services hosted in Italy and Europe. Since 2010 it’s also a lead designer for many App and games for Android, iOS and Windows Phone mobile devices for a number of italian companies. Microsoft MVP for Development Technologies since 2018.
View all posts by Ryan →
When I try to view the report, I got the error «The remote server returned an error: (403) Forbidden. «. And in the event log , I got the detaiil excception:
Event Type: Warning
Event Source: ASP.NET 2.0.50727.0
Event Category: Web Event
Event ID: 1309
Date: 2007-7-16
Time: 11:28:29
User: N/A
Computer: WEIGUANG
Description:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 2007-7-16 11:28:29
Event time (UTC): 2007-7-16 3:28:29
Event ID: 3c4daa414c89430786c106f3c9085b56
Event sequence: 10
Event occurrence: 1
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/1/Root/Reports-2-128290300818412520
Trust level: RosettaMgr
Application Virtual Path: /Reports
Application Path: C:Program FilesMicrosoft SQL ServerMSSQL.3Reporting ServicesReportManager
Machine name: WEIGUANG
Process information:
Process ID: 4152
Process name: w3wp.exe
Account name: NT AUTHORITYNETWORK SERVICE
Exception information:
Exception type: WebException
Exception message: The remote server returned an error: (403) Forbidden.
Request information:
Request URL:
http://localhost/Reports/Reserved.ReportViewerWebControl.axd?OpType=StyleSheet&Version=2005.090.3042.00
Request path: /Reports/Reserved.ReportViewerWebControl.axd
User host address: 127.0.0.1
User: ASIAPACIFICliweig
Is authenticated: True
Authentication Type: NTLM
Thread account name: NT AUTHORITYNETWORK SERVICE
Thread information:
Thread ID: 5
Thread account name: NT AUTHORITYNETWORK SERVICE
Is impersonating: True
Stack trace: at Microsoft.Reporting.WebForms.ServerReport.ServerUrlRequest(Boolean isAbortable, String url, Stream outputStream, String& mimeType, String& fileNameExtension)
at Microsoft.Reporting.WebForms.ServerReport.GetStyleSheet(String styleSheetName)
at Microsoft.Reporting.WebForms.ReportServerStyleSheetOperation.PerformOperation(NameValueCollection urlQuery, HttpResponse response)
at Microsoft.Reporting.WebForms.HttpHandler.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Custom event details: For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
I’m using reporting service 2005, does anybody know the reason?
Many thanks.
Kevin
When I try to view the report, I got the error «The remote server returned an error: (403) Forbidden. «. And in the event log , I got the detaiil excception:
Event Type: Warning
Event Source: ASP.NET 2.0.50727.0
Event Category: Web Event
Event ID: 1309
Date: 2007-7-16
Time: 11:28:29
User: N/A
Computer: WEIGUANG
Description:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 2007-7-16 11:28:29
Event time (UTC): 2007-7-16 3:28:29
Event ID: 3c4daa414c89430786c106f3c9085b56
Event sequence: 10
Event occurrence: 1
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/1/Root/Reports-2-128290300818412520
Trust level: RosettaMgr
Application Virtual Path: /Reports
Application Path: C:Program FilesMicrosoft SQL ServerMSSQL.3Reporting ServicesReportManager
Machine name: WEIGUANG
Process information:
Process ID: 4152
Process name: w3wp.exe
Account name: NT AUTHORITYNETWORK SERVICE
Exception information:
Exception type: WebException
Exception message: The remote server returned an error: (403) Forbidden.
Request information:
Request URL:
http://localhost/Reports/Reserved.ReportViewerWebControl.axd?OpType=StyleSheet&Version=2005.090.3042.00
Request path: /Reports/Reserved.ReportViewerWebControl.axd
User host address: 127.0.0.1
User: ASIAPACIFICliweig
Is authenticated: True
Authentication Type: NTLM
Thread account name: NT AUTHORITYNETWORK SERVICE
Thread information:
Thread ID: 5
Thread account name: NT AUTHORITYNETWORK SERVICE
Is impersonating: True
Stack trace: at Microsoft.Reporting.WebForms.ServerReport.ServerUrlRequest(Boolean isAbortable, String url, Stream outputStream, String& mimeType, String& fileNameExtension)
at Microsoft.Reporting.WebForms.ServerReport.GetStyleSheet(String styleSheetName)
at Microsoft.Reporting.WebForms.ReportServerStyleSheetOperation.PerformOperation(NameValueCollection urlQuery, HttpResponse response)
at Microsoft.Reporting.WebForms.HttpHandler.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Custom event details: For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
I’m using reporting service 2005, does anybody know the reason?
Many thanks.
Kevin
While hosting the ASP.NET or ASP.NETet MVC application on IIS on new system, you might have faced this exception on browser
“HTTP Error 403.14 – Forbidden The Web Server is configured not to list the contents”.
To fix this issue, you might have to check the two possible settings in IIS.
First — Make sure that .NET Framework version value is v4.0.
For this, you have to do, as shown below.
- Open the Run dialog, type inetmgr and click OK. This opens IIS Manager.
- In the left tree-view, locate the Sites node and find the Default Web Site node under it (or the name of the site where the error message appears).
- Right-click the node and select Manage web site -> Advanced settings…. Note the name of the value Application pool. Close this dialog.
- In the treeview to the left, locate and select the node Application pools.
- In the list to the right, locate the Application pool with the same name as the one you noted in the Website settings. Right-click it and select Advanced settings
- Make sure that .NET Framework version value is v4.0. Click OK.
Second — ASP.NET is not registered on the ServerFor this you have to go to.
>>Visual Studio.
>> Subsequently, go to Visual Studio Tool >> Visual Studio Command Prompt.
>> Now, go to the given path C:WindowsMicrosoft.NETFramework64v4.0.30319.
>> Run the aspnet_regiis.exe -ir.

SummaryWe show the two possible fix for HTTP Error 403.14 – Forbidden The Web Server is configured to not to list the contents exception.