jortiz's Q&A profile
SQL Server Deployed reports have javascript errors?
Hello- I have developed a number of reports on Win XP with VS2005. They run on our development server, which is running Windows Server 2003 32-bit. I then deploy these reports on our production server, which is running Windows Server 2003 64-bit edition. Accessing any of the reports from Report Manager results in javascript errors, such as 'Line 41 Error: 'RSClientController' is undefined' I get these errors also when invoking these reports through a form post. It appears that some javascript code generated by the report server is missing. Could this be a 32-bit vs 64-bit issue Report Manager seems to work fine; it is only when I run a report that I have this problem. This is the first time I've tried to deploy reports to this server. Tha ...Show All
SQL Server A lot Of Questions!!!
Good Morning.. i have started developing on DTS recently. and i have a few question about "How-To" issues. Hope you guys can help 1) I noticed, whenever i want to "redirect row" whenever an error happen, i need to set my AccessMode to OpenRowSet... This mode as i noticed, cant be used when i am tranferring data into a sql table which has primary key set e.g. Ms Access which has identity -> SQL table with PK set Is there anyway, to capture the row error in my situation 2) Another question is, in a data flow... can i have a source which has multiple output arrow. Sorry for the inconvenince,Thank you in advance Hi Phil thanks for the fast reply I am ...Show All
SQL Server Visual Studio Output information in debug mode while running a SSIS package
Hello When running a package in VS you can see something like this in the output window: SSIS package "logging.dtsx" starting. Information: 0x40043006 at Data Flow Task, DTS.Pipeline: Prepare for Execute phase is beginning. Information: 0x40043007 at Data Flow Task, DTS.Pipeline: Pre-Execute phase is beginning. Information: 0x402090DC at Data Flow Task, Flat File Source [1]: The processing of file "C:\test ssis logging\bad_data1.txt" has started. Information: 0x4004300C at Data Flow Task, DTS.Pipeline: Execute phase is beginning. Warning: 0x8020200F at Data Flow Task, Flat File Source [1]: There is a partial row at the end of the file. Information: 0x402090DE at Data Flow Task, Flat File Source [1]: The total numb ...Show All
.NET Development API's instead of WMI
Hi I’ve been using WMI to retrieve hard drive information, eg: ManagementObjectSearcher searcher = new ManagementObjectSearcher("SELECT * FROM Win32_DiskDrive"); The Win32_DiskDrive COM object contains hard drive serial number info (among other things). My question is, is there any way that I can get this sort of low level system info using standard .Net API’s Or is WMI the only way to go Thanks WMI is the only way to go im afraid in .NET 2.0 there is a drive class to get information about drives (DriveInfo) but contains information such as volume, drive type, drive letter and total space I believe but nothing as low level as what WMI can achi ...Show All
Visual Studio Team System Error with TFS build, but not when I manually build with Visual Studio
I created a solution and included two projects into it which build just fine using Visual Studio. These projects were created under my TFS Project. I then created a build task for that solution and the build task fails with the following: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets(0,0): warning MSB3245: Could not resolve this reference. Could not locate the assembly "ABS.Common". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. BusinessClasses\EngineExecutionEnumHelper.cs(21,11): error CS0234: The type or namespace name 'Common' does not exist in the namespace 'ABS' (are you missing an assembly reference ) Busin ...Show All
Windows Forms Correct errors in CellValidating event
I have a datagridview control in which users enter data. I can detect certain types of data entry errors and correct them, but I am not sure where to do this. I tried putting code in the CellValidating event to examine e.FormattedValue. That works, but since e.FormattedValue is ReadOnly, I can only detect errrors, not correct them. Is there a way to change the edited value programmatically Where is the best place to do so Thanks, Mable In Datagridview.CellValidating Event call Datagridview.CancelEdit() CancelEdit() will however remove a row if you are in a Datagridview's New row ...Show All
Visual Basic Encryption
Hi again everyone, Just a few questions if you dont mind. 1. Can rot13 encryption be achieved using vb.net 2005 And if so how 2. If rot13 can't then case base 64 and how 3. I have a text box that when I press enter in I would like it to bring up a message box, is this achieveable, and if it is then how Thanks, This is will really help, Wilk06 There are encryption components which allow this to be done. http://www.google.com/search hl=en&lr=&q=rot13+%2B+encryption+%2B+vb.net So You'd need to check out one of these and if you know the algorithm then sure you could write your own implementation. For the keypress in the textbox something like this will work Private Sub T ...Show All
Smart Device Development Command Bar Problem In CustomFrom
Hello, EveryOne! Does any one know how to create a new Command Bar in CustomForm sample(or Tv_inbox sample) I want to add my MMS composer like SMS or Email composer to windows mobile 5.0. I tried to create a window has a Command Bar with tool buttons and not use the inbox default menu, but I found that SHCreateMenuBar( ) always fails. The step is, modify BOOL CMsgView::CreateMainWindow( ), when I select the new command, the MMS edit window with new command bar will display, not a window with the inbox default menu.   ...Show All
Visual Studio Tools for Office Bug?
The following line gives error "Activate method failed" when the oExcel workbook was previously open when the program is run. oExcel.Worksheets( 5 ).cells( nPositions, 1).activate() However, it does work fine when the oExcel object was not open and is opened by the GetObject. All other manipulation of oExcel works fine independently of whether oExcel was previously open or not. The related relevant code is Dim oExcel As Excel.Workbook oExcel = GetObject( "C:\Documents and Settings\Antonio\My Documents\inventory.xls" ) oExcel.Application.Visible = True (manipulation of oExcel) oExcel.Worksheets( 5 ).cells( nPositions, 1).activate() Hi asalce ...Show All
SQL Server multivalue parameters - is this possible ??
i am trying to build a report that uses multivalue parameters - the report is a simple listing report that lists out a list of cases as a table - the data is obtained from a view which just returns all details for all cases there is no user input for the selection details - am going to be calling the report and passing over the parameter values directly to it. there are several parameters for the report - they all default to "All" for each of these parameters, i need to be able to either use the default value of "ALL" or to enter a list (comma separated ) q1) could i just enter the list as a string comma separated list (rather than as multivalued parameters) and then use this list to filter the data usin ...Show All
.NET Development assigning value to node ????
public class AddAnnouncement { public void _AddAnnouncement() { XmlDocument newAnnDoc = new XmlDocument (); newAnnDoc.Load( "~/App_Data/Announcement.xml" ); XmlNode newAnn = newAnnDoc.CreateNode( XmlNodeType .Element, "ann" , null ); XmlNode Id = newAnnDoc.CreateNode( XmlNodeType .Element, "annID" , null ); /////////////////////in here i want to assign to id value to 0; after that i want to increase it; like this int a=0; and id. ( maybe value;;; i dont know what mus be after dot)=a; a++; how can i do this XmlNode Title = newAnnDoc.CreateNode( XmlNodeType .Element, "annTitle" , null ); XmlNode Body = newAnnDoc.CreateNo ...Show All
SQL Server Merge Replication Mysteriously Deleting Rows
I am running a simple merge replication in SQL Server 2000. I have one database that is the publisher, and a second database that is the subscriber. When I add a new row to the subscriber it will replicate to the publisher as expected. However, the new row at the subscriber will then be deleted without explanation. The row will remain at the publisher though. Does anyone know why it is doing this THen you need to provide more information about the article and values so we can help you. IS this article part of a join filter ...Show All
Visual Studio Out Of Memory Exception in Sandcastle
Hi, I'm getting an Out of Memory Exception with Sandcastle when generating documentatin for a larger project. The size "reflection.xml" is about 216 mByte. The error seems to occur with the HTML Compiler when trying to generate the .chm file. We build .Net Framework using Sandcastle. The reflection.xml is around 2 GB plus depending on the build. However we build HxS instead of CHM. Have you tried running the builds in a high end production machine. This is a suggestion. I am not sure if you are running into some kind of CHM compiler limitation. Anand.. ...Show All
Visual C++ ODBC/OLEDB Connection
Hello Sir, i am working on answering matchine project in visual c++ 6.0. The entire sample code is in C and files are with .C Extension. i have to do database connectivity with C. i don't know how to do it. i know how to get database connectivity in VC and Code in .CPP Extensions. but when i use the same dll and header files in C, it gives an error in importing 'ADO Dll' in 'STDAFX.h' from program files and says that C compiler does not support import directive. if i convert all files to .CPP extension. it gives a lot of errors in calling some window functions. Pls guide me what should i do now. Thanks and regards Munish Gupta If the language doesn't support the database connectivity, ...Show All
Software Development for Windows Vista WorkflowInstance.Abort vs WorkflowInstance.Terminate
What's the difference between this two actions, besides that Terminate receives a string indicating the error Abort: You can resume an aborted workflow from the previous persistence point. Terminate: Terminated workflow cannot be resumed and it is deleted from the persistence store. Check Moustafa's blog post to understand the workflow lifecycle http://blogs.msdn.com/moustafa/archive/2006/03/02/542459.aspx ...Show All
