I've just got a new computer and have moved my Web Applications from the old XP over to my new Win 7 machine. When I run my the applicatinos, I get an error that says "Failed to map the path '/'.". Line 130: Line 131: // Get encryption and decryption key information from the configuration. Line 132: Configuration cfg = Line 133: WebConfigurationManager.OpenWebConfiguration(System.Web.Hosting.HostingEnvironment.ApplicationVirtualPath); Line 134: machineKey = (MachineKeySection)cfg.GetSection("system.web/machineKey"); I'v read several answers to this, and they all say that we should run VS as administrator. But my colleague runs the same applications, with the same settings on his similar computer/system, without running it as administrator. So my thought is that it must be possible to solve this withour running VS as administrator. Does anybody know why and perhaps how to solve it
Recently i am getting the follwoing error when i run my application in localhost.
Failed to map the path '/mechano/App_GlobalResources/'. I believe the error is occured after installing sp3.
I have VS2008(3.5) and sqlserver 2005. Recently i have installed SP3 and uninstalled SP3 as it made my pc very slow. Before installing SP3 everything worked well.
I have tried the following to get rid of the error, but none of this steps helped me
SQL Server Express 2008 R2 installation is failed...plese see the error log ...i gave the password "sa"..please guide me Overall summary Final result: SQL Server installation failed. To continue, investigate the reason for the failure, correct the problem, uninstall SQL Server, and then rerun SQL Server Setup. Exit message: The specified sa password does not meet strong password requirements. For more information about strong password requirements, see "Database Engine Configuration - Account Provisioning" in Setup Help or in SQL Server 2008 R2 Books Online.
I've encountered a problem while installing Visual Studio 2010 on Windows 7, I've tried to modify the privileges of the destination folders to no avail, I've also tried to delete everything related to it with a removal tool. The problem is that the installation is always unsuccessful at the same point, providing me a Blue Screen of Death (twice) and the following error message (infinite amount of occasions):
[Code]....
Does anybody know the cause of the error? Is there an easier and less time consuming solution than reinstalling the whole system?
I am getting asp.net development server error.Though I have formatted my machine and there is no virus in the machine still I am not able to run asp.net in file system and could not work with asp.net website administration tool. some memery related error message such as:The application failed to initialize properly(0xc000007b)click to terminate application. Pls give me proper solution for this.I have tried to copy fresh webserver.exe file from another machine and pasted in c:programmfilescoomomfilesmicrosoftshareddevserver9.0webdev.webserver.exe file.still issue persists.what could be wrong.
I am trying to encrypt a section of a web.config file in the root of a virtual server. The server is not the 'default server' in IIS, so aspnet_regiis -pe "appSettings" -app "/" doesn't work as it defaults to the default web site. Also, the source code is access through a UNC path and is load balanced across multiple servers (web farm environment). aspnet_regiis -pef "appSettings" "\UNCpath" fails, stating "The configuration for physical path '\UNCpath' cannot be opened. The user account that I'm running the utility as, has rights to the path. I found one post (from very early .NET 2.0 days) that indicated that you could use
But this syntax returns an error stating that "The value used in the -app parameter must begin with a forward slash." Can anyone tell me what the correct syntax would be in a case like this?
when i try to run a aspx file in the directory that have aspx mapped and running asp.net the follow error occour The process account used to run ASP.NET must have read access to the IIS metabase (e.g.IIS://servername/W3SVC). For information on modifying metabase permissions, please see [URL]so i use the registration tool with the command -ga Marcelo for the account Marcelo just as say the link provide. But i still have the same error on try to run the page. What is the proprialy procide for this stop to happend?
I'm trying to set up a page that will allow users to download files from a shared drive (where the file is actually sent via the page). So far this is what I have.
public partial class TestPage : System.Web.UI.Page { protected DirectoryInfo dir; protected FileInfo[] files; protected void Page_Load(object sender, EventArgs e) { dir = new DirectoryInfo(Server.MapPath(@"\sharedDrivePublic")); files = dir.GetFiles(); } }
The aspx page looks kind of like this:
<% Response.Write(System.Security.Principal.WindowsIdentity.GetCurrent().Name); %> <ul> <% foreach (System.IO.FileInfo f in files) { Response.Write("<li>" + f.FullName + "</li>"); } %> </ul>
When I remove the erroneous parts of the code, the page tells me that the Windows Identity I'm using is my user (which has access to the drive). I don't understand what the problem could be or what it's even complaining about.
I am loading the config file programaticality so that i can edit it but ive hit a hitch in that when i debug it through VS i get the following error:
An error occurred loading a configuration file: Failed to map the path '/'.
My code is:
[Code]....
I use it in other sections of my site and know that it works as intended when it is deployed to my webhost. I am having issues with another section where I use it so I want to step through it to debug, what do I change this "~" to, to correctly reference the config when I am debuging locally.
Warning 1 C:UsersBillDocumentsMy Web SitesNausetNewcomersIncludesUtilsToolsWebAdminUsers.aspx: ASP.NET runtime error: Failed to map the path '/Includes/Utils/Controls/alphalinks.ascx'. C:UsersBillDocumentsMy Web SitesNausetNewcomersIncludesUtilsToolsWebAdminUsers.aspx 1 1 C:...NausetNewcomers
This warning is in error as the file is in the structure where it is supposed to be, what is the problem?
I have been trying to install VS 2008 profesional in my computer, I am getting this error "Package Visual Web Developer HTML source editor package has failed to loas properly GUID = BFCC0C3C-6F87-4285-A6C8-BB1606180OD Please contact package vendor for assistance, application restart is recomended , due to possible environment corruption.
i have an asp.net project in vs2010 i have a db and table inside the app_data folder, i have created a deployment package and have imported the package into an iis server that is installed on my local mechine. now i get this error message while trying to preform an insertion.
Failed to generate a user instance of SQL Server due to failure in retrieving the user's local application data path. Please make sure the user has a local user profile on the computer. The connection will be closed the connection string is:
Data Source=.SQLEXPRESS;AttachDbFilename=|DataDirectory|survey.mdf;Integrated Security=True;User Instance=True
I am getting an error saying "ASPNET account is not present in this machine" when I try to install Sitecore on my machine after I installed visual studio 2008..
- My machine is running on windows XP sevice pack 3
- I installed Visual Studio 2008 and .NET framework version 3.5 SP1 on that machine
- I can see that ASPNET User group account Under Users and Groups and it doesn't have "Account is locked out" ticked under general tab
- Also I ran aspnet_regiis -i many times but didn't help; actually I red in one post that I should delete ASPNeT account first and run the script but still didn't help
- when I view http://localhost on IE I can view the ASP home page without any problem but Firefox asks me to enter user name and password.
So bit the bullet and installed vs2010 finally. However, when loading an existing vs2008 project, I am getting this error: "The project type is not supported by this installation." the only thing special about this project is that it's a "web application projects" type. what I've tried so far are these steps, but none of these solve my problem:
(1) run "devenv /setup" (2) regsvr32.exe "%ProgramFiles%Microsoft Visual Studio 10.0Common7IDEProjectAggregator.dll"
I have created a MSI file for my windows service but at the time installtion it is prompting set Service login for login name, Password and confirm password. So I am not able to install that service.
I changed my OS from Windows XP to Windows 7. I installed .net Framework SDK v2.0. Now i am trying to configure Asp.net Quick Start Tutorial. When i run ConfigSamples.exe in the Log file following details available.
AM 6:57:22 19 March 2010: [Begin Samples Configuration] AM 6:57:23 19 March 2010: [Info] ConfigSamplesDll_DoTasks: Starting AM 6:57:23 19 March 2010: [Info] Config_NETSDK_Detect: .NET Framework SDK installation (detecting): SOFTWAREMicrosoft.NETFramework AM 6:57:23 19 March 2010: [Info] Config_NETSDK_Detect: .NET Framework SDK installation (found): SOFTWAREMicrosoft.NETFramework AM 6:57:23 19 March 2010: [Info] ConfigSamplesDll_DoTasksWithGUI: Starting AM 6:59:51 19 March 2010: [Info] Config_ASPNET_Detect: ASP.NET installation (detecting): IIS://localhost/W3SVC AM 6:59:51 19 March 2010: [Info] Config_ASPNET_Detect: ASP.NET installation (not found): [Info] Config_ASPNET_Detect: ASP.NET installation (not found) AM 6:59:51 19 March 2010: [Info] Config_ASPNET_Detect: ASP.NET installation (not found): IIS://localhost/W3SVC AM 6:59:51 19 March 2010: [Info] Config_SSE_DNLD_Detect: SQL Express service instance (detecting): MSSQL$SQLEXPRESS AM 6:59:52 19 March 2010: [Info] Config_SSE_DNLD_Detect: SQL Express service instance (found): MSSQL$SQLEXPRESS AM 6:59:52 19 March 2010: [Info] Config_SSE_INST_Detect: SQL Express service instance (detecting): MSSQL$SQLEXPRESS AM 6:59:53 19 March 2010: [Info] Config_SSE_INST_Detect: SQL Express service instance (found): MSSQL$SQLEXPRESS AM 6:59:53 19 March 2010: [Info] Config_IIS_Detect: IIS (Internet Information Services) installation (detecting): IIS://localhost/w3svc/1/root,IIS://localhost/w3svc/AppPools AM 6:59:53 19 March 2010: [Info] Config_IIS_Detect: IIS (Internet Information Services) installation (found): IIS://localhost/w3svc/1/root,IIS://localhost/w3svc/AppPools AM 6:59:54 19 March 2010: [Info] Config_QUICKSTARTDB_Detect: Quickstart Database and User Registration (detecting) AM 6:59:55 19 March 2010: [Info] Config_QUICKSTARTDB_Detect: Quickstart Database and User Registration (found) AM 6:59:55 19 March 2010: [Info] Config_QUICKSTART_Detect: Quickstart Samples Previous Build (detecting): SOFTWAREMicrosoft.NETFrameworksdkQuickStartSetupRun AM 6:59:55 19 March 2010: [Info] Config_QUICKSTART_Detect: Quickstart Samples Previous Build (not found) AM 6:59:56 19 March 2010: [Info] Config_NETSDK_Detect: .NET Framework SDK installation (detecting): SOFTWAREMicrosoft.NETFramework AM 6:59:56 19 March 2010: [Info] Config_NETSDK_Detect: .NET Framework SDK installation (found): SOFTWAREMicrosoft.NETFramework AM 7:04:39 19 March 2010: [Info] Config_ASPNET_Install: ASP.NET QuickStart registration (installing) AM 7:04:57 19 March 2010: [Pass] Enabling ASP.Net for QuickStart virtual directory. Command: C:WindowsMicrosoft.NETFrameworkv2.0.50727aspnet_regiis.exe -ir -enable. AM 7:04:57 19 March 2010: [Info] Config_ASPNET_Detect: ASP.NET installation (detecting): IIS://localhost/W3SVC AM 7:04:57 19 March 2010: [Info] Config_ASPNET_Detect: ASP.NET installation (not found): [Info] Config_ASPNET_Detect: ASP.NET installation (not found) AM 7:04:57 19 March 2010: [Info] Config_ASPNET_Detect: ASP.NET installation (not found): IIS://localhost/W3SVC AM 7:04:57 19 March 2010: [Fail] Config_ASPNET_Install: ASP.NET QuickStart registration (failed): ASP.NET QuickStart registration component could not be detected after installation AM 7:04:57 19 March 2010: [Begin Samples Rollback]
Why am i getting Config_ASPNET_Detect: ASP.NET installation (not found)?
installed IIS on WinXP and created a virtual directory, placing all required files and setting access permissions for it, but I keep getting the error message:
[Code]....
It happens for every page I try to load, even the simplest "Hello world" ones. Could you give me some pointers on this one ?