Cannot Find Server Or DNS Error When Using JAVASCRIPT Window.open With DNS Alias
Oct 15, 2007
Using SQL Server 2000 Reporting Services and want to open new IE window to link to a site.
We are using IE 6.0.
I am using the following Navigation "Jump to URL" in report:
javascript:void(window.open('http://www.microsoft.com/en/us/default.aspx'))
This works as expected if I am not using the DNS alias to reference Reporting Services. But if I use the DNS alias when referencing Reporting Services, then when I click the link in the report I get the "Cannot find server or DNS Error" in the IE window that opens. Everything else works correctly in the reports when I use the DNS alias.
Anyone have a clue why this is happening?
Thanks, DR
View 3 Replies
ADVERTISEMENT
Jun 26, 2006
Hi,
I am using SSRS Microsoft SQL Server Reporting Services Designers
Version 9.00.1399.00. I want to open linked report in new window.
I tried whats mentioned in http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=240172&SiteID=1 but i get an error on Window.Open method.
How do I solve the problem?
Thanks
View 1 Replies
View Related
Oct 18, 2007
Hi All.
So what I'm trying to do is open a new report in a new window(which I can already do) and keep that new window above all other windows.
Here is the code I'm using to open the new window.
javascript:void window.open('http://reportserver2/ReportServer/Primavera/?%2fprimavera%2fcustom+reports%2fIT%2fUnder+Review+Rup+Commitment+IT+Artifacts+subreport&rc:Toolbar=False&rs:Command=Render&pickITDeliveryOID=" & Fields!OID.Value & "', 'Test', 'location=0, menubar=0, toolbar=0, resizable=0, width=450, height=200')
It works great. I'm able to open the window and target links back to the same open window. But what I can't do is keep that window on top above all of the other windows. That is without closing the newly opened window and reclicking another link.
Is there someway for me to set the focus to the newly opened window so it will always remain above all other windows? I know this can be done with javascript(Code below would do the trick) but I'm just not sure how to incorporate the scripts into reporting service.
var newwindow;
function windowopen(url)
{
newwindow=window.open(url,'name','height=400,width=200');
if (window.focus) {newwindow.focus()}
}
<a href="javascript:windowopen('poppedexample.html');">Pop it</a>
Any help would be greatly appreciated
Thanks
View 1 Replies
View Related
Aug 2, 2015
I need to hide the address bar in the SSRS report pop-up using the JavaScript. I tried using below property
"&rc:Toolbar=False"
="javascript:void(window.open('https://dev/PWA/ProjectBICenter/_vti_bin/reportserver?https://dev/PWA/ProjectBICenter/Report Library/ProjectStatusReport.rdl&rv:Paramode=Hidden&rc:Toolbar=False&rv:HeaderArea=None&vuidProjectUID=Fields!ProjectUID.Value','_blank','location=no,toolbar=no,left=100,top=100,height=600,width=800'))"
What I am missing using this property?
View 6 Replies
View Related
Aug 17, 2005
Hello guys,I've one query regarding accessing SQL Server. I want to use SQL Server jobs scheduling functionality. Is it possible to open SQL Server's jobs window from VB.NET? (Server -> Management -> Jobs) Pls. help me to solve this query. Thanks in advance. Waiting for yr reply.
View 7 Replies
View Related
Nov 3, 2014
Post installation of SQL Server 2014 Express edition, I am able to connect to the Database Instance.
But while opening a new query window in SSMS or opening a table getting the error:
Package 'RadLangSvc.Package, RadLangSvc, Version 12.0.0.0, Culture=Neutral, Public Token=89845dcd8080cc91' failed to load
Object reference not set to an instance of an object. (mscorlib)..Have already tried installing the componentsDACProjectSystemSetup_enu.msi, TSql LanguageService_enu.msi, DACFramework_enu.msi from path VS 2010 WCU DAC.
View 5 Replies
View Related
Sep 14, 2015
I don't know what am I doing wrong in this piece of code.... cannot seem to get around this.
="javascript:void(window.open('"+Globals!ReportServerUrl +"/Pages/ReportViewer.aspx?"+Globals!ReportFolder+"/"+Parameters!SubreportName.Value+ "?Param1="&Parameters!Param1.Value.ToString()+ "&Param2="&Parameters!Param2.Value+ "','_blank'))
Basically, I'm trying to open a subreport using ActionURL but stuck this js.
It opens up the root folder rather instead of report...
I also referred this post: [URL] ...
Version - SQL Server 2008R2
View 6 Replies
View Related
Oct 25, 2006
hi, I got a problem with reporting services 2005.
I have to create a link activated by clicking on an image.
In the image navigation properties I inserted the link in "jump to url" but the problem is that no new window is opened, the url is opened in the initial report page.
I tried to use jscript this way:
javascript:window.open("myurl","", "scrollbars=yes,width=800,height=600,left=0,top=0");
but in this case the url opens in a new window but a blank page is shown in the report page.
How can I solve this problem and open the url in a new window without changing the report page?
Thanks in advance and sorry for my english
View 12 Replies
View Related
May 8, 2007
I have areport which needs to jump to another report when clicking on a text box.
I have used the following code in the jump to url
= "javascript:void(document.open('http://houapps277/ReportServer/Pages/ReportViewer.aspx?%2fIMS-Reports%2fCR000619','_blank'))"
This does not open any page and when i rightclick to open in new page it gives the url as
javascript:void(document.open('http://houapps277/ReportServer/Pages/ReportViewer.aspx?%2fIMS-Reports%2fCR000619','_blank'))
This works fine though when I give this in jump to url and google opens
= "javascript:void(window.open('http://www.google.com/','_blank'))"
What am I doing wrong here.
Thanks
View 1 Replies
View Related
Feb 15, 2006
Hi all,
When I try to open a connection it gives me error "Stored Procedure sp_sdidebug not found"
Can anyone help me in this respect?
I was running the same application with the SQL Server 2005 only earlier when it was running.But now after I reinstalled VS.NET & SQL Server I am getting this error.What could be the problem?
Please help... I am badly stuck up.
PAM
View 3 Replies
View Related
Aug 5, 2005
Is there anyone can help me to run window when after done with installation, i wana open but i got message" this installation package could not be opened. verify that the package exists and that you can access it. or contact the application vedor to verify that this is a valid Windows Installer package" My comp is running w/ Win home XP. thanks
View 1 Replies
View Related
May 7, 2007
Hello,
I have areport with a text box. The text box is hyperlinked to another report url. The report opens in a new page when previewed with RS 2005 but when deployed the report opens in teh same page from where it is referenced.
How can I set a property with the texbox to always open in a new page the hyperlinked report.
Thanks in advance
'Kiran.
View 1 Replies
View Related
Feb 22, 2007
When i giving a url passing some parameter..in Jump to Url of cell navigation properties..
In VS Studio its opening in new window ..but when deployed in server and its opening same browser while my requirement is to open in new window..
View 4 Replies
View Related
Feb 21, 2014
I want to open a pdf file in a new window by clicking on its URL in SSRS reoprt. I heard that it is possible with Java script. So I tried with ="javascript:void window.open('yoururl&rs:Command=Render"')" in the SSRS expression. It is working only for https and http.
But the URL which I want to open is as follows.
ourcompanyname.localsystemsdocumentsabcd.pdf
View 1 Replies
View Related
Dec 9, 2005
I have a report with a hyperlink. When I go to the navigation tab, it does not give me any options to open the link in a new window. I have a link to show help and I do not want the user to actually move away from the reports
View 18 Replies
View Related
Mar 7, 2008
Hi All,
I have seen many posts in this regard and tried different alternatives but could not succeed.
I have a url to non reporting services application from the ssrs report.
Initially i have tried with this url :
="http://bl-Kalyke/proactis/Main/IPopUpInvoiceByInvoiceNo.asp?Connection=DINR&UserName=SSRSL&Password=55r5l&Company=MAIN&InvoiceNo=" + mid(Fields!VoucherNumber.Value,4,7)
It is working fine, but the problem is, it is opening in the same window of the browser.
But the requirement is to open the url in the window. so i have tried withis url :
="javascript:void(window.open('http://bl-Kalyke/proactis/Main/IPopUpInvoiceByInvoiceNo.asp?Connection=RNID&UserName=SSRSL&Password=55r5l&Company=MAIN&rs:Command=Render','_blank','resizeable=1,toolbar=1,status=1,menu=1,top=20,left=20,width=740,height=730 InvoiceNo=" + mid(Fields!VoucherNumber.Value,4,7) + "'))"
i am not able to find where i am going wrong. So help me in this regard.
Thanks in advance.
View 5 Replies
View Related
Dec 18, 2012
Below is my navigation URL link ..I want the drill through to open in new tab rather than new window..I believe i need to change the newwin.
="javascript:void(window.open('"+ Globals!ReportServerUrl + "?" + Globals!ReportFolder + "%2fReportName&rs:Command=Render" +"&YQM='+escape('"+Parameters!YQM.Value.ToString() +"') +'&Status='+escape('"+Parameters!Status.Value.ToString()
+"') + '', 'newwin', 'screenX=0,left=0,screenY=0,top=0,status=1,menubar=1,resizable=1,scrollbars=1,toolbar=1,location=1'))"
View 12 Replies
View Related
Aug 28, 2007
Bit of a strange one here. We have a SQL Express instance running with one database which is accessed by a VB6 client application.
Performance between the application and the database isn't great, but bizarrely if you open a Query window from the Management Studio (against the database) the performance dramatically improves - to the extent that it is visually noticeable from within the application.
So, I'm thinking that the database connections being made by the application are taking longer because of instance name resolution or the like and with the Query window open this resolution is performed quicker.
Has anyone come across this situation? I can re-create it on several different computers each with their own Express instance and I've not found anything about this on the net.
Here's the connection string used by the application - I have tried various permutations of values to no avail:
Provider=SQLOLEDB.1;Initial Catalog=SampleDB;Data Source=(local)sqlexpress;Trusted_Connection=yes
Thanks very much
View 3 Replies
View Related
Oct 23, 2006
Hi
I couldn't find an 'SQL Server Agent' Forum , so I'm posting this here...sorry.
I'm using a job to run a batch file with several robocopy commands in it.
The step in the scheduled job runs a SSIS package saved in the Server Package Store.
The SSIS package uses an 'Execute Process Task' control flow item.
The 'Execute Process task' simply calls and execute the batch file. (WindowStyle property = Maximized)
The package/job runs fine in both Visual Studio and in Management Studio. However when run from the latter (SQL Management Studio Job) the command prompt window (dos screen) doesn't open so I can't tell at what stage the batch file is in at any given time.
How can I get the window to open? By the way the window does open if I run the SSIS from Visual Studio.
Thank you
View 1 Replies
View Related
Jun 29, 2015
I want to be able to open URLs in a new window in my SSRS report, and the URLs keep changing in every record. The problem is these links are not the only things present in the record, and there is other data present. I keep seeing examples where they are considering only a link to be present in the record with no other data.
Also the data in the record includes HTML tags and I checked the option that says "HTML - Interpret HTML tags as styles" on the placeholder properties window.
Example of data in the record:
Hello! Welcome to google, the most used search engine.
Click on www.google.com to go the website
So when I click on the www.google.com URL, it should open in a new window.
View 2 Replies
View Related
Apr 20, 2006
Hi,
i have a problem with the rs 2005, using url access to call a report:
---------------------------
Error
---------------------------
Error: 'RSClientController' is undefined
Calling a report from the reportmanager works. The rs2005 runs on a machine with a parallel installed rs2000.
I configured the virtual directory to machinename/reports2005 & machinename/reportserver2005.
When i debug the clientscript i see that he requests a "/ReportServer2005/Reserved.ReportViewerWebControl.axd?OpType=Resource&Version=9.00.1399.00&Name=Scripts.ReportViewer.js" and it seems that he doesn't get the jscript file.
I tried the solution with the axd-mapping, which an user posted here before but it didn't worked for me.
any other suggestions?
View 22 Replies
View Related
Dec 20, 2007
hi ,
i am using sql server reporting services 2005.
When ever report is blank it gives me javascript error. In IE on bottom left it shows js error icon. Details of error are
Line: 13
Char: 692
error: Object Required
Code: 0
kindly guide me ...
thanks
Vishruti
View 6 Replies
View Related
Jan 22, 2007
Hello,
Have a problem here needs urgent help. We are on SQL Server 2005, just recently installed SP2. Not sure if the problem is related to that but just now I tried to delete a user from a report (Properties > Security > Delete) I got a JavaScript error exclaimation mark at the bottom of my browser, when I clicked on it, it showed javascript error: 'return' statement outside of function.
The delete user function worked well all along until today, our IT installed SQL 2005 SP2 last week, not sure if it is related. Any solution? (uninstalling SP2 is not an option). and all other javascript functions worked well except the remove user in the security setting..I have no idea what is wrong..
Please advise!! HELP!!!!!
Thanks in advance.
casey
View 2 Replies
View Related
Apr 23, 2008
Hi Friends,
Im using .Net2008 and MS SQL Server2005, I Have a web application , i want to connect to the server machine SQL Server, When i run the application im getting the following error.
Im trying to connect to the database from local machine application to server machine database
An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
My WebConfig File is<connectionStrings>
<add name="NewConnectionString" connectionString="Data Source=sqlserverservername.com;Initial Catalog=Test;UID=User;PASSWORD=Pwd;Integrated Security=True;connect timeout=30" providerName="System.Data.SqlClient"/></connectionStrings>
<appSettings>
<add key="connectionstring" value="Data Source=Sys67;Initial catalog=DB;user id=sa;password=sa;connect timeout=30"/>
</appSettings>
Please Help me to sortout this ISSUe, Its very urgent please
View 7 Replies
View Related
Dec 14, 2006
Dear members,
In MSDN, it says that it is recommended to use windows authentication to connect to SQL Server rather than use mixed authentication.
I create user deltasqluser on windows OS, and I specify in my webform ASP.NET script below :
protected System.Web.UI.WebControls.Label Label1;
private string _connString = @"data source=deltasql2000;initial catalog=northwind;integrated security=false;user id=deltasqluser";
/*
comment : I login to my windows as deltakoronx, and I want to every user (including me), connected to sql server through IIS, will be identified as deltasqluser not as user's login (impersonate)
*/
private void Page_Load(object sender, System.EventArgs e)
{
SqlConnection conn = new SqlConnection(_connString);
SqlCommand cmd = new SqlCommand();
cmd.Connection = conn;
cmd.CommandType = CommandType.Text;
cmd.CommandText = "select suser_sname()";
conn.Open();
string userName = cmd.ExecuteScalar() as string;
conn.Close();
conn.Close();
Label1.Text = userName;
}
at web.config, I add :
<identity impersonate="false" userName="deltasqluser" password="" />
at IIS webApplication1's properties, tab "Directory Security", at "Authentication and access control" section, I checked "enable anonymous access" with user : DELTAIUSR_DELTA and checked "Integrated Windows Authentication",
at query analyzer, I login as "sa" and execute script below :
exec sp_grantdbaccess 'deltasqluser','northwind'
when I run the ASP.NET script, error at conn.Open(); with error message :
Login failed for user 'NT AUTHORITYNETWORK SERVICE'.
What should I do so that IIS login to SQL Server as user deltasqluser not as "NT AUTHORITYNETWORK SERVICE" ?
Regards,
Koronx
View 1 Replies
View Related
Mar 1, 2007
Hi,
I am trying to connect to my SQL Server 2005 but it gave me following error message.
TITLE: Connect to Server
------------------------------
------------------------------
ADDITIONAL INFORMATION:
An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 53)
So, Please help me to solve this problem.
tnks.
View 20 Replies
View Related
Feb 13, 2007
I apologize if this is not the correct forum for this posting. Looking at the descriptions, it appeared to be the best choice.
I am running Windows XP Pro SP2. I have installed the SQL Native Client for
XP. However, when I try to add a new data source through ODBC Connection
Manager, SQL Native Client is not listed as an option. I have followed this procedure on three other systems with no problems. What would be causing the
SQL Native Client to not show up in the list of available ODBC data sources?
View 4 Replies
View Related
Feb 14, 2008
I have a report with a fixed header that works properly when the query returns results (or fixedheader = false). However, when the result set is empty, I get tenacious client-side "object required" errors. Obviously I can either turn the fixedheaders off or disable debugging in IE, but is there a Microsoft fix for this problem?
View 1 Replies
View Related
Feb 16, 2007
Is there an easy way (SQL Query or enterprise manager) to see if there is an open transaction pending?
View 2 Replies
View Related
Mar 5, 2007
Facts:1. I am using my account on Godaddy trying to connect to my sql server db.2. I can get into my db using user id and password.3. Godaddy's help file shows this for a connection string: connectstr = "Driver={SQL Server};SERVER=" & db_server & ";DATABASE="
&db_name & ";UID=" & db_username & ";PWD=" &
db_userpassword4. My connection string: "Server=whsql-v09.prod.mesa1.secureserver.net;uid=dbasolutions;pwd=***;database=DB_87972;" & _ "Trusted_Connection=False providerName=System.Data.SqlClient"{password **** out}5. Get error message An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) I tried to email Godaddy's help desk with this information. There first response: We do not allow remote connections to our sql server database.There second response was to read the help file!Does anybody have any suggestions? Thanks in advance,bswanson
View 1 Replies
View Related
Nov 24, 2015
We will be moving 2 different databases (SS2005 & SS2008) to a new SS2014 SQL Server. Currently our codes looks something like Server1DBInstance1... & Server2DBInstance2... Is it possible to move the objects from these 2 instances to Server3DBInstance3 and then use an alias to reference the objects? Or does Server3 need to have DBInstance1 & DBIstance2? Basically, is the alias just for the database or for the instance too? Can I create an alias "Server1DBInstance1' on Server3DBInstance3 and assign objects to that alias?
View 16 Replies
View Related
Oct 15, 2007
We have a locked table and all I need is a way to show all open trans, so I can roll teh offender back
View 1 Replies
View Related
Feb 23, 2008
Hello everyone:
I am developing a PDA application, everything is fine for me, but when I try to open Sdf DataBase (was generated by the Wizard ADS ), it gives me the following error pda:
Unable to load a DLL SQl Server Compact. Reinstall SQL Server Compact. [DLL name = sqlcese35.sys.dll]
I commented that i reset the hardware pda several times and I have reinstalled these files:
sqlce.dev.ES.wce5.armv4i.CAB
sqlce.repl.wce5.armv4i.CAB
sqlce.wce5.armv4i.CAB
They are located at:
C:Program FilesMicrosoft SQL Server Compact Editionv3.5Deviceswce500armv4i
They say that my PDA have Windows Mobile 6.0, i development in Visual Studio 2005 C#, and the processor is a Marvell in uan IPAQ 114 Classic, my doubts are several:
-- Is this the whole package for this processor?
-- How to i konw that the package it is up to each type of processor?
-- If this package ... What should I do to correct the mistake?
Best regards and thanks in advance.
Albert
View 4 Replies
View Related