Windows error 0x800700B7, -2147024713

Detailed Error Information

ALREADY_EXISTS[1]

MessageCannot create a file when that file already exists.
Declared inwinerror.h

HRESULT analysis[2]

FlagsSeverityFailure
Reserved (R)false
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode7 (0x007)
NameFACILITY_WIN32[2][1]
DescriptionThis region is reserved to map undecorated error codes into HRESULTs.[2][1]
Error Code183 (0x00b7)

This is a Win32 error which has been mapped into an HRESULT. More information may be available in error 0x000000b7.

Questions

41votes
4answers

"Cannot create a file" error when running Start-Website command in Powershell

Currently I'm trying to run this powershell script: Param ( $websiteName, $physicalPath ) import-module WebAdministration $website = get-website | where-object { $_.name -eq "$websiteName" } if($website -eq $null){ New-webapppool -Name "$websiteName" Set-WebConfiguration -filter "/system.applicationHost/applicationPools/add[@name='$websiteName']" -PSPath IIS:\ -value (@{managedRuntimeVersion="v4.0"}) New-website -Name "$websiteName" -PhysicalPath "$physicalPath" -ApplicationPool "$websiteName" start-website "$websiteName" } I use [...] read more
powershell
iis-7
27votes
7answers

Cannot start IIS Express

I has just installed Visual Studio 2012 and wanted to create my first WCF Service Application. I am a Java developer coming to .NET world, so please be understanding :) I have created a new C# project WCF Service Application. Then I hit Debug (or F5) and I get an [...] read more
c#
wcf
iis
visual-studio-2012
25votes
2answers

IIS Express - HTTP Error 500.19 0x800700b7 on 'mimeMap' for 'fileExtension' set to '.svg'

I was adding the ability to serve SVG & WOFF files to my Azure hosted web application. I found the following instructions: https://blogs.iis.net/richma/archive/2014/01/07/adding-mime-types-to-your-windows-azure-web-site.aspx Which I have followed by adding the below text to my Web.config file: <staticContent> <mimeMap fileExtension=".json" mimeType="application/json" /> <mimeMap fileExtension=".svg" mimeType="image/svg+xml" /> <mimeMap fileExtension=".woff" mimeType="application/x-font-woff" /> </staticContent> [...] read more
asp.net-mvc
iis
svg
mime-types
iis-express
16votes
1answer

maxRequestLength for .Net 4.5.1 framework

I want to convert a .Net framework 4.0 code into .Net framework 4.5. This is basically a file upload related code. Now I face some problems. What is the maximum value of maxRequestLength? I already add this line in my web.config file but it does not work and the Error [...] read more
asp.net-mvc
16votes
1answer

Elmah.MVC working under IIS Express but not IIS 7.5

I'm trying to get Elmah working under ASP.NET MVC and I thought I had. I used the very convenient Elmah MVC project which automatically setup my web.config file. Now if I run the project under IIS Express then Elmah works just perfectly. I can access it with the correct Authorisation [...] read more
asp.net-mvc
asp.net-mvc-4
web-config
elmah.mvc
11votes
1answer

Can't profile in visual studio

When I try to profile in VS2017 15.3 I get the following message on screen: "Microsoft Visual Studio encountered an error during your diagnostics session" In the Diagnostics Hub below the following message appears: "Failed to start trace session (0x800700b7)" After some web searching I found the following way to [...] read more
windows
visual-studio
profiling
diagnostics
8votes
2answers

How to configure the port number of IIS Express to another port other than 8080.

I've seen numerous other posts on this topic, but none that solves my problem (and I'm pulling my hair out trying to get this working!). I'm trying to create a simple one-page website in VS2013 (windows 8.1) and view the page in Firefox and I can't do it - I [...] read more
visual-studio-2013
iis-express
6votes
1answer

DotNetOpenAuth template doesn't work when published

I got the DotNetOpenAuth template (sample) working just fine on my computer locally (as localhost) but when i publish it to my server I get this error: Error Summary HTTP Error 500.19 - Internal Server Error The requested page cannot be accessed because the related configuration data for the page [...] read more
c#
asp.net
iis
.net-4.0
iis-7.5
5votes
1answer

Windows 8 - Moving Users Folder from SSD to HDD - "local volumes are required to complete the operation", cannot complete system restore

I am trying to move C:\Users (SSD) to B:\Users (HDD) using the following tutorial on a clean install of Windows 8 -> upgraded to 8.1 straight away: http://webcache.googleusercontent.com/search?q=cache:http://www.itnota.com/move-users-directory-to-a-different-drive-in-windows-8/ They are mapped in the following way: SSD - C:\ in Explorer, D:\ in Command Prompt HDD - B:\ in Explorer, E:\ [...] read more
windows-8
hard-drive
ssd
users
mklink
5votes
3answers

IIS 500.19 error on ASP.NET 4.0 sub-application

I've created a "test" application below the main application on my website which is an exact duplicate of the main application - I use the /test app to test new changes before putting them in production. After upgrading the app from .NET 3.5 to .NET 4.0, my /test application refuses [...] read more
asp.net
5votes
3answers

Wix 3.5 & IIS7 - WriteIIS7ConfigChanges Failed - Whilst attempting to install three web applications as virtual directories to default website

I'm hoping somebody could perhaps help me with a problem I'm experiencing using Wix 3.5.2519.0 on a Windows Server 2008 with the IIS7 & IIS6 Compatibility features installed. THE MSI LOG FILE We are encountering the following errors whilst attempting to define three virtual web application directories beneath the default [...] read more
iis-7
wix
wix3.5
5votes
1answer

Why is ServiceModel sometimes declared in Framework folder's Web.config and sometimes not?

We're deploying an ASP.NET 4.0 web application that has this declaration in the <httpModules> section of its Web.config file: <add name="ServiceModel" type="System.ServiceModel.Activation.HttpModule, System.ServiceModel.Activation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="managedHandler"/> On most installations, this is both fine and necessary. However, on two installations we got the below error about duplicate entries. In the [...] read more
asp.net
web-config
4votes
3answers

.NET Core 2.2 - "HTTP Error 500.30 - ANCM In-Process Start Failure"

When hosting an ASP.NET Core MVC application on Windows Server 2016 data center running IIS 10, the application fails to load with the message: > HTTP Error 500.30 - ANCM In-Process Start Failure I created the application with Visual Studio 2017 (9) using .NET Core 2.2 although I installed .NET [...] read more
asp.net-core
.net-core
4votes
1answer

UWP StorageFolder access to the Downloads folder

I have done a ton of research on MSDN and SO but there seem to be a lot of mixed reviews on this topic and no straightforward answer. My UWP app needs to download some items for the user. It seems only logical that this goes into the "downloads" folder [...] read more
c#
.net
uwp
windows-10
windows-10-universal
4votes
3answers

Azure Compute Emulator Wont Start

For a while now my Azure Compute Emulator will not start. When I try, I receive the following error: Cannot create a file when that file already exists. (Exception from HRESULT: 0x800700B7) If I hit show detail I get the below message: System.Runtime.InteropServices.COMException (0x800700B7): Cannot create a file when that [...] read more
azure
visual-studio-2015
azure-compute-emulator
4votes
4answers

How do I set up a local ASP.NET 2.0 site in IIS7 for local testing?

This thing is so confusing compared to the old IIS, I haven't even found where to pick the version of .NET still. I had to comment out the and from my web.config because I kept getting: > This configuration section cannot be used at this path. This happens when the [...] read more
asp.net
iis
iis-7
installation
local
3votes
3answers

Azure WebJob deployment keeps failing

Since yesterday I'm suddenly having consistent deployment failures for my existing WebJobs. The error I'm getting is Start Web Deploy Publish the Application/package to https://octotrip-api-test-dev.scm.azurewebsites.net/msdeploy.axd?site=octotrip-api-test__dev ... Adding sitemanifest (sitemanifest). Adding directory (XXX\app_data). Adding directory (XXX\app_data\jobs). Adding directory (XXX\app_data\jobs\continuous). C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\Microsoft\VisualStudio\v15.0\Web\Microsoft.Web.Publishing.targets(4295,5): Error : Web deployment task failed. ((3/16/2017 [...] read more
azure
deployment
azure-webjobs
msdeploy
webjob
3votes
0answers

Cannot start Windows process activation service on Windows 10

After upgrading from Windows 7 Pro x64 to Windows 10 Pro x64, I cannot start IIS. Most of the Windows 10 system works fine. Some study tells me that the primary problem is that the Windows Process Activation Service (WAS) will not start. I have another machine that upgraded to [...] read more
iis
service
windows-10
3votes
1answer

HTTP Error 500.19 - Internal Server Error 0x800700b7

I am trying to publish a webservice and i am getting error which says : HTTP Error 500.19 - Internal Server Error The requested page cannot be accessed because the related configuration data for the page is invalid. I have the following details: Module DefaultDocumentModule Notification ExecuteRequestHandler Handler StaticFile Error [...] read more
asp.net
web-services
iis-7
web-config
3votes
1answer

VS 2013 / IIS Express - serve site from localhost:port/myapp instead of localhost:port

In prod my site (mvc5) is hosted on https://company.no/myApp/ where myApp is an Application on IIS. In dev my site is hosted on IIS Express on http://localhost:54307/ As this causes some truble with server relative paths I would like to also do my debugging on http://localhost:54307/myApp. This is what I've [...] read more
asp.net
asp.net-mvc
iis
visual-studio-2013
iis-express
3votes
1answer

Visual Studio - Debug gives error 0x800700b7

The issue: Upon trying to debug my site using Visual Studio 2012 and 2013, I receive the error "0x800700b7" telling me I have duplicate entries of an HTTP module in the web.config. The attempted solutions:Microsoft's page on that particular error, http://support.microsoft.com/kb/942055, did not help my situation personally, but it might [...] read more
asp.net
visual-studio-2012
2votes
0answers

App URL setting broken for .NET Core 2.0 projects in Visual Studio 2017 15.5.0

I recently upgraded Visual Studio 2017 to version 15.5.0 and later on to 15.5.1. So far everything was working fine developing .NET Core (2.0) web apis but after the updates the problems started. The problems occur on existing projects as well as newly created ones. Problems: Sometimes I receive the [...] read more
visual-studio-2017
asp.net-core-2.0
swashbuckle
.net-core-2.0
asp.net-core-mvc-2.0
2votes
2answers

hosting multiple asp.net core applications

I am trying create a web app container and have another asp.net core application under it . the tree structure is something like this on IIS. Main Application (my.localhost.com/) Sub Application (my.localhost.com/subapp) after Publishing the projects to IIS and viewing my.localhost.com in browser ever thing works fine but when i [...] read more
asp.net-mvc
iis
asp.net-core
asp.net-core-mvc
2votes
2answers

UWP Background Task - Application Trigger - Cannot create a file when that file already exists

In UWP I'm trying to create a simple background task on demand. So when I click a button, I want a background task to kick off and process some files in the background. Below is what my basic Task code is: public class BackgroundSyncService { private ApplicationTrigger trigger = new [...] read more
uwp
background-process
background-task
2votes
2answers

Unable to connect my MVC web appliaction to Oracle Database using code first method

I am trying to connect my web application to oracle database using code first approach it is not connecting throwing a error message as below Error Code : 0x800700b7 Config Error: There is a duplicate 'oracle.manageddataaccess.client' section defined after googling tried to comment oracle.manageddataaccess.client section in my machine.config file but [...] read more
oracle
model-view-controller
code-first
2votes
1answer

Running same application throwing error in IIS express

I was running a project say ProjectA in visual studio 2015 and for some reason, I have created a copy of that project say CopyProjectA.While running that copied project, i.e CopyProjectA project it was showing an error > Port number is in use So for that, I changed the port [...] read more
asp.net
visual-studio-2015
iis-express
2votes
1answer

IIS application creation fails with BTDF

In Biztalk 2010 and Biztalk Deployment Framework 5.0 (BTDF) I want a virtual directory to be created. I added the VDir sections in the .btdfproj file, but after deploy via the IDE (but also from the built MSI), I get these errors: C:\Program Files (x86)\MSBuild\DeploymentFrameworkForBizTalk\5.0\ BizTalkDeploymentFramework.targets(1646,5): error MSB4018: The "CreateVirtualDirectory" [...] read more
biztalk
biztalk-2010
biztalk-deployment
btdf
2votes
1answer

IIS Express SSL This webpage is not available

I have a ASP.NET MVC5 project running on IIS Express and Visual Studio 2013. I want to add SSL support to localhost for testing. I have followed the steps detailed in numerous blogs. Specifically this one from Hanselman. When I test my site via port 44300 I get the response [...] read more
asp.net
ssl
iis-express
2votes
1answer

WebAppPool fails if AppPool already exists - WiX 3.5

This was working in WiX 3.0. <Directory Id="TARGETDIR" Name="SourceDir"> <Directory Id="inetpubDir" Name="inetpub"> <Directory Id="wwwrootDir" Name="wwwroot"> <Directory Id="INSTALLDIR" Name="DS3000Services" FileSource="\Server\Implementation\DS3000Services\Web"> <Component Id="DS3000ServicesVirtualDir" Guid="{4EFD7047-09F4-42e7-ACB5-A209D26B0338}"> <CreateFolder /> <iis:WebAppPool Id="AppPool" Name="[AppPoolName]" Identity="other" User="PortalUser" IdleTimeout="0" RecycleMinutes="0"> <iis:RecycleTime Value="1:00" /> </iis:WebAppPool> <iis:WebVirtualDir Id="DS3000ServicesVirtualDir" Alias="[VIRTUALDIR]" Directory="INSTALLDIR" WebSite="DefaultWebSite"> <iis:WebApplication Id="DS3000ServicesApp" Name="DS3000 Services" Isolation="medium" WebAppPool="AppPool" /> </iis:WebVirtualDir> </Component> Install [...] read more
wix
wix3.5
2votes
1answer

IIS - creating new web site throws exception

Running the following code: DirectoryEntry w3svc = new DirectoryEntry("IIS://localhost/w3svc"); int siteId = GetUniqueSiteId(Path); private string DEFAULT_WEB_SITE_PHYSICAL_PATH = System.IO.Path.GetPathRoot(Environment.SystemDirectory) + @"inetpub\wwwroot"; object[] newsite = new object[] { "Default Web Site", new object[] { ":80:" }, DEFAULT_WEB_SITE_PHYSICAL_PATH, siteId }; w3svc.Invoke("CreateNewSite", newsite); throws the following exception: > System.Reflection.TargetInvocationException: Exception has been thrown by [...] read more
c#
iis
windows-2003-webserver
1vote
1answer

Diagnosing boot performance on Win7

I am trying to diagnose the problems I've been having with boot-up on my machine. The system drive is an SSD, so it should be fairly quick. However there is one moment, right after the "Welcome" wheel where I get the mouse and a black screen for a very long [...] read more
windows-7
boot
performance
1vote
1answer

IIS 7.5 / Windows 7: Error 500.19, error code 0x800700b7

I have been trying to resolve this issue. I am using Windows 7 and VS2008 +iis7.5. My project is stuck because of this error. The error says: Error Summary HTTP Error 500.19 - Internal Server Error The requested page cannot be accessed because the related configuration data for the page [...] read more
asp.net
iis-7.5
500-error
500
1vote
0answers

Cannot launch IIS Express for just created project in Visual Studio 2019

I haven't had this problem before. I have created a blank solution in Visual Studio 2019 and then, I created an ASP.NET Web Application (.NET Framework). I did nothing else, just run the application. After rebuilt, this error was shown: > Unable To Launch IIS Web server. Failed to register [...] read more
visual-studio-2019
iis-express
1vote
1answer

Visual Studio 2013 IIS Express

I cannot use VS2013 due to the fact that the "Visual Studio Development Server" option is missing. You can only use IIS Express, or an external host. When I use IIS Express, I get one of several errors when I launch a website with F5. 1. Failed to register URL [...] read more
visual-studio-2013
iis-express
1vote
1answer

HTTP Error 500.19 When trying to Change Max Reqest Length

I am trying to have a basic feature for uploading audio files to my website. I ran across the max length error and used the solution found here. However, whenever I try to run the website I get HTTP Error 500.19 with error code 0x800700b7. My web I config looks [...] read more
iis
web-config
1vote
1answer

In web.config, A duplicate 'system.web.webPages.razor / host' section is defined

I'm trying to run this app https://github.com/martinokello/EntertainmentTicketMaster But when I run this app, some errors happen. -------------------------------------------------------------------------------- Module IIS Web Core Notification BeginRequest Handler Not yet determined Error Code 0x800700b7 Configuration error A duplicate 'system.web.webPages.razor / host' section is defined. Requested URL http://localhost:6848/Views/Account/Login.cshtml Physical Path F:\code\EntertainmentTicketMaster- master\EntertainmentTicketMaster\Views\Account\Login.cshtml Logon Method Not [...] read more
web-config
1vote
1answer

Run two different ASP.NET 5 applications under the same Azure Web App

I have had a look at this question: Publish WebAPI and MVC projects to same Azure Web Site? but it doesn not work properly for the "secondary" application. and from that I learned about virtual directories in Azure web app services ( previously called Azure websites). I am trying to [...] read more
azure
asp.net-core
azure-web-app-service
1vote
4answers

ColdFusion 11 installation unsuccessful

I installed ColdFusion 11 Developer version (downloaded from Adobe site 3 months trial) on Windows 8.1 and IIS7. I got this error when trying to open the ColdFusion administrator (see below). Is there a step by step example on how to fix this? HTTP Error 500.19 - Internal Server Error [...] read more
iis
coldfusion
coldfusion-11
1vote
0answers

How do I implement Authentication In ASP.NET MVC and Web API?

I want to implement authentication and authorization in my MVC and Web API projects. For cross browser and mobile access, we are implementing Web API into our project. In our Views, we are using normal controllers. For data we are using API controllers. How can I achieve role-based access and [...] read more
authentication
asp.net-web-api
asp.net-mvc-5
1vote
2answers

Hosting ASP.NET site in IIS 7

I was hosting published site in IIS 7 on Windows 7 installed machine. I had done setting for .NET framework version, Security Options but got Error as shown below > HTTP Error 500.19 - Internal Server Error > > The requested page cannot be accessed because the related configuration data [...] read more
asp.net
iis-7
iis-7.5
1vote
0answers

How to build a solution or run an asp.net project from a folder containing .aspx.cs, .cs, .config and .css files

NET and C#. I have a fair understanding of executing a web app built on wamp/lamp framework. However here I have the following files for the project (mentioned below). I am unable to figure out how to get the web app running on my local machine. With wamp/lamp, all we [...] read more
c#
asp.net
.net
1vote
0answers

IIS Error: Cannot add duplicate collection entry of type 'add' with unique key attribute 'name' set to 'AuthenticationModule'

I am getting a duplicate key error but I am not seeing where the duplicate is? I see only one entry in my web.config file for that key. Where else would that duplicate exist? Error Info... Detailed Error Information: Module IIS Web Core Notification BeginRequest Handler Not yet determined Error [...] read more
asp.net
iis
1vote
1answer

IIS HTTP Error 500.19 - Internal Server Error

I recently had to reformat my laptop and ever since I did I can't get IIS to work correctly. Ive given it all the same permissions it needs. I set it up the same way I did before the reformat, which is why I'm so confused that I can't get [...] read more
asp.net
iis
1vote
1answer

create a folder and save the choosing image in createfolder using fileopenpicker in windows 8

i'm trying to create a newfolder in documentlibrary and using FileOpenPicker to choose an image to save the createfolder... I'm facing the error is: > An exception of type 'System.Exception' occurred in mscorlib.dll but was not > handled in user code > > Additional information: Cannot create a file when [...] read more
c#
microsoft-metro
1vote
1answer

HTTP Error 500.19 - Internal Server Error” with Dynamic Data

I have a simple Dynamic Data application set up using forms authentication as the admin section of another web application. This works when I run it inside Visual Studio as a standalone project. I've deployed it to my live site inside an application directory and I get the following error: [...] read more
asp.net
iis-7
dynamic-data
1vote
0answers

Hosting a silverlight 3 business application in IIS 7 app pool

I have a silverlight 3 business application. It is running fine in my local IIS6. But now I want to host this app through an ISP where they have IIS7 or higher. After deploying the application I am getting a HTTP Error 500.19 - Internal Server Error. the detailed error [...] read more
silverlight
iis-7
web-config
shared-hosting
1vote
1answer

when Make IIS7.5 Web Site an Application - Server Error in Application "DEFAULT WEB SITE"?

> HTTP Error 500.19 - Internal Server Error > > The requested page cannot be accessed because the related configuration data > for the page is invalid. > > Detailed Error Information > Module DefaultDocumentModule > Notification ExecuteRequestHandler > Handler StaticFile Error > Code 0x800700b7 > Config Error Cannot add [...] read more
asp.net
iis-7
iis-7.5
0votes
1answer

Something happened and this app couldn't be installed

> Something happened and this app couldn't be installed. > > Please Try Again. Error Code: 0x800700b7. I got this message while trying to upgrade an app in my new Windows 8 PC. What is the fix? read more
windows-8
0votes
1answer

IIS not showing index page after migration

I am trying to migrate my company intranet site form a Windows 2008 R2 server to a new Windows 2016 server (different computer name). I exported the application pools and site successfully and imported them into the new server successfully. I changed the bindings to the new server but one [...] read more
iis
iis-7
0votes
0answers

When I try adding a new site to iis 8.5 on Windows Server 2012 R2 it says it already exists

When I try adding a new site to iis 8.5 on Windows Server 2012 R2 it says it already exists. This is the first site I'm trying to add. I am not finding where this site may or may not exist. Essentially what I am trying to do is copy [...] read more
iis
windows-server-2012-r2
asp.net
iis-8.5
0votes
1answer

"HTTP Error 500.19 - Internal Server Error" with Dynamic Data

I have a simple Dynamic Data application set up using forms authentication as the admin section of another web application. This works when I run it inside Visual Studio as a standalone project. I've deployed it to my live site inside an application directory and I get the following error: [...] read more
iis-7
configuration
500-error
0votes
1answer

Cannot add duplicate collection entry of type 'add' with unique key attribute 'name' set to 'WebServiceHandlerFactory-ISAPI-4.0_64bit'

I have a Internet Information Services installed on a Windows Server 2019. In the IIS I have hosted a svc service, but when i browse the service i'm getting the error below: Module IIS Web Core Error Code 0x800700b7 Config Error Cannot add duplicate collection entry of type 'add' with [...] read more
asp.net
iis
iis-7.5
iis-8
0votes
0answers

Spring.NET does not support virtual apps in IIS Express

I am running two web apps on IIS Express: * localhost:8000/ <- Web App 1, ASP.NET Webforms * localhost:8000/subdir <- Web App 2, ASP.NET MVC I am using .NET Framework 4.5.2. I am getting back a 500: HTTP Error 500.19 - Internal Server Error Module IIS Web Core Notification BeginRequest [...] read more
webforms
iis-express
spring.net
0votes
0answers

Why does -ErrorAction 'silentlycontinue' work on script A but not B

Update2: I changed script B to the following and the terminal shows two error output logs. Why would it choose both else statements at once? ############################## ######## CREATE TASKS ######## ############################## # ## ERROR STDOUT PREFERENCE ### $ErrorActionPreference = 'silentlycontinue' # ###### TIME-SPAN VALUE ####### $TimeSpan = New-TimeSpan -Minutes 3 [...] read more
performance
powershell
scheduled-tasks
0votes
0answers

Attaching SSL certificate to sub bindings of main website on IIS server

I have created a sub binding to my main site and want to bind ssl certificate to the sub binding. Below is my code string iisPortNumber = "443"; string iisBindingProtocol = "https"; string bindingUrl = "subadmin.domain.com"; CreateBinding(iisSiteName, iisPortNumber, iisBindingProtocol, bindingUrl); public void CreateBinding(string iisSiteName, string iisPortNumber, string iisBindingProtocol, string bindingUrl) [...] read more
c#
asp.net-mvc
0votes
1answer

web.config to route all request to index.php except for physical files and directories

im trying to upload a php script to windows iis server in php script we have a htacess file which routes all the request to index.php so we can have site.com/something instead of site.com/index.php?/something but it doesnt work on the windows server so i tried to find web.config version here [...] read more
laravel
.htaccess
iis
web-config
0votes
0answers

IIS Website in Docker starting as "Stopped"

I'm using the microsoft/aspnet:4.7.1 to host ASP.NET MVC inside a docker container, but I also need SSL, so I've added the binding as the container starts The container starts fine, but on looking at the IIS Website, it's marked as Stopped. I can't see anything in the event logs, to [...] read more
asp.net
powershell
docker
iis
windows-server-2016
0votes
2answers

PerfView - Cannot create a file when that file already exists. (Exception from HRESULT: 0x800700B7)

When I try to create an ETL file using PerfView v1.9.0.0 (Collect -> Collect -> Start Collection, with default parameters) the operation fails stating "An exceptional condition occurred, see log for details." Below is what I see in the log: Started with command line: "C:\Users\XYZ\Desktop\PerfView.exe" PerfView Version: 1.9.0.0 BuildDate: Fri [...] read more
perfview
0votes
1answer

HTTP Error 500.19 - Internal Server Error,Error Code 0x800700b7

This question is already asked : https://stackoverflow.com/questions/34433148/how-to-solve-http-error-500-19-internal-server-error-error-code-0x800700b7 Pls help this issue. The requested page cannot be accessed because the related configuration data for the page is invalid. The Project works well on localhost , but when hosted in server we get the above error. Project URL : http://vancrm.fluead.com/ How to [...] read more
c#
asp.net
web-config
0votes
1answer

Azure Storage Emulator fails after update to Windows 10 Anniversary update

About a week ago my machine got the Windows Anniversary update. Since then I have not been able to start the Azure Storage Emulator. I've tried uninstalling and re-installing the Azure Storage Emulator and SQL Express Local DB. I've also tried the steps outlined here. Neither resolved the issue. The [...] read more
sql-server
azure
azure-storage
0votes
1answer

Exception When Creating Folder

I'm trying to save a bunch of files into a folder. That folder will already exist, but I want to completely delete it and its contents and save the new files into the folder. I'm using the following code: Project project; //This is a parameter handed in when the method [...] read more
c#
file
uwp
inkcanvas
0votes
0answers

I am getting error while running application.Failed to register URL for site (application)

error code :0x800700b7 Can not create file when that file is already exist. I am trying to run web application along with wcf service(Multiple start up projects) > Please see image below. enter image description here [https://i.stack.imgur.com/vZPlN.png] read more
asp.net
wcf
azure
iis
iis-6
0votes
1answer

MVC 4 app is not working properly on Windows 10?

My laptop was switched from Windows 7 to Windows 10 and Im doing MVC 4 development on it with VS 2012 Profesional. The problem is the after reinstallation the application in not stable on local machine. The problem are: Behavior 1) while opening project in VS 2012 profesional error apears: [...] read more
c#
asp.net-mvc-4
visual-studio-2012
windows-10
0votes
1answer

DISM fails after SQL Silent install

I am working with an Installscript Project and i have a few features that the user can install. When the user selects to install both SQL Server Express 2008 and a webclient application, DISM is failing. SQL install runs first and installs with no issues, the Webclient installs second and [...] read more
sql-server
sql-server-2008-r2
installshield
installscript
dism
0votes
1answer

HTTP Error 500.19 - Internal Server Error issue with iis

I am getting following error from my hosted site HTTP Error 500.19 - Internal Server Error The requested page cannot be accessed because the related configuration data for the page is invalid. Detailed Error Information Module ProtocolSupportModule Notification SendResponse Handler ExtensionlessUrlHandler-Integrated-4.0 Error Code 0x800700b7 Config Error Cannot add duplicate collection [...] read more
iis
iis-7
http-error
0votes
1answer

IIS7: Virtual Directory Shares Site's Physical Path

I would like to set the physical path of a site's virtual directory in IIS7 to be the same as the parent site. When I do this, I get the error Cannot create a file when that file already exists. (Exception from HRESULT: 0x800700B7) when trying to edit the web.config [...] read more
iis-7
directory
virtual
parent
0votes
0answers

I can't use phpmyadmin on windows 2012 server

I am having issues accessing phpmyadmin on windows server 2012 with iis 8. I downloaded phpmyadmin and moved it into the folder that localhost accesses, and renamed it to phpmyadmin. I changed the config.inc.php file to add a user and a pass and I changed the $cfg['blowfish_secret'] as well. However [...] read more
php
phpmyadmin
windows-server-2012-r2
iis-8.5
0votes
1answer

Trying to fix an old webservice

I have been given an old web service project to fix quickly. I know it's not WCF but this was written a long time ago and the people are not here anymore. The person managing the webserver doesn't know the problem and I have been lumped with it. The code [...] read more
c#
.net
web-services
iis-7
asmx
0votes
1answer

Why am I getting a file creation error Windows 8 Store app

I get a file creation error when I run the program, but if I step through the program with the debugger, the file gets copied and created in the data folder. Below is the error msg. //Cannot create a file when that file already exists. (Exception from HRESULT: 0x800700B7) Here [...] read more
c#
visual-studio-2012
windows-store-apps
0votes
0answers

HTTP Error 500.19 - Internal Server Error (Its not duplicate)

I'm running web application in Asp.net 4.5, Application was made in version 3.5. It is showing these errors in every page when i brows in window. The requested page cannot be accessed because the related configuration data for the page is invalid. ** > Detailed Error Information: ** Module IIS [...] read more
asp.net
iis
web-config
iis-7.5
0votes
1answer

how to solve HTTP Error 500.19 - Internal Server Error?

I have been working on project in MVC4. It was running, but after a while I got the error below. I tried to figure it out and removed those duplicate entity framework entries. But it does not connect with the database. How can I solve this issue? HTTP Error 500.19 [...] read more
asp.net-mvc-4
0votes
0answers

Config Error on different iis version?

I am getting the this error message HTTP Error 500.19 - Internal Server Error The requested page cannot be accessed because the related configuration data for the page is invalid. Module: IIS Web Core Notification: Unknown Handler: Not yet determined Error Code: 0x800700b7 Config Error There is a duplicate 'system.web.extensions/scripting/scriptResourceHandler' [...] read more
iis
web
webforms
0votes
1answer

Adding Virtual directory under DNN website ,

I want to create virtual directory in my DNN website and make new database for this site , for this I go to IIs manager and click add virtual directory and browse that site it shows error > HTTP Error 500.19 - Internal Server Error The requested page cannot be [...] read more
c#
asp.net
dotnetnuke
0votes
0answers

Delay between StructureMap.Start and Application_Start

Have a fairly large ASP.NET and classic asp site that takes an extremely long time for first page. ~45 seconds. I put in some AOP logging on eveyrhting i can get in my pipeline (poor mans profiling) and find a large gap between my structuremap.start and the application_start AOP Writes [...] read more
asp.net
asp.net-mvc
0votes
1answer

Azman gives same error using either local xml or SQL Server for storage

Recently two users in our system started getting this error when trying to add them to a role. > System.Runtime.InteropServices.COMException: Cannot create a file when that > file already exists. (Exception from HRESULT: 0x800700B7) What is interesting is that the same error occurs regardless of the configuration, running locally we [...] read more
c#
azman
0votes
1answer

How to use custom errors on IIS with ASP.NET

I have modified my web.config file in my asp.net web application so that I am showing a custom error page: <configuration> <system.web> ...snip <customErrors mode="On" defaultRedirect="WebForms/ErrorPage.aspx"> <error statusCode="404" redirect="WebForms/ErrorPageNotFound.aspx" /> </customErrors> </system.web> </configuration> When I run the site on IIS I get the following error: Error code: 0x800700b7 Config section [...] read more
asp.net
visual-studio-2010
iis-7
webforms
web-config
0votes
1answer

Can I create App Pool on IIS7 using wix if IIS6 Management Compatibility is not installed

I know that there is the native IIS7 support in wix 3.5, but I have this strange error. So, if IIS6 Management Compatibility for IIS7 is not installed, then new App Pool did not created in installation process. But if IIS6 MC is installed it works ok and new App [...] read more
iis-7
wix
wix3.5
application-pool
-1votes
1answer

Screenshare error -Cannot create a file when that file already exists

I am using below code to share screen. namespace host { public partial class Form1 : Form { RDPSession x = new RDPSession(); private void button1_Click(object sender, EventArgs e) { x.OnAttendeeConnected += Incoming; x.Open(); } } } In Windows 7 pc randomly i will get the below error for code [...] read more
c#
-2votes
2answers

Http Error 500.19 - Internal Server Error - Duplicate FileExtesion

I got following error while hosting Web API in IIS 10.0 Error Code : 0x800700b7 Config Error : Cannot add duplicate collection entry of type 'add' with unique key attribute 'FileExtension' set to '.idq' Please tell me the solution read more
iis-10

Comments

Leave a comment

(plain text only)

Sources

  1. winerror.h from Windows SDK 10.0.14393.0
  2. https://msdn.microsoft.com/en-us/library/cc231198.aspx

User contributions licensed under CC BY-SA 3.0