Software Development Network Logo
  • VS Team System
  • Architecture
  • .NET Development
  • Visual FoxPro
  • Windows Live
  • Windows Vista
  • Game Technologies
  • Visual C#
  • VS Express Editions
  • Windows Forms
  • SQL Server
  • Visual Studio
  • Smart Device
  • Visual J#
  • Visual C++

Software Development Network >> Chris.Chen's Q&A profile

Chris.Chen

Member List

Shaik Habeeb
Marfig
Paolo Giorgio
Mithun.Pentuker
John Finney
Dotnetjunky
JonJackson
SumitKakra
IsabellaTsoglin
Márcio Rosa
Alexei_shk
Deepak Sharma
panacea911
David_hary
Doogshnooglis
Shun Yamaguchi
Yimin Wu
Erch
arifjameel
Shail29301
Only Title

Chris.Chen's Q&A profile

  • Visual C# C# analog clock runs slow on some computers

    Hi all, I have a problem with the System.Threading.Timer class that I am using for my clock. The clock runs faster on an Intel box than it does on an AMD box and it has nothing to do with the CPU speed. Has anyone come across this before Any suggestions would be much appreciated. Ok, I have found that it is not a cpu problem as I have another box with an AMD Duron XP 1000MHz(5x200) which runs at the correct speed. I have tried it on another computer (an intel celeron 4A, 2400MHz(6x400) and it runs slow. ) There doesn't seem to be any link between the CPU and the slow clock problem. I thought now maybe it could be a video card problem, but ...Show All

  • Visual Studio Automatic check in

    I'm running VSS 2005 with VS 2005. 1) When I open a project under source control it used to ask me which files I wanted to check out. Now it just opens the project. 2) When I close a project it used to prompt me to check in my changed files. Now I have to remember to manually check in the files before I close the project. How do I get it to prompt me again Cheers, Ben Thanks Alin, yes the project is under Source Control. You're right on the check out. Now I think about it, in the past it might have just been asking me if I wanted to open the project. Clearly I don't want to check out every fil ...Show All

  • SQL Server Failed to generate a user instance of SQL Server

    Hello all, I unisntall products as it are recommended (VS 2005 and SQL Server 2005 beta 2) in readme.txt of MSDN products subscription... I install VS 2005 Pro and I have no problem during install. Now, if I want to open database, I have this error mesage : "Failed to generate a user instance of SQL Server due to a failure in starting the process for the user instance. The connection will be closed." In MBSA report, I see that the folders of SQL doesn't contain another account than Administrator and VS2005 users. I delete other accounts but the problem is the same. If I create a new project with a new database the problem is the same. ...Show All

  • SQL Server VS.NET 2005 and CLR stored procedure permission sets.

    VS.NET 2005 automatically deploys a CLR stored procedure when you start a project with debugging. However, if the CLR stored procedure attempts to access external resources you will get a message stating: System . Security . SecurityException : Request for the permission of type 'System.Data.SqlClient.SqlClientPermission, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed . I've isolated this to being because the CLR stored procedure does not have the EXTERNAL_ACCESS permission set. Is there a security attribute that can be used to decorate the CLR stored procedure code so that VS.NET 200 ...Show All

  • Visual Studio Problems with August CTP ReportViewer WebControl

    I am having an issue with the ReportViewer control in the August CTP of the WebForms ReportViewer control. When I attach an eventhandler to the Sort event of the ReportViewer control, and subsequently click the icon for interactive sort (on the report), a blank screen renders without report content. Has anyone had a similar issue   How have you worked around it -JG- Here is a copy of the code I am using:    ReportViewer rv;     protected void Page_Load(object sender, EventArgs e)     {         rv = new ReportViewer();      &nbs ...Show All

  • .NET Development How can application lifetime be controlled for ASP.NET hosted runtime?

    I am hosting the ASP.NET runtime in code that runs as a windows service and I am trying to figure out what the best way to keep the application I am hosting in it from unloading when a period of inactivity occurs. I see that the HostingEnvironment class has methods to increment and decrement BusyCounts. If I increment the busy count will that effectvely keep my application from unloading The documentation states "If the busy count is greater than zero, the hosting application will not time out even if there are no pending requests." I am not sure if the docs were meant to say "the hosted application" rather than ...Show All

  • SQL Server upgrading MSDE with SP4

    Hi, I'm trying to upgrade MSDE with SP4. I used the following in command prompt. setup /upgradesp sqlrun INSTANCENAME= MSDE1 SECURITYMODE=SQL UPGRADEUSER=sa UPGRADEPWD= 12345678 /L*v C:\MSDELog.log i got the message " Please go the control panel to install and configure system components." What does it mean How to upgrade it Thank U! Hi, did you consider this thread here for your problem: http://groups.google.de/group/microsoft.public.sqlserver.msde/browse_frm/thread/4b441544bc86d202 HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • .NET Development SmtpClient.EnableSsl Meaning

    I suppose I am showing my lack of knowlege about the protocol used for SMTP and the actual delivery of e-mail using that protocol between the sending server and the recipient's receiving server. But I have a real basic question regarding encrypting of an e-mail message with respect to the SmtpClient method of sending e-mail. The SmtpClient.EnableSsl property description is as follows: Specify whether the SmtpClient uses Secure Sockets Layer (SSL) to encrypt the connection. I understand that to clearly mean that SSL (or TLS) will be used to encrypt the data sent over the connection between the client application and the designated ...Show All

  • Visual Basic About foreign characters

    I am reading characters from a file (file paths) into my visual basic program. My system (XP) understands the characters but when brought into .net, they are ignored and i get the following message "could not find a part of the path." These characters are Swedish. Is there anyway read these characters. The problem is the encoding I'm not sure how your reading the text from the file. If your reading the text in VB 2005 then something like Dim s as string = My.Computer.FileSystem.ReadAllText("c:\foo.txt", System.Text.Encoding.Unicode) otherwise Dim s As String = System.IO.File.R ...Show All

  • .NET Development Problem publishing project with ClikOnce

    I had a project written in VS 2003 (framework 1.1). I converted the project to VS 2005 and tryed to publish it. For some reason I get this error: Could not find file 'Microsoft.Windows.Common-Controls, Version=6.0.0.0, Culture=*, PublicKeyToken=6595b64144ccf1df, ProcessorArchitecture=X86, Type=win32' Does anyone know why this happens Miha i had the same problem. deleted manifest file from project and rebuilt - success.! ...Show All

  • System Center MOM Reporting Server

    Why doesn't the MOM Reporting Server show any utilization numbers Cheers Dave Currently, the MOM Reporting Server is included only for disk sizing purposes. This issue will be addressed in future releases. ...Show All

  • .NET Development Can I only benefit form calling a web service asynchronously if it is implemented...........

    Can I only benefit form calling a web service asynchronously if it is implemented in the pagename.aspx.cs file (directly in the page that calls the webservice) I have a class called GoogleSearchWS with the following method in it: /// <summary> /// This is the method, which calls the Google WebService. Create the google objects, /// do the search and return a result set inside this code. /// </summary> /// <param name="searchterm"></param> /// <param name="startindex"></param> /// <returns></returns&g ...Show All

  • SQL Server I'm retarded and need help with Derived Column or Script Task

    I am moving data from an oracle database to sql server. Two of the source fields are dates, which sometimes contain values I know to be incorrect ('0001/01/01' and '1900/01/01'). I'd like to use either the derived column or script task (or any other appropriate one) to update these incorrect values (in both columns) to null before inserting into sql server, smalldatetime field. In sql 2000 dts, I would simply use a VBScript IF statement, but I'm somewhat clueless when it comes to .Net. Does anyone have any ideas or sample code that may help Thank you much. In a derived column you could do a ...Show All

  • Visual Studio Tools for Office using web services from VSTO

    I'm having problems using web services from within my VSTO 2003 excel add-in. I am getting security policy exceptions whenever my code tries to call a method that calls a web service: A first chance exception of type 'System.Security.Policy.PolicyException' occurred in mscorlib.dll Additional information: Execution permission cannot be acquired.   My VSTO dll correctly has full trust and I am debuggin it ok- it's just a problem when I'm calling a webservice. I have tried things like giving the web service URL full trust and crazy things like, but I don't have a solution yet. My project references Microsoft.Web.Servi ...Show All

  • Visual C# I have a Performance Counter problem, please help me

    I created a simple Performance Counter by using command line, but my program always throws System.InvalidOperationException with additional information: Category does not exist. And this is my program: using System; using System.Diagnostics; namespace ConsoleApplication2 {      class Class1      {           [STAThread]           static void Main( string [] args)           {            &nbs ...Show All

©2008 Software Development Network