Export without Markup - JavaScript Error (ExtractTemplateXML.js)
Whenever I try the "Export without Markup" function, I get this error:
"While executing onClick in ExtractTemplateXML.htm, the following JavaScript error(s) occurred: At line 78 of file "C:\Program Files (x86)\Adobe\Adobe Dreamweaver CC\Configuration\Commands\ExtractTemplateXML.js": Exception thrown in native function."
How do I resolve this?
I know this post is old, but as I was having this issue lately, and managed to fix it - I thought I'd post the solution that worked for me, since I haven't seen it elsewhere.
In short:
Make sure there are no .zip files in the site you are exporting. I noticed my error was showing up right around when the export hit the folder where I had a .zip file.
Go through and delete all of the /_notes/ garbage folders that DW puts in your source site.
After I did both of these things, my export worked fine.
Similar Messages
-
Export without Markup - How ?
I can't figure out how to export without markup. I did it
before but now can't
What I want to do is export all the site pages and
images/scripts/etc without markup
I'm using DW 8
Would someone mind explaining this to a total dummie
Many thanks :-)> I think I just want to strip out DW markup, leave the
html and code stuff
>
> I know it will disconnect the uploaded pages from the
template but I'll make
> the 'upload' dir contents kind of like a third leg of
the editing. There will
> be LOCAL, REMOTE, and UPLOAD
Refer to my first reply-
Dw menu-->Modify-->Templates-->Export without
markup.
export to a NEW folder, not within this site.
Then go to menu->Site-->Manage Sites.
Make a new site definition (or duplicate the present one)
Define this new site's Local Site Folder to where you
exported the files.
You now have two sites- One for editing, with the template
markup intact.
One for uploading with the template markup stripped.
Note- the template markup is a handful of html comments.
There isn't any
real advantage to stripping it out.
Alan
Adobe Community Expert, dreamweaver
http://www.adobe.com/communities/experts/ -
Fix for Dreamweaver CC 2014.1 JavaScript Error With All ASPX Files
Entire morning wasted.
Adobe's upgrade to Dreamweaver 2014 to 2014.1 on Windows 7 Professional has broken the product across the board and it no longer opens any .aspx pages correctly. A large number of people use .NET and now we can no longer access/use these files/pages without multiple JavaScript errors. Particularly those that have edited the MMDocumentTypes file to make the product work in the first place since they stopped supporting the users that develop in ASP.NET.
Every time a .aspx file is now opened, the following JavaScript error is received: "While executing translateCustomControl in ExternalRenderers.html, a JavaScript error occurred. Click 'close' and it appears again...over and over. Our sites are all unable to open in DW because of this. It worked fine in earlier versions of DW, including 2014. It's only 2014.1 that broke everything.
The fix for this:
1. Follow instructions on this out-of-date help file: Change, add recognized file extensions | Dreamweaver
2. (and the part that's new): The MMDocumentTypes file is located in C:\Users\*your username*\AppData\Roaming\Adobe\Dreamweaver CC\Configuration\DocumentTypes directory. Open that file and add aspx back to the <documenttype id="HTML"> declaration at the top.
I am posting this issue here in hopes that some of the users won't waste most of the day trying to figure this out.
Chris LeeHi Ivan,
I'm having that exact same problem now...in addition to that JavaScript error message coming back. I submitted a bug report last week about this and received the following reply:
Hi Chris,
We would like to let you know that we able to reproduce this issue at our end. Thanks for reporting this.
We will try to prioritize it for fixing. This might take some time. We thank you for your patience with us in this regard.
Please let us know if you need help regarding anything else. We will be more than happy to help you.
Thanks,
Arindam Ghosh
Dreamweaver Team,
Adobe Systems
Hopefully they can get this fixed soon, as it's ground my work in the software to a halt.
Chris -
Still getting Javascript error with new version of UIX
I'm facing some problem after changing my UIX framework version (2.2.3030829.1626).
Currently I'm using UIX version (2.2.3030829.1626) . Paging with table is not working with new frame work .
It is giving me javacript error "object doesn't support property or method" when clicking 'Next' .
It's working fine with old version.
We had used proper cabo directory. These files are in sync with the version of the runtime
Here is our finding
I found a error in _updateFormActions() function from MarlinCoreb2.js file.
In this function it is giving error at
if(a8!=a6)
a7.action=a6 line (line # 1841,1842). If I comment out this two lines page is
working properly without any javascript error.
This problem is a bit tricky....
Because it seems to be a problem with the UIX framework that only occurs on some versions of the Internet Explorer. On some version (IE 6.0.2600.0000) it works fine
and it also works on the Mozilla Firefox browser.
Can any one advice on the same?
Thanks in advance
AnindyaI answered this question on a different thread.
Do NOT post the same question multiple times. If you require more complete or prompt assistance than you receive on these forums, contact Oracle Support.
-brian -
Javascript error with new UIX framework
Hi,
I'm facing some problem after changing my UIX framework version (2.2.3030829.1626).
Currently I'm using UIX version (2.2.3030829.1626) . Paging with table is not working with new frame work .
It is giving me javacript error "object doesn't support property or method" when clicking 'Next' .
It's working fine with old version.
Any help is much appreciated.
Thanks and Regards,
AnindyaThanks Brian for your prompt reply
We had used proper cabo directory. To confirm it we have done it once again.But we're still getting the same error.
here is our finding
I found a error in _updateFormActions() function from MarlinCoreb2.js file.
In this function it is giving error at
if(a8!=a6)
a7.action=a6 line (line # 1841,1842). If I comment out this two lines page is
working properly without any javascript error.
This problem is a bit tricky....
Because it seems to be a problem with the UIX framework that only occurs on some versions of the Internet Explorer. On some version (IE 6.0.2600.0000) it works fine
and it also works on the Mozilla Firefox browser.
can you please advice is there any solution
Thanks in advance
Anindya -
Export/Print Javascript error
Just recently I've noticed I'm getting a Javascript error when i try to export or print a report from the toolbar in my crystal reports viewer.
The export pop up comes up normally, but when i click 'OK' I get this error:
opener.document.getElementById("crystal_handler_page") is null
Any info would be greatly appreciated.Can you please tell us your product and application details ?
Also please make sure that you have crystalviewers11/crystalviewers115 is located under c:\Program Files\Common Files\Business Objects\xx\ .
Hope it helps.
AG. -
Need help with Muse PHP (JavaScript error...email)
Hey all....
I searched and did not see an answer for this:
I am exporting my Muse file to HTML and keep getting this error for my Contact Us page (email issue):
"JavaScript Error:Form PHP Script is missing from web server, or PHP is not configured correctly or your web host provider. Check if the form PHP script as been uploaded correctly, then contact your hosting provider about PHP configuration."
What PHP version does MUSE support....5.1? I contacted HostGator and they just updated my PHP to 5.5 and asked me what PHP MUSE needs. HostGator says 5.1 is old and they do not support 5.1. Can anyone help me?
Also, when I try to check PHP with: http://my-site.com/scripts/form_check.php I just get an "oops" screen, but does not verify my PHP.????
ThanksDifficult to debug without the URL for the form page on your site...
Are you using the built-in File > Upload to FTP Host in Muse? Or did you use File > Export as HTML and uploaded with some other tool?
Does http://<insert your domain name here>/scripts/museutils.js load anything? Or does it also give an "oops" screen? If it gives an "oops" screen, that would imply not all the exported files were uploaded to your server, they weren't uploaded to the correct location, or the permissions aren't set correctly.
For forms Muse only requires PHP 4.1 or later. PHP version is not the issue. -
HTML Tags within Javascript Errors
Hi,
Is there a way to insert html tags (<b>Bold Text Here</b>), inside a javascript string in the <script> tag, without any Validation errors? I read to put a backslash at the beginning of each html tags to prevent the string from being parsed as markup (<\b>Bold Text Here<\/b>). Errors goes away, but bold texts too !
Anyone can help me on this one ... I'm not a javascript Guru ...
Thanks !All wrong... Correct string notation always requires single or double quotation marks:
"\b this is a string"
\b this is garbage
Additionally, whan you escape characvters, each one must be escvaped separately:
\b ... \/\b
Mylenium -
Report Viewer Javascript error
I have a good report that works great if I export to pdf.
objdoc.ExportToDisk (ExportFormatType.PortableDocFormat, "c: \ \ testreport.pdf");
When I load the CrystalReportViewer
CrystalReportViewer1.ReportSource = objdoc;
returns a javascript error:
TreeWidget_getHTML JScript
file:
allinOne.js
this instruction:
to for (var D in E) {B [C + +] = E [D]. getHTML (F.initialIndent, D == 0)
because b[c++] is undefined for some values ...
The only problem I have when I load the report in the ReportViewer.
The old crystalreportviewer 10.0.53 works on VS2008 now i like import this aspx on VS2010 but i have this problem.Is there any resolution for the above issue?
I have the similar problem.
To reproduce the error just add a reference to a js script file in the page head:
<script src="/Scripts/ClassExtentions.js" type="text/jscript"></script>
where the Array prototype has an extension like: "Array.prototype.testing = true;"
on loading the page an error occurs in treeview.js TreeWidget_getHTML() function:
..sub[i].getHTML < is undefined (Object doesn't support this property or method) = no getHTML function.
Verifying function (prototype property) availability is missing from other code parts as the next error is in palette.js PaletteWidget_init function:
..item.init() < is undefined = no init function for the runtime object, item..
tryed this fix (works fine):
treeview.js line 711
for (var i in sub)
if (sub[i].getHTML) a[j++]=sub[i].getHTML(o.initialIndent,i==0)
best regards, Zsolt -
10.1.3 Faces: Javascript error on PPR
Hi all,
I'm getting a Javascript error during PPR in IE 6.0. This error does not appear in FF 2.0. The error is "Invalid Argument" on line 2984 of adf/jsLibs/Common10_1_3_2_0.js:
form.removeChild(tempParams[paramName]);
Research suggests that this error should occur when "tempParams[paramName]" was created in a different document from "form", and sure enough, with a DOM inspector, I was able to determine that the documents have different unique IDs.
Does anyone know why this might be happening? It doesn't happen in all my pages, but I can't figure out what might be special about this one.
Thanks much,
AvromHi Frank,
The development environment is JDev 10.1.3.2; I can see if upgrading makes a difference--but the error is actually appearing in the deployed environment, which is Oracle AS 10.1.2.
The error is getting reported by Microsoft's script debugger--without it, there's a brief flash of a warning symbol in the IE status bar, but it disappears quickly.
The reason I care about this error (although it's transient and doesn't really seem to affect the outcome of that PPR) is that I suspect it as the culprit in more worrisome behavior--after this error appears once, the <af:messages> component on the page will no longer refresh until the page is left and returned to (although no error is reported at that time). I'm so suspicious because they always go together--I've never been able to get the component to refresh after getting this error, or to keep it from refreshing without getting it. This includes the fact that neither problem surfaces in FireFox. -
I have made several changes to my nav bar through Fireworks
and exported, which I have done a million times, but this time when
I inser Fireworkd HTML image it gives me the following message:
While executing onClick in Fireworks HTML.htm, the following
JavaScript error occurred:
At line 438 of File C:\Program Files\Macromedia\Dreamweaver
MX 2004\Configuration\Shared\MM\Scripts\InsertFireworksHTML.js":
TypeError: menuFn.match(searchPatt)has no properties.
I should tell you we have two sites we are putting this in.
One to test pages and one that is live.
Any help would be great!
BigDDon't use FW menus.
You can try this simple fix -
Quit DW.
Find this folder -
C:\Documents and Settings\<username>\Application
Data\Macromedia\Dreamweaver
8\Configuration\WinFileCache-*.dat
(these folders are normally hidden - you may have to use
Explorer > Tools >
Folder Options to unhide them)
or on Mac -
Library/Application Support/Macromedia/Dreamweaver
8/Configuration/MacFileCache-*.dat
and delete it.
Restart DW. Works better?
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"BigD05" <[email protected]> wrote in
message
news:es6jpt$551$[email protected]..
>I have made several changes to my nav bar through
Fireworks and exported,
>which
> I have done a million times, but this time when I inser
Fireworkd HTML
> image it
> gives me the following message:
>
> While executing onClick in Fireworks HTML.htm, the
following JavaScript
> error
> occurred:
> At line 438 of File C:\Program
Files\Macromedia\Dreamweaver MX
>
2004\Configuration\Shared\MM\Scripts\InsertFireworksHTML.js":
TypeError:
> menuFn.match(searchPatt)has no properties.
>
> I should tell you we have two sites we are putting this
in. One to test
> pages
> and one that is live.
>
> Any help would be great!
>
> BigD
>
> -
In the middle of using Dreamweaver 8 today, I received
several error messages when trying to open and/or save a file:
Message #1
The following javascript error(s) occurred:
At line 56 of File "C:\Program Files\Macromedia\Dreamweaver
8\Configuration\Shared\Common\Scripts\dwscriptsExtData.js"
ReferenceError: dwscripts is not defined.
Message #2
While executing onLoad in_onOpen.htm the following JavaScript
error(s) occurred:
In file ""_onOpen"":
Reference Error: onOpen is not defined.
Message #3
The following translators were not loaded due to errors:
ASP.htm: has configuration information that is invalid
ColdFusion.htm: has configuration information that is invalid
JSP.htm: has configuration information that is invalid
PHP_MySQL.htm: has configuration information that is invalid
XSLT.htm: has configuration information that is invalid
XSLTransform.htm: has configuration information that is
invalid
Message #1 and #2 show up two times when trying to open a
file. Message #3 and then Messages #1 and 2 show when trying to
close a file after changes (it asks first "Save changes..." . . .
if I click on yes, then the error messages occur, but when they are
dismissed by clicking on OK, the file seems to be saved, because
the corrected file is uploaded when using FTP. If I try to save the
changed file by using File>Save As... nothing will happen.
I used the Remove Program function in Control Panel, and then
re-installed Dreamweaver 8 using my Studio 8 CD#1 and following the
Wizard prompts. The files still show in the "local sites: list and
I can open the files (albeit with the error messages above) and the
changed/edited files are still saved and FTP'd to my server. So
from the end-user view, all is OK. But... this is different this
afternoon from how it was working this morning.
Can anyone suggest how I should proceed to make it work
without the error messages?
TIA --
JoyceHave a read of this article:
http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_19105
and if that doesn't help you can try this:
Quit DW.
Find this folder -
C:\Documents and Settings\<username>\Application
Data\Macromedia\Dreamweaver
8\Configuration\WinFileCache-*.dat
(these folders are normally hidden - you may have to use
Explorer > Tools >
Folder Options to unhide them)
Delete it. Restart DW and hopefully you're fixed.
Nadia
Adobe� Community Expert : Dreamweaver
http://www.csstemplates.com.au
- CSS Templates | Free Templates
http://www.perrelink.com.au
- Web Dev
http://www.DreamweaverResources.com
- Dropdown Menu Templates|Tutorials
http://www.adobe.com/devnet/dreamweaver/css.html -
Javascript error while creating trees
Hi
I had to create a tree of the structure
customerA
->siteA
->equip1
->equip2
->siteB
->
->
customerB
->siteB
->equip4
->equip4
now i have created a view from three tables and the structure of the view is as follows
equipmentid, equipmentname, customerid, customername, siteid,sitename
i did try giving two queries
1.select equip_id AS id,
customer_name AS pid,
customer_name AS name,
null AS link,null AS a1,null as a2
from TREE_VIEW
union
select equip_id as id,
null AS pid ,
site_name AS name,
null AS link,
null AS a1,
null AS a2
from TREE_VIEW
union
select 0 AS id,null AS pid,'CUstomers' AS name, null as link,null as a1,null as a2 from dual
2.select case when connect_by_isleaf = 1 then 0
when level = 1 then 1
else -1
end as status,
level,
"#OWNER#"."TABLE_VIEW2"."CUSTOMER_NAME" as title,
null as icon,
"#OWNER#"."TABLE_VIEW2"."CUSTOMERID" as value,
"#OWNER#"."TABLE_VIEW2"."CUSTOMERID" as tooltip,
null as link
from "#OWNER#"."TABLE_VIEW2" ,"CUSTOMER"
start with "#OWNER#"."TABLE_VIEW2"."CUSTOMER_NAME" is null
connect by prior "CUSTOMER"."CUSTOMERID"="#OWNER#"."TABLE_VIEW2"."CUSTOMERID"
order siblings by "#OWNER#"."TABLE_VIEW2"."CUSTOMER_NAME"
while giving both the queries iam getting the page to display without the tree and i views the source code
and i found out that there was a javascript error
<script type="text/javascript">
*var l11216839203914159236Data = [*
ORA-01403: no data found
<div class="clear"></div></div></div></div>
<div class="rc-bottom"><div class="rc-bottom-r"></div></div>
</div> </td>
<td class="tbl-sidebar"></td>
</tr>
</tbody>
</table>
</div><div id="footer"><div class="content">
how to overcome this error and what might me the error for this error?Hi,
Actually the data is not coming through query.Check the parent, value parameters properly.
Thanks and Regards
Maheswara -
BI Publisher Javascript error when creating a report
Hello,
I am trying to create a report in BI Publisher and the following comes up:
Message JavaScript Error: Failed to load: io/catalog/read-report
Supplemental Detail fileName: http://<hostname>/xmlpserver/js/xdo_rel.js?cacheBuster=53
lineNumber: 1
I am stuck with this error and cannot find anything about it in the internet. I used to be able to create a Report in BI Publisher. On the other hand when I try to edit an existing report, I can do so without any issues.
Please advise. Thank you.Ok, so...
The funny thing is that it didn't work the first time I tried to change the name of my column, and now it works !
So it's right that 2 columns can't have the same alias, I'm sorry, I'm new even with the SQL, it's a long story...
I would like to change your message to "Correct" but I can't...
Thanks Roel ! -
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
-
Hey guys, I have a cfm page that I am using to query data, and the result set is displayed on the same page when a user clicks submit. My question is, I would like to create a clickable icon where, after a user runs the query and the data table dis
-
I need to open specific ports in the firewall - how do you do that?
Hi There, I'm trying to setup a web development server on a spare mac mini but I can't figure out how to open ports for the MySQL server under Snow Leopard. Is there a way to do this? I've set the firewall to allow MAMP to open ports whenever it need
-
Fltlib.dll seems to be corrupted
My fltLib.dll seems to be corrupted. This stops my Panda anti-virus to start a service and then Panda fails. I've been talking to Panda tech support as well but we haven't found a solution. Now I wonder, how I could recover the original dll-file and
-
Is it possible to have the iPod Classic shuffle the songs in a playlist that I use for an alarm?
-
My photoshop CC isn't recognising my Google NIK; when I go to google NIK it asks me to buy it, even though I already have!