An error occurred during local report processing. (Microsoft.ReportViewer.WinForms)
------------------------------
The definition of the report 'Main Report' is invalid. (Microsoft.ReportViewer.Common)
------------------------------
An unexpected error occurred in Report Processing. (Microsoft.ReportViewer.Common)
------------------------------
Cannot execute a program. The command being executed was "C:WINDOWSMicrosoft.NETFrameworkv2.0.50727vbc.exe" /noconfig @"C:Documents and SettingsAdministratorLocal SettingsTemp8vikhk2b.cmdline". (System)
Report has been running fine up until now. No changes that I'm aware of. Report runs fine on my laptop connecting to the server.
Update: This is happening with other reports as well. (i.e. Performance Dashboard)
I import about six 30,000-line text files to my database daily using a few DTS's - is there a way to "turn off" the transaction log for these imports to conserve disk space? I do not need to log these inserts...
Am trying to create a script that will determine the amount of space is been used on both my file server and sql server for all jobs residing on an instance. Once this result has been determined, I will like to populate them into another table, which will be used to develop a report model, using SSRS.
Am using the xp_fixeddrives query, but it only returns the drive letter and the amount of free space.
I am having a problem with the disk usage reports after creating a centralised MDW on SQL Server 2008, this is the report displayed when you drill down onto a specific database.
When I drill down on a database on the local server to the MDW database the disk usage report is shown correctly.
However, when I drill down onto another servers database I receive the following error: A data source instance has not been supplied for the data source 'DS_TraceEvents'.
hello,all I am new to Sql 2000,I installed sql 2000 database in C disk,but Now I found my C disk space is smaller than before,So I want to move my databse(include data and structure) from C Disk to D Disk(its space is very large) . is it possible to do it ? if its can be done ,do I need to change my asp.net program source code (exp: chaneg my crystal report connectstring ) ? thanks in advanced!
I have a requirement to create a Database usage report. The report should have - userid, user name, login time, database to which he has logged in, log out time, host machine id.
How do I go about generating this type of report. What system tables are to be refered?
I have found a script which gives me disk size of all tables:
SELECT TOP 100 -- (row_number() over(order by (a1.reserved + ISNULL(a4.reserved,0)) desc))%2 as l1, a3.NAME AS [schema] ,a2.NAME AS [table] ,a1.rows AS [rowCount]
[code]...
I was wondering if any has a script which will give me a similar report and a percentage figure of how much each table has grown since past week or month.
Does anyone have any reports built that show the usage of the reports based off the ExecutionLog table, or how you would get the "ReportID" to refer back to human readable report name?
I find it hard to believe others have not wanted to see how many reports were ran yesterday, what reports are not being used anymore, and which ones we may need to cache because they are over used throughout the day.
We do have plenty of information about index usage in DMVs and I was wondering if there was any way for us to tell which of the user-created statistics for table were in use.
I need to determine how often our SRS reports are being used. Is there any internal metric I can set and then check to find this out? We have a lot of reports and want to find out if some of them can be deleted for low usage. I understand SRS 2005 might have this capability but I have heard there's a way to do this in SRS 2000 as well.
If there is nothing internal to SRS 2000 that will do this, I wonder if anyone else has written some code to do this or has some ingenious method!
Is there a way to programmatically save a RS results into Excel format using the render method ?
I had read about that capability but I can't seem to find any sample code on how to do it. Is this a parameter that you have to set in the render method ?
I am trying to use a wildcard in a Filter condition within a SSRS - Report Builder report.
Are wildcards of anytime in fact allowed in this tool? I get errors when I try to use SQL-like wildcards such as '%'. I've also been unable to find any mention of "wildcards" in HELP.
If I return the Average, Minimum, and Maximum values for the counter Physical Disk: Avg. Disk Queue Length, and those values are 10, 0, 87 respectively, which value do I use to compute the Avg. Disk Queue Length for a 4 disk array(RAID 10): Average, Minimum, or Maximum? The disk(lun) is on a SAN.
-- Initialize Control Mechanism DECLARE@Drive TINYINT, @SQL VARCHAR(100)
SET@Drive = 97
-- Setup Staging Area DECLARE@Drives TABLE ( Drive CHAR(1), Info VARCHAR(80) )
WHILE @Drive <= 122 BEGIN SET@SQL = 'EXEC XP_CMDSHELL ''fsutil volume diskfree ' + CHAR(@Drive) + ':'''
INSERT@Drives ( Info ) EXEC(@SQL)
UPDATE@Drives SETDrive = CHAR(@Drive) WHEREDrive IS NULL
SET@Drive = @Drive + 1 END
-- Show the expected output SELECTDrive, SUM(CASE WHEN Info LIKE 'Total # of bytes : %' THEN CAST(REPLACE(SUBSTRING(Info, 32, 48), CHAR(13), '') AS BIGINT) ELSE CAST(0 AS BIGINT) END) AS TotalBytes, SUM(CASE WHEN Info LIKE 'Total # of free bytes : %' THEN CAST(REPLACE(SUBSTRING(Info, 32, 48), CHAR(13), '') AS BIGINT) ELSE CAST(0 AS BIGINT) END) AS FreeBytes, SUM(CASE WHEN Info LIKE 'Total # of avail free bytes : %' THEN CAST(REPLACE(SUBSTRING(Info, 32, 48), CHAR(13), '') AS BIGINT) ELSE CAST(0 AS BIGINT) END) AS AvailFreeBytes FROM( SELECTDrive, Info FROM@Drives WHEREInfo LIKE 'Total # of %' ) AS d GROUP BYDrive ORDER BYDrive
I am trying to setup a test cluster and am having an issue. When I try to create the resource of a physical disk it takes both the drive e: and drive q: and doesn't seperate them into two physical disks as resources. This means when I try to associate the quorum disk it links the to physcial disk resource of drive e and q. Then when I try to install SQL2k5 I get the warning about installing SQL on the quorum disk. Am I missing something? Is there a way to seperate e and q onto two physical disk resources so I can specifically associate the quorum to q and the sql to e or should I be setting the quorum disk to a majority node set? Thanks in advance.
HiI have written an application in VB through which I can convert DBASEIV database to MS SQL Server database. Also, the application providesdatabase manipulation features to the user like addition, deletion etcof records.I am using OPENROWSET for conversion purposes. Also the server is MSSQL Server 2000.Now this application workks fine when I have installed the instance ofMS SQL Server on my local machine. It converts the database and storesit on the server perfectly and there are no isues.However, when I try to use the application to connect with MS SQLServer on another machine, there are a few problems. I connect to theother MS SQL Server on other machine through named pipes. Myapplication successfully accesses the database and allows user tomodify it according to his needs.For this I created the user account of that user on the machine.But when I try to convert the database, I get the following errormessage:[Microsoft ODBC Dbase driver]Disk or Network ErrorHere is the line in VB code which is causing all the trouble:con.Execute "select * into " & UCase(X) & " fromOPENROWSET('MSDASQL','Driver={Microsoft dBASE Driver(*.dbf)};DEFAULTDIR=" & BaseData & ";SourceType=DBF','select * from " &UCase(X) & "')"Here, X is the dbf file name, BaseData is the path name of file.I gave the user full rights but i am still getting this error message.Now, what am I doing wrong here?Regards,Shwetabh
I have a client program that writes to sql server database 10 records per second . i want to compute the CPU usage and the memory usage for the whole program or CPU usage,memory usage for the insert statement in the program .
Hello, When I am seeing SQL Server 2005 Management studio Server Dashboard> I am seeing my(USERS) databases and msdb database usage is very small % of in CPU Usage(%), Logical IO Performed (%) Usage pie chart.
90% of Total cpu usage is showing for Adhoc Queries. what excatly this means in Dashboard? if application uses more than it would have shown in Database level or not?
sicerely this dashboard is good, if any one is watching daily, please advice their experiences here.
I'am running SQL Server 2005 Express Advanced Services on a Windows 2003 Server in a hosted Environment. Some times SQL Server is beginning writing entries into C:ProgrammeMicrosoft SQL ServerMSSQL.1MSSQLLOGERRORLOG until the disk is full.. After that, I have to delete the error log file (some GB of size), restart the server and everything is running fine until the log file runs amok again.
I have installed SQL Server Management Studio.
With SQL server 2005 Standard I can configure or disable Error logging in the Management Studio. But with the Express Edition it seems that is not possible.
What I want to do is (maybe with system stored procedures)
limit number of error log files by cycling it, e.g. 5 files and delete the old ones limit the size of one log file. e.g. 100 MB
Is there an option to configure this in the Express edition of SQL Server 2005?
Hello, I am testing my SSIS pakage, but I got a space disk issue (the C disk is over 100 GB): Error: Date Time Code: 0xC004704A Source: xxxxDTS.Pipeline Description: The buffer manager cannot extend the file "C:DTSxxxF.tmp" to length xxxxxx. There was insufficient disk space. End Error Error: Date Time Code: 0x80070070 Source: xxxxDTS.Pipeline Description: There is not enough space on the disk. etc....
How can I solve the problem? Is there any way to use different path for .tmp file?
In SQL Server 2005, via the GUI, I wish to backup a database to an additional disk file (there is already an existing backup disk file for this database), so that I can have more than one backup. I've added the new disk file name, highlighted it, and clicked OK.
I get an immediate error (see below). Note, the 2nd error message is specifying the existing backup disk file, not the new one I'm attempting to create.
"Backup failed for Server 'WCS-DEV-TPA'. (Microsoft.SqlServer.Smo)"
"System.Data.SqlClient.SqlError: The volume on device 'D:Program FilesMicrosoft SQL ServerMSSQLBACKUPWCS_ADV_Longmont.bak' is not part of a multiple family media set. BACKUP WITH FORMAT can be used to form a new media set. (Microsoft.SqlServer.Smo)"
Does anyone know what causes this and how to correct it?
I have a pretty complicated report (lots of subreports, tables, etc) that can be well over a few hundred pages long. I can generate the report just fine, but I cannot seem to export it to anything other than an html archive. I need to export to PDF. Every time I try to export it get an error that says:
An internal error occurred on the report server. See the error log for more details.
I don't get any more information than that. Is there a way that I can figure out what the actual error is, or any other way I can go about troubleshooting this? Thanks.
I am trying to create logs in a separate disk in the cluster. I get error 5184 indicating some dependency error . Here is the dependency layout in SQL server group.
f: --> Mount point f:appdata --> data for SQL and user database data files --> F:f:appothers--> other datafiles --> f:G:--> mount point g:sqllogs --> user data base logfiles --> g: Does this mean I have to make f:appdata dependent on g:sqllogs also. If yes will the error go .
Does changes in cluster resource need server restart .
has anyone met with this before?the setting is SQL2K with SP3 on a 2 node active-active W2K3 cluster.on one of the machine, it occasionally prompts for the following error:"The log file for database "tempdb" is full. Back up the transactionlog for the database to free up some log space."the problem is, at the time of error, the tempdb tx log is only 200MBand there are over 50G disk space available.settings of tempdb:-- 10% autogrow, unlimited max size-- auto shrink off-- data file around 1GThanks.
I am actually following exactly the example given in Karl Moore€™s €˜The Ultimate VB.net and ASP.net Code Book€™, ISBN 1-59059-106-2, Chapter 4, pp 141€¦
I am using VB.Net 2002 and create a Web Form, placing on it a Data Adapter, Connector and Dataset and link this to a Data Grid. The database is a quite large (150 Mb) Access 97 db that is shared over a network and the Provider is a Microsoft.Jet.OLEDB.4.0 connection. While in designer mode I can create the Dataset and even preview the data itself from the menu. When I run the project, the Web Form displays, connects to the Site (via IIS 5.1) but then the following error text is thrown all over the form:
Server Error in '/WebApplication3' Application.
Disk or network error. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Data.OleDb.OleDbException: Disk or network error.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032
I have read and implemented the articles in the KB about setting up System TEMP variables and changing their rights and also setting up the ODBC key in the registry but these make no difference however I change them. I have also tried copying the database to the local machine, again to no avail.
The versions of the system I am using are:
Microsoft Visual Basic .NET 55524-640-5065381-18871 Microsoft Visual Studio .NET 2002 Service Pack 1 (KB837234) Microsoft Developer Environment 2002 7.0.9955
I have no idea why what should be a very simple thing just fails so catastrophically. I am tempted to move to VB 2005 but if anyone can shed light on the problem I should be most grateful.
Many thanks for your time and Energy. Jim McGoldrick
Hi, I get folllwing error while SSIS package is executing and uploading Data from Flat Files to SQL Server 2005. This Error goes away when I change my SSIS Package Connection Manager to read UNICODE data files. Is there any smart way to figure out which flat files have UniCode Data in the and which is not a Unicode data file.
Thanks, Vinod
Information: 0x402090DC at Upload EP Data, DAT File Reader [1]: The processing of file "C:Data2EP05PF2000002_070412_002921.dat" has started. Information: 0x4004300C at Upload EP Data, DTS.Pipeline: Execute phase is beginning. Error: 0xC020209C at Upload EP Data, DAT File Reader [1]: The column data for column "SYSTEM_LOCKED" overflowed the disk I/O buffer. Error: 0xC0202091 at Upload EP Data, DAT File Reader [1]: An error occurred while skipping data rows. Error: 0xC0047038 at Upload EP Data, DTS.Pipeline: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED. The PrimeOutput method on component "DAT File Reader" (1) returned error code 0xC0202091. The component returned a failure code when the pipeline engine called PrimeOutput(). The meaning of the failure code is defined by the component, but the error is fatal and the pipeline stopped executing. There may be error messages posted before this with more information about the failure. Error: 0xC0047021 at Upload EP Data, DTS.Pipeline: SSIS Error Code DTS_E_THREADFAILED. Thread "SourceThread0" has exited with error code 0xC0047038. There may be error messages posted before this with more information on why the thread has exited. Error: 0xC0047039 at Upload EP Data, DTS.Pipeline: SSIS Error Code DTS_E_THREADCANCELLED. Thread "WorkThread0" received a shutdown signal and is terminating. The user requested a shutdown, or an error in another thread is causing the pipeline to shutdown. There may be error messages posted before this with more information on why the thread was cancelled. Error: 0xC0047021 at Upload EP Data, DTS.Pipeline: SSIS Error Code DTS_E_THREADFAILED. Thread "WorkThread0" has exited with error code 0xC0047039. There may be error messages posted before this with more information on why the thread has exited. Information: 0x40043008 at Upload EP Data, DTS.Pipeline: Post Execute phase is beginning. Information: 0x402090DD at Upload EP Data, DAT File Reader [1]: The processing of file "C:Data2EP05PF2000002_070412_002921.dat" has ended.
Details:MS SQL 2000 dual Intel 1.2 GHz processors.1 GB RAM2.1 GB dBDynamic Memory Managment.No other apps running on this server.First question:Since I have Dynamic Memory Managment setup, Is it usuall that thesqlsrv.exe process on the server steadily climbs and is in the 800 to900 MB range. There is only about 20 MB free. In theory this is howDMM can work, but do people really see it work this way.Second question:I had users complaining about lockups in the app I have to supportthat connects to this dB. At first I thought it was the large use ofmemory, but once I was able to see in Enterprise Manager that therewas process blocking several other processes. EM then locked up and Icouldn't get to the details of what the exact process was that wasdoing the blocking. After restarting SQL services things were fine.When I checked the logs there was nothing there about a hung process.The logs seemed very sparse. Why would there not be anything in thelogs about it. The logs actually seem very thin on any information.Thanks,T.
I have a three tier system using SQL server 2000, we are currently experiencing IO bottle necks on our SCSI Raid 10 array, which holds the Data and the logs in separate partitions.
So my options as I understand it are:
Get Enterprise edition
or
Get another physical raid 10 array and separate the logs and data i.e. data on one array and logs on the other array.
I would like to try the latter but I am totally unsure how much difference this will make or whether it will make any difference at all.
Does anyone know how much performance increase I will get from using two arrays as opposed to one?
Any other advice on this scenario would be greatly appreciated.