Deployment :: Error (not Conect To Sql Server)

Oct 10, 2008

i create and finish my program using vb.net 2005 with database sql server2005 i did a setup package including .net fram and sql server coz other pc's which i want to install my prog in it doesn't have sql server in it. thee setup complete successfully but the problem is my programe start with a login form and that form read from a table in my database so after i install my program in other pc and try to enter by write a username and password i already use it in my pc when i creat the pro it gives me an error that i can't reach to the database and its not able to connect to remot computer!how can i solve this?is that mean that the program is working without conecting to the database?is my datab ase included in my setup package coz it had data and my programe open and work with that data?what if i have a server and that server has sql server 2000 is that will affect my program?is it better to install my program in to the server then connect other pc's to the network?

View 1 Replies


ADVERTISEMENT

Deployment :: Setup And Deployment Project With Ms Sql Server?

Nov 3, 2009

i'm developing an application vb.net with mssql server as database. on my pc it works. but i don't know how to make it works on my customer's pc.anybody have some tutorial regarding the creation of a setup and deployment project with ms sql server.my first doubt is: how can i determinate the right connection string?

View 1 Replies

Set Up Web Server To Allow Teh Deployment?

Dec 30, 2008

I want to deploy a vb.net Windows application (from my computer) to a computer with IIS installed on it. Users can use IE to browse to the deployment web site to install the application. Problem is that web server refuses to allow the deployment, it keeps asking for the authentication...user name and password. I tried all user names and passwords on that machione and it still will not allow the deployment.

View 1 Replies

Deployment Of .net Sql Server Application?

Jul 20, 2009

I am tyring to deploy vb.net application on a network environment ( windows xp and vista machines ) with sql server database. The application itself needs to access database as do all machines. I cannot install sql server due to cost and technical limitations at installation. Is there a way I can connect vb.net application on all machiens directly to some physical file like MDB ( access ) file but with sql server database ( I think something like Mdb was used to server data earlier)

View 1 Replies

Backend Server Detection After Project Deployment?

Mar 30, 2010

I have recently learnt vs '05 and am creating a project in vb.net '05.my question is-During project development, we connect it to MS SqL server 2005 express installed on my system and it works.( I use add datasource wizard,add sqldataadapter,add gridview control,generate dataset,connect dataset to gridview method). But after the project is finished and we create its executable, the project will be run on adiffrent machine with a different server name and hence a new connection string will be required.

How can i make my project detect server details and connect to it, at runtime ? because the user is only expexted to start the server and open my application.the app must connect to the new server on its own. If anybody has an answer or if you know some resource where i can find it, please post here. Any suggestions are welcome.

View 1 Replies

VS 2010 The Remote Server Returned An Error: (500) Internal Server Error?

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

Asp.net - Error With SQLXMLCommand And Deployment To IIS 6.0?

Jun 15, 2011

I am getting an error when trying to move my ASP.NET application from VS2010 to our IIS 6.0 webserver. The error happens on the first time the app tries to make a new SQLXMLCommand Object on the login page. When navigating to the login page and entering valid credentials I got an error saying a null reference exception was thrown. Investigating into the exception we were able to determine another exception was being thrown and caught, causing the null reference exception later in the code.

The Corresponding line of code throwing the exception:

New SqlXmlCommand(conn.ConnectionString & ";Provider=SQLOLEDB.1;")

The exception causing the problems below:

Retrieving the COM class factory for component with CLSID {83D0FC3E-8B31-4B35-A1B2-346BA3954514} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))."

[code]....

Looking further into the problem, the exception is only thrown on the Web Server. No exception is thrown if I am using localhost. I though I may be missing a reference to Microsoft.Data.SqlXml.dll as it was working localhost and not on the webserver. I tried fixing this by included the dll reference in my deployment project and making sure it was added to the bin folder, but with no avail.

Edit:SQLXML 4.0 was not installed on our webserver, it was part of the baseline installation of my machine.

View 1 Replies

Catastrophic Error During Deployment?

Jun 22, 2009

I'm using VS 2005 and have managed to get my application to run fairly robustly. Now it is time to deploy it and let the rest of the group use it.

File
Add
New Project
Setup & Deployment
Setup Wizard

I double click Setup Wizard and I get: "Catastrophic failure (exception from HRESULT: 0x8000FFFF (E_UNEXPCTED)" I've googled a lot of references and read through them but none of them seem to be applicable to my case.

View 2 Replies

ClickOnce Deployment Error

Aug 3, 2011

I Have a BIG problem. I make applications on Visual basic 2010 and of course use clickonce. when another computer wants to install an application (From the mediafire in a ZIP folder) the user extracts the folder, launches either the "Setup" or the ClickOnce application and then selects install and the following error message appears:

"Unable to install or run the application. The Application requires thaat assembly Microsoft.VisualBasic.Powerpacks.Vs Version 10.0.0.0 be installed in the Global Assembly Cache (GAC) First. Please contact your system anministrator."

View 3 Replies

Setup And Deployment Error

Aug 15, 2011

When i am running my application on my machine at that there is no problem but when i am running on diffrant machine at the time login failed is occurring

View 1 Replies

Deployment :: Error When Installing Application

Jun 14, 2012

I am not an expert in using vb.net, but I am trying to make my vb.net project accessible to others. I've done it before (about 5 years ago) with another program. This program is basically the same just for a different product line for us. I have all the files on a server. I published everything to a directory on the server...the directory is in the same spot as the other directory. I checked all of my project properties and have now made sure they are the same as my other project. The publishing works fine. But, when I try to run the setup.exe or the .application file, I an error message that pulls up a log file. I've looked all over and found similar log files, but no solution that seemed to work. Here is what the log file is telling me. Any help would be great. I am thinking it is something simple...remember I am not an expert. And, I know I got the other one to work a few years ago when I moved it from visual basic 6.0 to vb.net. I am using Visual Basic 2008 Express Edition to work with my project.

[Code]...

View 2 Replies

Deployment :: Error While Signing Key Not Valid?

Aug 7, 2009

"Error 2 An error occurred while signing: Key not valid for use in specified state." I found this solution on the internet but I have no idea how to do it."Delete all data sources in the Server Explorer and add them again. Run the wizard again."

View 1 Replies

VS 2005 - Deployment Error On XP Machine

Mar 29, 2010

I am getting the following error on a users machine who is running XP method not found 'system.string system.windows.forms.openfiledialog.get_safefilename
Do I need netframework 3.5 ?

View 12 Replies

ClickOnce Deployment Error And Application Identity

Mar 26, 2009

All,I seem to have stumbled upon a ClickOnce error that stops me from auto-updating. When I Deploy my program using ClickOnce it publishes to the specified location and installs just fine. I can run my program no problem if I activate it from the start menu. However, I have code that registers the program as the default to open a specific file type. Naturally, I want my user to be able to double click on the file type of my choice and have my program open like normal. All-in-All this works.

The problem arises because I need my program to check for updates before loading my program, much like it does when I open the program from the start menu (I set the auto-update check within the ClickOnce options). However, this check does NOT run when the user double-clicks a file type to run my program, it merely skips this step and opens the program. So first I tried to find a way to run the Update manually through code, what I cam up with was this: [Code]

View 5 Replies

Deployment :: Error - Unable To Find Version

Mar 20, 2009

I have developed a windows based application using visual studio 2005 called DMS. On the client side, this application runs on asp dot net framework 2.0. We have created its setup file which has to be installed on the client pc. After the installation of the application, some of the users get the error message as:

DMS.exe - .net framework initiation error Unable to find a version of the runtime to run this application

(I have also attached the screen shot of the error message.)Trouble shooting done by me:

a. I had tried the re-install Dot Net Framework 2.0.

b. Scanned the PC for virus attack.

c. Install dot net framework 2.0 first and then the application.

But none of the solution works. The only thing that works temporarily is un-install the whole application and re-install it. Then it works for a few hours.

View 1 Replies

Deployment :: Reflection Error Loading Assembly?

Jun 18, 2008

i am writing a simple games client using an XNA 2.0 engine to play games. The games are written in dll files and the client uses the assembly.loadfrom method to read and execute the games accordingly...Now this all works fine on my computer and my laptop. However when i give it to my friend he gets this error and the dll doesnt load - "Unable to load one or more of the requested types. Retrieve the loader exceptions property for more information"

View 1 Replies

Windows - Deployment And / Or Registration Failed With Error

May 22, 2012

When trying to deploy onto a touchscreen phone, I get an error: Deployment and/or registration failed with error: 0x80070020. How do I resolve this?

View 1 Replies

Deployment :: User Error When Writing To Shared Drive?

Feb 24, 2009

I have create a vb.net app that creates an excel spreadsheet. When I deployed the app, to the shared drive, I have no problems but the user gets the below error. The user can create the spreadsheet but gets the error when writing. When the user logs onto my PC, the user does not get the error. When I log onto the users PC, I got the error. Application attempted to perform an operation not allowed by the security policy To grant the application the required permission, cintact your local system adminsitrator, or use the Microsoft .net framework

request for the permission type 'System.security.permissions.securitypermissions mscorlib
version 2.0.0.0 culture =neutral
Publickeytoken='b77a5c56193e089'

I have tried to use caspol but it doesn't help?

View 1 Replies

Deployment Package Error In Visual Studio 2008?

Dec 31, 2009

I installed the latest version of Toad yesterday. When I restarted Visual Studio 2008, the project that is my installation package for my application would not longer load. The message I get in the output window is "The Visual Basic Deploy Deployment Package ({CCD045E8-6236-4B3D-B820-97F7DD14C77C}) did not load because of previous errors." When I try to reload that project, I get the following error: " The operation could not be completed. No such interface supported" I tried to repair the VS installation, but that originally failed. The Deployment folder under Common7Tools was currupted so I ran check disk. A few bad files and clusters were found and corrected and the second run of check disk ran clean. I uninstalled Visual Studio and then reinstalled it, but am still getting the same error. I tried reinstalling .Net 3.5 before the reinstall of VS as well. I tried creating a new installation project, but that failed as well.

View 1 Replies

SQL Database Read Only Error When Using VS 2008 Setup And Deployment Wizard?

Dec 9, 2009

I am trying out the Visual Studio 2008 Standard Edition Setup and Deployment - Setup Wizard on a very simple VB 2008 app which includes a simple SQL Express dB. The build works fine and it installs on the target system ok. But when I go to run the application and add a new record for example, I get a "read-only" error indicating that the sql db is read-only. Yet none of the files in the folder are read-only. What is odd is that the folder that it was installed into "acts" like it is read only, yet it is not identified as such. If I move the .exe and db files out of that folder, (onto the desktop for example) it works just fine. Should I set up a post build event or something to make

View 6 Replies

Asp.net - Get The Error Page : Server Error In '/' Application. HTTP Error 403 - Forbidden?

Aug 9, 2011

I'm using Visual Studio Development Server (Visual Basic 2010) and it works fine. Now I've enabled NTLM Authorization because I want to test the website using a different user account. Now when I try to access the website I always get the following error page:

Server Error in '/' Application.

HTTP Error 403 - Forbidden.

Version Information: ASP.NET Development Server 10.0.0.0 .I'm using a test account which is a normal user within our domain. I've already set the access rights in my project folder to Full Access for this user but it does not help.

View 2 Replies

Asp.net - Server Error Asks For Error Specific Page Instead Of Error Details?

Mar 6, 2012

When I deployed my project on a server, in certain circumstances, I get an error page that indicates I should create a custom error page. I was wondering how exactly I would implement this custom error page the server asks for to give me a precise and helpful message or preferably, how I would get the error to just display on the main page?This is the error message I got below

Runtime Error

Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".

<!-- Web.Config Configuration File -->
<configuration>
<system.web>

[code]....

Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.

<!-- Web.Config Configuration File -->
<configuration>
<system.web>

[code]....

View 2 Replies

Deployment :: Deployment Of SQLEXPR32.EXE Using Template.ini File

Feb 24, 2009

I am deploying sql express as a prerequisite. I have created a custom prerquisite using bootstrap manifest generator. The problem I have is replacing the template.ini file which exists in the sqlexpr32.exe cab file. Winrar and winzip allow me to open the sqlexpr32.exe but will not allow me to edit, add or replace the template.ini.I also cannot find the path where the sqlexpr32.exe extracts to as I want to use that path for the settings file eg "template.ini".[code]

View 1 Replies

Deployment :: Create Install File Without The Need For User To Install SQL Server?

Jun 6, 2009

I have a project that i have created in Visual Studio express and SQL server express. i want to create an install file so that i can send to others to install. Currently it is requiring the user to install SQL server Express and 3.5 .net framework.what steps can i take to stop the user having to install these 2 so that it is a simple install for them.

View 2 Replies

Error While Copying File On Remote Server With Server Path

Jun 6, 2012

I am trying to copy upload files to remote server i get below exception.[code]...

View 1 Replies

Upgrade The Framework On The Server - When Run The .exe File From The Server,get A Runtime Error?

Jun 29, 2009

I have several programs that I wrote in Visual Basic.net 2003 that I run from a server at work. We upgraded to Visual Studio 2008 recently and I converted my code to that version. I rebuilt the .exes and tried to run it from the server. It said I needed to upgrade the framework on the server, which I did. Now when I run the .exe file from the server I get a runtime error:

Runtime Error!
Program: d:...
This application has requested the Runtime to terminate it in an unusual way. Please contact the applicaiton's support team for more information.

These programs are very important to the day-to-day operations of the company I work for. I did backup the software before converting it, so we're running normally right now, but there are modifications and upgrades I need to make as soon as possible, but cannot due to the programs crashing when I run the on the server.

View 1 Replies

XCopy Deployment Of A VB Express App Which Uses A SQL Server Express Database?

May 13, 2005

It's probably just a case of me not looking in the right place or not seeing the obvious, but does anyone know if a machine with just version 2.0 of the .NET Framework should be able to run a VB.NET Express application which accesses a SQL Server Express database file? Or is there an additional requirement for a non-development machine to have some kind of SQL Server Express runtime component in addition to the 2.0 Framework?It seems to be counterintuitive to expect that a VB.NET application would be able to access any kind of SQL Server data without having some kind of SQL Server host component (Express or otherwise) installed. But then again, it seems just as counterintuitive that Microsoft would require the download and installation of the new framework as well as a separate database runtime in order for the average user to run an application with accesses a local SQL Server Express database.To me, it runs contrary to the whole concept of XCopy deployment to require more than just the application's files and .NET Framework for an application to run properly. But nothing I've read so far explicitly indicates that a user would require anything more than the app files and the framework to run an application which accesses SQL Server Express data. But...I can't get any VB Express applications which uses a SQL Server Express databases to run on any machine that doesn't have SQL Server Express installed.What am I missing?(Apologies if this isn't the right group to post this in.

View 3 Replies

Server Error In '/' Application. ASPNETDB.MDF ... ON PRODUCTION SERVER?

Jan 22, 2011

I m getting the following error when i upload my site to Production Server using Database in App_Data ASPNETDB.MDF

Server Error in '/' Application.
Runtime Error

[code]..... ...

View 2 Replies

VS 2005 Remote Server Returned An Error:(503) Server Not Available

Feb 19, 2010

the remote server returned an error: (503) server not available m getting this error...wen i m trying to extract email id from a webpage...

View 2 Replies

Deployment :: Deployment And MS Power Pack?

Jun 25, 2009

I have a windows app that uses the shape control which is part of the MS power pack and requires Microsoft.VisualBasic.PowerPacks.Vs.dll. I am using Publish to build my app and I have tried to change the dll to Include in the properties page but nothing seems to work.

I need a way to have the file included and I am unable to find a external copy and I understand that I cannot just copy the dll from my PC into the installation folder

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved