CraigInCalifornia's Q&A profile
SQL Server Can't run Business Intelligence Development Studio
All, I've installed SQL Express with advanced services and the BIDS software from the SQL Toolkit using the vs_setup.msi extracted from the toolkit installer (Why not include it in the advanced services ). Now I'm trying to start BIDS and am asked to log into the Report Server. I use my username and password for ASPNET. The login fails saying that the web application is not available on the web server and to look in the application event log for more information. There are a bunch of errors listed (and more every 30 seconds are so). The error message is: aspnet_wp.exe could not be launched because the username and/or password supplied in the processModel section of the config file are invalid. Also, when I start Visual Web D ...Show All
SQL Server Authentication to Reporting Server
Hi, I have an ASP.net application, with a UI for report users which uses Form authentication. I authenticate & authorize the users through Active Directory. I'm using ReportViewer control in my report page to display the report. How i do perform a form based authentication to the Report server Can I use the same authentication cookie created for the application to authenticate to report server Please help. -Dinakar ...Show All
.NET Development sent byte array shifted
hi, I have a case whereby when i try to send an byte[], the receiver receive it as its has been shifted. When i tried to debug: sender byte[] before socket.BeginSend() consist of: [1] 60 [2] 63 [3] 120 [4] 109 [5] 108 32 [7] 118 101 ... receiver byte[] after socket.Receive() consist of: [1] 0 [2] 0 [3] 0 [4] 0 [5] 60 63 [7] 120 109 ... The size of the byte[] is sent beforehead, and both sender and receiver has same number. The filestream is created afterwards, and the receiver file has 4 spaces at the front file and 4 character truncated at the rear of the file as it follows the size of the byte[]. What is exactly happening... Anyone can solve my problem Thanks in advance Your problem is sender: byte [] fSiz ...Show All
Visual Studio Express Editions datetime trouble
Hi! I'm using VB.NET 2005 Express Edition under Windows XP. In a clean project I write: Dim myDate As Date myData = CDate("12.05") myData = System.DateTime.Parse("12.05") both instructions return the exception: "Index was outside the bounds of the array." Source: "mscorlib" The same if I try to convert/parse a date such as "3/4/06". Thank you, Marco Trapanese / iw2nzm Dim myDate As Date myDate = CDate ( "12.05" ) MessageBox . Show ( CStr ( myDate )) myDate = System . DateTime . Parse ( "12.05" ) MessageBox . Show ( CStr ( myDate )) Produces a messagebox showing: 12/05/2006 ...Show All
Visual C++ Using WinForms with /clr assemblies
In filing a bug report with Microsoft which involved an assembly compiled with /clr, and a CodeDom Parser internal error in the IDE Designer, I was told that "all assemblies that are referenced by a C++ WinForm must be built with either /clr:safe or /clr:pure." Is this actually true I could find nothing in the MSDN documentation which came with my Visual Studio 2005 Standard Edition which specified this. If this is somewhere, could someone please point it out to me in the MSDN documentation. If this is actually true, why have a plain /clr mode at all, since no components in such an assembly can be used in a WinForm Holger Grund wrote: > "all assemblies that are referenced by a C++ WinForm ...Show All
SQL Server Handling Dataset in Stored Proc.
Hi, I want to create and populate a dataset from store procedure with following to querires & return the dataset as a result. Select * from billmain where billno = 12 Select * from billdetails where billno = 12 I am currently performing this task aa a resultset. Now I want to use Dataset. Anybody can send me sample sp which returns dataset as a execution of the sp. Nilkanth Desai You can return more than one SQL Server resultsets from a single stored procedure, see the example below. Chris CREATE PROCEDURE SelectTable @billNo int AS SELECT columnName FROM BillMain WHERE billno=@billNo SELECT columnName FROM BillDetails ...Show All
Windows Forms load an .exe (windows) programmatically
I'm trying to write a windows Forms VB application which takes other windows applications (i.e. .exe file) as input. It then loads the .exe programmatically and looks for the Windows Forms in the .exe. Dim al As Assembly al = Assembly.LoadFrom("C:\Experiments\wintest2.exe") Dim t() As Type = al.GetTypes() For Each t1 As Type In t &nb ...Show All
.NET Development Run a process with admin rights
hi everybody. I have a problem to launch a process with admin rights. The application has to work under Windows Vista (I developp under the last CTP). The account running my application is an admin account and the process I need to launch is "bcdedit.exe". When I run my application, bcdedit (launched by my app) says that it doesn't have enough rights to work correctly. If I run my application by doing right button on it > run as administrator..., the process works correctly but it's not a solution for me. I would like to know if I could run a process specifing rights admin or a windows identity with admin rights. thanks per advance thanks...but no because it asks me the password of the accoun ...Show All
SQL Server Very slow insert of an XML subtree into an XML column
Hello to all the MS SQL 2005 experts! I encounter a very slow performance when inserting a subtree to a typed XML column of a single table record. T he problem reproduces even with a simple example using an untyped XML variable: =========================================== DECLARE @doc XML SET @doc = '<root/>' SET @doc . modify ( 'insert <Key name="Test"> <Key name="SubTest"> <Entries> <TestEntry name="EmailList"></TestEntry> <TestEntry name="Id">3110d9b7-4fd0-43d7-a3fb-d3198330ad55</TestEntry> <TestEntry name="MonitoringLevel">2</TestEntry> <TestEntry name="Name">Monitoring Rule 0e058cd ...Show All
Windows Forms Default Date - Outlook,Calendar,Look,Feel
I can not Figure out how to set the default date to Today in the Day View. It keeps coming up as July 21. Any one see this and know where in the code to change. Thanks Quick and easy fix although your monthly calendar view will no longer crunch the weekends. Right Click a day on the calendar Choose other options Uncheck Compress weekend days Follow this link for a detailed explanation of the problem. The bottom line is it’s a bug in Microsoft Outlook they haven’t fixed since 1998 and it still exists even in Outlook version 2007. http://www.slipstick.com/calendar/wrongdate.htm ...Show All
Smart Device Development Using VS debugging with WiFi access
I'm trying to develop an application that accesses the internet over WiFi but when I cradle my test device so I can debug via VS.Net, the WiFi is disabled, leaving me with no internet connection. I can't rely on an emulator because I need access to hardware components. How can I get both WiFi and VS deployment working together Don't cradle the device, debug over Wi-Fi without AS: http://blogs.msdn.com/vsdteam/archive/2005/04/28/413304.aspx ...Show All
Software Development for Windows Vista Can Activities defined in XOML file share data?
Hi, I have seen an example "DesignerHostingApplication" where we define Prompt and Message activities and create XOML files and run them. My Question is How do we get the activities in the XOML to share data I want the answer for the Prompt Activities to be shared by Message Activity so that I can display the Answer as a part of Message. Please help HI Serge, I am getting an error while compiling the xoml file.Its type mismatch "type ActivityBind cannot be converted to string type". What changes need to be done in the activity definition to create the xoml file as shown above ...Show All
Visual C++ MSBuild running from Local System / 1902 mspdbsrv faulty / KB920770 / VS2005SP1
Hi I've been executing msbuild.exe from the NT_AUTHORITY\SYSTEM account to build VS 2005 C# projects and the builds have been working as expected. Recently, I attempted the same for a VS 2004 C++ project and the build failed with the following error. fatal error C1902: Program database manager mismatch; please check your installation Is this a bug with msbuild or am I doing something wrong Thanks Error should be fixed with VS 2005 SP1. Tested: The error in mspdbsrv is still in VS 2005 SP1 not fixed. The error will occur less often - but when starting cl.exe in a service (e.g remote login, run as) the bug will still occur. I don't understand, why .obj file could be generated by cl.exe, but .pdb files ne ...Show All
SQL Server SYSAdmin users do not have permission to see records in a view?
We have a third party application and wish to create a report based upon a view. The strange thing is logged in to the server as a SQL SYSAdmin account, we cannot view the data via the view. SQL Admin accounts are setup correctly and there is nothing different on this particular server. No errors are returned just a blank view with no records. Could this be a permissions problem or orphaned schemas in that particular database I thought SYSAdmin could view and do just about anything and the people who use this particular database would not have the know how on denying permission to the SYSAdmin role. Thanks N double post ...Show All
Visual C# With Statement With Word Automation
How do i change the With Satement in C#....can someone help me out...Take out the look at the code.... I have this code in VB.Net that takes my value in my textbox and writes it to a value in my MS word 2003 document but how do i complete this in C# here is the VB.net code and here is how i began to do it in C# [code language=VB] For Each rng In doc.StoryRanges With rng.Find .Text = "[name]" .Replacement.Text = txtname.Text .Wrap = Microsoft.Office.Interop.Word.WdFindWrap.wdFindContinue .Execute(Replace:=Microsoft.Office.Interop.Word.WdReplace.wdReplaceAll) End With [\code] [ code language=c#] doc = word.Documents.Open( "c:\\dee.doc" ); doc.Activate(); Microsoft.Office.Inte ...Show All
