Koalakk's Q&A profile
.NET Development How to throws sql25k reports from ASP .NET?
Hi everyone, Primary platform is framework 2.0 I was wondering how to launch RDL reports from an .aspx page. Is it possible Either c# or vb as well as any related link would be very appreciated. Thanks in advance for your time and your input, Please, find the redistributable package here for the ReportViewer: http://www.microsoft.com/downloads/details.aspx familyid=8a166cac-758d-45c8-b637-dd7726e61367&displaylang=en De nada, Rodrigo ...Show All
SQL Server Import data from SQL Server 2000 incredibly slow
I have a problem with bad perfomance with my import of data from a SQL Server 2000 database. I use an OLEDB datasource in my SSIS package to connect to the sql server 2000 database. My 2005 server runs 64bits but i dont think this is an issue. With this configuration the import is VERY slow, we are talking about 40+ minutes to get 3.5 million rows with about 20 columns. When i create a test DTS package on the SQL Server 2000 server itself and run it, its blazingly fast. Has anyone run into something similar Have you done any debuggin of where the bottleneck occurs Donald Farmer explains some useful ways to do this, see here: SSIS: Donald Farmer's Technet webcast ( http://blogs.conchango.com/jamiethomso ...Show All
Visual Studio Tools for Office How to detect a new incoming email?
Hi, I wrote some code but cannot work... private void ThisAddIn_Startup( object sender, System. EventArgs e) { Globals .ThisAddIn.Application.NewMail += new Outlook. ApplicationEvents_11_NewMailEventHandler (NewMail); } void NewMail() { Outlook. NameSpace outlookNameSpace = Globals .ThisAddIn.Application.GetNamespace( "MAPI" ); Outlook. MAPIFolder inbox = outlookNameSpace.GetDefaultFolder(Outlook. OlDefaultFolders .olFolderInbox); Outlook. Items unreadMailItems = inbox.Items.Restrict( "[Unread]= true" ); foreach ( Object mailItem in unreadMailItems) { MessageBox .Show( "Haha" ); } } Pls help me... Thanks Can you provide a little more i ...Show All
Windows Forms Resx problem
Once upon a time one developer created a windows form. Yesterday I was asked to make it culture aware. After quick search, I did the folllowing steps; 1- Clicked the form, set its Localizable attribute to true 2- Selected the language attribute and set it to Turkish 3- Compile and check-in the file. Then I expeceted to change resx files simply to complete the task. Instead I got exception which is similiar to this, "cannot create class MyClass from MyClassAssmbly". I tried 3 or 4 possible options such as copying default MyClass.resx to newly created MyClass.tr.resx but it did not work. By the way MyClass.tr.resx and MyClass.re.-TR.resx is empty after setting Localizable attribute... Any idea please ...Show All
SQL Server Sum issue on table footers
I am having a big issue trying to resolve this problem. Hope to layout it out well enough to understand. I have a dataset like this. Name Sales$ Quota Month ----------------------------------------------- John Doe 10 10 1/1/2006 John Doe 20 10 1/1/2006 John Doe 15 10 1/1/2006 John Doe 18 10 1/1/2006 ----------------------------------------------- Jane Doe 12 5 1/1/2006 Jane Doe 6 5 1/1/2006 ----------------------------------------------- Jack Black 18 15 1/1/2006 Jack Black 22 15 1/1/2006 Jack Black 14 15 1/1/2006 ----------------------------------------------- The issue I am having is quota is truely only the one value, not a sum of the ...Show All
SQL Server Error 18456 Severity: 14 State 11 problem
I am installing diskeeper administrator on one server with at database on our sql2005 server. When I am trying to connect to the database the diskeeper software says verify username and password. I try to connect using windows authentication .And in the serverlog this error occurs 2006-11-27 15:04:56.01 Logon Login failed for user 'NB\Servername$'. [CLIENT: "Ipadress"] 2006-11-27 15:04:56.01 Logon Error: 18456, Severity: 14, State: 11. When i try to connect with Sql server authentication, this error occurs in the log: 2006-11-27 15:48:35.46 Logon Login failed for user 'NB\SERVERNAME$'. [CLIENT: ipadress ]2006-11-27 16:04:22.94 Logon Error: 18456, Severity: 14, State: 16. I have tried to disable files ...Show All
Visual Studio 2008 (Pre-release) The Roadmap
The last LINQ CTP has been issued a long time ago - in May :) Is there some information about the roadmap, next CTP and release dates, etc LINQ is a really intersted feature but developers got a bit tiered from betas (LINQ, Atlas, etc)... Hi, May CTP was the last CTP of LINQ. LINQ concepts and object model will be included in ADO.Net 3.0 - Entity Framework. You can read about it here . This is a really cool feature indeed! Guy Burstein http://blogs.microsoft.co.il/blogs/bursteg/ ...Show All
Visual C++ Using the Visual Studio buttons
Hi guys I have been working on a project in Microsoft Visual Studio 2005 Pro and now that its complete i wanted to optimize its looks but when i compiled the project and started my project.exe file all the buttons on it looked like those in visual c++(you know, those grey ones) although they should be white in color.(like those in Visual Studio 2005) Is there any way to use the visual studio 2005 pro buttons Thanks ah thanks for the replies guys but thats not exactly what i meant. What i mean is that sometimes when i make a really small app(with only one button) and then compile it then the color of that button is white(the default Visual Studio 2005 Pro style) but if i make it bigger for ex if i add more stuff to the app like more ...Show All
SQL Server Report Manager is not opening
Hi Everbody I am back again with a new problem my report manager is not opening giving the following message he page cannot be displayed There are too many people accessing the Web site at this time. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Unable to share a windows game - Followed the instructions on the manual
Okay, so I finished my first game using XNA Game Studio Express, it has been only a few days since I installed it, and it has been quite easy, having experience at making games. Now, I want to show this game to my friends, so I send it to a couple of them (both of them have XNA Game Studio Express installed), and it works great. Now I want to show it to some other friends, these who do not know what making games is about, these who do not have XNA Game Studio Express. I ensure they follow these instructions, from the manual: Sharing a Windows game On Windows you need to distribute your game executable and any content required by your game. In addition you need to ensure that the user has the following redistributables installed ...Show All
SQL Server RS2005: ReportManager and Forms Authentication : The report server is not responding
Hi, Sorry for the long post but I'll try to give a maximum of information. I've tried to implement Form Authentication for Reporting Services. Right now, just about everything works as I would hope for, i.e.: When I try to access http://<server>/ReportServer$SQLSERVER_2005 , I am redirected to the authentication form. When successfully authenticated, I can access the report I can display reports throught the ReportViewer Web control by passing the authentication cookie. Etc. (Note: My implementation of Form Authentication was inspired by http://www.devx.com/dotnet/Article/26759/0/page/1 which seems similar to Microsoft Sample) (The $SQLSERVER_2005 suffix is because SQL Server 2000 is also installed on the s ...Show All
Visual C++ Problem with char *
How can I copy 2 char * in a third one, so it seems like this char *one = "This"; char *two = "is a text."; char *three = ... And it has to be native C++. For pointers, you need to allocate memory first. I would recommend reading more about pointers and memory allocation. Thanks, Ayman Shoukry VC++ Team ...Show All
SQL Server BCP taking very long time.
I have a table which has near 50million records. The .dat file created by BCP queryout is of around 51GB. I am forming the BCP queryout and BCP IN commands in a stored proc and executing the same using xp_cmdshell. I am using the below BCP options : / T / b60000000 / a16384 / w / t}@ !{ / r} ^ #{\n / h"TABLOCK" With above the QueryOut is taking around 8 hrs and BCP IN another 10 hrs. These figures are not very healthy. The database recovery mode is set as simple. Server config: Windows server 2003 X64 edition, with 16 gb RAM. Any pointers on what could be the reason for this The table structure is as below: CREATE TABLE XXX.dbo.ZZZ ( A nvarchar(50) COLLATE SQL_Latin1_General_CP1_CI_AS ,B nvarchar(15) COLLATE SQL ...Show All
Visual Studio Team System TFS Product Key
I originally had TFS Trial installed, and have since purchased the Team Suite MSDN that comes with TFS Workgroup Edition. How do I get the product key for the workgroup edition so I can update the trial license Hi Keith, Yes indeed. The trick is to remeber to perform a repair once the upgrade process (having entered the key) has successfully completed. Simply go to Control Panel -> Add/Remove Programs, and this time perform a repair of the TFS. This action will create the necessary TEam Foundation Licensed Users group. Thereafter simply add domain accounts (max 5 of course) to this group and all is back to normal. The article at http://msdn2.microsoft.com/en-us/library/ms404852.aspx describes this process. regards ...Show All
Visual Basic Finding which Form called a Form.
I am writing an app in which I have a form which is used for entering data to search a database. The nature of this form (I will call it form2) is that it can be called from a number of other forms in the same project. I need to get data from previous forms (eg, what is in textboxes etc) and this I can work out how to do if there form is only ever called from one place. What I cannot find a way of doing is indentifying which form called form2. Ok, I can probably use a Public variable but this could well cause problems if I have multiple form2's open (How to indentify which form called which!). Does anyone have any suggestions Regards Matt Penfold. If form2 will only be loaded from ...Show All
