Windows error 0x8007007B, -2147024773

Detailed Error Information

INVALID_NAME[1]

MessageThe filename, directory name, or volume label syntax is incorrect.
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 Code123 (0x007b)

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

Questions

9votes
2answers

IIS 7.5 (Express) applicationhost.config: Can a virtualDirectory's physicalPath be a relative path?

I'm configuring a site in applicationhost.config for IIS 7.5 Express: <site name="default" id="1" serverAutoStart="true"> <application path="/"> <virtualDirectory path="/" physicalPath="%IIS_BIN%\..\Somewhere\Else" /> <!-- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ --> </application> ... </site> I've found that specifying relative paths as shown does not seem to work and will lead to an HTTP 500.19 Internal Server Error. IIS [...] read more
configuration
iis-7.5
path
xml
virtual-directory
8votes
1answer

SSIS DTEXEC Package Variable Space Character Not Accepted

I'm attempting to execute an SSIS package on SQL 2005 using the following: dtexec /SQL "\MyPackageName" /SERVER mssql1 /MAXCONCURRENT " -1 " /CHECKPOINTING OFF /SET "\Package.Variables[FileFolder].Value";"\\SomeServer\Someshare\Output Batch\" this yields: Option "Batch " is not valid. The space at the end of the word Batch inside the quotes gave me a [...] read more
ssis
package
execution
4votes
1answer

Create shortcut with Unicode character

I'm using IWshRuntimeLibrary to create shortcut with c#. the shortcut file name is in Hindi "नमस्ते". I'm using following code my snip to create shortcut, where shortcutName = "नमस्ते.lnk" WshShellClass wshShell = new WshShellClass(); IWshRuntimeLibrary.IWshShortcut shortcut; shortcut = (IWshRuntimeLibrary.IWshShortcut)wshShell.CreateShortcut(destPath + "\\" + shortcutName); shortcut.TargetPath = sourcePath; shortcut.Save(); on shortcut.Save() I'm [...] read more
c#
winapi
3votes
1answer

Installing Windows Terminal .msixbundle using PowerShell Add-AppxPackage

I'm trying to install Windows Terminal on Windows 10 v1803 [build 17134.13.04] where I don't have any admin privileges and Microsoft Store has also been deactivated. I downloaded the .msixbundle from the GitHub release page and used the command from here: add-appxpackage -Path ".\Microsoft.WindowsTerminal_1.4.3141.0_8wekyb3d8bbwe.msixbundle" However, I recieve error: add-appxpackage : [...] read more
windows
installation
powershell
windows-terminal
3votes
1answer

Windows Store endless loading screen

Whenever I open Windows Store, it's just stuck in an endless (my patience ended after 30 minutes) loading screen. Other apps, such as Skype, work fine. It's only Windows Store that doesn't work. So far I've tried * Installing all available Windows updates & restarting * Starting Store from apps.windows.com [...] read more
windows-8.1
windows-store
3votes
5answers

Installing Windows 7 x64 SP1 returns error 0x8007007b

I just tried to install Windows 7 x64 SP1 on my desktop computer, but 10 minutes into the installation I get this error: > The filename, directory name or volume label syntax is incorrect. > > ERROR_INVALID_NAME(0x8007007b) My guess is that I have to reinstall the OS, but I'm wondering [...] read more
windows-7
installation
service-pack
3votes
1answer

Connecting to WCF service from Azure Functions and trouble-shooting assembly bindings

Where can I see the Assembly that Azure functions is trying to load ? (Like fuslogvw on windows) Update Update the title as requested to better reflect the accepted answer Update Changed my code to 'manually' construct the SOAP request using WebClient and it works ... so me thinks somewhere [...] read more
azure
azure-functions
3votes
1answer

How to get image path saved to WP8 Local folder for Live Tile

I am in the process of updating my Windows Phone apps to use the new WP8 file storage APIs (LocalFolder) instead of WP7 APIs (IsolatedStorageFile). Old Working Method Here is how I successfully save the Image to the /Shared/ShellContent folder using the IsolatedStorageFile method (notice the /Shared/ShellContent/ prefix when saving [...] read more
c#
windows-phone-8
windows-phone
3votes
1answer

Serializing a type created in a ScriptEngine session

Consider the following console application: using System; using System.IO; using System.Text; using System.Xml.Serialization; using System.Reflection.Emit; using System.Reflection; using Roslyn.Scripting.CSharp; class Program { static void Main(string[] args) { var dynAssembly = AssemblyBuilder .DefineDynamicAssembly( new AssemblyName("TestAssembly"), AssemblyBuilderAccess.RunAndSave); var dynModule = dynAssembly.DefineDynamicModule("TestModule"); var typeBuilder = dynModule.DefineType("Test", TypeAttributes.Public); var dynamicType = typeBuilder.CreateType(); var serializer [...] read more
c#
.net-assembly
xmlserializer
roslyn
3votes
1answer

WIX property value substitution and CAQuietExec

So far, I'm NOT finding WIX to be my favorite most intuitive, easy-to-use, language/system. I created a custom dialog, entered data, and see the values in the install log. MSI (c) (C8:A4) [14:42:37:137]: PROPERTY CHANGE: Modifying VARRADIOBUTTONENVIRONMENT property. Its current value is 'Dev'. Its new value: 'QA'. MSI (c) (C8:A4) [...] read more
wix
windows-installer
2votes
3answers

Unable to activate Windows 8

I first installed Windows 8 Pro 64 bits OEM a few months ago. I did a clean install with the same disc and key yesterday, after installing new hardware. I remember having this very same issue with my first installation, but I am absolutely unable to remember or find what [...] read more
command-line
windows-8
windows-activation
2votes
1answer

Can't activate Windows 7 Professional Online?

When i'm trying to activate my Windows 7 Professional in online i've got error like this - A problem occurred when Windows tried to activate. Error code 0x8007007B. For a possible resolution, click MoreInformation. Contact your system administrator or technial support department for assistance. More Information - The following information [...] read more
windows-7
2votes
0answers

Deploying asp.net core rc2 web app on IIS8 / Windows Server 2012

I've managed to publish my app and deploy it to my server, but I can't seem to make it run via IIS. I'm getting error 0x8007007b Cannot read configuration file. My web.config, after publishing, looks like: <?xml version="1.0" encoding="utf-8"?> <configuration> <system.webServer> <handlers> <add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModule" resourceType="Unspecified" /> </handlers> [...] read more
asp.net-core
iis-8
2votes
2answers

ReadLinesAsync in UWP from absolute file path

I get error > The filename, directory name, or volume label syntax is incorrect. (Exception > from HRESULT: 0x8007007B) My code is public async void ReadFile() { var path = @"F:\VS\WriteLines.xls"; var folder = Windows.ApplicationModel.Package.Current.InstalledLocation; var file = await folder.GetFileAsync(path); var readFile = await Windows.Storage.FileIO.ReadLinesAsync(file); foreach (var line in readFile.OrderBy(line [...] read more
c#
uwp
uwp-xaml
2votes
4answers

Read file from subfolder of application installation folder

I have to read the text content from an .txt file, this file is located in app installed folder, in a subfolder, according to Microsoft docs, I am doing it like this: private async void readMyFile() { // Get the app's installation folder. StorageFolder appFolder = Windows.ApplicationModel.Package.Current.InstalledLocation; // Get a [...] read more
c#
win-universal-app
file-handling
2votes
2answers

The filename, directory name, or volume label syntax is incorrect. (Exception from HRESULT: 0x8007007B)

I'm receiving this error when the code look for the path, I dont understand whe this happend, I think im doing right. Code: string newUri = ImageGalleryUri.Replace("ms-appdatalocal/", ""); //Replace this part of the string with a nonspace character. newUri = newUri.Replace("/", "\\"); newUri = newUri.Replace("%20", " "); //Replace the ASCII [...] read more
c#
winrt-xaml
2votes
1answer

Write file specific folder inside localFolder

I'm trying to write an image file to the localFolder storage. I want to write it specifically to the images/heroes/ folder inside the localFolder. Is there some way to do this with my existing code? return WinJS.xhr({ url: fileToDownloadURL, responseType: 'blob' }).then( function (response) { var input = response.response.msDetachStream(); var [...] read more
windows-8
visual-studio-2012
winjs
1vote
1answer

Where does Windows Server Backup store its "templates"?

I have a malfunctioning Windows Server Backup instance on WS2012R2, it has a weird but stable behavior - it starts up, if it succeeded last time, it fails with 0x8007007b ("Syntax error in file or dir name, or volume label"), if it failed last time, it succeeds instead, producing a [...] read more
windows-server-2012-r2
windows-server-backup
1vote
1answer

GPO map network shares 0x8007007b

I'm running a lab to test GPO. I'm trying to map a network share item using GPO on a DFS share. This is the guide I'm following. [https://i.stack.imgur.com/M3zgi.png] enter image description here [https://i.stack.imgur.com/B6PVA.png] As a test, I change it to a map network drive GPO User Configuration. Then it works [...] read more
group-policy
windows-server-2012-r2
1vote
2answers

Vista Backup failed: "The filename, directory name or volume label syntax is incorrect (0x8007007B)"

My computer recently attempted to run a backup and failed with the above error code. I tried creating a new backup on removable media, again this failed. I watched where the backup failed and found some files that were behaving oddly, including one that was nameless, without file type, size [...] read more
backup
hard-drive
windows-vista
corruption
1vote
2answers

Windows 10 Home won't activate after clean reinstallation. Error 0x8007232B "DNS name does not exist"

I bought my laptop last summer, and it came with Windows 8.1. I did an upgrade to Windows 10 Home edition today with the ISO using the media creation tool, and it was activated. I then did a clean install just to wipe everything clean because it's been a while. [...] read more
windows-activation
windows-10-upgrade
windows-10
1vote
2answers

Windows 10: sfc and dism cannot repair corruption

There are several posts along this line, but the fixes that answered other questions did not solve my problem. * Windows 10 Pro * Upgraded from W7 Pro, then did a "Reset", as I was having some problems with a screen saver and wanted to get a cleaner install without [...] read more
windows-10
dism
sfc
1vote
0answers

Error code:0x8007007B while activation of MS-Office Pro Plus 2010

One month ago, I have undergone a virus software attack leading to reset of my pc, all of my files were intact, just applications and features were removed. Then I installed Microsoft Office Professional Plus 2010, and now I am getting this notifications regarding activation key. Look at the screenshot [...] read more
windows-10
microsoft-office
software-activation
1vote
2answers

QT: DirectShowPlayerService::doSetUrlSource: Unresolved error code 0x8007007b ()

I am using Qt Version 5.14.1. When I was trying to play a video(.mp3), the program stopped working And given error is DirectShowPlayerService::doSetUrlSource: Unresolved error code 0x8007007b () AudioPlayer::AudioPlayer(QObject *parent) : QObject(parent) , m_backgroundMusic(NULL) //QMediaPlayer * m_backgroundMusic { QUrl backgroundMusicUrl = QUrl::fromLocalFile(":/music/8bitDungeonLevel.mp3"); if (QFile::exists(backgroundMusicUrl.toLocalFile())) { m_backgroundMusic = new QMediaPlayer(this); QMediaPlaylist [...] read more
c++
qt
1vote
1answer

Failed calling ITaskScheduler::Activate

I want to get the Windows Schedule Task infomation. I copied this code from MSDN source. /////////////////////////////////////////////////////////////////// // Call ITaskScheduler::Activate to get the Task object. /////////////////////////////////////////////////////////////////// ITask *pITask; LPCWSTR lpcwszTaskName; lpcwszTaskName = L"Test Task"; hr = pITS->Activate(lpcwszTaskName, IID_ITask, (IUnknown**) &pITask); pITS->Release(); if (FAILED(hr)) { wprintf(L"Failed calling ITaskScheduler::Activate; error = 0x%x\n",hr); [...] read more
winapi
com
1vote
1answer

Serializing an XML in c# with type class showing error

Public class Test{ public string name {get;set;} } Trying to serialize this class XmlSerializer serlzer = new XmlSerializer(typeof(Test)); is showing error as The filename, directory name, or volume label syntax is incorrect. (Exception from HRESULT: 0x8007007B) + System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(int, System.IntPtr) + Microsoft.Win32.Fusion.ReadCache(System.Collections.ArrayList, string, uint) + System.Reflection.RuntimeAssembly.EnumerateCache(System.Reflection.AssemblyName) + System.Reflection.RuntimeAssembly.LoadWithPartialNameInternal(System.Reflection.AssemblyName, System.Security.Policy.Evidence, ref System.Threading.StackCrawlMark) [...] read more
c#
.net
xml
serialization
1vote
2answers

Unexpected exception thrown when looking up user information

I have some code that is looking up group memberships from local groups on a machine. For each member, it tries to load some information about the user (eg. find a group and get the names of each of its members). The code: using (DirectoryEntry machine = new DirectoryEntry("WinNT://" + [...] read more
c#
exception
active-directory
active-directory-group
1vote
0answers

Unable to view Worddocument/pdf inside the Windowsstore app8.1

My windows8.1 store app needs to open word Document and pdf file in read only format from the customized path folder not in Assest. Code below Encoding utf8 = new System.Text.UTF8Encoding(true, true); StorageFolder storagefolder = Windows.Storage.ApplicationData.Current.LocalFolder; StorageFile storagefile = await storagefolder.GetFileAsync(@"C:\sampledoc\sample_raw.txt"); var options = new Windows.System.LauncherOptions() { DisplayApplicationPicker = true [...] read more
c#
1vote
1answer

ASP.net URL rewrite to a different domain

I am trying to rewrite to a url in a blob in azure to return a static html but it always states the following 404.4 error: > The file extension for the requested URL does not have a handler configured to > process the request on the Web server. * [...] read more
asp.net
azure
url-rewriting
1vote
0answers

Element not found error on StreamSocket.ConnectAsync()

I'm stuck for many hours now on a problem trying to communicate with a bluetooth device (not BLE). I'm on a Windows Phone 8.1 Silverlight app. I set the DeviceCapability section with the serviceid in the appxmanifest: <!-- bluetooth --> <m2:DeviceCapability Name="bluetooth.rfcomm"> <m2:Device Id="any"> <m2:Function Type="serviceId:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" /> </m2:Device> </m2:DeviceCapability> I [...] read more
c#
silverlight
bluetooth
windows-phone-8.1
rfcomm
0votes
1answer

DISM: Unable to pass esd file

I am having a problem to pass an esd-File to dism for the restorehealth command. Here is my call: > dism /online /cleanup-image /restorehealth /Source:esd:D:\sources\install.esd > /limitaccess However, the cbs.log-File indicates that a wrong path (the current directory is added to the path of the file) is used when trying [...] read more
windows
windows-update
0votes
1answer

Windows update errors 0x8007007b 0x80240017 volume licencing

Recently we had to purchase 6 copies of Windows 10 Pro to update some Windows 7 computers to comply with Cyber Essentials. When we did this, we looked hard for the cheapest copies we could find without buying volume licences. However, the ones we found, although not advertised as volume [...] read more
windows-10
windows-update
volume-license
0votes
1answer

DISM fails. Worked once, but SFC was failing. Now DISM fails on restore

I have a really strange problem similar to this, but not the same. I started with sfc /SCANNOW and got the error: Windows Resource Protection found corrupt files but was unable to fix some of them. Details are included in the CBS.Log windir\Logs\CBS\CBS.log. For example C:\Windows\Logs\CBS\CBS.log. Note that logging is [...] read more
windows-8
chkdsk
dism
sfc
0votes
1answer

Can't activate Windows 8 Pro on OEM laptop after re-install with Win 8 Enterprise

I received my work laptop with Windows 8 Pro pre-installed. A few months down the line something happened, and the IT dept. formatted my laptop, and re-installed Windows 8 using their own VL disc. I didn't realize this until the Win 10 upgrade came, and then I decided format, and [...] read more
windows
windows-8
partitioning
windows-activation
0votes
0answers

HTTP Error 500.19 - Internal Server Error .Net Project VSCode

I want to debug my .Net project on VSCode, (I added IIS_IUSRS to the Web.Config's security with full control) But I get this error; > HTTP Error 500.19 - Internal Server Error The requested page cannot be > accessed because the related configuration data for the page is invalid. > [...] read more
.net
debugging
visual-studio-code
0votes
0answers

Ho to fix this issue, this copy of microsoft office is not activated?

I have microsoft office professional plus 2010 and its not running, shows Error code 0x8007007B. " Copy of Microsoft Office is not activated". How do i fix this issue? Please assist me thanks. read more
windows-10
0votes
3answers

C# Path CsvReader - how to use absolute path

I'm using System.IO.StreamReader passing a string path (@"‪C:\Users\someuser\somefolder\my.csv") using (var reader = new StreamReader(filepath)) { var csvReader = new CsvReader(reader); var entries = csvReader.GetRecords<SpreadsheetEntry>(); return entries.ToList(); } this throws the following exception: System.IO.IOException HResult=0x8007007B Message=The filename, directory name, or volume label syntax is incorrect : 'C:\Users\someuser\Source\Repos\StakeParser\StakeParser\bin\Debug\netcoreapp2.1\‪C:\Users\someuser\Desktop\testspreadsheet.csv' Source=System.Private.CoreLib StackTrace: at System.IO.FileStream.ValidateFileHandle(SafeFileHandle [...] read more
c#
csv
path
streamreader
absolute-path
0votes
1answer

MsDeploy could not create folder in bin directory - treats as file, according to log

I am trying to deploy simple zip archive to webroot of an application with following file only: bin/Views/Test.cshtml using following MsDeploy command C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe" -allowUntrusted="True" -verb:sync -source:package="package.zip" -dest:contentPath="test",includeAcls="False" -skip:objectName=dbFullSql -skip:objectName=dbDacFx -enableRule:DoNotDelete -enableRule:IgnoreFileLastWriteTime But it fails with following error Info: Adding file (test\bin\Views\). Error: An error was encountered [...] read more
msdeploy
0votes
1answer

ASP.NET Core Site Deployement

I am deploying my asp.net core site on Local IIS and binding is http//localhsot:{portnumber} but the website is not running and giving me error HTTP Error 404.4 - Not Found The resource you are looking for does not have a handler associated with it. Detailed Error Information: Module IIS Web [...] read more
asp.net-core
iis-8
0votes
1answer

IIS rewrite to local apps - fails with 404

I want to use IIS8 to route traffic from ports 80/443 to two applications running on the same server - one sitting on port 8080 (node.js app, running as a separate service), another on port 8090 (a .NET application, running on the same IIS, handling api calls). I have setup [...] read more
iis
iis-8
0votes
0answers

Issue in sync with web dav with microsoft sync framework

I am synchronizing WebDav ("\mysite.sharepoint.com\personal\username\Documents") folder files with my local roaming folder ("C:\Users\username\AppData\Roaming") files. All file of webdav synchronizing with local roaming folder but local roaming folder files are not synchronizing with webdav. Error says - Skipped applying CREATE for Microsoft\Windows\Start Menu\Programs\Windows PowerShell\Windows PowerShell.lnk due to error [The filename, directory [...] read more
c#
sharepoint
microsoft-sync-framework
0votes
1answer

IIS Rewrite to a new port - Different IIS version, different results

A server (x.com) has the following parameters: - It is accessible from the outside from port 80. - It has an internal service running on port 1000. - The service needs to be accessible from a subdomain (service.x.com) Running IIS on Windows 10, I did the following: <?xml version="1.0" encoding="UTF-8"?> [...] read more
iis
rewrite
0votes
1answer

URL Rewrite Module (IIS) not working with OWIN Middleware hosted on IIS

How can i use the URL Rewrite module together with OWIN middleware? Having read http://www.asp.net/aspnet/overview/owin-and-katana/owin-middleware-in-the-iis-integrated-pipeline it says I should be able to use OWIN Middleware in the IIS pipeline using the NuGet package: > Microsoft.Owin.Host.SystemWeb Here is the code I am trying to use: Web.config: <system.webServer> <rewrite> <rules> <rule name="pandainserter" [...] read more
asp.net
iis
cors
owin
url-rewrite-module
0votes
2answers

Rewrite to external domain not working in Azure website

I have a Asp.NET MVC test website in the Standard plan in azure cloud. I am trying to set up a rewrite to an external domain. I followed the steps here: http://ruslany.net/2014/05/using-azure-web-site-as-a-reverse-proxy/ I set up also the ignore rule in the RouteConfig and added the WEBSITE_PRIVATE_EXTENSIONS in the app settings. [...] read more
azure
rewrite
0votes
1answer

A .svc WCF service doesn't work in ASP.NET on IIS 7.0-8.5

I've added a .svc file to my Web Project - it won't run. When I request it (it's hosted in IIS manually) I get. How ever when I run the Web Project in the Azure Emulator it DOES give a valid response (the overview of the service). The error: The [...] read more
c#
asp.net
wcf
iis
0votes
2answers

How to Use IsolatedStorage to Set Lock Screen Background in Windows Phone 8

I would like to be able to use an image from my IsolatedStorage to modify the lock screen background, but I am having trouble getting the correct syntax of the IsolatedStorage file path to set the lock screen background. In following http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj206968(v=vs.105).aspx , I am calling the LockHelper method in [...] read more
c#
windows-phone-8
isolatedstorage
lockscreen
0votes
1answer

Opening a file in windows store app, with default app

I have these 2 functions to save and read files on a windows store app project: public async Task GravaFicheiro(string url,string nome) { HttpClient client = new HttpClient(); HttpResponseMessage message = await client.GetAsync(url); StorageFolder myfolder = Windows.Storage.ApplicationData.Current.LocalFolder; StorageFile sampleFile = await myfolder.CreateFileAsync(nome, CreationCollisionOption.ReplaceExisting); byte[] file = await message.Content.ReadAsByteArrayAsync(); await FileIO.WriteBytesAsync(sampleFile, [...] read more
c#
windows-8
windows-store-apps
0votes
0answers

How to retrieve feed asynchronously from a file in the computer?

I want to make an app to show news inside a textbox from an rss feed.. But the problem is rss feed contains and error in it's xml codes. Therefor Syndicationclient class can not be used properly. So I've made my program to get the xml text from the rssfeed [...] read more
c#
xml
rss
windows-runtime
winrt-async
0votes
1answer

C# launching an external app with metro api

I am trying to develop an app which launches a regular .exe application from metro app using launcher class. MSDN provided a sample here and a stackoverflow sample is here The problem is that my metro gives error of "file not found" even the file is there. i have tried [...] read more
c#
0votes
2answers

How to package a HTML/Metro App for deployment outside Visual Studio 2012

Does anyone know how to package an app for deployment of a HTML/JS Metro Application outside Visual Studio. I keep hearing reference to a "Store" Menu Item, but I am using Visual Studio 2012 RC Ultimate Edition, and there is no such Top level Menu Item. I've also tried using [...] read more
html
microsoft-metro
visual-studio-2012
winjs
-1votes
1answer

Call MSXSL from batch file

I want to create a batch file that loops through a folder containing xml files, then call msxsl to modify them and after modify the xml file, copying to another folder with original filename. I tried this: forfiles /p C:\Users\mae\Documents\Testing\MSXSL\In /m *.xml /c "cmd /c C:\Users\mae\Documents\Testing\MSXSL\msxsl.exe @file pre-process_add_filename.xsl -o C:\Users\mae\Documents\Testing\MSXSL\Out\@file" [...] read more
batch-file
for-loop
msxsl
forfiles

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