Sarguna's Q&A profile
SQL Server Rsreportserver.config Smtp password settings
Hi, I wanted to know if there was any way of setting the SMTPAuthenticate in the RSReportServer.config file, so i could connect to a remote SMTP with username and password I am using window 2003 system where smtp is not installed and i don't want to installed it. If there is another way to change only in Rsreportserver.config file except pick up directory. thanks in advance Ashok kumar yadav Hi, Have you ever get answer for this question I have the same issue connect to remote SMTP with authentication...Thanks ...Show All
.NET Development static constructor
Dear All, I am first to C# .net. I heared about static constructor. I want to know more about these. Can you explain this to me. It is a sample code I modified. Please use this code to explain the static constructor. public class Bus { static int AAA; static int BBB; static int CCC; static Bus() { System.Console.WriteLine("The static constructor invoked."); AAA=AAA+1; } public static void Drive() { System.Console.WriteLine("The Drive method invoked."); BBB=BBB+1; } public static void Start() { System.Console.WriteLine("The start method invoked."); CCC=CCC+1; } public void Stop() { System.Console.WriteLine("The Stop method invoked."); } ...Show All
Visual FoxPro VFP8 & VFP9 error
This error appears in the Task Pane Manager Class definition MSXML2.DOMDOCUMENT.4.0 is not found Task manager will no longer work. Any suggestions Bryant Minard Are you using something like this: var xxx = new ActiveXObject(" MSXML2.DOMDOCUMENT.4.0 "); if yes I think Alex Feldstein has right . ...Show All
Smart Device Development Smartphone 2003
Hi! I want to write a game for a Smartphone 2003 using .Net Compact Framework (C#). I would like this game to be multiplayer to using Bluetooth. Please tell me a simple way to do this! A sample Bluetooth chat application would be perfect. It is the "simple way". Just keep in mind game development is not for beginners in general. It takes 5-6 good developers with years of experience and ~6-8 months to make a simple $10 casual game. It takes tens of millions and numerous man-years to make an AAA title. Don’t expect you can just drag and drop couple thing and get your game done. It’s not there yet even on modern gaming hardware like Xbox with XNA studio, much less on an older p ...Show All
SQL Server Database creation from inside of Visual C#
When I create a database from inside of Visual C# Express, why can't I view it with the manager from the SQL Server Express Edition I mean, it does not appear at all. Is there any problem hi, chances are you are using a User Instance , so that you can usually not "browse" your database using a "standard" connection via SQL Server Management Studio.. the article explains how to connect to User Instance databases via other clients than the calling application.. regards ...Show All
SQL Server Performance difference
Hello, i'm running 7 same HW&SW configured servers with the same load with SQL Ex 2005 SP1 installed. I'm executing SP over 200.000 times a day. And here comes the problem, every server got different average response time, the quickest executes the SP in 1 ms, the slowlest in 50 ms, that's 50x slower! Have you any performance hint, please Thank you. There are numerous layers between C# and execution in the server. SqlClient must consume the results and produce datasets, there are protocols that must be negotiated in both the client app and the server before the query is submitted and the results are produced. To get real execution time for each query run it from sqlcmd. The format ...Show All
Software Development for Windows Vista in the StateMachine use BaseWorkflow
I use a empty StatemachineWorkflow as the baseworkflow . and the xoml-only to design the really workflow,and I want to know how can i invoke the function in the service running at the workflowruntime. ( Actually I have two problems can't resolve 1 when a define a state and in it ,I use the hee to catch the event ,and also I change the HEE's Invoke Property manually ,and there 's no error.but the invoke method what I defined in the baseworkflow always can't be invoke at debug .I want to know how can it work; 2 at the end of the HEE run ,I use the CallExternalMethod activity ,and how i can invoke the service 's method to call and with the paramers I'd recommend you start with a state machi ...Show All
Windows Live Developer Forums BOTS on MSN
There have been a number of questions about BOTS in the forum in various theads so I thought I would provide this post with a broader update on the topic. MSN has recently started licensing BOTS on the network. The huge benefit of a licensed BOT is that it will have contact limitations removed (the reverse list), so that millions of people could connect to the same ID. Our goal is to enable a broad network of these IM applications integrated with other MSN services (Activity API, Search, etc.). To make sure our customers have the best experience with these applications and provide tools to the broadest number of companies seeking to build BOTS, we have started licensing ISV’s that build platforms with access to our protoco ...Show All
SQL Server alter column to not null that has null values
I have to change numeric columns in 2005 table to not null and default value 0. What I usually do is an update on the columns setting value to 0 where is null. I know you can use 'with values' when adding a column with default 0 and not null to an existing table. Can something like this be done for altering a column or do I need to do the update Thanks ...Show All
Visual Studio Team System Code analysis policy weirdness
Code analysis in my solution takes some time so I prefer to only force Code Analysis on changed projects (another thinq is that I never know how many projects will be rebuilt after running a build on a project). Sometimes my policy infoms me that I have outdated code analysis on one project. After running code analysis on that project policy complains about another one and after running code analysis on the second it will complain about the first. How to perform code analysis to save some time After running it on large solutions VS just hangs. How is it possible that in project with code analysis policy turned on (from beginning), with no policy overrides there are many FxCop violations in checked in code (I suspect that turnin ...Show All
Visual C# visual studio stops in mid of debuuging giving server busy
Hi I am seeing that when i debug my code visual studio goes half way thrugh the debugging and then out of sudden takes long time in executing simple code and then at that point of time it shows that requested statement has timed out . Then if i try to go to next statement it stops the execution and try to execute the whole app again. Sometimes i get Server Busy error What is going on ...Show All
SQL Server A counting question
I'm hoping that someone has the answer. I guess I may be missing the obvious but I'm struggling to do this. Simplified, I have two tables:- One table contains a list of Customers and the other table a list of Products that they have purchased. They are linked by a customer reference no, a one-to-many relationship. What I want to be able to do is count have how many Customers have purchased both Product A and Product B. Can anyone tell me the SQL statement that would return the answer as a single number. Thanks in expectation Umachandar Thanks, that was just the guidance I needed. I've got my solution sorted now Most helpful ...Show All
Visual Studio Express Editions Unable to create a schema from the XML editor
I'm as green as they come with regards to Visual C# 2005 and XML, but according to this help article shouldn't I be able to create a schema from an xml file using the XML editor in Visual C# Express Well, for some weird reason I can't find the button at all! So I ask you, where is the button Did you ever find the button Having just installed Vis c# Express, I'm having the same issue... The referenced link was http://msdn2.microsoft.com/en-us/library/ms255829.aspx by the way. Thanks in advance, -kare. ...Show All
.NET Development Custom Types with no public default constructor
Hi, I would like to know if there is any possible way to pass a custom type to a web service that does not have a public default constructor. I have a business object and I do not want to expose the default constructor to the users as the object needs to be properly initialised before use; however I get a reflection error when trying to pass the type to a test web service. I have tried to pass both internal and protected constructors but no luck, are there any attributes or other methods that would be able to achieve this. Any ideas would be much appreciated. The workaround only works if you not using the type as an input parameter, otherwise you will get the exception while reading inp ...Show All
.NET Development request help with DLL on database machine & thin Client application
Hello, Here is what I'm doing: 1. SQL Server 2005 database is created on machine using Transact-SQL (this includes dropping any previous files). This is created onto the Defaul instance (MSSQLSERVER). 2. a DLL (class library) is made in VB.NET using ADO.NET connection objects. The connection string looks like this: strConnection = "Data Source=.;Initial Catalog=" & dbName & ";Integrated Security=True" where "dbName" is "SQLdatabase1" 3. the Client application adds a Reference to this DLL and will run from the development machine. Here is the problem and the question: When I install the DLL onto the database machine, and I shut off the .MDF database on my developm ...Show All
