Juvraj's Q&A profile
SQL Server I can't modify userdefinedfunction (not all object)
I can't modify userdefinedfunction (not all object) . this object create in sql 2000 =================================== Property QuotedIdentifierStatus is not available for UserDefinedFunction '[dbo].[GetFlightStatisticAll]'. This property may not exist for this object, or may not be retrievable due to insufficient access rights. (Microsoft.SqlServer.Smo) ------------------------------ For help, click: http://go.microsoft.com/fwlink ProdName=Microsoft+SQL+Server&ProdVer=9.00.1399.00&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.PropertyCannotBeRetrievedExceptionText&EvtID=QuotedIdentifierStatus&LinkId=20476 ------------------------------ Program Location: at Microsoft.SqlServer.Management.Smo ...Show All
SQL Server Package Synchronization?
What is the best strategy for maintaining package execution synchronization when using the SSIS API For example, I have discovered that it is quite possible to fire off several intances of the same package simultaneously. Is a best practice perhaps to put the db in single user mode prior to kicking off the package and if so, how would you limit subsequent ASP.NET connectons, for example TIA, Rick You can create Agent Job with your package. The Agent ensures only one instance of a particular Job is executed at the same time. Of course, it will be your responsibility to make sure the package is only executed via Agent (from ASP.NET - use sp_start_job SQL stored proc). ...Show All
Windows Forms System Tray
Can anybody pls show/tell me how to reduce/minimize my form to the system tray. I also want to click on a button a fourth to the minimize/maximize/close buttons so that this fxn can be implemented. I've been lookin around but I saw the VB version but I'm interested in the C# version. Anyone wit a hint copy and past this if you want to make your button to minimize your application WindowState = FormWindowState.Minimized and this is for the Maximized screen mood when you press a button on your application WindowState = FormWindowState.Maximized oh this is for vb express 05 ...Show All
Architecture storing old values along with the new ones in a table entity created at application level
Hi All, i am making a automatic DAL creation tool. In this i am going to implement all column based optimistic locking. For this, i need to save the old values of the columns along with the new ones inside the entity(object) represention of table at the application level. Now i need to know that what approach should i follow to save the old values and also updating them incase we fire an update. I am presently using the following code.It works fine but fails when a null column gets updated.In that case, the old value gets updated to the new one before the actual update happen.This in turn causes malfunctioning in Optimistic concurrency test. public virtual System. String LName { get { return this ._LName;} set { ...Show All
.NET Development Generating XSL for the given XML
Hello all, I have an XML whick has the details regarding the function names and parameters. I'll have to display the details in a table format. The sample XML and table format required are given below: XML Format: <Result> <IOParameters> <Inputs> <Parameter> <ParameterName>input</ParameterName> <Value>value</Value> <Unit>unit</Unit> </Parameter> <Parameter> <ParameterName>input</ParameterName> <Value>value</Value> </Parameter> </Inputs> <Outputs> <Parameter> <ParameterName>sdg</ParameterName> <Value>sdg</Value> <Unit>sdg</Unit> ...Show All
Visual Studio 2008 (Pre-release) Data Binding to an Collection
I'm having some issues with data binding to an collection which is within my code, am I doing everything correctly XAML: <Window.Resources> <CollectionViewSource Source="{Binding Source={x:Static Application.Current}, Path=contacts}" x:Key="contactsDataBind"/> <SolidColorBrush Color="#80808080" x:Key="Bg"/> <DataTemplate x:Key="contactTemplate" DataType="{x:Type MSNClient:Contact}"> <StackPanel Orientation="Vertical"> <StackPanel Orientation="Horizontal"> <TextBlock Name="tbDisplayName" Text="{Binding Path=DisplayName}"/> <TextBlock Name="tbStatus" ...Show All
Windows Forms In GridView rows with empty (null) fields will not EDIT
I'm new to Visual Web Developer so be patient with me. In GridView, if any of the fields in a row are empty the UPDATE command does not successfully change the data in the sql table. If all the fields in a row contain data, they can be edited and updated as expected. Also if a user edits a field, and leaves it empty, update works and the table is changed but subsiquient updates to that row fail as it now contains an empty field. This is driving me crazy. Is this a bug or known issue in VWD or is there something I am missing I start a new project, build a small table in sql express, drag a gridview in and configure it. No codebehind, just basic funtionality. If i fill all the fields with data all is well, if i leave one empty the ...Show All
Visual C# XML socket problem?
Hi all, i know flash can create xmlsocket and send message to server. How to create Xml Socket and send Message to server with c#. Below is flash send message codeing. C# can do this Please sombody can give me good solution. //Flash send message codeing var msg_xml = new XML(); msg_xml.nodeName = "message"; var msg_node = msg_xml.createTextNode(input_txt.text); msg_xml.appendChild(msg_node); //send Message _root.socket.send(msg_xml.toString()+"\n"); //================================== Best Regards, Replace your XML type with .Nets XmlDocument. CreateTextNode and AppendChild differ only in the case of the first letter. msg_node will be of type XmlNode. Then have a look at this msdn page: ...Show All
Visual Studio Express Editions How to install and use C# in Visual Web Developer 2005 Express?
Hi, I'm trying to open an existing Visual Studio solution (.sln file) in Visual Web Developer 2005 Express. I don't know which flavour of Visual Studio 2005 the solution was created by (Express, Professional, Team Suite, etc). The project contains both C# files (.cs) and ASP.NET files (.aspx). I've downloaded and installed both VS Web Developer 2005 Express and VS C# 2005 Express. The Express edition of VS Web Developer should handle C# source, but the VWD and VC# run as separate IDEs. In VWD's About box (and start-up splash screen) there is only one installed product: Microsoft Visual Web Developer 2005. How do I install VC# into VWD so I can open a .sln which contains both ASP.NET Server files and C# files When I ...Show All
Visual Basic Newbi Question..
As much as I don't care for that word, newbi.... In my IDE when writing code, I have green squckly lines under some of the code. the tool tip says "Access of shared member, constant member, enum member or nested type through an instance; qualifying expression will not be evaluated. But my code still runs without error. What does this mean Brian It is only a warning saying that you are using an instance of an object to use a shared method...for example Dim myfile As System . IO . File myfile . Copy ( "Source" , "Dest" ) will produce the same warning because MyFIle is an instance of System.IO.File and all that is needed in the code is System . IO . Fi ...Show All
.NET Development Can Someone Help me With this ?
hi all ------------------------------------------------------------- using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; public partial class Personal : System.Web.UI. Page { ITS . Learner_PersonalDataTable Personal_Info; string STUDENT_NAME = "name" ; protected void Page_Load( object sender, EventArgs e) { ITSTableAdapters. Learner_PersonalTableAdapter adapter = new ITSTableAdapters. Learner_PersonalTableAdapter ( ...Show All
Software Development for Windows Vista How to Track StateMachine Workflow in Database?
1. I tried to modify the Hands-On Lab Sample "Hosting Workflows to a StateMachine Workflow" from Sequtial Workflow to a StateMachin one , but it didn't work, the Sequntial one worked fine, and when i changed it to a StataMachine one, then the database stored nothing, and TryGetWorkflow Method always return null. Is there anything different between storing Sequntial Workflow and StateMachine one 2. If the question above resolved, can I get the running Workflow's current state's allowed Events like the Property stateMachineInstance.MessagesAllowed in Hands-On Lab Sample "Creating State Machine Workflows" 3. How to store WorkflowRuntime itself in Database and get it by somethine like Application Guid later ...Show All
SQL Server share report
I got the following in my report server log: w3wp!library!1!01/29/2007-17:15:39:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: The report server has encountered a configuration error. See the report server log files for more information., SharePoint content service is null. Report Server may not have joined the SharePoint farm, or Report Server service account may not have been granted access to farm.; Info: Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: The report server has encountered a configuration error. See the report server log files for more information. I tried to make the report server integrate with share point 2007. all servic ...Show All
Community Chat VB.NET
please does anyone know how to create a non visual class that has the behaviour to count characters, words, alphabets, vowels, consonants, digits thanks hi mr baba i think i know you as i am doing same assignment.... ohh sorry i suppos not to say that it is assignment......... lol take care n let me know if u need any help... ...Show All
.NET Development Exposing a class type in a WebService interface
I need to expose a class in a web service interface. The class has data members only, no methods. For example: I have a class called MyClass defined in MyClass.cs. MyClass.cs is part of a web service project. I want consumers of the web service to be able to reference MyClass.cs. I'm thinking there should be a SOAP attribute that allows this, but haven't found any good documentation on SOAP attributes. Thanks for any help. -Mark Could you give some more details on your scenario If you use the MyClass as a parameter to any of your [WebMethod], the class description will be added to the ServiceDescription document, and clients will be able to generate (another) MyClass class that will look very mach like yours, but will not be th ...Show All
