473,473 Members | 1,768 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Solution for "illegal characters in path" error message in ASP.NET

I have been having trouble the last few days opening any ASP.NET web
forms in the design view in the designer. Every time I clicked on an
aspx file I got a message box with the error "Unable to open in
designer. Illegal characters in path" and the file is instead opened
in HTML view. I don't know what application or situation may have
caused this error. I looked on the newsgroups and noticed that
numerous other people were having this problem.

The way I fixed it was to:
1> Go to another machine with same version of VS.NET and OS
2> run "regedit"
3> Select "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramewo rk" branch
from tree on the machine that does not have this issue.
4> Select File->Export from the menu of Registry Editor to export
branch to file.
5> Double-click on this file on the machine that is having the issue.

The error message should be gone and the aspx files should now be
viewed correctly in the designer. This is what worked for me.

I hope this helps other people who have struggled with the same issue.

------------

Steve Grahovac
Nov 18 '05 #1
1 5391
Steve,

Thank you for posting this to the group!

Jim Cheshire, MCSE, MCSD [MSFT]
Microsoft Developer Support
ASP.NET
ja******@online.microsoft.com

This post is provided as-is with no warranties and confers no rights.

--------------------
From: sg******@hotmail.com (Steve Grahovac)
Newsgroups: microsoft.public.dotnet.framework.aspnet
Subject: Solution for "illegal characters in path" error message in ASP.NET
Date: 1 Jan 2004 12:03:33 -0800
Organization: http://groups.google.com
Lines: 25
Message-ID: <7f**************************@posting.google.com >
NNTP-Posting-Host: 65.26.193.244
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1072987413 5967 127.0.0.1 (1 Jan 2004 20:03:33 GMT)X-Complaints-To: gr**********@google.com
NNTP-Posting-Date: Thu, 1 Jan 2004 20:03:33 +0000 (UTC)
Path: cpmsftngxa07.phx.gbl!cpmsftngxa06.phx.gbl!TK2MSFTN GP08.phx.gbl!newsfeed00.su
l.t-online.de!t-online.de!newsfeed.icl.net!newsfeed.fjserv.net!new s.maxwell.
syr.edu!postnews1.google.com!not-for-mailXref: cpmsftngxa07.phx.gbl microsoft.public.dotnet.framework.aspnet:199254
X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet

I have been having trouble the last few days opening any ASP.NET web
forms in the design view in the designer. Every time I clicked on an
aspx file I got a message box with the error "Unable to open in
designer. Illegal characters in path" and the file is instead opened
in HTML view. I don't know what application or situation may have
caused this error. I looked on the newsgroups and noticed that
numerous other people were having this problem.

The way I fixed it was to:
1> Go to another machine with same version of VS.NET and OS
2> run "regedit"
3> Select "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramewo rk" branch
from tree on the machine that does not have this issue.
4> Select File->Export from the menu of Registry Editor to export
branch to file.
5> Double-click on this file on the machine that is having the issue.

The error message should be gone and the aspx files should now be
viewed correctly in the designer. This is what worked for me.

I hope this helps other people who have struggled with the same issue.

------------

Steve Grahovac


Nov 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Kostatus | last post by:
The following code worked perfectly fine until i modified an unrelated part of the program: this->dungArea.mBlocked = mioS.mio_dungArea.mFlags & isBlocked; after that i started getting the...
2
by: Karl Koscher | last post by:
I'm trying to communicate with a USB device using C#. I'm able to determine the device path using P/Invoke and SetupDiGetClassDevs, SetupDiEnumDeviceInterfaces, and SetupDiGetDeviceInterfaceDetail,...
10
by: Alpha | last post by:
I use FolderBrowserDlg for user to select a folder path then store it in the sql table. I then retrieve it to concatenate in a sqlcommand text to retrive files from that directory but it won't...
0
by: dsh | last post by:
I have an ASP.NET web application running on a load-balanced Windows Server 2003 web farm running IIS 6.0, using Active Directory authentication. I'm trying to programmatically create a new...
1
by: Jonas Auken | last post by:
hi, I have a repeater which dynamically loads another usercontrol throught databinding: OnClick: DataBind() rptProduct_ItemDataBound: ViewSmall _viewSmall = (ViewSmall)...
3
by: Eckhard Schwabe | last post by:
I only found one post on Google where someone mentions the same problem with a DataSet: XmlDataReader in .Net 1.1 can not read XML files from a path which contains "%10" or "%3f". code to...
3
by: Kondapanaidu | last post by:
Hi, I am using C#.NET1.1 My solution is having different projects How will I know My solution path like(Application.startupPath) this is for Individual projects this will gives upto their...
1
by: Shilpa | last post by:
Hi, I have a OpenFileDialog on my windows form whose filter is *.*. I want the users to be able to further filter the files by giving *.doc or *.zip etc in the "file name" field of the dialog...
0
by: Zuhaib Hyder | last post by:
i'm trying to configurer my dot net site on lcal IIS, which use ms access database while i try to access from other pc's, then database path error occurs, bcz my connection was trying to find...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.