shanejh's Q&A profile
SQL Server Install SQL Server2005 Error:[Native Client]Encryption not supported on the client
Product: Microsoft SQL Server 2005 -- Error 29515. SQL Server Setup could not connect to the database service for server configuration. The error was: [Microsoft][SQL Native Client]Encryption not supported on the client. Refer to server error logs and setup logs for more information. For details on how to view setup logs, see "How to View Setup Log Files" in SQL Server Books Online. I'm sorry it didn't work for you. I saw the same symptoms you did and the uninstall/reinstall did fix the problem. It was your post that gave me the idea for try the uninstall/reinstall. I thank you for making your post and causing me to start a thought process that led to an easy solution in my environment. Obviously your problem is different. ...Show All
Visual Studio Team System TSD4001 Error - Why?
On occassion, not always, when I open my project, I will receive six TSD4001 Errors ('Database msdb cannot be opened due to inaccessible files or insufficient memory or disk space...'). Each of the six errors are from stored procs in our project that reference the msdb table. I do have insufficiennt memory on my laptop (2G) and have roughly 20G free on my hard disk. Also, I can open Management Studio against my local SQL Server instance just fine. I can even query against the msdb database in M.S. without problems. Can anyone tell me why this occurs Thanks - Amos. Is this after a restart of SQL Server or the machine by any change I have seen this when user databases are still recovering; SQL ...Show All
Audio and Video Development Problem with 'content ID' while creating directory in 'persistent storage'.
Hello Everybody.... In the java script for creating a directory (FileIO_createDirectory), do we have to specify the content id also If we don't specify, whether the directory will be created or some exception will be thrown I am giving two examples below, please tell in each case what will happen. 1. FileIO.createDirectory("file:///required/app1",callback_createDirectory); 2. FileIO.createDirectory("file:///required/11111111-1111-1111-1111-111111111111/app1",callback_createDirectory); You can only create files in the "root" of //required, not directories. The directories are created by the player and have the GUID names. This is outlined on 10.3.1 in the spec. ...Show All
Smart Device Development ConnectionOpen (Invalid Instance())
Hi! I’m trying connect a Windows CE application with a SQL Server Express, but appears this error: "ConnectionOpen (Invalid Instance())" I saw in StackTrace that the erros occurs when the CF .NET 2.0 executes this: "sqlconnection.get_server version()" Someone know why this error occurs Thanks! Not sure, I would consider it device specific quirk. As to desktop, it has more ways to connect, e.g. via named pipes and shared memory, so if it works on desktop does not mean it would work on device. ...Show All
Visual Studio Express Editions LNK2005
I have no idea what I am doing wrong here. It compiles just fine but when it tries to link it it fails. I get 4 LNK2005 errors. It is giving me a multiply defined Symbols found error also. I don't understand why I have this function declared only once in my header file which also has the implimentation. Also I have used this function several times and I don't think I have made any changes to it either. Here is the function void FormatString(string& value) { unsigned int loc; char correct[256]; int i = 0; string tmp1; loc = value.find( ";" ,0); // remove comments if (loc != string::npos) { char tmp[256]; strncpy_s(tmp, 256, value.c_str(), loc); s ...Show All
SQL Server How to use Alerts
I have two fields in my report(Start Date and End Date).Start Date should be earllier than End Date.Please help me how to use alerts. What do you mean by Alerts If by "fields" you mean report "parameters" there is no direct functionality. You could use embadded code: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=829175&SiteID=1 ...Show All
.NET Development get MAC Address of host
Is it possible to get MAC Address of any (or at least local) host through LAN using it's IP Address or hostname Thanks a lot, Talant Its Uploading! I hope you'll get it in 15-30 mins coz my internet has pain in its ____ from last 3 days . Best Regards and Best Wishes with You! Rizwan ...Show All
Visual C# Best way to confirm Microsoft Office Applications present on System
Hi, What would be the most precise way to confirm the existance of Microsoft Office applications from a running application. For example how can I confirm that Outlook is installed, or Word is inastalled, what would be the 'best practice' method to confirm this or any installation information, to the highest degree of accuracy. Thanks for any ideas. Thanks for the discussion. I wanted to avoid the registry due to the likely hood of 'errors' (although not all that likely) and the more likely problem of permissions within multi user environments. The application I am working on interops directly with the Microsoft Office applications, so a possible scenareo could be to attempt application execution (with the ui hidden) through in ...Show All
SQL Server Query syntax
Hi all! I am new here and I'm also new to SQL.. I hope somebody could help me regarding my problem. I don't know if this is possible but I would like to have a code that can integrate data from 3 tables. The names of my tables are Savings, Loans and Insurances. Their common field is the MemberID. One member could have zero or more Savings Accounts. At the same time, a member could also have one or more accounts on Loans or Insurances. How can I get the data that would appear like this: MemberID - Savings Account - Loan Account - Insurance Account 0001 - S0001 - L0002 - I0001 - S0003 - L0005 - 0002 - S0012 - - 0003 - S000 ...Show All
Internet Explorer Development IE 7 and Framsets
I am using a simple standard framset, in IE 7 the target is all off, opening each page into a new window instead of the proper frame. Is there a solution for this, I have refrences to it being an issue caused with tabing but have not yet seen a solution. Thanks Rian Edwards I found a workaround: go to Internet Options -> Security Tab -> Custom Level look for this setting "Navigate sub-frames across different domains" and set it to Enable (default is Disable). It seems that IE7 handles subdomain from the same domain as different domains, as IE6 didn't do. Hope this helps. ...Show All
Visual Studio Team System Customize Team Project Creation
In the past, our team has stored items in Source Safe that weren't necessarily associated with a project we'd created in Visual Studio. With the source control in Team Foundation Server, we'd like a separate top-level folder where certain project artifacts (executable utilities, documents, etc...) not associated with a Visual Studio 2005-created project could be managed under source control. Is there a recommended way for this to be done using source control in TFS Again, the key is that we'd ideally like a shared top-level file rather than having to put these shared items under a team folder that was tied specifically to projects in Visual Studio. Thanks, David Madrian In order to get ...Show All
SQL Server How to configure Smo.Scripter to get desired sprocs
Hi, I've developed a sproc generator using SMO types and all works fine except when I want to generate sprocs prefaced by a drop statement. To do this I create an instance of the Scripter object and set it's options.ScriptDrops property to true ( instance.options.ScriptDrops = true). When options.ScriptDrops = true the output omits the actual stored procedure from the scriopt. When I comment out scriptDrops = true it works correctly. How do i get it working correctly WITH drop statements Example: private void CreateScripter() { if( this._SprocSscripter == null ) { ...Show All
.NET Development retrieving last entry
i have a table ID. so how can i retrieve the ID immediately of the last entry after inserting the data into the table command = new SqlCommand("INSERT INTO Alert (SMS,Alarm,Email,isDefault) values (" + sms + " , " + alarm + " , '" + email + "' , 'N' ); Select @LastInsertedID = Scope_Identity()", dc.Connection); command.Parameters.Add ( "LastInsertedID" , SqlDbType .Int ); command.Parameters[0].Direction = ParameterDirection .Output; then execute nonquery. Check the value of command.Paramters[0].Value; ...Show All
Visual Studio Tools for Office VSTO Deployment
Hi, I just started working on a new VSTO add-on for .NET and Outlook. I am loving what I see so far, especially with the starter templates. My question is, if I run the project using the debugger, it starts and installs the toolbar in Outlook, which is great. However, when creating a new project and it automatically adds a setup project as well, is there something I need to do after installation (through the MSI) for it to load into Outlook Here are my steps: Create the Outlook Toolbar Project Compile Setup Project Run Setup Start Outlook (No new Toolbar) Thoughts Thanks in advance, Dan Kisting go to control panel-> Administrative Tools-> .NET Framework 2.0 Configurat ...Show All
Software Development for Windows Vista i cann't Tracking ActivityEvents
Workflow99 only have 2 activity private CodeActivity codeActivity2; private CodeActivity codeActivity1; private void codeActivity1_ExecuteCode(object sender, EventArgs e) { Console.WriteLine("Here in working_ExecuteCode."); } private void codeActivity2_ExecuteCode(object sender, EventArgs e) { Console.Wr ...Show All
