Javascript error under IE 6 on System Messenger Express 6.1
Hi ,
I am using messaging server System Messenger Express 6.1 (2005Q1) for providing webmail service. It support en and zh-TW language.
There are no problem on the webmail under english language version. However when user change his preferred language to zh-TW, after he login to the webmail and click the address book link, it has no problem on the first time access.
However when user visit other link such as Inbox and then go back to the Address book page, it encounter the following error and no display on the screen.
Line: 10
Char: 35
Error: Unterminated string constant
Code: 0
URL: http://hostname /zh-TW/pab_fs.html?&security=false&lang=zh-TW&charset=escaped_unicode
Line: 16
Char: 3
Error: 'main' is not an object
Code: 0
URL: http://hostname/zh-TW/pab_fs.html?&security=false&lang=zh-TW&charset=escaped_unicode
I have tried the same scenario in firefox and IE 5, it does not have the error above. I think user mostly will use the IE6 for browsing. Anyone has idea on it?
Thanks
One of many bugs in 6.1. Suggest upgrading to at least 6.2. Please note, 6.3 was released last week.
6.1 to 6.2 is as easy as applying several patches:
You will need to patch any JES componants that are on the same box, and the "shared componants". See the 6.2 documentation for how to upgrade.
Similar Messages
-
Install System Messenger Express 6.1 ?
Hello, is it possible to install System Messenger Express 6.1 on Windows XP?
Thank youpeglomaniac wrote:
Ok thanks for that. Can I trouble you once more... do you know if Messenger Express acknowledges and sends back read receipts?I don't have a Messenger Express 6.1 install any more to confirm. Messenger Express 6.2 does provide read receipt functionality. Note however that the user gets a "Receipt requested. Send acknowledgment?" pop-up so acknowledging the email is voluntary.
Regards,
Shane. -
JavaScript error under Sp.ribbon.js on SharePoint Online
Hi everyone,
I'm trying to add a custom button on my ribbon for easier approval process, I use JavaScript to do this in a Script Editor web part on a task list view. The script works fine but when he tries to access the ribbon to actually add the button the ribbon crashes
so I don't even have the usual ribbon.
I used the IE JavaScript editor and I have an error on the sp.ribbon.js the "funny" part is that I only use that library I made no modification (also because I'm using SharePoint Online so I don't have access to it).
there is the error that I get with IE:
and there is the code I use to add the ribbon:
$this.ExecuteOrDelayUntilScriptLoaded(init_addButton, "sp.ribbon.js");
function init_addButton(){
setTimeout(function(){
var defaultWP = document.getElementById("MSOZoneCell_WebPartWPQ1");
WpClick({target:defaultWP,srcElement:defaultWP});
},100);
setInterval(function(){
if($("#RibbonContainer_activeTabId").val()==="Ribbon.ITEMS" || $("#RibbonContainer_activeTabId").val()==="Ribbon.ListItem"){
addRibbomButton();
},1000);
alert("test");
function addRibbomButton(){
if($("#ribbonApproveAll").length===0){
var b = [];
b.push("<li id='ribbonApproveAll' class=ms-cui-group unselectable='on'>");
b.push("<SPAN class='ms-cui-groupContainer' unselectable='on'>");
b.push("<SPAN class='ms-cui-groupBody' unselectable='on'>");
b.push("<SPAN class='ms-cui-layout' unselectable='on'>");
b.push("<SPAN class=ms-cui-section unselectable='on'>");
b.push("<SPAN class=ms-cui-row-onerow unselectable='on'>");
b.push("<A id='approveAllButton' class='ms-cui-ctl-large ms-cui-disabled' role=button onclick='approveSelected();return false;' href='javascript:;' unselectable='on' mscui:controltype='Button'>");
b.push("<SPAN class='ms-cui-ctl-largeIconContainer' unselectable='on'>");
b.push("<SPAN class=' ms-cui-img-32by32 ms-cui-img-cont-float' unselectable='on'>");
b.push("<IMG style='TOP: -129px; LEFT: -255px' alt='' src='/_layouts/1033/images/formatmap32x32.png' unselectable='on'>");
b.push("</SPAN>");
b.push("</SPAN>");
b.push("<SPAN class=ms-cui-ctl-largelabel unselectable='on'>"+tabBtn.btnLabel+"</SPAN>");
b.push("</A>");
b.push("</SPAN>");
b.push("</SPAN>");
b.push("</SPAN>");
b.push("</SPAN>");
b.push("<SPAN class='ms-cui-groupTitle' title='"+tabBtn.groupLabel+"' unselectable='on'>"+tabBtn.groupLabel+"</SPAN>");
b.push("</SPAN>");
b.push("<SPAN class='ms-cui-groupSeparator' unselectable='on'></SPAN>");
b.push("</li>");
setTimeout(function(){
if($("#Ribbon\\.ITEMS").length===1){
$("#Ribbon\\.ITEMS").append(b.join(''));
}else if($("#Ribbon\\.ListItem").length===1){
$("#Ribbon\\.ListItem").append(b.join(''));
},100);
alert("test");
alert("test 1");
setTimeout(function(){
var cc = new SP.ClientContext.get_current();
var web = cc.get_web();
var currLib = web.get_lists().getById(SP.ListOperation.Selection.getSelectedList());
var selectedItems = SP.ListOperation.Selection.getSelectedItems();
if(selectedItems.length>0){
$("#approveAllButton").removeClass("ms-cui-disabled");
}else{
$("#approveAllButton").addClass("ms-cui-disabled");
},200);
I didn't write that code but the website where I found it had some review that says that it was working and I'm more a C# dev than a JavaScript so I'm not use to debug it. Is that a version problem an implementation problem and how to solve it ?
Thanks for your time :)Hi,
I think this is not the right way of customising ribbon. SharePoint has a very powerful ribbon management XML framework. So instead of javascript hacking, I would recommend you to use the XML based ribbon customisation. Reference:
http://msdn.microsoft.com/en-us/library/office/jj163954(v=office.15).aspx.
Thanks,
Sohel Rana
http://ranaictiu-technicalblog.blogspot.com -
Javascript error which blocks online video from msnbc
Frequently when I try to play an online video from MSNBC the video stops with a tapping sound and I see a javascript errors under the debug console alert. There is no suggestion as to how to fix the error. Do I need to go to the Apple store to fix this?
just download the MSNBC app.
-
Cannot open certain messages in Messenger Express
Sun Java(tm) System Messaging Server 6.3-5.02 (built Oct 12 2007; 32bit)
libimta.so 6.3-5.02 (built 17:15:31, Oct 12 2007; 32bit)
SunOS f3 5.10 Generic_125100-10 sun4u sparc SUNW,
We have a user who cannot open certain sent messages - I reconstructed her mailbox to no avail - I also copied the messages to my mailbox and reconstructed, I also couldn't open them.
Once one of the problem msgs is clicked, every message becomes unreadable, it seems to break the javascript function (javascript:parent.M(n)) which is responsible for popping up msg windows for reading.
Re-logging in, or a refresh fixes. Until one is clicked again.
My Firebug debugger shows:
an "unterminated literal string" error and references this for example:
'Dear Mr. Smith:<BR><BR> \nHere are some of the content encoding headers from two msgs. One of these had a Word doc attached, one doesn't seem to have any attachments.
X-Accept-Language: en^M
Priority: normal^M
Content-Type: multipart/mixed; boundary="--828bfdc62b245de1365"^M
^M
This is a multi-part message in MIME format.^M
^M
----828bfdc62b245de1365^M
Content-Type: text/plain; charset=utf-8^M
Content-Disposition: inline^M
Content-Transfer-Encoding: quoted-printable^M
^M
X-Accept-Language: en^M
Priority: normal^M
In-Reply-To: <[email protected]>^M
References: <[email protected]> <F6D57
[email protected]>^M
Content-Type: text/plain; charset=us-ascii^M
Content-Disposition: inline^M
Content-Transfer-Encoding: 7bit^M
^MI see the ^Ms - they're also in at least one msg that opens with no problem.
Two things though the problem msgs do have in common are strange encoding in the body e.g.:
Dear Mr=2E Smith=3A^M
^M
=E2=80=A8=E2=80=A8Thanks for the letter-=^M
blah blah XYZ=2C Inc=2E I would love the=^M
opportunity to blah blah blah=2E Please call or email me a=^M
t foo=40bar=2Ecom=2E^M
^M
Sincerely=2C^M
^M
Robert Johnson=2C CPME^M
888-888-8888=E2=80=A8^M
^Mand inline enclosures with [Content-Transfer-Encoding: quoted-printable^M]:
----4cdf31a7fc87b8c1e2a^M
Content-Type: text/plain; charset=utf-8^M
Content-Disposition: inline^M
Content-Transfer-Encoding: quoted-printable^M
----828bfdc62b245de1365^M
Content-Type: text/plain; charset=utf-8^M
Content-Disposition: inline^M
Content-Transfer-Encoding: quoted-printable^M
^MThanks,
s7Thanks for clarifying on the encoding vs charset and for the other reference in these forums.
The client is listed as:
X-Mailer: Sun Java(tm) System Messenger Express 6.3-5.02 (built Oct 12 2007; 32bit)
I was told this particular user used Safari... could that influence the transfer-encoding? Or is ME messing up?
I'm not sure it's possible - but might he have created this in ME from an already received, but messed up message (e.g. one w/ the quoted-printable encoding)? In ME it seems he wouldn't be able to open these for editing.
The X-Mailer header is in the first set of headers,
The second set contains the multi-part - printed quotable and in-line enclosed (as opposed to attached) Word .doc.
Here are the full headers (this is a sent message from the send folder):
foo@x3$ more 79.msg
Received: from [xxx.xx.xxx.xx] by mail.alt.foo.bar.org (mshttpd); Mon,
21 Apr 2008 16:04:24 -0400
From: Howard M Smith <[email protected]>
To: [email protected]
Message-ID: <[email protected]>
Date: Mon, 21 Apr 2008 16:04:24 -0400
X-Mailer: Sun Java(tm) System Messenger Express 6.3-5.02 (built Oct 12
2007; 32bit)
MIME-Version: 1.0
Content-Language: en
Subject: MCSE
X-Accept-Language: en
Priority: normal
Content-Type: multipart/mixed; boundary="--bb097b47de131257729"
This is a multi-part message in MIME format.
----bb097b47de131257729
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Dear Ms=2E Gord=3A
=E2=80=A8=E2=80=A8Attached is my cover letter and resume for the teleph=
one-based computer programming position at Comp USA=2C Inc=2E I would love the=
opportunity to interview for this position=2E Please call or email me a=
t howard=40bar=2Eorg=2E
Sincerely=2C
Howard Smith=2C MCSE
212-555-1212=E2=80=A8
----bb097b47de131257729
Content-Type: application/msword
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="Howard M Smith Resume
BAR.doc"
0X5R4KKxGuEBBBBBBBBBBBBBBBBBPgADAP7/CQAGBBBBBBBBBBBBBBABAAAAIwBBBBBB
BBBBEAAAPQAAAAEAAAD+////BBBBBBBCQAAAD///////////////////////////////////// -
Javascript error in BEx after system database copy
Hello,
we made a database copy of our BW 3.1 system on another hardware. After having done everything described in the How-To-Guide "Enable SAP BW Web functionality", we called the BEx via URL. The login screen displays and also the Report menu, but there occur JavaScript errors on the page, that didn't occur in the copy master. E.g.
"SAPBWSSgdo is null or not an object" or
"SAPBWItemCatalog undefined".
These errors prevent the choice menu for BW report value options to be displayed, which is quite annoying. Does anybody know where the error might come from? Are there any components required by BEx which weren't copied with the database copy?
Thanks for your help in advance,
Volker HofmannHi Beat,
thanks you're helping me! The MIME-Repository objects like JS-Files, stylesheets and images can be read. The strange thing is:
The J2EE engine is hosted by a provider. When they're calling the BEx web reports, they're displayed correctly. But when we call them (via proxy!), the error occurs. Even the application management doesn't know where the error comes from, after having checked if the proxy caches old data. The error is still not resolved...
Do you have another idea?
Regards,
Volker -
JavaScript Error in Sun Java System Messaging 6 with P1
I get a error messages when i click on a mailbox and it does not contain any messages. This concerns all mailboxes, INBOX, SENT, TRASH and DRAFTS.
The error disappears when i get a messages och a draft in the boxes. Does someone know whats wrong in the javascript code?
Error messages:
JavaScript Error
http://host.domain.topdomain/mbox_fs.html?&rtfPossible=true&security=false&lang=en&charset=escaped_unicode, Line 127
The object does not support the methodTo log a bug, please open up a tech support case. I can't do it from this forum. . .
-
Javascript error in Content Admin- Portal Content- iview Navigation window
Hi friends,
We are in the process of portal migration and as a part of this, we installed NW04 SPS 14 using Rapid Installer and then upgraded it to SPS 18. The components we upgraded are:
Java component
Portal Platform
Knowledge Management and Collaboration
Adobe Document Services
BI UDI
BI MMR
After upgradation, when we logged in to portal, we were not able to see/browse Portal pages/Roles/Iviews/Worksets (PCD Contents) under Content Administration->Portal Content.
Again, whichever window is there for navigation of PCD, we are not able to see the contents of PCD.For e.g. System Administration -> System Configuration.
Does anyone know how to solve this issue?
Regards,
NilzHi nilz,
See this thread:
Getting javascript error while logging in EP
Javascript error when loading Portal Content
Regards, Suresh KB -
Javascript Error 45, repairs are futile
Hello, I have had the same issue as this guy: http://forums.adobe.com/message/1313096
Javascript error 45, oject invalid, line 387, and then 428. The program then crashes if I click on anything.
I am running CS3 on Windows Vista.
Have tried a system restore to a point before InD was crashing; deleting recovery data; reinstalled the software; then deleted program entirely and resinstalled... Also tried searching for "jsx" files within "startup scripts" as in here: http://forums.adobe.com/message/3415159 however, there is no Startup Scripts folder: the Scripts folder has an empty folder in it called Scripts Panel. (All hidden files are shown). When I remove that folder, another is created upon launching the application.
I also searched for this guy: OEBExportMenuItemLoader.jsx and it did not show up in a search.
The only thing allowing me to run InD is creating a new user. What should I do now? All my stuff is under the old user account. so...is there any way to run InD "as myself" anymore?
Thanks,
CarolineTry emptying the recovery folder again, then trash your prefs (see Replace Your Preferences) and restart.
If that doesn't work, you'll probably need to uninstall again and remove prefs when asked, then reboot, run the clean script (see Resolve installation problems with CS5 Cleaner Tool which should also work for CS3), reboot, run MSConfig and turn off all unnecessary startup programs and services, reboot, run the installer, and run MSConfig again to restore normal boot. -
Actions menu in Forums throws Javascript error, remains blank
The forum is very confusing for new users, and throws a JavaScript exception if you aren't logged into adobe.com AND the forum content well below the header.
I've been trying to post something for a while now, but had to investigate the poor design of the site to gain access to the forum. One must first login to adobe.com, then locate the obscure link under the header to login to the forum section specifically.
Once logged in the menu works and JavaScript error goes away.
Why not just use the global auth token, or if you're going to use third party software for the forums, extend their code to work with the global auth token?The forum is very confusing for new users, and throws a JavaScript exception if you aren't logged into adobe.com AND the forum content well below the header.
Let's get one thing clear; To view these forums, you do not need to be logged on; Anybody can view the questions and answers without logging in.
If you want to take part in these forums e.g you want to post a question or you want to post an answer based on your experience or you just want to comment on something, then you need to be logged on. This is a security issue and all forums that I know of require you to register before you can post anything.
As to JS error, it is dependent on your systems security configuration. For example when I am using IE8, I always get an alert message to say that a page contains a script. Do you want to load the blocked content? I would answer yes if I know which website I am visiting otherwise it is a NO NO. In firefox, I have set it to allow all scripts JAVA/JS and so I don't get any such alerts. I also have Mcaffee Site Advisor installed so it warns me about any sites that are potentially dangerous.
Hope this clarifies the position based on my experience.
Hope this helps. -
Javascript error calling a bi 7.0 webapplication from a bsp application
Hi everyone,
This is the scenario we're facing a javascript error :
Enterprise Portal is calling a custom bsp application ( via an iview in the enterprise portal ) in the bi system with a parameter "template_id" and a value, which is the technical name of a bi web application.
The bsp application is evaluating the parameter by some custom code and creating a html page with a redirect or a maintenance message to the bi web application passed with the parameter "template_id".
The html link to the bi web application is created according to this documentation :
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/46/03d4ac801467e6e10000000a1553f6/content.htm
Purpose of the bsp application :
in the bi system there is a database table to maintain a flag for each webtemplate and infocube, which should not be called via the enterprise portal for a certain time ( some kind of maintenance switch ). The bsp application then decides to show a maintenance page for the called webtemplate or to send the redirect page to the client.
The process described above is :
working with the bi 7.01 sp7 in the bi ( enterprise portal sp22 ) in the productive system.
working in the Q&A system bi 7.01 sp8 with bi 3.5 web applications.
not working in the Q&A system bi 7.01 sp8 with bi 7.0 web applications.
The javascript error calling bi 7.0 web applications is :
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Win64; x64; Trident/4.0; .NET CLR 2.0.50727; SLCC2; .NET4.0C; .NET4.0E)
Timestamp: Mon, 6 Jun 2011 09:11:04 UTC
Message: Object doesn't support this property or method
Line: 96
Char: 11
Code: 0
URI: https://mlptb1.mlp-ag.com:58001/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?TEMPLATE=B_221_002_KUNDEN_POSTEN_AD
We've opened a message. Support center is saying that this method isn't supported by sap. We should ommit the bsp application and the used functionality.
Is there any way to find out, what is causing this object is missing ?
Is there another way than a bsp application to use this custom maintenance function in the described system setup ?
system components :
production system
SAP NetWeaver 7.0 Portal SP22
SAP BI 7.01 SP 7
q&a system
SAP NetWeaver 7.0 Portal SP22
SAP BI 7.01 SP 8
Kind regards.
DirkHello everyone,
we did some further analysis on this problem und we think we found the problem.
The error occurs while trying to execute the standard url for web templates inside a Enterprise Portal Frame, for example
https://XXX:XXX/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?TEMPLATE=XXX
While executing the URL a HTML-Page with some embeded Javascript-code is sent back to the browser.
In this Javascrip-Code, the method-call "dsmObj.registerAll" leads to a script error in Internet Explorer.
dsmObj.registerAll("pcd:portal_content/com.sap.pct/platform_add_ons/com.sap.ip.bi/iViews/com.sap.ip.bi.bex", "GUSID:6FC9SuhGDPIMMLwOdeHEIg--_7WQud13yeLJDz2kYoQFSg--", "1307605928212");
In SP7, the method "dsmObj.registerFullKey" is called instead of "dsmObj.registerAll". This has changed in SP8.
dsmObj.registerFullKey("GUSID:iBPvyska9*xE_JBalkQG2g--YyKv2C3NToP0I79Mw7EO8w--", "1307606479963");
The object "dsmObj" seems to reference the parent frame of the Enterprise Portal.
Has anyone seen this before? Any ideas how we can fix this?
Kind regards,
Matthias
Edited by: Matthias Keller on Jun 9, 2011 2:07 PM -
On my iPad 2 I can nolonger view maps. It says there are JavaScript errors. How can I fix this problem?
First, try a system reset. It cures many ills and it's quick, easy and harmless...
Hold down the on/off switch and the Home button simultaneously until the screen blacks out or you see the Apple logo. Ignore the "Slide to power off" text if it appears. You will not lose any apps, data, music, movies, settings, etc.
If the Reset doesn't work, try a Restore. Note that it's nowhere near as quick as a Reset. Connect via cable to the computer that you use for sync. From iTunes, select the iPad/iPod and then select the Summary tab. Follow directions for Restore and be sure to say "yes" to the backup. You will be warned that all data (apps, music, movies, etc.) will be erased but, as the Restore finishes, you will be asked if you wish the contents of the backup to be copied to the iPad/iPod. Again, say "yes." -
Hello,
I currently having a series of errors (18 issues) that are occurring under the below Correlation ID ad1a22f5-1ddb-4fa5-8487-143cb6fd0f9d
I have listed (3) that are in the Web Parts category, this error/issue is causing several timed job to no longer work properly I have been trying to find the root cause for about a week now. If anyone has encountered a issue
such as this one I'm open for suggestions.
(1)
Error while executing web part: System.Xml.Xsl.XslLoadException: XSLT compile error. An error occurred at (1,475). ---> System.Net.WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure. at System.Net.Security.SslState.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest
asyncRequest, Exception exception) at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer,
AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer,
AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer,
AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult
lazyResult) at System.Threading.ExecutionContext.runTryCode(Object userData) at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result) at System.Net.TlsStream.Write(Byte[]
buffer, Int32 offset, Int32 size) at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size) at System.Net.ConnectStream.WriteHeaders(Boolean async) --- End of inner exception
stack trace --- at System.Net.HttpWebRequest.GetResponse() at System.Xml.XmlDownloadManager.GetNonFileStream(Uri uri, ICredentials credentials) at System.Xml.XmlUrlResolver.GetEntity(Uri
absoluteUri, String role, Type ofObjectToReturn) at Microsoft.SharePoint.WebPartPages.WSSXmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn) at System.Xml.Xsl.Xslt.XsltLoader.CreateReader(Uri
uri, XmlResolver xmlResolver) at System.Xml.Xsl.Xslt.XsltLoader.LoadStylesheet(Uri uri, Boolean include) at System.Xml.Xsl.Xslt.XsltLoader.LoadStylesheet(XmlReader reader, Boolean include)
--- End of inner exception stack trace --- at System.Xml.Xsl.Xslt.XsltLoader.LoadStylesheet(XmlReader reader, Boolean include) at System.Xml.Xsl.Xslt.XsltLoader.Load(Compiler compiler, Object stylesheet, XmlResolver
xmlResolver) at System.Xml.Xsl.Xslt.Compiler.Compile(Object stylesheet, XmlResolver xmlResolver, QilExpression& qil) at System.Xml.Xsl.XslCompiledTransform.CompileXsltToQil(Object stylesheet, XsltSettings
settings, XmlResolver stylesheetResolver) at System.Xml.Xsl.XslCompiledTransform.LoadInternal(Object stylesheet, XsltSettings settings, XmlResolver stylesheetResolver) at System.Xml.Xsl.XslCompiledTransform.Load(XmlReader
stylesheet, XsltSettings settings, XmlResolver stylesheetResolver) at Microsoft.SharePoint.WebPartPages.DataFormWebPart.LoadXslCompiledTransform(WSSXmlUrlResolver someXmlResolver) at Microsoft.SharePoint.WebPartPages.DataFormWebPart.GetXslCompiledTransform()
at Microsoft.SharePoint.WebPartPages.DataFormWebPart.PrepareAndPerformTransform(Boolean bDeferExecuteTransform)
(2)
InnerException 1: System.Net.WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according
to the validation procedure. at System.Net.Security.SslState.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, Exception exception) at System.Net.Security.SslState.ProcessReceivedBlob(Byte[]
buffer, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.ProcessReceivedBlob(Byte[]
buffer, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.ProcessReceivedBlob(Byte[]
buffer, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.ForceAuthentication(Boolean
receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult) at System.Threading.ExecutionContext.runTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback,
Object state) at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result) at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size) at System.Net.PooledStream.Write(Byte[]
buffer, Int32 offset, Int32 size) at System.Net.ConnectStream.WriteHeaders(Boolean async) --- End of inner exception stack trace --- at System.Net.HttpWebRequest.GetResponse()
at System.Xml.XmlDownloadManager.GetNonFileStream(Uri uri, ICredentials credentials) at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn) at Microsoft.SharePoint.WebPartPages.WSSXmlUrlResolver.GetEntity(Uri
absoluteUri, String role, Type ofObjectToReturn) at System.Xml.Xsl.Xslt.XsltLoader.CreateReader(Uri uri, XmlResolver xmlResolver) at System.Xml.Xsl.Xslt.XsltLoader.LoadStylesheet(Uri uri, Boolean include)
at System.Xml.Xsl.Xslt.XsltLoader.LoadStylesheet(XmlReader reader, Boolean include)
(3)
InnerException 2: System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure. at System.Net.Security.SslState.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest
asyncRequest, Exception exception) at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer,
AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer,
AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer,
AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult
lazyResult) at System.Threading.ExecutionContext.runTryCode(Object userData) at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result) at System.Net.TlsStream.Write(Byte[]
buffer, Int32 offset, Int32 size) at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size) at System.Net.ConnectStream.WriteHeaders(Boolean async)Hello,
It seems that issue is related to certificate. Could you please upload certificate to central admin and make it trust.
Just try this and see the result:
http://social.technet.microsoft.com/Forums/en-US/cbc58585-1673-4c91-b8c1-1b95c339bbb7/could-not-establish-trust-relationship-for-the-ssltls-secure-channel?forum=fastsharepoint
http://social.msdn.microsoft.com/Forums/en-US/7a7e56ba-6e95-4a84-9384-791818cce89d/the-underlying-connection-was-closed-could-not-establish-trust-relationship-for-the-ssltls-secure?forum=sharepointdevelopmentprevious
http://www.infotext.com/help/sharepoint-could-not-estabilish-trust-relationship-for-the-ssltls-secure-channel-when-crawling-ssl-enabled-websites/
If still face the issue then tell us more about your webparts and also confirm if you are facing same problem to other page and site.
Hemendra:Yesterday is just a memory,Tomorrow we may never see
Please remember to mark the replies as answers if they help and unmark them if they provide no help -
Javascript error when creating a new OC4J instance?
Hi
Im trying to deploy the documentum portlet, and a requirement was to install Ant, Java SDK....and i did
after that...on my Application server machine (the portal), when i login to the enterprise manager to start a new OC4j instance, my browser shows a script error in the status bar in IE 6.0.
it says: Object expected, ....and whenever i click "Create OC4j instance" the page is scrolled up to the top part of the page. so there is some kind of javascript error. how can i fix this? its stopping me from my development process.
Your help is appreciated. thanks
Faisal[b]On Windows this is caused most often by the temporary directory setting.
Change the temporary directory to some fixed directory writable by anybody, e.g. "C:\temp".
Change this in:
Registry entry: hkey_local_machine\software\oracle\key_<oashome>\REPORTS_TMP
<oashome>\opmn\conf\opmn.xml: search for environment variable TEMP (under ias-instance)
Good luck! -
What are the reasons for following Javascript error in Report Viewer
Post Author: dhuka
CA Forum: Crystal Reports
Hello Everybody!
I am using Crystal Reports 10 in my web application. But unfortunately I am surrounded with strange problem related to it because of which I have been unable to deploy is on client-side. In my application the error given below is displayed as javascript error in Report Viewer and report is not displayed. But more frustrating part is that I am getting the same error due to different problem with reporting and I am stuck with it as I am unable to figure out what's causing the error now. Earlier this error appeared due to problem with parameter passing to stored procedure which I resolved it and error vanished but once again it has shown up. Moreover this error now appears less frequently and randomly therefore it is even difficult to trace the cause.
Problem with this Web page might prevent it from being displayed properly or functioning properly. In the future, you can display this message by double-clicking the warning icon displayed in the status bar.
Line: 40Char: 12Error: Expected ')'Code: 0URL: http://myServer/myApp/myForms/myReports/ReportViewer.aspx
So can anybody tell me what factors might be causing this errors as the error text is very vague in nature and gives no idea about the actual error.
Guys, I hope for your kind co-operation.
Regards,Post Author: dhuka
CA Forum: Crystal Reports
Thanks for you reply Krishna.
But this syntax error is the one that is creating problem for me as I cannot trace it. The form ReportViewer.aspx contains only a report viewer object which remains un-binded to any ReportDocument even at runtime.
At code behind ReportViewer.aspx I have code below that associates SQL Stored Procedure Parameter and Report Filter along with report name. Once all above is associated with ReportDocument, I export ReportDocument to PDF file format and display the report. Here I dont' even bind ReportDocument with my ReportViewer. Moreover, as I mentioned previously this error is encountered randomly (with no reasonable explanation so far) on client PC (while browsing through application).
I hope below code give you good idea of the way I am implementing my reporting.
Looking forward to you solution. Please note that I am only passing the ReportFileName and Parameter and Filter Criteria to this form while dataTable by itself using the connection information.
<<<<<<<<<<<<<<<<<CODE BEHIND of REPORTVIEWER.ASPX>>>>>>>>>>>
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim strKeys() As String
Dim strReportFilter As String
Dim strReportName As String
Dim strError As structError
Try
ReDim strKeys(0)
If strReportName = "" Then
strReportName = Context.Session("ReportName").ToString()
If Not Session("ReportParameters") = Nothing Then
Dim char_Delimiter() As Char = ";".ToCharArray()
strKeys = Session("ReportParameters").ToString().Split(char_Delimiter)
End If
If Not Session("ReportFilter") = Nothing Then
strReportFilter = Session("ReportFilter").ToString()
End If
Else
Session("DataTable") = Nothing
End If
If Not ViewParameterReport(strReportName, strKeys, strReportFilter, strError) Then
ASPNET_DisplayErrorMessageBox(strError.strMsg, Me)
Exit Sub
End If
Catch ex As Exception
strError.strMsg = Err.Description
ASPNET_DisplayErrorMessageBox(strError.strMsg, Me)
Finally
End Try
End Sub
Private Function ViewParameterReport(ByVal str_ReportName As String, ByVal str_ReportParameters() As String, ByVal strReportFilter As String, ByRef strError As structError) As Boolean
Dim str_ReportPath As String = CStr(ConfigurationSettings.AppSettings.Get("ReportPath"))
Dim crLogInfo As TableLogOnInfo
Dim crConnectionInfo As ConnectionInfo
Try
str_ReportPath = CStr(ConfigurationSettings.AppSettings.Get("ReportPath"))
o_Rpt = New CrystalDecisions.CrystalReports.Engine.ReportDocument
o_Rpt.Load(str_ReportPath & "\rpts\" & str_ReportName)
If Context.Session("DataTable") = "" Then
crLogInfo = New TableLogOnInfo()
crConnectionInfo = New ConnectionInfo()
crLogInfo = o_Rpt.Database.Tables(0).LogOnInfo
crConnectionInfo = o_Rpt.Database.Tables(0).LogOnInfo.ConnectionInfo
clsDbCnn.SetDBProperties()
crConnectionInfo.ServerName = clsDbCnn.Server
crConnectionInfo.DatabaseName = clsDbCnn.Database
crConnectionInfo.UserID = clsDbCnn.UserID
crConnectionInfo.Password = clsDbCnn.Password
crLogInfo.ConnectionInfo = crConnectionInfo
o_Rpt.Database.Tables(0).ApplyLogOnInfo(crLogInfo)
Else
ds_MISReports = New DataSet()
ds_MISReports = CType(Session("DataTable"), DataSet)
o_Rpt.SetDataSource(ds_MISReports)
End If
If Not IsPostBack Then
Dim param_Fields As CrystalDecisions.Shared.ParameterFields = New ParameterFields()
Dim iCount As Integer
If str_ReportParameters.GetUpperBound(0) <> 0 Then
For iCount = 0 To str_ReportParameters.Length - 1 Step 2
o_Rpt.SetParameterValue(CStr(str_ReportParameters(iCount).ToString()), CStr(str_ReportParameters(iCount + 1).ToString()))
Next
o_Rpt.RecordSelectionFormula = strReportFilter
End If
End If
'crViewer.DisplayGroupTree = False
'crViewer.ReportSource = o_Rpt
SetDBLogonForReport(crConnectionInfo, o_Rpt)
Dim TargetFileName As String
Dim fs As System.IO.FileStream
Dim FileSize As Long
Dim GenDS As DataSet
'Dim oRD As New ReportDocument()
Dim crReportObject As CrystalDecisions.CrystalReports.Engine.ReportObject()
Dim oExO As ExportOptions
Dim oExDo As New DiskFileDestinationOptions()
'Build Target Filename
TargetFileName = str_ReportPath & "\Pdfs\" & Session.SessionID & ".pdf"
'Export to PDF
oExDo.DiskFileName = TargetFileName
oExO = o_Rpt.ExportOptions
oExO.ExportDestinationType = ExportDestinationType.DiskFile
oExO.ExportFormatType = ExportFormatType.PortableDocFormat
oExO.DestinationOptions = oExDo
o_Rpt.Export()
o_Rpt.Close()
'Send the file to the user that made the request
Response.Clear()
Response.Buffer = True
Response.AddHeader("Content-Type", "application/pdf")
Response.AddHeader("Content-Disposition", "attachment;filename=MyReport.pdf;")
fs = New System.IO.FileStream(TargetFileName, IO.FileMode.Open)
FileSize = fs.Length
Dim bBuffer(CInt(FileSize)) As Byte
fs.Read(bBuffer, 0, CInt(FileSize))
fs.Close()
Response.BinaryWrite(bBuffer)
Response.Flush()
Response.Close()
o_Rpt = Nothing
Return True
Catch ex As Exception
strError.strMsg = Err.Description
Return False
Finally
crConnectionInfo = Nothing
crLogInfo = Nothing
End Try
End Function
Private Sub SetDBLogonForReport(ByVal myConnectionInfo As ConnectionInfo, _
ByVal myReportDocument As ReportDocument)
Dim myTables As Tables = myReportDocument.Database.Tables
Dim count As Integer
For count = 0 To myTables.Count - 1
Dim myTableLogonInfo As TableLogOnInfo = myTables(count).LogOnInfo
myTableLogonInfo.ConnectionInfo = myConnectionInfo
myTables(count).ApplyLogOnInfo(myTableLogonInfo)
myTables(count).Location = myConnectionInfo.DatabaseName & ".dbo." & myTables(count).Location.Substring(myTables(count).Location.LastIndexOf(".") + 1)
myTables(count).LogOnInfo.ConnectionInfo.ServerName = myConnectionInfo.ServerName()
Next
End Sub
Maybe you are looking for
-
Change the default namespace in soap message generated by webservice proxy
I have a requirement where the default namespace generated by the webservice proxy has to be changed. For example, below is a soap request message generated by the proxy: <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="
-
How to update the connection of a "command table"?
We use DataSets with MySQL ODBC connections to pass the data to the report with setDataSource() in C#. The report works fine until we try to add a SQL Command Table. We get the usual "Failed to open the connection.": Crystal Report Windows Forms View
-
I opened photo booth up recently to take some pictures and noticed that my pop art/ andy warhol style effect wasn't working. Instead of having the 4 different colored pictures, there is only the one in the top left corner, and the other for are just
-
Preview won't let me duplicate, edit and save jpeg?
I have a jpeg image that I need to make bigger. (Site needs higher resolution in order to print to canvas) I made a duplicate in Preview then did Tools-Adjust size. I chose the size, then hit save but the system won't let me save the bigger version
-
Hi Team, I have downloaded version - sqldeveloper-3.0.03.45.zip but i get the below error --> WinZip Cannot open file: it does not appear to be a valid archive. If you downloaded this file, try downloading the file again. OK Help Is this the valid zi