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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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