CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

ASP.NET Web Hosting – 3 Months Free!



Zone: > NEWSGROUP > Asp.Net Forum > visual_studio.visual_studio_2008 Tags:
Item Type: NewsGroup Date Entered: 10/30/2007 6:46:06 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 6 Views: 107 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
7 Items, 1 Pages 1 |< << Go >> >|
bmatcuk
Asp.Net User
Could not edit ... because it is not in the web site.10/30/2007 6:46:06 PM

0/0

I have an interesting error that is driving me crazy. First, my setup: I have a master page nested inside another master page. Both pages include some CSS files via a link tag with rel set to stylesheet and href set to the file's absolute path. The main master page includes "/images/css/layout.css" and "/images/css/styles.css" whereas the nested master page includes "/images/style2.css" and "/images/css/layout.css" again. Please don't question this: I realize it looks like a mistake but it is purposeful. I need layout.css included after style2.css because the latter sets some weird styles. I do not have the power to change this properly and it wasn't my doing in the first place; I just started working here about 2 months ago. The only reason I mention it is because layout.css seems to be unaffected by my problem...


It seems when I try to edit a page (in source view only, if it matters - I don't use design view at all) that uses this nested master page, I quite often get popup error message dialogs that say "Could not edit /images/css/styles.css because it is not in the web site" and "Could not edit /images/style2.css because it is not in the website". Always those two files - it never complains about layout.css. These errors popup so frequently (and always together) that it is VERY difficult to get any work done. They seem to popup mostly when I'm editing something dealing with CSS such as setting the CssClass attribute, style attribute, or editing within an inline style tag (though they also popup when I open the web page file or at other random times).

 

I have found that if I keep both master page files open, the errors seem to mostly go away. I still get one or two, usually when opening a file or switching to it's tab.

 

Is there any way I can disable whatever feature is causing this problem? These error messages are extremely annoying. If I can't disable the feature, what can I do to make it happy so it will stop throwing errors? I found only one other person complaining of this problem and his conclusion was that the problem stemmed from using @import within a CSS file. I, however, am not using @import anywhere. Any ideas? Theories? Thoughts? Suggestions?

 

Thanks! 

pakko78
Asp.Net User
Re: Could not edit ... because it is not in the web site.1/7/2008 10:37:19 AM

0/0

Hi, were you able to solve this problem? We have the same problem here. thx

bmatcuk
Asp.Net User
Re: Could not edit ... because it is not in the web site.1/7/2008 1:38:56 PM

0/0

Unfortunately, no. It's a very annoying problem though. Please post back here if you manage to find a solution.
Barry Tang
Asp.Net User
Re: Could not edit ... because it is not in the web site.1/8/2008 7:15:33 PM

0/0

Hi,

Would you be able to send me your project so that I can try to reproduce the problem on my machine? Or at a minimum send me the problematic style sheets that you have.

Thanks!

Barry


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

This posting is provided "AS IS" with no warranties, and confers no rights.
Barry Tang
Asp.Net User
Re: Could not edit ... because it is not in the web site.1/8/2008 7:16:22 PM

0/0

You can send it to barryta-at-microsoft.com.

Thanks!

Barry


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

This posting is provided "AS IS" with no warranties, and confers no rights.
bmatcuk
Asp.Net User
Re: Could not edit ... because it is not in the web site.1/9/2008 3:43:40 PM

0/0

pakko78: It seems the problem for me was that one of my CSS files had inconsistent line endings. After correcting that, I haven't seen any of those annoying messages since.
Barry Tang
Asp.Net User
Re: Could not edit ... because it is not in the web site.1/9/2008 8:00:53 PM

0/0

Thanks to bmatcuk for providing me the files necessary to reproduce the problem! This is indeed an issue in VS2008 and a bug has been opened to track it. As bmatcuk said, the workaround is to make your files have consistent line endings. A quick way to correct all the line endings is to Format the Document (Ctrl+K, Ctrl+D).

Barry


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

This posting is provided "AS IS" with no warranties, and confers no rights.
7 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Special Edition Using Microsoft Office FrontPage 2003: Special Edition Authors: Jim Cheshire, Paul Colligan, Pages: 1080, Published: 2003
ASP.NET 2.0 Website Programming: Problem-design-solution Authors: Marco Bellinaso, Pages: 576, Published: 2006
Final Cut Pro 2 for FireWire DV Editing Authors: Charles Roberts, Pages: 320, Published: 2001
Handbook of Human Factors in Web Design Authors: Robert W. Proctor, Kim-Phuong L. Vu, Pages: 738, Published: 2005
The PC Easy Reader: Because You Are Not a Dummy Or an Idiot! Authors: David S. Hayden, Pages: 118, Published: 2000
Law of the Internet Authors: George B. Delta, Jeffrey H. Matsuura, Pages: 982, Published: 2001
Tubular Structures IX: Proceedings of the Ninth International Symposium and Euroconference on Tubular Structures, Düsseldorf, Germany, 3-5 April 2001 Authors: R. Puthli, S. Herion, Pages: 608, Published: 2001
Electronic Journal Management Systems: Experiences from the Field Authors: Gary Ives, Pages: 157, Published: 2005
Hackers Beware: The Ultimate Guide to Network Security Authors: Eric Cole, Pages: 778, Published: 2001
Search Engine Advertising: Buying Your Way to the Top to Increase Sales Authors: Catherine Seda, Pages: 347, Published: 2004

Web:
Could not edit ... because it is not in the web site. - ASP.NET Forums Could not edit ... because it is not in the web site. Last post 05-16-2008 5:49 AM by grimfandango. 7 replies. Sort Posts: ...
Error "Could not complete your request because it is not the right ... Error "Could not complete your request because it is not the right kind ... Formal Web Site Critiques & Make-overs: If you're really serious ...
Safari Can't Open the Page because it could not connect to the ... Jul 13, 2007 ... Safari Can't Open the Page because it could not connect to the server iPhone ... You may not post attachments. You may not edit your posts ...
Wikipedia:What Wikipedia is not - Wikipedia, the free encyclopedia You may not host your own website, blog, or wiki at Wikipedia. .... It is not appropriate to create or edit articles that read as textbooks, with leading ...
Re: Could not load an object because it is not availabe on this ... "Could not find an object because it is not available on this ... The web site states the program only works with PPT 97/2000/2002 so my ...
Self Updatable Website, Self Editable Website, Customised Website ... Your self updatable website or self editable website will also allow you to ... We could not mention the specific price here because we do not know your ...
growingnationp4 » Because I could not stop for Death— Because I could not stop for Death—Edit ..... Look for the text box under "Paste HTML to embed in website" Google Maps; Copy the text from that box into the ...
"Could not complete your request because an unknown or invalid ... You may not post attachments. You may not edit your posts ... General web building, Site reviews, :: Server side development, Perl/ CGI ...
Error: "Acrobat could not perform recognition (OCR) on this page ... Obtain a copy of the document that does not contain editable text. ... Use of this website signifies your agreement to the Terms of Use and Online Privacy ...
Question about super admin not able to edit. No upgrade to 4.6.2 ... There is no upgrade for it because it is not yet a release. ... Website admin edit, s4Lt, Local Installation Questions, 3, September 29th, 2006 19:05 ...

Videos:
Syaoran's Everything Song: Everything Artist: FeFe Dobson Anime: TRC My third AMV. A bit more choppy then the secound, but that is because I just made it when I was bored...
ACDC - Rock 'N' Roll Train (This is NOT SoloDallas!) [EDIT] Let me explain the title. I was afraid the judges, seeing my name, would assume Fil posted two videos and overlook this video. That's why I am...
The Semantic Chemical Web: GoogleInChI and other Mashups Google Tech Talks September 13, 2006 Peter Murray-Rust is Reader in Molecular Informatics at the University of Cambridge and Senior Research Fellow ...
Learn How To Make A Website Go to http://www.supawebsite.com and learn how to make a website in less than 30 minutes. A website (alternatively, web site or Web site, a back-co...
Docs for the Web: HTML Another way to get content on the web is to just convert documents that you already have. This video takes you through ways you can convert Microsoft...
Exposition of Parables-116: Mark 9.27-50:Healed by Faith Exposition of Mark 9.27-50:- But Jesus took him by the hand, and lifted him up; and he arose. 28 And when he was come into the house, his Labourers a...
Korean Folk Town which isn't released yet - EMS 0.44 Korean Folk Town (KFT) which is not released yet on Europe Maple Story, but thit is possible to get inside there somehow... (version 0.44) People of...
Cody Moya Teaches You How to Build an Online Business with Google Adsense You are about to discover how to be in business online for yourself, but not by yourself, with the fastest, most foolproof way to generate cash profi...
BreakingNews: Traffic Secrets 2.0 Revealed! (Not John Reese) Breaking News: Traffic Secrets 2.0 Revealed! http://www.MLMGoldMine.com/trafficsecrets ..... This is me and my buddy James Scott. James Scott is on...
Pranking My Roommate Hi, my name's Patrick. My roommate Kourosh started a prank war with me a little while ago. Tonight I think I won. He was using a blackhead strip o...




Search This Site:










selecting multiple controls w/ ctrl + click

properties window not (usually) working in design mode

vs2008: suddendly is making events code inline instead of in the codebehind file?

feature request

visual studio 2008 will not find classes

how to install visual studio 2008 on fresh install of vista 32bit?

layout menu is not available .[in vs2008]

2 years msdn subscription for $1000 - is it "legal" ?

missing templates

can't convert vs2005 asp.net apps to vs2008

microsoftajax.js - no such interface supported error

error: object reference not set

laptop (xp pro) died after installing orcas beta 1

css problem in form tag in vs

sql errors not being thrown in visual studio 2008

copy references from one project to another

change management in vs2008???

javascript intellisense

ajax template

debugging classic asp in vs2008?

vs 2008 won't recognize css

help with testing database driven app.

associationattribute.deleteonnull

where is the bin folder located?

deploying sub projects with vs 2008

unable to start debugging, server is configured incorrectly...?

whats the difference between web site creation and web application creation in dotnet 2.0

upgrade from vs2003 pro to vs2008 pro

confused - does visual web developer 2008 include the ajax toolkit?

strange lines in new web.config (.net 3.5)?

  Privacy | Contact Us
All Times Are GMT