Luis Esteban Valencia Muñoz's Q&A profile
SQL Server VISUAL STUDIO 2005 AND SQL 2000
I'm very new to the MSDN world. I have 2005 CD I just purchased and would like to install SQL 2000. Is this possible or is only 2005 version bundled with this subscription Thank you... I have Visual Studio 2005 CD. Hmmm.... I don't have the exact CD, but my guess is that it only contains a version of SQL 2005, not SQL 2000. If you're in a pinch, you could try to install the evaluation version of SQL 2005. It is good for 180 days, but you could always try to obtain a copy of Developer edition if you need it for longer. Thanks, Sam Lester (MSFT) ...Show All
.NET Development XmlSerialize a System.Drawing.Font
Hi, I haven't used the XmlSerializer with any built-in types before, so maybe this is a common restriction... But are System.Drawing types possible to serialize When I try to serialize any System.Drawing type, I get a runtime error: Could not load file or assembly 'System.Drawing.XmlSerializers' I can't find any references to this assembly anywhere on the net. Is it something that hasn't been implemented in .NET yet.. Thanks, Jonas Jonas, You get this error because the type you're trying to serialize is not XmlSerializable (maybe some IDictionary is there or something like that).... so it won't be possible to serialize it as xml. The error message you receive is telling you that the framewo ...Show All
SQL Server SQL Server 2k5 backup restore issue: tail of the lo
After a manual backup, I attempted to restore, and got the following error: System.Data.SqlClient.SqlError: The tail of the log for the database "MSC" has not been backed up. Use BACKUP LOG WITH NORECOVERY to backup the log if it contains work you do not want to lose. Use the WITH REPLACE or WITH STOPAT clause of the RESTORE statement to just overwrite the contents of the log. (Microsoft.SqlServer.Smo) suggested link to Microsoft site had no articles. How can I fix This a common request. You can find a lot more information in these links: http://msdn2.microsoft.com/en-us/library/ms179314.aspx This one is on 2K, but talks about the tail of the log: http://www.microsoft.com/technet/ ...Show All
SQL Server SSRS 2005 Subscription problem After Apply Custom Authenication
I applied the msdn Security Extension Sample http://msdn2.microsoft.com/en-us/library/ms160724.aspx when I assign a user as default broswer on a report, the sender in subscription shows "NETWORK SERVICE" and does not allow user to change the content and the sender how can I pass the email address to subscription that I store the email addres on my own table thank you I am having the same problem actually! Everything else seems to work fine. If anyone could shed some light on the subject and maybe the integration of roleManager into SSRS custom authentication then I'd be most grateful!! Cheers, Andy ...Show All
.NET Development Some Advice please - .NET Remoting or Web Servies?
Hi, im currently building a Microsoft Messenger type System for my home city. Server side I'm currently using php, clint side c# I now wish to start again and either use .net Remoting or Web Services. I prefer the idea or using .NET Remoting and have 5 quesions. 1. How can I handle 50,000 clients Can a client connect then receive required data then disonnect, wait a few minuites then connet again as I can't see a server handling 50,000 connetions at one time 2. How many connetions can a private server handle 3. What type server do I need As im just experimenting for now I wish to use a shared server service. 4. Anyone recommend a good server company in United Kingdom for no more than £10 a month 5. Anyone know some good g ...Show All
SQL Server Script Task
Hi, I am very new in Integration Services and I am using the Script task object. From what I know, it is used when you want to have a vb 2005 programming which is for accomplishing tasks that are not available in SSIS. I pasted my codes there from my vb 2005 code area. However, I get this error: Reference required to assembly 'system.xml, version = 2.0.0.0, Culture=neutral, PublicKEyToken=b77a5c561934e089' containing the implemented interface 'System.Xml.Serialization.IXmlSerializable', Add one to your Project. How is that resolved How can I add it to my project Thanks so much! Cherrie from the vsa script environment select: project > add reference. then, choose "system.xml.dll& ...Show All
Visual Studio Express Editions Another Problem
Hi, I was wondering if there is anyway to turn a huge amount of code into a simple function. Right now I have a bunch of check boxes and they are all named C1-C7 and W1-W7, instead of putting in code for each one when clicked, which results in a large amount of code, is there anyway I could make one function to handle all of these. I tried something like this. If C(num).checked=true then W(num).checked=false endif its just a basic example of what i want and i could really use this later on. Thanks The following is just for three buttons per set. Just add more handles clauses as required. Private Sub Form1_Load( ByVal sender As System.Object, ByVal e As System.Ev ...Show All
Visual Studio Express Editions Fill an array from a text file.
Sir/Madam, I need to fill an array from a text file. My text file looks like this for different people. First Name|Last Name|Address|Phone First Name|Last Name|Address|Phone First Name|Last Name|Address|Phone First Name|Last Name|Address|Phone First Name|Last Name|Address|Phone Do you know of any way to put these into an array from a text file where the "|" symbol seperates the columns Any help would be greatly appreciated! This doesn't work. It won't let me execute it because it will not allow late binding from the line "Console.Write(a(i))". ...Show All
.NET Development Property Storage in XML
What is the standard way of writing out properties of a .NET class in XML What I mean is, is it standard to write out properties of a class as attributes: <pin name="pinName" x="2" y="0" z="1.5" xRotation="0" yRotation="-.4" zRotation="1"> pin being the name of a user defined class. Or is it standard to write out properties as child nodes: <pin> <name="pinName"> <x="2"> <y="0"> <z="1.5"> <xRotation="0"> <yRotation="-.4"> <zRotation="1"> </pin> I don't think there is a standard requiring or demanding one way or the other, a ...Show All
Smart Device Development How to handle images in application...
Hi all, I have a situation in my application where have buttons that each will have 3 images that represent it's state (normal, disabled, and pressed). What I want to know is how to store these images within the application Should they be placed in an ImageList, or just referenced directly from a location Or is there a better way Thanks Create a new device project class library. This will result in a new DLL to be generated. This will be your resource assembly. Remove the default Class1.cs Add a bitmap to the project Set the bitmap file Build Action property to Embedded Resource. The bitmap will now be embedded as a resource in the assembly (.dll). Deploy this dll with the application. In the same folder or any other. Easi ...Show All
SQL Server Assign expression value using code
I am trying to use a variable to set an attribute value of an SSIS task but I keep running into the 4000 character limit of the string variable. Not sure why the variable which is of .NET type String has this limit when it doesn't when you are in a .NET environment. Regardless, can anyone provide some sample code that I could use to do this in a script task I am trying to set the QueryString property of the Data Mining Query Task. All help would be appreciated. Thank you in advance. As far as dynamically setting the QueryString, when you look at the properties of the Data Mining Query task, is there an "expressions" parameter If you expand the expressions parameter, do you have an option for QueryString (I'm not sit ...Show All
Visual C++ C++/CLI C++ Interop and FxCop/Code-Analysis warning CA2122
I've purposely been ignoring a CA2122 warning in some C++ interop code I've been working on for quite some time. I've just recently had the cycles to investigate the warning The warning message is as follows Warning CA2122 : Microsoft.Security : MyClass.Method():Void calls into Marshal.GetExceptionPointers():IntPtr which has a LinkDemand. By making this call, Marshal.GetExceptionPointers():IntPtr is indirectly exposed to user code. Review the following call stack that might expose a way to circumvent security protection: ->System.Runtime.InteropServices.Marshal.GetExceptionPointers : IntPtr ->MyClass.Method : Void ... MyClass is a managed class where Method calls a native static (for readable illustration purp ...Show All
Visual Studio 2008 (Pre-release) WPF XAML xmlns: assembly not found problem.
i've created a xbap wpf project and i have problem with "Error 2 Assembly '' was not found. The 'clr-namespace' URI refers to an assembly that is not referenced by the project. " at the line which highlighted with red color. CustomControlLibrary2 in particular is a custom control made by using adding wpf control library template project. <Page x:Class="CarouselSample.Page1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/interactivedesigner/2006" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d&qu ...Show All
Visual Studio Express Editions error C4430 - can someone help?
Error reads: "error C4430: missing type specifier - int assumed. Note: C++ does not support default-int" I am completely new to C++. I'd appreciate if could help me spot the source of my error in the following program: #include <iostream> using namespace std; main() { int ctr=0; // Integer variable to count through loop char lastname[10], firstname[10]; // Define character array to hold name cout<< "What is your last name " << "\n" ; //Prompt the user cin>>lastname; //Get the name from the keyboard cout<< "What is your first name " << "\n\n\n\n" ; cin>>firstname; cout<< " ** This is My ...Show All
Visual Studio Express Editions how to populate label on different form.
I'm trying to populate a label on from. The value for this label is coming from another form which opens up the active current form where the label resides, is this even possible and if so can someone explain how to do it using the C# express designer. confused. I don't know much about how you are doing this through the wizard/designer view. From what I understand, when the user clicks on an item in the listbox, which has been populated/bound from a datasource (dataset), you wish to open up another form, and execute a query correct if this is the case, simply create a listbox click/itemclicked event so this will fire when the user selects an item. Next up, you need to obtain (I hope but working from limited info here) the ID rec ...Show All
