I'm trying to build a web service and it should build a new XML out of an existing XML.
the code as follows:
<WebMethod(CacheDuration:=0, Description:="GroveHallFromRss")> _
Public Function GroveHallFromRss() As XmlDocument
Dim webClient As System.Net.WebClient = New System.Net.WebClient()
Dim ourUrl As String = "http://123.example.org/RSSSyndicator.aspx?type=N&range=currentyear&expire=Y&location=2-7-165&rssid=18"
While I'm trying to build a solution after I've changed a little in its code it gave me an error and even when I've removed the code the same error appears.
"Unable to find manifest signing certificate in the certificate store." (That is the Error and it either stop building or run last successful build.)
I am getting the following error when I am trying to build my website, It is an error to use a section registered asallowDefinition='MachineToApplication' beyond application level.Thiserror can be caused by a virtual directory not being configured as anapplication in IISI am using IIS express for my website and created a virtual directory and mapped in to a directory. Just found out since I have not mapped the virtual directory to an application it gives this error message. I cannot remove the virtual directory When I try to remove it from my website project.ion is do I have to do anything else to remove the virtual directory from my web site project.
I am trying to build an error handler for my desktop application. The code Is in the class ZipCM.ErrorManager listed below.What I am finding is that the outputted file is not giving me the correct info for the StackTrace.Here is how I am trying to use it:
Try '... Some stuff here! Catch ex As Exception Dim objErr As New ZipCM.ErrorManager
[code]....
What is happenning is the .GetFileLineNumber() is getting the line number from 'objErr.Stack = New System.Diagnostics.StackTrace(True)' inside my Try..Catch block. In fact, it's the exact line number that is on. how I can catch the real line number the error is occuring on?
I am getting an "ArgumentOutOfRangeException" on parameter index whenever I try to instantiate a session factory in nHibernate. The error comes from a procedure deep in the bowels of nHibernate. This is on a fresh project with a pretty simple three tier architecture. The data layer maps the nHibernate classes to simple interfaces which are implemented by the business layer.Currently there is only one interface set and mapping file being used by nHibernate. Hopefully my issue is easy to spot.
Here is the function where I build the sessionFactory.
Private Shared Function SessionFactory() As ISessionFactory If _sessionFactory Is Nothing Then Dim config As New NHibernate.Cfg.Configuration config.Configure()
[code]....
Edit2: When I remove the discriminator I no longer get this error. Am I not doing that right?
Edit 3: When I download the source code for nHibernate, build it on my own, link to it's debug output and run it, I get a completely different error about ProxyFactoryFactory not being configured.
I designed an application to download a file from the Internet onto a selected location on the local computer. This application too, has a form-building error.Debug Error Message: An error occurred creating the form. See Exception.InnerException for details. The error is: Object reference not set to an instance of an object.
Unable to write to output file 'D:DevelopmentJob_TrackerJob_List_and_TrackerobjDebugJob_List_and_Tracker.exe': The process cannot access the file because it is being used by another process. Job_List_and_Tracker
I began setting up a TeamCity server a couple days ago for use in automated testing and CI. We mainly do VB.net web apps and up until now, it had been checking out things and building just fine.
A problem came up when I tried to add actual deployment into the mix. I saw this article: [URL]
referenced all over the place as a good guide, so I followed the steps relating to setting up a Web Deployment project and rigging TeamCity to run it. Basically, it recommends setting up a new build configuration in VS2010 called "Deployment" which builds the Web Deployment project, then creating a build configuration in TC that targets it.
The issue is that the web deployment project won't compile when run under TeamCity. The regular build works just fine, but if I set MSBuild to use the build configuration that includes the Web Deployment project, it crashes halfway through and gives an error about attempting to load the System.Data.OracleClient assembly in an incorrect format. I assume this means a 32-bit/64-bit error, especially since my development machine is a 32-bit box, and the build server is 64, but I don't know why this is happening, especially when the regular build works, and nothing in my project involves using an Oracle database.
I saw in the log that there's a warning about missing reference assemblies for the 4.0 framework, so I headed off to the MS website and downloaded the SDK, but that didn't change anything. At this point, I'm stuck, and I didn't see anything already here on Stack Overflow that looked quite like this. I'll attach the log below. Have I missed something simple?
I am trying to build a word add in to add xml files to documents, I am under the assumption that Microsoft.Office.Interop.Word.Application.ActiveDocument will work with the document being used, but when I try to use the add in I receive the error: "this command is not available because no document is open " o:
Dim activeDoc As New Microsoft.Office.Interop.Word.Application Dim currentDoc As Microsoft.Office.Interop.Word.Document = activeDoc.ActiveDocument()
I created a report using report document object model in visual studio 2008 with vb.net. But I found one error. When the user clicks export button in client side, the following error will show. But the first time is OK before the user clicks export button.
Logon failed. Details: ADO Error Code: 0x Source: Microsoft OLE DB Provider for SQL Server Description: Login failed for user 'zanhtet'. SQL State: 42000 Native Error:
This is calling report code.
Dim ReportDocument As New ReportDocument() Dim ReportPath As String = Server.MapPath("~/ReportDocumentOM/DBlogInRDOM.rpt")
I was trying to edit a excel document and save under different name and my coding for this is as follows.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click 'Open Dim MyExcel As New Excel.Application MyExcel.Workbooks.Open("C:\Test\WalkAir.xlsx") 'Extract MyExcel.Sheets("sheet1").Activate() [Code] .....
While debugging the code it resulting with me an error message as Public member 'SaveAs' on type 'ApplicationClass' not found.
I am recieving the following error when trying to execte the java script listed below in the page load event of an aspx web page.
Microsoft JScript runtime error: Unable to get value of the property 'document': object is null or undefined
Dim scriptString As String = ("<script>javascript: window.opener.document.forms(0).submit(); </script>") If Not Page.ClientScript.IsClientScriptBlockRegistered(scriptString) Then Page.ClientScript.RegisterClientScriptBlock(Me.[GetType](), "script", scriptString) End If I am trying to produce a postback.
I have a report ready to print document, however you will make it stop reading when the records end up, give it displays this error:
Index was out of range. It should be non-negative and less than the size of the collection.Parameter name: index
I've tried an index = 0 to no avail, I think that has to do with the End print. Because I cannot make it stop reading after all the records appear on the leaves.
I am trying to consume the webservice from the .Net environment which was build in Java environment. Currently am trying to forward the ArrayList of type object array as parameter to the WSDL file.Am experiencing the following error message : "There was an error generating the XML document"let me know the whether I need to manually convert the ArrayList to XML . May I know the best procedure to forward the ArrayList to webservice in Java ?
I am getting a javascript error when I attempt to click on my calendar control.
The html code is: <td align="left" style="width:50%;"><asp:Label runat="server" CssClass="TextFontBold" ID="lblStartDate" Text="Start Date:"></asp:Label>
I am getting this error when I call a javascript function to display a modal window:
Microsoft JScript runtime error: 'document.getElementById(...)' is null or not an object
The code block is:
else if (action=="officeview") { document.getElementById("OfficeContent").src="ChangeView.aspx"; ShowFeatureModal('AppView','OfficeContent')
The object is this situation, does exist. Error is caused at: document.getElementById line.What else could be causing the error?
Update:Index.aspx is calling the javascript function which is located in sysUtilities.js file. The source file is yet a seperate page (ChangeView.aspx)
i am using VB. net 2008. I am having a hard time using this code: ("L:SWPPPSWPPPBookMerge.doc") what is the shortest method that the system will search for the document without placing the document address.
We are opening a Word document from our Visual Basic 2010 application using the Word object. When we run our application under Windows Server 2008 the document name is truncated in the main window title for the document. This is not the case when we run our application under Windows XP. Is there a way to prevent this truncation under Windows Server 2008?Mary Leathem
Where can I find information on how to use XPS Document Writer to create a Word or Adobe document?I can print my VB2008 print document to a file, but how do i convert this file to Word?
I just begin learn VB .net. I met a problem which axwebbrowser.document can not cast to mshtml.document. My webbrowser is loaded a PDF screen from some web site. My purpose is to get the content from PDF page.
I have a procedure that should produce a valid UTF8 string or file. But I must do something wrong as IE show the following error when I try to open the file in it:"Invalid at the top level of the document. Error processing resource 'file:///C:/TEMP/test.xml'. Line 1, Position 1"Below you'll find the code example.NB: The code example is in VB but I can also handle C#; that's why I've added the C# tag also.
Dim sfpXML As String = "C:TempTest.xml" Dim msXML As New IO.MemoryStream Dim xmlWriter As System.Xml.XmlWriter = Nothing
I need to be able to create an xml document given that the format is specified in a given xsd document and the data is in a dataset. Is there an easy way to do this in Visual Studio or Access 2007 or will this require writing out the xml document one item at a time to match the xsd?
I have a function on my program that allows a user to load a listbox filled with words that are matched with words inside a databank. The databank is filled with 2 string arrays and file of .jpg Pictures. The Arrays attached to each word inside the listbox are approximately one page. Each page is two paragraphs of Text(string Array) and one Picture(20Kbytes).My problem is this. When the user selects the option print all, the listbox with approximately 10255 words is selected and begins to fill a Microsoft Word Document.Because the alotted amount of space needed for the MS Word Document is approximately 5 Gbytes,I need to open about 10 Documents and insert the String Array's and Pictures into each document one at a time.Is there anyway to check the filesize of the Open Document before saving the document.This way I could check the open document inside the algorithm for 512 Mbytes of memory and save the document before the size gets above 512 Mbytes.[code]