Even I have the same problem. If anyone knows the solution please help me. The error I am getting is "There was an error generating the XML document".
AshwiniSH
Posts
-
How to pass datatable as parameter into webservice method -
"Configuration system failed to initialize"Thank you. I think that was the problem (typo in config or any changes). I recreated my project and it worked well for me. Thank you again.
-
"Configuration system failed to initialize"Hi, I have created a Windows Service and i am calling a web service method from my windows service. When i run my windows service, i am getting the below error "Configuration system failed to initialize" Note: The services are installed and my web service is running from Visual Studio (ASP.NET development server) Please help to fix this error.
-
C# Windows application: connection string to connect to remote sql server 2008 using windows authenticationI am developing a windows form application using c#. I want to connect to sql server 2008 which is in the server using windows authentication. Can anyone please provide me the connection string? Note: 1. domain is created in my server. 2. Remote access is enabled for the sql server 3. TCP/IP port is also enabled. Please help me. I am struggling for this since 3 days.
-
InvalidCastException while changing windows service startup typeHi all, I am using the following code to change startup type of a windows service. string MyserviceName = "Test Service1"; ServiceController servicen = new ServiceController(MyserviceName); string ServiceName = servicen.ServiceName.ToString(); string startupType = "Automatic"; ManagementPath myPath = new ManagementPath(); ManagementBaseObject outParams = null; myPath.Server = System.Environment.MachineName; myPath.NamespacePath = @"root\CIMV2"; myPath.RelativePath = "Win32_Service.Name='" + ServiceName + "'"; using (ManagementObject service = new ManagementObject(myPath)) { // Set startmode to Automatic (auto start at boot ) ManagementBaseObject inputArgs = service.GetMethodParameters("ChangeStartMode"); inputArgs["startmode"] = startupType; outParams = service.InvokeMethod("ChangeStartMode", inputArgs, null); } But, I am getting a InvalidCastException as "Specified cast is not valid" error at service.GetMethodParameters("ChangeStartMode"); Please help me.
-
C#: Setup Project in VS2010 with Custom actionsI was able to add a user interface but not able to do any validations to it as I don't know where exactly I can refer the user interface I added. So, I decided to do it another way. i.e run my application exe after the installation. My application has a windows form which accepts user details and can validate through code behind. In this case I don't want to show "Installation Complete" screen. I want my application to be launched instead of "Installation Complete" screen. How can I do this? Can you please help me in this?
-
C#: Setup Project in VS2010 with Custom actionsYes the input will be provided during installation (Say username), I want to validate this. Where should I write code to check this validation?
-
C#: Setup Project in VS2010 with Custom actionsI created a setup project in VS2010 and added a user interface selecting a text box field. The user interface is appearing during installation. I want to validate the input entered in the text box. How can I do this? Where should I check this? Please help me in how to validate the fields. In VS2012, Install shield Limited edition I did not find how to add user interface also.
-
C# Web Forms: Add a context menu to a grid and outside grid also.How to add a context menu in web forms? I want a context menu to be added to a grid and also another context menu outside the grid Without using any third party tool. Can anyone help me?
-
C# Web Forms: Add a context menu to a grid and outside grid also.Thank you. I will post this question in web forums.
-
C# Web Forms: Add a context menu to a grid and outside grid also.How to add a context menu in web forms? I want a context menu to be added to a grid and also another context menu outside the grid Without using any third party tool. Can anyone help me?
-
C#: Setup Project in VS2010 with Custom actionsSorry. In my setup project, I want to add an user interface with a text box that will accept the mail ID from user during installation and check from the database whether the mail id already exists in my user table.
-
C#: Setup Project in VS2010 with Custom actionsI am creating a setup and deployment project in visual studio 2010. I need some custom action to be performed. I added an user interface with a text box that will accept the mail ID from user during installation and check from the database whether the mail id already exists in my user table. Please help me.
-
IqualProp in C#Thank you for the reply. A video without any stuck that runs smoothly is quality of video for me. I want to play a video (recorded video) and check whether it runs properly without stuck. If there is any stuck in video I want to throw a error that quality of the video is not proper. Please correct me if im wrong in understanding the quality/performance of video. IqualProp interface has a method called "get_Jitter" which will give the variation in a video. So, I was thinking this can be of help for me. Please guide me.
-
IqualProp in C#I want to develop a tool that will assess the quality of a video. I did some R&D on this and found an interface called "IQualProp", that is part of DirectShow API. I am not trying to get a sample code in C# on how to use this interface, but i am not finding anywhere. There are samples in c++ to use this "IQualProp", but not in C#. Any help on this will be great.
-
C# code to check video qualityThank you Rahul for the reply. I have made lot of searches and read a document on video quality analysis. The document explains about the noise and frames/sec. So I thought let me first get frames of a video file so that I can verify whether the frames are in order or in the correct speed like x frames/sec that shows video better otherwise it implies the video is stuck or anything else. I used DirectShow.dll to get details of a video file. But I was not able to use interface "Iqualprop". "Iqualprop" gives me details of a file. I used Shell32 to get details of video file and I could get frames/sec details. But these are static details. I want to stream the video file and get details so that I can check its quality. Please help me if you have any other suggestions and how to use "Iqualprop".
-
C# code to check video qualityI want to develop a .net windows application with c# code behind to check the problems of a video file. If i give a video file as input to the tool, it should detect the problems of the video (like audio clarity, picture clarity, video struck etc.,). Please help me.
-
C# code to relate two nodesIt can be in the same container or different. I want to relate the nodes. Say node1's parent's sibling is node2 or node1's sibling is node2 or any scenario that gives the connection between the two nodes. For Ex: <div> <node1/> </div> <div> <node2/> </div> node2 is node1's parent's (div1) sibling's (div2) child I hope this is clear.
-
C# code to relate two nodesI am working with C# windows application. I have html source, which im converting to html node collection using htmlagilitypack. I am parsing through each node and searching for a text. I want to get the relation between two nodes.
For eg:
<div>
<a href="www.google.com"></a>
</div>
<div>
<a href="www.abc.com">structure</a>
</div>
My node1 = <a href="www.google.com"></a>. I will search for text "structure" in other nodes and as a result i get node2 = <a href="www.abc.com">structure</a>
Can i relate these two nodes? say node2 is sibling or parent or child or descendant of node1.
Please help me...
My node1 = <a href="www.google.com"></a>. I will search for text "structure" in remaining nodes and as a result i get node2 = <a href="www.abc.com">structure</a>
Can i relate these two nodes? Like node2 is in sibling or parent or child or descendant etc of node1.
Please help me...
-
C# code to fetch all attributes of an elementI am working with C# windows application. I have html source, which im converting to html element collection. I am parsing through each element and i want to get all attributes of particular element.
For eg: <input id="login" name="login name" class="login">
I want to dynamically fetch all the attributes of the above element like id, name, class.
Please help me on this.