GraceCai's Q&A profile
SQL Server <SecondsBeforeRetry> config setting change is not being applied in RSReportServer.config
Hello... Working on a data-driven subscription which generates many (50+) recipients for report delivery (each with unique parameter values to use in executing the report): The report is scheduled to run at 9:00 AM. Some emails send at 9:00 or 9:01. The rest of the emails send at 9:16, 9:31, and 9:46. It would be much better for the emails to retry in one-, two-, three-, or five- minute intervals instead of waiting fifteen-minutes, as the report information being delivered is time-sensitive, and I expect the number of recipients to grow. So, I changed the <SecondsBeforeRetry> setting from 900 (the default) to 300 (I have also tried 60 and 120). However, ...Show All
Windows Forms Where are DialogKeys processed in Designer?
I want to be able to move the controls around in the desgner by pressing the arrow keys but I can't find where the ProcessDialogKey is being fired. Is it in a service somewhere I don't know about Ken For example i'm using a custom designer for .Net 1.1 The next to lines do the work of creating a new designerRoot and a new designer view. rootDesigner = (IRootDesigner)host.GetDesigner(designedForm); designerView = (Control)rootDesigner.GetView(ViewTechnology.Default); That designerView is the Control where you do the design (the designer surface) and you should dock it to a form. So if you handle the events of this control you should be able to invoke the commands. ...Show All
Visual Studio Express Editions Problem getting value from the DataGridView component?
How do I get the value from an selected row with the DataGridView component to an Label component Example Add a datagridview with a two columns. Use this code. At some text in the cells and then start chnaging the selections. Public Class Form1 Private Sub DataGridView1_SelectionChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles DataGridView1.SelectionChanged Label1.Text = Me.DataGridView1.SelectedRows.Item(0).Cells(1).Value End Sub Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Me.DataGridView1.SelectionMode = DataGridViewSelectionMode.FullRowSelect Me.DataGridView1.MultiSelect = F ...Show All
Visual Studio Random checkouts, cannot shared files, and more
I just installed the QVCS-Pro (3.10.15) and imported all of my projects (106 under one large solution). I've wasted most of today trying to work around VS2005 problems (blame assigned based on the fact that VS2005 makes no calls to QVCS when the problems occur). When I open my solution, a number of projects are "automatically" checked out by me. Also, the solution itself seems to always be checked out by me (that seems to go against the entire idea of a team working on different parts of a large solution -- why not just check it out when something needs to be changed ). They all seem to be DLL or LIB projects, in case that is a hint to the cause. I've tried to check them back in before closing VS2005 but... they show as checked ...Show All
Visual Studio Pass parameters from page link to report
How can I pass 3 parameter values from a link on one page to a report or CrystalReportViewer. Report is a web report in C# Parameter fields in the report are: CampaignID BeginDate EndDate So say link page URL looks like this: http://localhost/reports/campaign_report/default.aspx CampaignID=61325&BeginDate=1/1/2006&EndDate=1/2/2006 and I want to pass these values to the report and bypass the Parameter Prompt Page. When i run this link the report viewer page says "missing parameters" Do I need to add something to the default.aspx.cs page ------------------------------------------------------------ protected void Page_Load( object sender, EventArgs e) { &n ...Show All
SQL Server Monitor database not backup
Hello, I'm monitor my SQL 2005 using MOM 2005. I would like to create a VB script to get database list that are not backup in the last X days. how can I do that http://www.extremeexperts.com/SQL/Scripts/Lastbackup.aspx fyi. ...Show All
.NET Development c# ms access problem
Dear All. I have mdb file (office 2003) with table called table1 (F1 int primary key, F2 text). and below is my c# code: private void FM_Main_Load( object sender, System.EventArgs e) { System.Data.OleDb.OleDbConnection Conn = new System.Data.OleDb.OleDbConnection(); Conn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + Application.StartupPath + "\\db1.mdb"; System.Data.OleDb.OleDbDataAdapter DA = new System.Data.OleDb.OleDbDataAdapter("select F1, F2 from table1", Conn); DA.Fill(DS); // DS is the typed dataset with structure as table1 } But when I run my application it gives below error: "The Microsoft Jet database engine could not find the obj ...Show All
Visual Studio Express Editions MessageBox in net
I want send a message (such as MessageBox) to pc in my network. How must to do you need to look at using the System.Net namespace and using the socket/tcpclient/tcplistener classes: http://msdn2.microsoft.com/en-us/library/system.net.sockets.tcpclient(VS.80).aspx http://msdn2.microsoft.com/en-us/library/system.net.sockets.tcplistener.aspx http://msdn2.microsoft.com/en-us/library/system.net.sockets.socket.aspx ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DirectX control webcam problem
Hi All, I has few question about DirectX problem. Please sombody help. Q1 Can i control and take photo with directX Q2 Where has good directX game engine(C#) Q3 How to make fire effect with game Please give me some example. Best Regards, 1. No DirectX had the video components removed several years ago. DirectShow is now part of the OS team. However you can still use Managed Direct Show or other APIs to control a webcam. WIA for still pictures http://msdn.microsoft.com/coding4fun/someassemblyrequired/lookatme/default.aspx and managed DirectShow (or alternatives) for moving and sound http://www.thezbuffer.com/articles/364.aspx 2. http://www.thezbuffer.com/categories/engines.aspx - though nobody I know ha ...Show All
SQL Server A connection could not be made to the report server http://localhost/ReportServer.
Hello Guys, Please take me out from this hell. I created report using VS2005 Business Intelligence Project. It builds fine. I can also see data in the design time. But when I am trying to deploy it gives me this error. TITLE: Microsoft Report Designer ------------------------------ A connection could not be made to the report server http://localhost/ReportServer . ------------------------------ ADDITIONAL INFORMATION: Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'. The request failed with the error message: -- <html> <head> <title>Configuration Error</title> <style> body {font-family:"Verdana";font-weight:normal;font-s ...Show All
Visual Studio Express Editions Newbie: Video tutorials and audio??
Are the video tutorials narrated I have no audio, i don't know if its just me or that there is symply no narration or audio. Thanks. I would then guess that its your machine configuration rather than anything to do with the files on the server. ...Show All
SQL Server Connecting to SQL 2005 from a client pc
I am getting this message. On the actual server I can pull up the report builder, but from a client on the network when trying to connect to the sql report builder I get this message: PLATFORM VERSION INFO Windows : 5.1.2600.131072 (Win32NT) Common Language Runtime : 2.0.50727.42 System.Deployment.dll : 2.0.50727.42 (RTM.050727-4200) mscorwks.dll : 2.0.50727.42 (RTM.050727-4200) dfdll.dll : 2.0.50727.42 (RTM.050727-4200) dfshim.dll : 2.0.50727.42 (RTM.050727-4200) SOURCES Deployment url : http://webdev.ci.lubbock.tx.us/reportserver$sql05/reportbuilder/reportbuilder.application ERROR SUMMARY Below is a summary of the errors, details of these errors are listed later in the log. * Activation of http://webdev.ci.lubbock.tx.us/re ...Show All
Visual C# Async Sockets
I have developed a packet relay kind of program its is like a proxy kind of stuff The main objective is It will listen to a specific Port async way and sends and recieves the data in async way. Once the client connects to that port it send the ip of the remote machine to connect to. This proxy/socket manager will relay the packets sent to and from the both the ends. For each client I am creating a async socket with BeginReceive and . EndReceive And there will be max of 10 -15 clients connects to this proxy. So thery will be 10-15 async sockets waiting for reading data or sending data. Is this the proper way of coding or we can achieve this in any other way Here why i dint use threads is becos i do ...Show All
SQL Server OSQL Batch File Problem
I have a scheduled task that runs a batch file in windows 2003 server which is running SQL Server 2000 Enterprise. The batch file contains the line: OSQL -i myscript.sql -Umyuser -Pmypassword -Slocalhost -o mytrans.log the 'myscript.sql' file updates a table with another table of the exact number of rows. When the scheduled task runs, the 'mytrans.log' file shows 0 rows were affected. If I run this myself from the command line, 22,000 rows are affected which is correct. I am guessing there is some sort of permission/authentication issue here. I am sending the right username/password for SQL and for windows to run the task. Any idea what I could do to fix this Thanks, Nitrox ...Show All
Visual C# Generic Application
Hi, Is it possible to build generic application for more than one DataBase. I want to use MySQL5.x and MS SQL Server with application. One DataBase at one time. If MySQL has an oledb driver you can use the OleDBxxx classes and use appropriate connection strings to talk to the correct server. -- SvenC ...Show All
