ASP.NET MVC (VB) Error When Publishing To Test Server
Apr 15, 2010
I have an ASP.NET MVC project that works fine on my local machine (no build errors, server errors or anything). However, when I publish the project to a test server, I get an "Object reference not set to an instance of an object" error on a For Each I have in my view.
[Code]...
View 1 Replies
ADVERTISEMENT
Sep 1, 2010
I have a .Net 2 solution with some asp classic pages.I get a specified cast is not valid error when I access the page on my local. Below is the vb function where I get the Error:
Public Function Retrieve(ByVal vntSeqId As String, ByRef vntPart As String, ByRef vntPartKey As String, ByRef vntEntDate As String _
, ByRef vntStatus As String, ByRef vntOrigGblId As String, ByRef vntOrigNetId As String,
[code].....
View 1 Replies
Mar 9, 2010
I have installed an application in MS Server 2003 R2 that I recently completed. Now I'm trying to install an update. It installs but does not recognize it as an update, it Installs the app. as a second App.I Installed the same app. in XP and the update was recognized and the app. was updated.Is there a special way to publish for MS Server 2003 R2.I'm using VB2008 Express in a Vista.
View 2 Replies
Dec 20, 2011
i am trying to publish a vb.net project that has is connected to a database. the project can be published and installed and runs fine without the data base part. i get following error message: System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)
i assume that it simply cant find the database. where do i need to adjust the database file settings to make this work.
View 3 Replies
Feb 19, 2009
I am trying to make a little app that will tell me if my servers are online or offline, currently I am using my LAN to test my servers when this app is working then I will be adding IP Address from other hosts that are not on my LAN First of all I have got this working fine if I use a button for every server test but I don't really want that I want them all working from one click
[code]....
View 1 Replies
May 25, 2009
[code]...
and from VB6 project I reference to Test.dll but an error messege was appear A reference to Test.dll file could not be added (If I create VB NET project and reference to file Test.dll it OK )
View 10 Replies
May 22, 2009
About publishing my program. there's a lot of files made after publishing unlike in vb6 when i converted it to exe file theres only one file. hmm how can i make just one exe file in vb9 is it possible? another question do i have to install the program after publishing?
View 5 Replies
Jun 19, 2009
I have a running program currently installed in my server, this program is running 24hrs a day. Now I did some enhancements on this program and tried to publish it. My publishing is successful but when I click the setup.exe Im have error message: "Critical error during application's main start up procedure. Description: Required processing files missing." I tried to deploy it also on my server but the same problem so I copied back the original for the program to keep on running. Attached Images error_when_setup.jpg (19.1 KB, 38 views)
View 3 Replies
May 17, 2012
i just finished an application it works good when i debug but i tried to publish it and the publishing fails with errors that some files are double but i don't get what the problem is the error details are as follows
PLATFORM VERSION INFO
Windows : 6.1.7600.0 (Win32NT)
Common Language Runtime
: 4.0.30319.235
[code]....
View 1 Replies
Apr 25, 2010
Getting error 'cannot locate application' when publishing vb.net application..
View 1 Replies
Jul 21, 2009
I am using vb.net vs2005 sql server2005...When i publish to a file location, i get this.
Error 55 SignTool reported an error 'Failed to sign binReleaseMainProject.publish\setup.exe. SignTool Error: ISignedCode::Sign returned error: 0x80880253[code]......
View 2 Replies
Sep 29, 2011
Apparently this is a rather common issue but after 3+ hours of searching I still couldnt figure it out...After publishing my application when I try to run it, an error occurs wherein it can't locate my database.
View 10 Replies
Sep 9, 2011
I am trying to publish a .Net application but I received the error; - Cannot publish because a project failed to build - SignTool reported an error 'The Path is not of a legal form' On the Signing tab I have teh error; An error occurred trying to load the page. The path is not of a lagal form. The same project I published few minutes ago, I was trying to re-publish it. It only affects me, but if another of my colleague opens it on his PC from the same source it works fine. I checked the certificate and it is present.
View 1 Replies
Apr 6, 2010
when I try to publish a program it gives signing error like this:
Quote:
Error2An error occurred while signing: Failed to sign binReleaseapp.publish\setup.exe. SignTool Error: Signtool requires CAPICOM version 2.1.0.1 or higher. Please copy the latest version of CAPICOM.dll into the directory that contains SignTool.exe. If CAPICOM.dll exists, you may not have proper permissions to install CAPICOM.Liquid Transfer
It happens to a company computer and who knows what updates it has. It was working fine the first day I got the computer though.
View 2 Replies
Nov 25, 2010
I have a vb.net application that has to be published on the server to a specified path. After publishing, when I try to install the application, I get the below error msg:
ERROR SUMMARY: Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of \agbvseng14datasSOFTEasy_ECNNouveau dossierEASY ECN.application resulted in exception.
Following failure messages were detected:
+ Downloading http://bue479/EASY ECN/EASY ECN.application did not succeed.
+ Unable to connect to the remote server
+ No connection could be made because the target machine actively refused 180.30.4.18:80
View 10 Replies
Jun 10, 2011
I find error after publishing vb.net page which writes in word document
View 5 Replies
Dec 7, 2009
I'm trying to publish a project I created to a network server using the Publish Wizard in VB 2008. The project publishes to the specified path but I try to install the application I keep getting this error..
View 2 Replies
May 20, 2011
I published a VB.NET 2008 program that contains a Windows Media Player. The code I used to play a wav file was AxMediaPlayer1.FileName = "song.wav". After publishing the program, when it is supposed to play the wav file, I get the following error: Error HRESULT E_FAIL has been returned from a call to a COM component.
View 2 Replies
Jan 3, 2012
At the end of the re-installation of Visual Studio 2008, there is this message: "Microsoft SQL Publishing Wizard: [2] Error: Installation failed for component Microsoft SQL Publishing Wizard. MSI returned error code 1638" in the log file dd_error_vs_procore_90.txt.
When I searched for just "MSI returned error code 1638", I got that it
cannot install something because it is already installed: "Another version of this product is already installed. Installation of this version cannot continue. To configure or remove the existing version of this product, use Add/Remove Programs on the Control Panel".
In Add/Remove Programs I see these two programs:
Microsoft SQL Server Database Publishing Wizard 1.3
Microsoft SQL Server Database Publishing Wizard 1.4
Are these programs/versions what the error is refering to? Am I safe to remove them and depend on the similarly-named item which would be newly installed with Visual Studio 2008 - "Microsoft SQL Publishing Wizard"?
I still use SQL Server 2000 and 2005 on my computer, as well as 2008.
I had installed VS 2008 on my computer before without this problem and also have VS 2005 and 2010.
View 1 Replies
Jul 26, 2010
This is in reference to my previous thread :
[URL]
Is there any way to detect if the DNS server is not responding for sure. That is because if I ping the server while my torrent downloads are in progress, I get a "Request timed out".
View 3 Replies
Jul 27, 2010
So I want to test one of my Functions in my Web Project, but it's not actually connected to anything in the project yet (someone else is working on that part). The Function takes in an "ID" field, goes off and does some queries and gets some data, performs some calculations on it, and then writes a bunch of lines to a FileStream and returns that stream. I pretty much just want to test it by having it write the file to my own computer locally, and working with that file directory after the Function completes.
So my question is mainly:
1) How do I call this Function just for testing purposes so I can test all the queries/calculations/File writes, etc without it being connected to another part of the application just yet.
2) How can I change the 'Return fs' for the FileStream to write to my own computer locally to view the file that has been written.
View 2 Replies
Nov 6, 2009
I have a small desktop Twitter client written in VB.NET (2.0). Works great. Some of my users have emailed me and said that the application isn't working for them because they are trying to use it on networks where a proxy server is part of the network connectivity equation.
[Code]...
View 1 Replies
Apr 12, 2009
if I could make a tcp server and client so he can restart a game server from a LAN connection. The game server is a test server for online playing games it allows users to test there created maps but after so many errors the program is told to close out the running server cause of errors. The problems are fixed just by restarting the server. I have the client working as far as i know (cant do a full test without a server). During the creation of the TCP client built within the server (to receive commands and send reply) ive used
[Code]...
View 1 Replies
Jul 28, 2010
I have a solution with two projects. The main project connects to the second project via a reference, and the reference path is local to my machine. It looks like it references the .exe file.So when I publish the main project (ClickOnce), i get the following error:
Application validation did not succeed. Unable to continue.In the log file, under Error Details, it says
System.Deployment.Application.InvalidDeploymentException (RefDefValidation)
- Reference in the manifest does not match the identity of the download assembly Project2.exe
- Source: System.Deployment
How can I include this second project? Should I publish it, then reference the published files? What do i reference? The .application file?Is there a way to just include this second project, so when I do publish the main project, the second one just goes along with it?
View 3 Replies
Oct 26, 2009
I have been trying to get a test 'developer use' authenticode certificate working on our server. We dont really want to pay for one until we have tested internally so we are using a test cert generated by tech-pro. So far i have:
- Installed certificate services sucessfully.
- Created a test certificate using tech-pro codesign.
- used signtool.exe wizard to sign the application.
- imported the test certifcate as a server root certificate.
All appears to have gone ok and without error but when i run the exe on a virtual VISTA machine logged onto the domain the program still prompts for the administrator to logon to elevate its priviliges. Is there another step im missing that requires me to specifically register the certificate directly on the virtual machine too? Or something else i need to do on the server to make that certificate valid for our domain?
View 1 Replies
Jan 12, 2009
I need a simple snippet that will allow the user to test the connection for the FTP server entered in a textbox and the username and password from 2 other textboxes. (Server = TextBox1.Text, U/N TextBox2.Text, PW TextBox3.Text) I forgot to note something obvious - there's a "Test FTP" button
View 2 Replies
Feb 19, 2012
MVC3, VB.NET, using EF. I am working on coding up a simple function to handle checking for a valid MySQL connection. If the connection fails the test it will use the secondary server connection. This is required because our hosting provider does not provide failover or redundant MySQL servers. The problem is I tried to use a simple try catch method in the HomeController. This fails early because the Entity Framework is looking the connection that was set up when I set it up... Is there anyway to control that connection dynamically?
View 1 Replies
Dec 5, 2010
posted again but this time its regarding both the webclient and the web reuqest giving me this error :S
View 1 Replies
Mar 17, 2008
I am trying to test a number of stored procedures through SQL Server Query Analyzer. But am stuck when I try to test stored procedures that contain Output parameters.
Code:
DECLARE @Counterbigint
DECLARE @GUIDuniqueidentifier
exec usp_tbl_User_Add @Counter, @GUID, 'UserName', 'First Name','Surname',
[Code]....
When I put the Select statement though in the 'usp_tbl_User_Add' stored procedure in works fine and gives me the correct values.
View 2 Replies
Jun 1, 2011
We have a WCF service hosted in IIS that currently calls a VB6 DLL to do part of its job. This works fine, but we can't deploy the service to a 64-bit target environment without configuring IIS to run it in a 32-bit worker process.I am currently investigating ways around that restriction. Porting the VB6 DLL to .NET is not possible for various reasons, so I created an ActiveX EXE wrapper around the DLL in VB6, so that the service can run in 64-bit and the VB6 parts in 32-bit.
When I tested the service I got this error:
Type: System.UnauthorizedAccessException
Message: Retrieving the COM class factory for component with CLSID {9AE7303B-D159-43F6-B1A5-52D297581820} failed due to the following error: 80070005.
After some Googling I found that this is due to either:
Calling an MS Office component
DCOM permissions not being configured
NTFS file permissions not allowing read/exec access to the IIS worker process identity (ASPNET in my environment)
Of these:
Definitely not applicable Also not applicable; I am not hosting the EXE in DCOM or COM+, just a simple COM out-of-process activation
This looks likely; however, I checked the permissions, and NTFS reports that the Users group (which ASPNET is a member of) does indeed have read/exec access to the file I tried calling the EXE from a unit test fixture, which is executed in my admin-level account rather than the IIS worker process account, and it worked fine, so the error is definitely something to do with permissions. I'm not sure what to do next.
UPDATE:The IIS virtual directory is configured for Anonymous+Windows access; the WCF service uses only Anonymous authentication, the Windows authentication is for the VS debugger. Task Manager reports that the aspnet_wp.exe process is definitely running in the ASPNET account.I explicitly granted Read and Execute access to the ASPNET and IUSR_<machine> accounts on all the COM exes and dlls involved. This made no difference.
I explicitly granted Local Launch and Local Activation access to the ASPNET and IUSR_<machine> accounts on the relevant interfaces in the DCOM configuration. This made no difference either.Keep trying to get this working somehow.Go the whole hog and host the EXE in COM+.Give up. Tell users that the WCF service must be configured to run in a 32-bit app pool on 64-bit Windows.
View 1 Replies