Error When Building The Website?
Apr 4, 2012
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.
View 2 Replies
ADVERTISEMENT
Nov 8, 2005
I got "Unrecoverable build error" when building setup project.I try the solution in [URL].. but did not work out.
View 1 Replies
Oct 10, 2010
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.)
View 2 Replies
Jun 8, 2012
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"
[Code]...
View 3 Replies
Jun 4, 2010
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?
View 2 Replies
Apr 28, 2009
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.
View 1 Replies
Jul 12, 2012
My project from 2003VS is getting an error on build It needs to be build but I don't know whats wrong.
------ Build started: Project: MatchServer, Configuration: BRZ_Release_publish Win32 ------
Linking...
UnitTest++.vsnet2003.lib(Test.obj) : error LNK2005: "public: __thiscall std::_Lockit::_Lockit(int)" (??0_Lockit@std@@QAE@H@Z) already defined in libcpmt.lib(xlock.obj)
[code].....
View 1 Replies
Aug 22, 2011
The below message appears when I build a solution. How to avoid this? Please provide me a detailed answer. I am a beginner of Visual basic.
View 4 Replies
Apr 4, 2011
I've setup an ItemTeplate like so in a GridView:
<asp:TemplateField HeaderText="Building">
<ItemTemplate>
<asp:Label
[Code].....
I'm receiving the error:
EntitySet 'Building' that was specified in page markup does not exist on the Container.
There is definitely a Building entity in the pbu_housingEntities?
View 1 Replies
Jul 22, 2011
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.
[Code]...
View 1 Replies
Jan 14, 2011
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
View 6 Replies
Nov 17, 2010
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?
[10:46:05]: Project "MyTools.sln.teamcity.patch.tcprojx" (TeamCity_Generated_Build target(s)):
[10:46:05]: [Project "MyTools.sln.teamcity.patch.tcprojx" (TeamCity_Generated_Build target(s)):] Project "MyTools.sln" (Rebuild target(s)):
[CODE]...
View 1 Replies
Dec 3, 2011
i upload my asp.net project to my server i get the following error: Parser ErrorDescription: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error Message: Could not load type 'web1.WebForm1'. Source Error:
[Code]...
View 1 Replies
Jun 10, 2009
I am getting the following error while i submit a form after i added a dropdown box in my designer
System.NullReferenceException: Object reference not set to an instance of an object. at WebApplication1._Default.collectEmailBodyText() in C:v1.5_production_05June09Default.aspx.vb:line 219
Below is the extra two lines that i added in collectEmailBodyText()
tempPanelDropDownBox = DirectCast(form1.FindControl(("txt_" & panelUsed & "_ddinput") + counter.ToString()), DropDownList)
tempCollector = tempCollector + ": " + tempPanelDropDownBox.SelectedItem.Text
View 3 Replies
Dec 5, 2011
I need to send e mail from a asp.net web site. I use this code to send mail
Dim Mail As New MailMessage(fromEmail, toEmail, subject, message)
Mail.IsBodyHtml = True
Mail.Priority = MailPriority.Normal
[Code]....
Sometimes this works fine (sends the mail without any error), but sometimes it does not work and gives an error saying,
Mailbox unavailable. The server response was: address@domain.com must check for new mail first
View 1 Replies
Aug 14, 2011
Public Function GetIPInfo(ByVal IPNumb As String, ByVal GetInfo As String) As String
Dim i1, i2 As Integer
Dim s1, s2, s3 As String
Dim IPCheckWebsite As String
[code]....
It says the website server has a 503 Error, But the site is up and works fine. Am I Doing Something Wrong?
Dim WC As System.Net.WebClient = New System.Net.WebClient()
IPCheckWebsite = WC.DownloadString("http://whatismyipaddress.com/ip/" & IPNumb)
View 1 Replies
Feb 20, 2011
Code:
Public Function ScreenScrapeHtml(ByVal url As String) As String
Dim objRequest As WebRequest = System.Net.HttpWebRequest.Create(url)
[code]...
If it cant reach a URL it will give me this error:
Code:
Webexception was unhandeled:
Dim sr As New StreamReader(objRequest.GetResponse().GetResponseStream())
How I can add some error-handling to this code? Like if it cant reach a URL.
View 3 Replies
Jun 15, 2010
I've got a vb (desktop) app (not a web app) that needs to connect to my website, I've been told that embedding my MySQL database credentials is a big mistake for several reasons.So, I've built a web script in PHP that runs on my server called web-service.php, it's located at www.example.com/web-service.php.Now, I'm trying to connect with this code:
Code:
Dim hwrRequest As HttpWebRequest = HttpWebRequest.Create("http://www.example.com/web-service.php")
hwrRequest.Method = "POST"
Using swWriter As New StreamWriter(hwrRequest.GetRequestStream) 'POST the info
[code]....
And when I do, I get the error "The remote server returned an error: {401} Unauthorised.", but I shouldn't need any credentials to access this. I'm just trying to POST a username and password to that page and have it query the database and then get the returned content, I'd prefer to use POST than GET so you can't see the user/pass in the URL (if possible).
EDIT: I used CPanel to password protect my website so it can't be accessed, after supplying my user & pass to access it, everything works.
View 1 Replies
Jun 22, 2011
Scenario: We have a website that is viewed both internally and externally. When an error occurs the users are displayed with a detailed error page(Stack trace etc). Problem: The external customers do not need that much information about the error. We are looking to have the external customers see a message instead. Ex. Please contact Administrator. Also if possible we would like to log this message in our SQL database.
Note: I'm assuming I make a custom error page like - Implementing a Custom Error page on an ASP.Net website. but how do I determine whether or not the user is internal/external? Also is this the best way to approach the problem?
View 5 Replies
Nov 28, 2010
I have programmed a web browser with Visual Basic 2010 Express and came across a major bug. Whenever I try to click a checkbox on a certain website, this error message appears:
An error has occurred in the script on this page.
Line: 193
Char: 9
Code: 0
URL: [URL]
Do you want to continue running scripts on this page?
[Yes] [No]
After clicking yes or no it just pops up again and I have to open the Task Manager just to close the browser.
View 1 Replies
Feb 19, 2010
What Im making is like a face book and tagged login from my app
1. I have Combobox with 3 urls in there ( Facebook.com Tagged.com and Bebo.com )
2. I have a Form2 with webbrowser
3. I have a Button when clicked it should open up my form 2 and preview of the website which I selected in my combobox in form1
All I'm trying to do is when I select lets say facebook in my form 1 and click load it should open up my form 2 with facebook website in it.[code]Now when I click my button in form 1 it will load Form2 ( named Explorer1) but my form2 is not showing me facebook or tagged page for some reason
View 13 Replies
Feb 26, 2011
i'm creating a website that allows people to upload images to the website in a folder called images on the Site. But I don't know how to upload a file and I'v searched everywhere Please Note: In this Website were not Using the asp:fileupload, were developing our own interface
View 1 Replies
Apr 6, 2009
What I want is: To scan a website every 15 mins or so, (craigslist in this case), and email myself any new posts that come up. I know I need to use WebClient, but I never used that before. Another question would be how to only email when a new post is up and not receive the same email every 15 mins.
View 2 Replies
Jul 25, 2009
I been asked by a friend to transfer his website to a different server. The files transfer went successfully except that the site won't start. I keep getting the following message:
[Code]....
View 2 Replies
Sep 27, 2010
[code]...
when the Internet it's ok,this code it's okay,too.but when the Internet it's not connect or the webside server it's so busy,it's going to error,it said "Webexpection it's not handle".what should I do?
View 4 Replies
Sep 29, 2011
I have a TextBox and I want to allow VB syntax, but when I run the site and try to save the VB code to the database, I am getting an error. I believe the error has something to do with the VB code.I have put the httpRuntime requestValidationMode="2.0" setting in my web.config, and I've added validateRequest="false" in the directive at the top of the page, but it didn't resolve the issue.
View 1 Replies
Jan 25, 2011
I have a ASP.NET 2.0 website created in C# that acts as a completely independent site and I am looking to integrate this into an existing ASP.NET 2.0 website created in VB.NET. Unfortunately I just don't know much about the server management side of ASP.NET yet so too much I'm unaware of when it comes to IIS configuration etc. Does anyone have any advice as to how I can go about integrating this? Basically I want to host it in a subdirectory from root so when you hit example.com/myindependantsite/ it will pull up my C# site.
One possible solution I came across mentioned just dropping the project folder into the root directory and setting up that directory as an application virtual directory in IIS? A few other random questions were small things like would my application relative links (~/for-example.aspx) stay relative to my root subdirectory if it's made into an application virtual directory? Just trying to get this running on their site but like I said it's completely independent so want to preserve my websites environment.
View 4 Replies
Aug 31, 2011
I have a search engine that will use a webservice to search through my database to find 3 specific things. I don't even know if it will work like this, but I have a dropdown list on my main page to select Product, Feature, Description. From what the user selects, the webservice should then go to an if statement to use the correct SELECT statement and find results for the search.
Will someone help me figure out how to fix what I've written to make it work? Please don't be too critical, I don't have a lot of experience. I have also been researching SQL Injection because I have a lot of code that is vulnerable so keep that in mind when you look at my code.
I can't get the blue squiggly lines to go away that are underneath the DropdownList1.Value instances on the WebService page.
WebService:
<WebMethod()> _
Public Function GetCompletionList(ByVal prefixText As String, ByVal count As Integer) As String()
Dim Feature As String = DropDownList1.Value
Dim Description As String = DropDownList1.Value
Dim Product As String = DropDownList1.Value
[CODE]..........................
Default.aspx page - Here I need the dropdownlist to tie to the database somehow.
<asp:ScriptManager ID="ScriptManager1" runat="server">
<Services>
[CODE]........................
View 2 Replies
Dec 12, 2009
I was looking at making a program which can then build other seperate .exes, is this possible? For example the user types their mail username/password into my program then this builds a seperate one which just connects to their mail with their username/password.
View 2 Replies
Jun 21, 2010
I am doing a project on the CRM application which sending and receiving sms using the vb.net language. I am no where to conclusions of my project because I could not build the application. I have found many examples but the problem some of the examples some uses the sms gateway or the AT commands. I could not differentiate which one to use? I have a dateline to finish this project of mine.Most of the example does not look like a CRM application.
View 2 Replies