Weird Toolbar

Aug 31, 2006

I have just installed my server with server2003 enterprise edition, everything is working fine. However, after I make it online for awhile, I found a weird thing on the tool bar just beside the clock. There are 2 hidden icons, when I move the pointer to these 2 icons, it shows the IP address of my server. Just wanna know if there is anything wrong with that.

Thanks!

tom

View 6 Replies


ADVERTISEMENT

Toolbar Missing!

Sep 24, 2003

In the console, when right clicking on a table name...then selecting 'open table', the toolbar at the top of the page is not displaying. This is the graphical bar with the 'SQL' button that lets you filter the results.

How do I get the toolbar back, is it a setting?

Thanks!

Carl

View 1 Replies View Related

Url Access Toolbar

Dec 11, 2007



Hi,

When I am trying to view the report using 'URL Access', on one particular machine, all items in toolbar is shown on separate lines. It almost looks like the report viewing area and toolbar width is shrunk. I have same installation on 4 different servers but only one server is giving problem.

OS - XP
SQL Server - 2005

Not much help available on wen.Only a couple of posts with similar problem.

Thanks for any and all help.

-Alpa.

View 1 Replies View Related

Toolbar Available With Web Service?

Jan 29, 2007

Hello -

I am trying to find out whether the Toolbar is available when using the Reporting Services Web Service interface.

Right now, I am using the Web Service to render a report, but the Toolbar does not appear. I have set the <Toolbar> element in the DeviceInfo string to true.

thanks

- will

View 6 Replies View Related

Database Toolbar Information

Apr 5, 2001

I work with multiple servers and I have system administrator rights on all server. My question is, why on some server when I click on a database it shows the General, Table & Index, Space Allocated tool bar, than if I go to a different server, click a database it does not show? I would like to see this toolbar on all my servers when I click a database.
Thanks Reggie

View 1 Replies View Related

Report Parameter Toolbar

Aug 29, 2007

Good day everyone...

I created a simple report in SQL Server 2005 Reporting Services. Its about getting the sales from specific date and store. My parameters are date and storename, the report works fine as I view it in the reportserver. But, when we incorporate the report in a custom webpage using a reportviewer, the parameter toolbar occupies half the space, now that's my problem. Is there anyway I can create a custom Toolbar in Visual Studio so I can just set the parameter property to hidden so the default parameter toolbar wont show?

Thanks in advance guys... c",)

View 1 Replies View Related

Toolbar Customization For URL Access

May 24, 2007

I see how I can turn the toolbar on and off with:



ex:

http://server/reportserver?/SampleReports/ReportName&rs:Command=Render&rc:toolbar=false



but this turns off the entire toolbar.



Is there a way to customize which options within the toolbar to keep and which ones to eliminate?

View 1 Replies View Related

How To Enable The Query Designer Toolbar

Dec 6, 2007

How is the Query Designer toolbar enabled?

Clicking Query, Dsign Query in Editor opens a Query designer in a model window that does not use the query tool bar. Oening a New Query pane does not enable it.

The nly way I have found to activate the query tool bar is to:

1. Right click a table then click open table.
2. Stop retreving data. (if it is a large table)

Now the Query Designer toolbar is enabled.

What is the correct way to enable the Query Designer toolbar?

View 6 Replies View Related

Reporting Services Toolbar &&amp; Version

Aug 9, 2007

Hi All,

1. Whether I'm working on in Layout, Data or Preview (Reporting Services 2005) for any report
the toolbars I select disappear when I click on close. In Tools, Customize, I have check marks by: Formatting, Query designer, Layou,Build and Standard among a few others. I tried the reset button but no help as well.
What am I missing? Should they be visible and not grayed out?

2. Also, Is there an easy way to tell what verion/service pack level SQl server 2005 and of MSSRS 2005 I am running?


Thanks in Advance !

>Scott



View 1 Replies View Related

Integration Services :: SSIS ToolBar Empty

Jun 8, 2015

I have installed VS community edition 2013 on a widows 7 PC. When I try to create a ssis package the ssis tool bar comes up empty.It just says "loading" on the panel .

View 2 Replies View Related

Reportviewer Toolbar Hidden Behind Window Titlebar

Jul 24, 2007

We have a reportviewer on a webpage to display a report.



All works perfectly until the users interact with the web page. i.e. expand/collapse or sort sections of the report. When the page is re-drawn the reportviewer toolbar (or parameter area if used) is hidden behind the webpage's titlebar.



Has anyone else had this problem ?



Is there a solution ?



Please help.

View 1 Replies View Related

Report Toolbar/header Default Collapsed?

Jan 8, 2008

Is there a way to have the Report Manager show the header/toolbar in the collapsed state instead of full screen by default? (i.e. the top of the report starts with "New Subscription" instead of "SQL Server Reporting Services")
These are Report Server reports, and I need to show several reports in one view (I'm using T-dog ibrowse to do this in a Powerpoint slide show). It looks cluttered to have the headers show repeatedly.

View 7 Replies View Related

Reporting Services :: Hiding Toolbar In SSRS?

May 28, 2015

I need to hide the toolbar on report. my client accessing the report on Reportmanager URL.

I have tried this way ; passed the parameters to My report manger URL :  &rc:Toolbar=false,But it's not working. I am using Visualstudio 2010.or another quetion Can I make Parameter is to be Read only !

View 2 Replies View Related

SQL 2012 :: Query Toolbar Does Not Display For Files Opened From TFS

Feb 18, 2015

When I open a new query or a file that is not under source control, I get a tool bar like the first image below.

When I open a query from a TFS project (second image), the toolbar is not available, and I cannot find a way to turn it on.

How to control this feature?

View 4 Replies View Related

Auto Hide Parameters Toolbar Without Making It Disappear

Jun 5, 2007

Hi,



anyone has any idea how to make the parameters toolbar to be automatically hidden when the report is first being accessed and subsequently to show the parameters when clicked on the arrows ? I have some users who complained that the parameters list is too long, so they wish to hide it first when accessing the report. I know there's this called rc: Parameters=false but this will permanently hide the toolbar which i don't want.

By the way, i am using sql 2000 reporting services

View 1 Replies View Related

Reporting Services :: Report Viewer Toolbar Wraps

Dec 23, 2010

Have an ASP page using AJAX - have embedded the latest Microsoft Report Viewer control.  The page access various SSRS reports. The application works fine for most users, but in certain cases, the toolbar wraps and occupies about ten lines - using about half of the visible area.  Users affected by the problem are using IE7 and IE8.  When the toolbar is distorted like this, the buttons (Page, Export, etc) also seem inop. The problem does not seem to be related to the RDL; either all the reports work or none of the reports work.

View 2 Replies View Related

Reporting Services :: Report Viewer Toolbar Expanding

Nov 9, 2011

I have a reportviewer on a master page in a VS2008 ASP.NET application. When I originally created the page, I did not use a master page. When I moved the code to a master page, the Toolbar is 6 line long instead of 1. Each of the individual components of the ReportViewer toolbar is placed on it's own line. (i.e Navagation, Print, Zoom, Etc.) The same control worked correctly on it's own page.

View 2 Replies View Related

Report Toolbar Inactive - Suspect RsClientPrint ActiveX Problem

Mar 15, 2007

Hi,

I€™m hoping someone might be able to help me.

I have a Development Machine running Windows XP Professional SP2, with SQL Server 2005 including Reporting Services. I am developing an ASP.NET application using VS 2005, and am including Server Side Reports from SQL Server. Everything is working well, except when viewing the Reports.

The Reports when viewed from Reporting Services€™ Report Manager or from within the ASP.NET application only display the first page of the report, displaying the total number of pages as 0. As well, most of the functions on the report toolbar appear to be disabled. This occurs for any report viewed, even sample reports such as the Adventure Works Samples.

The problem only occurs when viewed from within Internet Explorer on the Development Machine. To overcome the problem, I have upgraded SQLServer to SP2, and removed and reinstalled Internet Explorer, but it made no difference. It appears to be related to the rsClientPrint ActiveX addon which should have been installed when the print icon was first selected. It appears not to have installed properly, but up to that point everything worked OK. Selecting the Print icon (or any other icon) since nothing happens. I€™m guessing here, but I suspect that the rsClientPrint addon needs to be reinstalled, but I don€™t know how to go about it. It is not listed within IE addon (where it is on other machines connecting to the Development Machine), nor is it listed within the €œC:WindowsDownloaded Program Files€?. But it is not being downloaded when the Print Icon is selected. I have checked all the Security settings for the environment to ensure that ActiveX programs are downloaded, and everything appears to be in order.

Would anyone be familiar with this problem or have any suggestions on how to go about resolving it? Any help would be appreciated as it is causing significant problems. Strange though, the reports appear fine when viewed from within the Server Manager.

View 1 Replies View Related

Administrator Cannot See Administration Toolbar, Buttons And Shortcuts On Report Manager

Dec 23, 2006

Hy everybody.

I have recently installed from scratch RS 2003 on a WIN2003 SRV and got that the problem that the administrator cannot access or even see the regular administration toolbar and links at the Report Manager, such as Site Configuration, Upload New File, the common 'Contents | Properties ' tab, among other stuff. The only options available are 'Home', 'My Subscriptions' and 'Help', in the right superior link bar. I find this behaviour very strange, since the RS comes right out of the box configured with full access to administrator, but right now I CAN'T do any administration task on the RS Server.

Another strange behaviours I've found:
- The few links that appear redirect to the internal ip address of the server.
- When you call the '/ReportServer/ReportingService.asmx' it returns an XML document, not the usual browsing interface.

There's some information about the server configuration I think it might help:
- IIS is running more than one website, and the RS server is not installed on the Default WebSite, wich is stopped.
- SharePoint Services is running in the server, but not in the DefaultWebSite.
- The security settings of the virtual directory of the Report Manager are configured to use Windows Authentication and are NOT configured to use anonymous authentication.
- The server is published to the Internet.

There's some stuff that I tried and for now didn't worked:
- Create the virtual directories in other websites.
- Switch the attributes of the 'impersonate' attribute in Web.config file between true and false.
- Enable anonymous authentication and use the administrator account to impersonate.
- The steps described in the help article 'Troubleshooting a Side-by-Side Installation of Reporting Services and Windows SharePoint Services'
- Reinstalling the RS product.

I really hope you guys can help me with this.

Thanks in advance.
JC

View 1 Replies View Related

Adding A Button, Image Or A Hyperlink To The Reporting Services Toolbar

Aug 23, 2007



Hi,

I wouls like to have a custom button called "Set" in the report toolbar in addition to the "View Report" button. I am aware of the fact that the look and feel of the existing controls on the toolbar can be customised or can be hidden using HtmlViewer.css. Is there any code which I can tweak to add buttons or images on the report toolbar?

Thanks
Deepti

View 1 Replies View Related

New Title In Thread : Error/bug In ASMX ? - Parameters And Toolbar Property In DevInfo

Apr 20, 2007

Hi all,



I am trying to build a reportviewer so that I could use reporting services (due to company's security policy).



I am getting a VERY weird error here.



Before I get on ahead, here is the scenario.

I had created a rdl that will give a certain report based on two parameters. At the moment, I didn't assign the parameters to any default values since i don't want the report to start running. These two parameters are run based on stored procedures to get the starting date and an ending date.



I had tried to view this report on Report Manager and it works.



I had set the parameters this way. NOTE: ReportingServer is the disgused name of the reportserver I am using for privacy purposes




Code Snippet

Dim rs As New ReportingServer.ReportingService

rs.Credentials = System.Net.CredentialCache.DefaultCredentials

'Render arguments

Dim results() As Byte

Dim format As String = "HTML4.0"

Dim historyID As String = Nothing

'PDF Rendering extensions don't have any useful DeviceInfo settings

'the toolbar shown below only affects HTML rendering

Dim devInfo As String = "<DeviceInfo><HTMLFragment>True</HTMLFragment><JavaScript>True</JavaScript><Toolbar>True</Toolbar><Parameters>True</Parameters></DeviceInfo>"

Dim credentials() As ReportingServer.DataSourceCredentials = New ReportingServer.DataSourceCredentials() {}

Dim showHideToggle As String = ""

Dim encoding As String = ""

Dim mimeType As String = ""

Dim warnings() As ReportingServer.Warning = New ReportingServer.Warning(0) {}

Dim reportHistoryParameters() As ReportingServer.ParameterValue = New ReportingServer.ParameterValue() {}

Dim streamIDs() As String = Nothing

Dim sh As ReportingServer.SessionHeader = New ReportingServer.SessionHeader

rs.SessionHeaderValue = sh





But when I started building this reportviewer.aspx, it gives me this error on the following line:-






Code Snippet

results = rs.Render(ReportPath, format, historyID, devInfo, Parameters, credentials, _

showHideToggle, encoding, mimeType, reportHistoryParameters, warnings, streamIDs)









with the error



{"This report requires a default or user-defined value for the report parameter 'start_date'. To run or subscribe to this report, you must provide a parameter value. --> This report requires a default or user-defined value for the report parameter 'start_date'. To run or subscribe to this report, you must provide a parameter value. --> This report requires a default or user-defined value for the report parameter 'start_date'. To run or subscribe to this report, you must provide a parameter value."}



this is occuring on the line where it needs to render the report.



As simple as it is, i tried the following:-

NOTE: some variables has been changed to protect some identity.






Code Snippet

Dim ReportRenderer As New RenderSQLReports

Dim Parameters As int.rrd.sqlreporting_test.ParameterValue() = Nothing



ReportRenderer.RenderReport(Parameters, "/Folder/reportname", "pdffilename.pdf")









What I don't get is that i made sure that it doesn't have any default values.



So I went into this scenario and tried teh following:-






Code Snippet

Dim ReportRenderer As New RenderSQLReports

Dim Parameters() As Reportingservices.ParameterValue = New Reportingservices.ParameterValue(1) {}


Parameters(0) = New Reportingservices.ParameterValue

Parameters(0).Label = "start_date"

Parameters(0).Name = "start_date"

Parameters(0).Value = "10/1/1999 12:00:00 AM"

Parameters(1) = New Reportingservices.ParameterValue

Parameters(1).Label = "end_date"

Parameters(1).Name = "end_date"

Parameters(1).Value = "11/1/1999 12:00:00 AM"



ReportRenderer.RenderReport(Parameters, "/Folder/reportname", "pdffilename.pdf")







And this is what happens. It blows up on this line again. with this error.


Code Snippet

results = rs.Render(ReportPath, format, historyID, devInfo, Parameters, credentials, _

showHideToggle, encoding, mimeType, reportHistoryParameters, warnings, streamIDs)

With the errors



{"Default value or value provided for the report parameter 'start_date' is not a valid value. --> Default value or value provided for the report parameter 'start_date' is not a valid value. --> Default value or value provided for the report parameter 'start_date' is not a valid value."}



This is probably occuring because the date I had provided is not found in the list of dates. I really don't want to default a date at the moment, to allow the user to select a date.



So I finally gave it a date...... a valid date.






Code Snippet

Dim ReportRenderer As New RenderSQLReports

Dim Parameters() As Reportingservices.ParameterValue = New Reportingservices.ParameterValue(1) {}


Parameters(0) = New Reportingservices.ParameterValue

Parameters(0).Label = "start_date"

Parameters(0).Name = "start_date"

Parameters(0).Value = "10/1/2004 12:00:00 AM"

Parameters(1) = New Reportingservices.ParameterValue

Parameters(1).Label = "end_date"

Parameters(1).Name = "end_date"

Parameters(1).Value = "11/1/2004 12:00:00 AM"



ReportRenderer.RenderReport(Parameters, "/Folder/reportname", "pdffilename.pdf")



LO and behold, it works BUT . now i get this error in the aspx code.

Runtime error has occured.


Microsoft JScript runtime error: 'Report' is undefined

on this weird line:- (that was generated automatically)



</script><script language="javascript" type="text/javascript" src="?rs:Command=Get&amp;rc:GetImage=8.00.1038.00Report.js">

</script><script language="javascript" type="text/javascript">

<!--

function OnLoadReport()

{

var pageHits = null;

var rep = new Report(1, 16, pageHits, false, docMapIds); <-where error is occuring.

if (parent != self) parent.OnLoadReport(rep);

}

//-->

</script>





It did show the report, but I don't understand why it is still getting an error here. Moreover, I didn't even get the HTMLViewer too even when I had assigned the devinfo....



Really need some help here, as this is quite urgent.... I am at a loss at this, and maybe that there is an option that I am not seeing or something I am missing. please help .

Bernard-So close yet so far, How cruel are the software bugs-

View 4 Replies View Related

HTML Viewer - Toolbar And Parameters Section - No Style Applied In RS2005 Worked In RS2000

Nov 30, 2007

Hi all,


Not sure what's going on here...

I had reports using the HTML Viewer working in RS 2000. The servers were both O/S Windows 2000, SQL Server 2000, IIS 5.0, Reporting Services 2000) The default toolbar and parameters area were formatted and looked fine.

We just migrated to new servers with Windows 2003 Server, SQL Server 2005, IIS 6.0, Reporting Services 2005. I have the reports working fine...except the toolbar and parameters areas look as if there is no formatting at all...as if the style sheet isn't being applied (not even the default one --see below).

Although I don't think this is necessary....I tried the following to resolve the issue....


Updated the RSReportServer.config file.

Driveletter:Program FilesMicrosoft SQL ServerMSSQL.3Reporting ServicesReportServerRSReportServer.config

Checked that the HtmlViewer.css file was in the ...ReportServerStyles folder.


Added the following line between the

<Configuration>.......</Configuration> tags in the RSReportServer.config file.

<HTMLViewerStyleSheet>HtmlViewer</HTMLViewerStyleSheet>














Find

|



Next








Select a format XML file with report data CSV (comma delimited) TIFF file Acrobat (PDF) file Web archive Excel



Export

I can't find anyone else having this issue...any ideas?

Hope someone can help...thanks for looking....
Leslie

View 3 Replies View Related

Reporting Services :: Get Report Toolbar Using SOAP API In SSRS Reporting?

Nov 3, 2015

Is there any way to get the report toolbar using SOAP Api  in SSRS reporting.

View 6 Replies View Related

Here Is A Weird One!!

Sep 24, 2001

I have a dts package that is mysteriously changing back to a previously saved version. Package is saved, and re-opened with saved changes, then moments later opened again to have been reverted back to an older version. Has anyone ran into this before?
The only thing that I can think of is that if a version of the package is left open on some other machine (as the older version0, it may be auto-saving, and reverting back.

View 3 Replies View Related

Really Weird One Here...

Mar 31, 2008

I run a website, so all of this is done remotely, I do not have access to the servers directly.

On my prior host, everything on the DB worked just fine. Had it optimized and running pretty good for the site by adding indexes, etc.

Then I moved to my new faster server (new host) and at first everything seemed to be just fine. However, some users started complaining about speed in spots.

Sure enough when I checked a given page -- WHAM... the page took about 14 seconds to load. Not exactly fast. :)

So I checked to make sure the indexes copied over and sure enough they did. But it was still slow, even in Query Analyzer/MSE.

So I decided to rerun my view script... on a lark... just to see if that affected something. And sure enough it did. The page started running at 1 second or less. OK, I thought, the view just got corrupted or something.

All was fine until the next night when it happened again. I had added 12 new rows to the table (I do this nightly) and it seemed that adding the new rows slowed down the system. Until the view was rebuilt. With that done again, it's worked fine.

But each night now I have to rerun that view.

What gives??? Is there a DB setting or something causing views/indexes to not be maintained?

The prior server was 2000 or 2003. The new one is 2005.

Again, I cannot get access to the box itself except through Management Studio. The host's tech support group is less than useless, treating everyone as incompetent before they help you.

Any hints or solutions would be a big help!

View 8 Replies View Related

Weird E&#043;006

Mar 12, 2008

I'm trying to CAST an integer to a varchar and I keep getting e+006 in my result set. The reason I need to do this is so that I can combine 2 columns to return a string.

Here is my table:

incomeBracket | lowIncome(int) | highIncome(int)
-----------------------------------------------
1 1000001 5000000
2 5000001 10000000

Here is my query:

SELECT CAST(incomeLow AS varchar) + ' - ' + CAST(incomeHigh AS varchar) AS incomeRange
FROM IncomeBracket_Currency

How can I get my result to look like this:

1000001 - 5000000
5000001 - 10000000

Instead of what it is returning now:

1e+006 - 5e+006
5e+006 - 1e+007

The query works fine for values that have a character length of 6 and less.

Thanks in advance.

View 3 Replies View Related

A Weird Error !

Jul 25, 2006

I was developing a data-driven website but I got this error
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 have Sql server 2005 also downloaded before)
Please help me cause any website that has data can not be executed even the quick start tutorial that ships with the ASP.NET 2.0
What should I do?

View 1 Replies View Related

Weird Concantenation

Nov 14, 2006

Hello and thanks for taking a moment to read this message.I have two colums from which I am taking values. One of which(a bit field), i am running a CASE statement against it to get SQL Server to return a string. The other is just a simple varchar column. My SELECT statement for the columns look like this:
SELECT Case tblDisplayProfile.Approved When 0 then 'Not Approved' when 1 then 'Approved' else 'Not looked at' END AS Approved, tblDisplayProfile.DisplayProfileDesc
These statements do return me something. Now what I want to do is combine (concantenate) the two fields. This is where I have problems. Any suggestions would be greatly appreciated.
 
Jason

View 13 Replies View Related

Weird Ado.net 2.0 Error

Nov 19, 2006

Why does ado.net produce this error when I kow for a fact that there are no connections to any sql server 2005 database involved - this could and probbaly has had people off looking at the wrong connection strings in their web.configs.
Note:- The connection string we have is to a sql 200 db I just wanted to make that clear.
CheersGegor
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)Stack Trace:   at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)   at System.Data.SqlClient.TdsParser.Connect(Boolean& useFailoverPartner, Boolean& failoverDemandDone, String host, String failoverPartner, String protocol, SqlInternalConnectionTds connHandler, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, SqlConnection owningObject, Boolean aliasLookup)   at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance)   at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance)   at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection)   at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options)   at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject)   at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject)   at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)   at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)   at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)   at System.Data.SqlClient.SqlConnection.Open()   at System.Web.SessionState.SqlSessionStateStore.SqlStateConnection..ctor(SqlPartitionInfo sqlPartitionInfo)

View 8 Replies View Related

Weird Problem

Jun 5, 2008

Hi, I moved a SQL 2000 DB to a SQL 2005 server.    When I run my .NET 1.1 or 3.5 website to call a stored procedure it returns the wrong results.The SQL stored proc runs fine when I excute it within SQL Manager  but gives a different result when called via  .NET The funny thing is I have 3 SQL servers 2000 , 2005 , and another 2005. The same data on each of the databases and the same website.  Two of the databases work but the second 2005 database my production server decrements the dates some how.  The funny thing is the stroed proc is not returning dates as such but a varchar of the name of the day that's getting decremented. My stored proc is SELECT

Case datepart(dw, DT_DATE)
When 2 Then 'Mon'
When 3 Then 'Tue'
When 4 Then 'Wed'
When 5 Then 'Thu'
When 6 Then 'Fri' End AS [WeekDay],
Sum(VL_HOURS) as Total

FROM ...

WHERE ....

GROUP BY datepart(dw, DT_DATE) and My c# .net code is "SqlHelper.ExecuteReader( connectionstring, storedproc, paramaeters);"using MS.ApplicationBlocksWhat happens that from sql, and 2 of my websites is when week day = 4 it returns   "Wed"    However on my Production server it returns "Tue" ??? 

View 4 Replies View Related

Weird Error

Mar 18, 2004

i have a form which takes in a lot of input...one of them is a date field..am passing all the values to the stored proc and inserting into a table from there...pretty simple...however when the user does not enter any value in the field...its errors out as...

String was not recognized as a valid DateTime.

heres the code in asp.net

myCommand.Parameters.Add(New SqlParameter("@cusbday",SqlDbType.datetime))
myCommand.Parameters("@cusbday").Value = trim(bday.text)


the field is optional....in my stored proc i am setting a default value too

....@cusbday Datetime =NULL,...

i also xplicitly set it to null through code
if @cusbday is null set @cusbday=null


how else do i resolve this...

thanks

View 13 Replies View Related

Weird Question

Apr 25, 2001

Hello!
MSSQL Server 7.0 SP1
When I open DTS designer for some unknown reason I'm getting error message "Could not create Component Categories manager".
Then under Task I don't have any choices.
Is there a quick way to fix it?

Thanks

Lena

View 1 Replies View Related

WEIRD ERROR

Feb 20, 2001

I was running a DTS package which transfer a complete database, about 2.3GB in size, to another database on the same server. It was necessary for environment change from dev to QA. I baby sat the package till it was rebuilding indexes (90%) complete. This morning I have the following error message on my screen,

[Microsoft][ODBC SQL Server Driver][SQL Server]
[Microsoft][ODBC SQL Server Driver][SQL Server]Location: r:SPHINXNTDBMSqueryqeexecqsxchng.inl:749
Expression: (m_cbPageMac + ulPxvarSize) <=m_pxpktdesc->m_cbPageMax
SPID: 40
ProcessID: 347

I have no idea at this time what caused it. And as far as I can tell there in r drive mapped wither on the serve or my computer ( I was running the DTS package from my machine).Any help is appreciated

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved