DocJames's Q&A profile
Windows Forms WebService Security
- i have read the security article about "WS-Security Authentication and Digital Signatures with Web Services Enhancements" but i can't find any use of it, isnt all of this more or less automated in iis what is the advantage of doing authentication through soap headers (is the only advantage of this is for it to work non iis server ) In my ...Show All
Visual Studio How do I add an entry to the Menu in the Solution Explorer??
How do I add an entry to the "Integration Srevices Project" Menu in the Solution Explorer When working with Sql Server 2005, I opened a new "Integration Services" project of type "Business Intelligence" project. When I right click on the project name in the Solution Explorer, I get a menu with (Build, ReBuild, Clean... ). How can I add a new entry to this menu I created a wizard as described in http://msdn2.microsoft.com/en-us/library/7k3w6w59(VS.80).aspx but I can't find where to locate the vsz file. Note: In the document above, it's mentioned that in order to run the wizard, I need to go th ...Show All
SQL Server Installing Report Builder - need to be local Admin?
We would like to allow users to start building reports using Report Builder. Can someone tell me if you need to be a local admin to just INSTALL Report Builder We've tested for a few users and had some problems (they do not have local admin rights on their machines but do have "Report Builder" access on the reporting server.) I know that .NET framework 2.0 is necessary. Just wondering how the install works, or if we can deploy Report Builder to these workstations in some other way without having to launch the install manually at each station. This link didn't seem to help much: http://msdn2.microsoft.com/en-us/library/ms345245.aspx ...Show All
Visual C# How to get the display information from a website?
How to get the display information from a website For example, when i click a button, the system will get the fixed deposit rate from a certain bank website. How can i get the value that display on the website Can anyone help to solve my problem Hi You wanna to access the information that resides on a diffrent web server. Try to search a web service if the Bank have, and acces the information to display on your page. Or Try to get the page through System.Net.WebClient ... and parse the page to extract your information and then display that. Or If you are stronger in Java Scripting or any web scr ...Show All
Visual C# How to set VS2005 to C#
Hi When I installed VS2005 I set it up for C++. Now that I have started a C# project how do I set all the defaults to C#. I am talking about the news feed on the start page and defaults in help etc. I have found how to change the RSS news feed for the news page but what is the URL for c#. Linda ...Show All
Visual Studio Express Editions External Tools
In Visual Studio 2003 in the menu Tools/External Tools... I add a menu to the File Explorer: Title: Explorer Command: C:\Windows\explorer.exe Arguments: $(ProjectDir) In VS.NET 2003 works fine, but when I do the same in Visual Basic 2005 Express Edition the external tool not works, appears a MessageBox with this message: "The path 'C:\Projects\WindowsApp1\\' not exists or not is a directory" At then end of the path there are two backslash but I don't know why. Anybody knows how to resolve it The same applies to VS Standard - t ...Show All
Windows Forms .net 2.0 security breaks my app
Hello, I've written a windows control that runs in an asp.net page using an <object> tag. The control accesses a scanner on the local machine. Everything was working fine until I installed .net 2.0 as part of the SQL Server Management Studio Express. Now the control throws an error "Application attempted to perform an operation not allowed by the security policy" I've tried giving the .dll permisson using the .net framework 1.1 configuration tool. So far nothing seems to work. Thanks for any help. Jon This looks like a case of .net 2.0 running instead of .net 1.1 security po ...Show All
SQL Server Can't connect to SQL Server 2005 Reporting Services
Hi all, for some reason I can't connect to SQL Server 2005 reporting services. When I try to log in I get "the request failed with HTTP status 404:Not Found". When I installed SQL Server, port 80 was not available as I am also running Apache, so SQL Server Report Server runs at http://localhost:81/ReportServer/ .. this work fine, I have build a report, deployed it successfully and can view it. In SSMS I see two 2 databases, ReportServer and ReportServerTempDB. Everything looks OK in the Report Server Configuration Manager, however in the Surface Area Configuration when I click on " Windows Integrated Security" under the Reporting Se ...Show All
Visual FoxPro Importing ODBC tables into VFP 9.0
I am designing a db for employees for my HR dept. I want to save time by importing already existing info that lies on our SQL server in a db program called Timberline. The HR director doesn't like how hard to get around & "ugly" Timberline is, so she wants me to come up with a way to fix this. My question- can I import tables from Timberline into VFP 9.0 & make a "pretty" form to search for info or display info from Timberline I don't want mess anything up in Timberline meaning I don't want to change data that lies in it. Any ideas Thanks!!! With Remote Views; when ...Show All
SQL Server Displayong "Empty string" to a textbox on the report
Hi All! I was checking the value of a field and if it is empty sending empty string to the textbox if not only the first few values and it is working but on the empty field something like "#Error" is being displayed. here is the code: =Iif( Fields!Lname.Value <>””, Fields!Lname.Value .ToString().Substring(0,10), "" ) What I want to acheve is : If it is not zero to take the first 10 characters and if not to send an epmity string to the textbox. Any help plz Thank you in advance! Thank you very much. This is exactly what the problem that I am facing now let me ...Show All
Visual C# XML CODE
if you look at the code below you will see that it writes to a xml file. However it will over write a file and NOT append. I need it to append. How do i do this private void Setxmlfile() { XmlTextWriter xw = new XmlTextWriter (filename, System.Text. Encoding .UTF8); xw.Formatting = Formatting .Indented; xw.WriteProcessingInstruction( "xml" , "version='1.0' encoding='UTF-8'" ); xw.WriteStartElement(RootNodestring); xw.Flush(); xw.Close(); mydoc.Load(filename); } private void MakeXMIFile( string filename) { int cell = 1; XmlElement ElementNode = mydoc.CreateElem ...Show All
Windows Forms Compact framework SQL error
I encountered an SQL exception when I load the following codes. The exception "SQL server does not exist or access denied, Line 0 .NET sqlclient data provider". I used the .NET smart device application and run it with its emulator or with a PDA the above exception occurred but if I run it using the compiled exe application on my computer  ...Show All
SQL Server SQL Express Exceptional error
Hi, I have this exceptional error when I am accessing SQL Express using MS SQL Server Management Studio Express. Below are the versions I am using. Microsoft SQL Server Management Studio Express 9.00.1399.00 Microsoft Data Access Components (MDAC) 2000.085.1117.00 (xpsp_sp2_rtm.040803-2158) Microsoft MSXML 2.6 3.0 4.0 5.0 6.0 Microsoft Internet Explorer 6.0.2900.2180 Microsoft .NET Framework 2.0.50727.42 Operating System 5.1.2600 Below is the exceptional error message: See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text * ...Show All
.NET Development int on a 64-Bit machine
Hi! If I declare a variable of type int in C# it will normally map to System.Int32. If I run the same application on a 64-Bit machine will it then map to System.Int64 Please note that some information in this thread is not correct. In unmanaged Visual C++ sizeof(int) == sizeof(long) == 4 on both 32- and 64-bit machines. Thanks, Eugene ...Show All
SQL Server Don't delete data from linkedserver table .
when our system upgrade to sql server 2005 ,and create a linked server to localhost database , the script of create linkedserver is : /****** Object: LinkedServer [localhost_boston] Script Date: 05/07/2006 18:37:15 ******/ EXEC master.dbo.sp_addlinkedserver @server = N'localhost_boston',@srvproduct='', @provider=N'SQLNCLI', @datasrc=N'localhost', @provstr=N'UID=sa;PWD=007;', @catalog=N'boston' GO EXEC master.dbo.sp_serveroption @server=N'localhost_boston', @optname=N'collation compatible', @optvalue=N'false' GO EXEC master.dbo.sp_serveroption @server=N'localhost_boston', @optname=N'data access', ...Show All
