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 > starter_kits_and_source_projects.portal_starter_kit Tags:
Item Type: NewsGroup Date Entered: 7/28/2003 3:24:01 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 8 Views: 27 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
9 Items, 1 Pages 1 |< << Go >> >|
nreagles
Asp.Net User
WROX Content Management Error7/28/2003 3:24:01 PM

0/0

I have the content management module working from the WROX book but all of a sudden the text editor is not working. When a user click on the add content link an error message pops up that says:

You cannot use this HTML Editor due to one of the following reasons:
1. Your browser is not Microsoft Internet Explorer
2. Your operating system is not windows based (such as Windows 98)
3. You do not have Windows 98 or later version on your system
4. You have Internet Explorer with version earlier than 5.X

Sorry for the inconvenience!

I am not sure how to prevent the error from appearing, this error is called from the function PrepareBrowserMsgJs. I am running IE 6.0 sp1, on a Windows XP machine so I am not sure why I am getting this error. Any help would be appreciated.
dickies
Asp.Net User
Re: WROX Content Management Error7/28/2003 3:36:26 PM

0/0

Can you intercept their Browser, Version. O/S before they hit the page? I'd find out what they're using first. If you're using RichTextBox then I think it only coveres IE5 + (can't be sure though). In any case, I think most HTML editors require ver 4 + to drive the DHTML.

If they have an older browser than that then just error check their version and give them a link to upgrade.
nreagles
Asp.Net User
Re: WROX Content Management Error7/28/2003 3:38:30 PM

0/0

I am using this on an Intranet page so all of the users have the same configuration, windows xp with IE 6.0
dickies
Asp.Net User
Re: WROX Content Management Error7/28/2003 3:45:05 PM

0/0

take out the HTML editor and see if the rest of the page renders - then you can narrow it down to that.
nreagles
Asp.Net User
Re: WROX Content Management Error7/28/2003 6:18:16 PM

0/0

The page renders I just get the error when I click Add Content, the error message isn't a compiler error it is a custom message box generated by a function in the code, I have never had this problem before so I am not sure why it has all of a sudden become an issue.
nreagles
Asp.Net User
Re: WROX Content Management Error7/28/2003 8:02:32 PM

0/0

I fixed the error, I recently upgraded to VS 2003 and .NET Framework 1.1 when I remapped the application to use the old version of the .net framework everything started working again, it looks like that application only works with the old version of the .net framework.
dickies
Asp.Net User
Re: WROX Content Management Error7/28/2003 8:08:51 PM

0/0

In ContentManagerEditor.vb (Component) line 344 is the function PrepareBrowserMsgJs.

It runs this check :


hbc = HttpContext.Current.Request.Browser

If ((hbc.MajorVersion < 5) Or (hbc.Browser <> "IE") Or ((hbc.Platform <> "Win95" And hbc.Platform <> "Win98" And hbc.Platform <> "WinNT"))) Then
sb.Append(ControlChars.CrLf)
sb.Append("alert('You cannot use this HTML Editor due to one of the following reasons: \r\n 1. Your browser is not Microsoft Internet Explorer \r\n 2. Your operating system is not windows based (such as Windows 98) \r\n 3. You do not have Windows 98 or later version on your system \r\n 4. You have Internet Explorer with version earlier than 5.X \r\n Sorry for the inconvenience!');")
sb.Append(ControlChars.CrLf)
ph.Visible = False
Else
sb.Append(Me.ClientID + "_WROX_TB.document.designMode ='On';" & ControlChars.CrLf)
sb.Append("if (document.getElementById('" + Me.ClientID + "') && " & " document.getElementById('" + Me.ClientID + "').value.length > 0)" & ControlChars.CrLf)
sb.Append("{" & ControlChars.CrLf & Me.ClientID & "_WROX_TB.document.open()" & ControlChars.CrLf)
sb.Append(ControlChars.CrLf & Me.ClientID & "_WROX_TB.document.write(document.getElementById('" + Me.ClientID + "').value)" & ControlChars.CrLf)
sb.Append(ControlChars.CrLf + Me.ClientID + "_WROX_TB.document.close()" & ControlChars.CrLf)
sb.Append("}" & ControlChars.CrLf)
sb.Append(Me.ClientID + "_WROX_TB.document.focus();" & ControlChars.CrLf)
sb.Append(PrepareCmdExecJs())
sb.Append(PreparePostItJs())
End If



You client must be using one of these:

If ((hbc.MajorVersion < 5) Or (hbc.Browser <> "IE") Or ((hbc.Platform <> "Win95" And hbc.Platform <> "Win98" And hbc.Platform <> "WinNT"))) Then


I recommend you switch to FreeTextBox or invest in another.

Do you get any problems with any other client browsers on your Intranet?

guenavan
Asp.Net User
Re: WROX Content Management Error6/20/2004 12:03:18 AM

0/0

Same problem. I just commented the check and came to work

Anyway it was stupid to verify and then hide only
the "Content body" field
because it is mandatory field and after filling all other fields,
its absence gives an error :(((( (with a loss of time and work)

In my case, it is certainly connected with my Norton Internet Security
trying "to protect" any collection of info about my browser
Guennadi Vanine - Gennady Vanin - ???????? ?????
guenavan
Asp.Net User
Re: WROX Content Management Error6/20/2004 12:45:05 AM

0/0

well, sorry, the RTF Editor became available but any attempt to submit any text produces an error:
"Description: Request Validation has detected a potentially dangerous client input value, and processing of the request has been aborted. This value may indicate an attempt to compromise the security of your application, such as a cross-site scripting attack. You can disable request validation by setting validateRequest=false in the Page directive or in the configuration section. However, it is strongly recommended that your application explicitly check all inputs in this case. "

even with validateRequest=false attrbute

Good point. How should I change precompiled assemblies?

Guennadi Vanine - Gennady Vanin - ???????? ?????
9 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
ASP.NET 2.0 Instant Results Authors: Imar Spaanjaars, Paul Wilton, Shawn Livermore, Pages: 456, Published: 2006
Professional Joomla! Authors: Dan Rahmel, Pages: 457, Published: 2007
Beginning Access 2002 VBA Authors: Robert Smith, Dave Sussman, Ian Blackburn, Mark Horner, Martin Reid, John Colby, Paul Turley, Helmut Watson, Pages: 976, Published: 2003
Beginning ASP.NET Databases Using VB.NET: Written and Tested for Final Release of .NET V.1.0 Authors: John Kauffman, Fabio Claudio Ferracchiati, Brian Matsik, Jesudas Chinnathampi, Eric N. Mintz, Jan D. Narkiewicz, Kent Tegels, Donald Xie, John M. West, James Greenwood, Pages: 480, Published: 2003
Building an ASP.NET Intranet Authors: Jonathon Walsh, Kourosh Ardestani, Matt Gibbs, Chandu Thota, Chad Hutchison, Brian Patterson, John Roth, Brian Boyce, Andy Elmhorst, Saurabh Nandu, Pages: 460, Published: 2002
Expert One-on-One J2EE Design and Development: J2EE Design and Development Authors: Rod Johnson, Pages: 742, Published: 2002
ASP.NET Website Programming: Problem - Design - Solution Authors: Marco Bellinaso, Kevin Hoffman, Pages: 576, Published: 2002
Professional ADO 2.5 Programming Authors: David Sussman, James Conard, Brian Matsik, John Papa, Ian Blackburn, Tim McCarthy, Simon Robinson, Pages: 1000, Published: 2000

Web:
WROX Content Management Error - ASP.NET Forums WROX Content Management Error. Last post 06-19-2004 9:08 PM by guenavan. 8 replies. Sort Posts:. Oldest to newest, Newest to oldest ...
p2p.wrox.com Forums - Error - Content is not allowed in prolog ... p2p.wrox.com Forums - error - content is not allowed in prolog. --- sos. ... Systems Management Server 2003, Windows Server, Open Source ...
p2p.wrox.com Forums - Error in code Chapter 13 Page 516 p2p.wrox.com Forums - error in code chapter 13 page 516. ... but an identical copy of the assembly is used in a Content Management System that is built to ...
Torrent - Wrox.Professional.Python.Frameworks.Web.2.0.Programming ... http://tracker4.finalgear.com:80/announce, unable to scrape (error code is ' timeout') ... portal creation, and content management, so you can focus on ...
Amazon.com: Professional SharePoint 2007 Design (Wrox Professional ... Professional SharePoint 2007 Web Content Management Development: Building Publishing Sites with Office SharePoint Server 2007 (Wrox Programmer to ...
Jim Minatel's Wrox Book Editor Blog ASP.NET, XML, CSS, Ajax, PHP ... Andrew Connell's Wrox book Professional SharePoint 2007 Web Content Management Development: Building Publishing Sites with Office SharePoint Server 2007 is ...
Professional Sharepoint 2007 Web Content Management Development ... Wrox.Professional.SharePoint.2007.Web.Content.Management.Development.Jun.2008. ... Something wrong with this torrent? Report error. Bookmark this page ...
Wrox::Home (1D07064B) / Internet Website Programming Collections; 10/29/07 XLIV Error in Code In the first code segment on this .... to leverage content and feeds from today s top Web sites-including Google, ...
Wrox::Home (21092019/1) / PHP (Hypertext Preprocessor) Info. 1/10/06 133 Error in this section from the Wrox First Wiki for Professional .... 2007 Web Content Management Development by John Holliday, Robert Bogue, ...
Invalid SQL statement - Wrox example p.475 : sql, invalid, statement Microsoft JET Database Engine error '80040e14' .... Application Servers; Content Management; CYGWIN; Database; Dev Tools; File Sharing ...




Search This Site:










windows authentication

default page problems on cssdk portal

is better to use xml or core dba

can't access stored procedure from stand alone aspx page

trouble with security/adding new tab

part of the url missing

calendar module

remember login

problems with the "source project for ibuyspy portal"

connecting to a remote db

portal window title

"discussions" module doesn't work

need mysql version of ibuyspy, rainbow...

problems sending mail from portal

menu link incomplete - subdomain name not showing up in url??

increasing the time it takes before a session times out

where to start after installing portal on local computer?

what is the difference between portal and myyahoo?

problem uploading to webhost...

writing my own modules

security issue - registering as new user

tabid and tabindex querystring

please help

nuevo portal en español

&amp;

portal which works with access and sql server 2000! ask for beta-testers

my admin tab is missing

creating other cookies

bug: [uploaded file stored in db]

tabindex question in portalsettings.activetabs

  Privacy | Contact Us
All Times Are GMT